Bootloader: Difference between revisions
Confirmed all bootrom fields to be accurate |
Change indentation of bootrom error sections, as it makes more logical sense |
||
Line 130: | Line 130: | ||
* 4th line is: <code>print_string(..., "%08X %08X",*((unsigned int*)(0x1FFFE000+0x18))`, `*((unsigned int*)(0x1fffe000+0x1C)));//See below memory notes.</code> | * 4th line is: <code>print_string(..., "%08X %08X",*((unsigned int*)(0x1FFFE000+0x18))`, `*((unsigned int*)(0x1fffe000+0x1C)));//See below memory notes.</code> | ||
== 0x1FFFE000 memory == | === 0x1FFFE000 memory === | ||
This memory is used by boot9 mainly for sending info to the arm11 for the error-screen. The data in this region is still stored in memory by the time the ARM9+ARM11 jumps to FIRM. | This memory is used by boot9 mainly for sending info to the arm11 for the error-screen. The data in this region is still stored in memory by the time the ARM9+ARM11 jumps to FIRM. | ||
Line 143: | Line 143: | ||
* u32 0x1FFFE000+0x1C: SD driver SD hardware status bits from the controller, AND-ed with 0xFDFF0080 if eMMC, and 0xFDF90008 if SD. | * u32 0x1FFFE000+0x1C: SD driver SD hardware status bits from the controller, AND-ed with 0xFDFF0080 if eMMC, and 0xFDF90008 if SD. | ||
== BootROM Status Codes == | === BootROM Status Codes === | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- |