run
cmd/install-dependencies.sh
cmd/build-go.sh
cmd/compile.elf -p kernel
cmd/compile-run.elf
# Plug in USB or other bootable device into your computer
# Find out first on what file system your device is
lsblk # You should see there your device if it is connected
# Fill out the of command with the right path from the above command
cmd/hardware.elf --file /dev/sdb1
# Restart your computer with the device still in there
# Go to the boot menu and you should find it there, may need to hit F12
# or run sudo systemctl reboot --firmware-setup # that will reboot and you 'should' go to your firmware setup
# In my case: UEFI: <name of the USB stick>
# but motherboards do things in mysterious ways and milage may vary sadly
# First compile with -e flag to create stderr.txt file for a project.
dependencies/include-what-you-use/fix_includes.py --reorder --nocomments < projects/image-builder/code/stderr.txt
dependencies/include-what-you-use/fix_includes.py --reorder --nocomments < projects/efi/code/stderr.txt
Ensure you have built with debug mode on!
find code/build -type f -name *.c.o -exec pahole -a -d -R -S {} \; > ~/Desktop/FLOS/pahole.txt