Create boot environment

The boot environment will read the boot sector from the sd card, verify
that it has the boot signature at the end, then jump to the start of it.

From there, there should be a bootloader written to the boot segment
that can handle the rest.

It might be tight to fit everything into the boot sector but do remember
that you do not have to initialize or select the sd card, and those
functions take up a lot of space.
This commit is contained in:
Byron Lathi
2022-04-18 12:43:29 -05:00
parent 2ff3caccc6
commit 12284d19a9
8 changed files with 110 additions and 0 deletions

1
sw/boot/devices/io.inc65 Symbolic link
View File

@@ -0,0 +1 @@
../../kernel/devices/io.inc65