30 lines
454 B
Plaintext
30 lines
454 B
Plaintext
# Build
|
|
|
|
Pick a psf1 font and run the following command.
|
|
NOTE The input filename matters.
|
|
|
|
$ ld -r -b binary -o font.o font.psf
|
|
|
|
Put `font.o` into third_party/
|
|
|
|
Clone https://gitlab.com/bztsrc/bootboot.git into third_party/bootboot/
|
|
|
|
$ zig build
|
|
$ ./mkdisk.sh
|
|
|
|
|
|
# Running on hardware
|
|
|
|
Copy disk.img onto a usb drive
|
|
|
|
|
|
# Running in qemu
|
|
|
|
$ ./run.sh (uefi)
|
|
|
|
# With existing bootboot compatible bootloader
|
|
|
|
The initrd can be generated with
|
|
|
|
$ ./mkinitrd.sh
|