"But where should I put my SoC's boot up code to initialize shit and read the boot device?"
In a ROM chip mapped to address 0 and unmapped when jumping to the boot sector, you dumb dumb
1. Identify the boot storage medium
2. Copy the first sector to RAM
3. Stash any useful information in registers, like the SATA port/device number/etc
4. Jump to the boot sector
How to boot like a normal-ass adult in 4 simple steps
"Looking for a LIVE ISO?
GOTCHA COVERED, FAM!"
Debian 10.2 is out.
I'm not kidding. 10 minutes wasted each time running debug.
"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko