Skip to content

florianmarkusse/FLOS

Repository files navigation

UEFI-bootloader & OS

run

cmd/install-dependencies.sh
cmd/build-go.sh
cmd/compile.elf -p kernel
cmd/compile-run.elf

To run as a standalone operating system

# 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

x86_64 only

Using iwyu

# 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

Using pahole

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors