Changes

470 bytes added ,  00:02, 7 October 2021
→‎How it works: only installed in copy 1
Line 33: Line 33:     
The space normally allocated for the NANDLoader is split into two sections itself for technical reasons; the first section is a custom NANDLoader that loads the second section. The second section checks to see if an SD card is inserted; if so, it loads <code>/bootmii/armboot.bin</code> and executed it. Otherwise, it loads the real boot2, which remains intact when BootMii-boot2 is installed.
 
The space normally allocated for the NANDLoader is split into two sections itself for technical reasons; the first section is a custom NANDLoader that loads the second section. The second section checks to see if an SD card is inserted; if so, it loads <code>/bootmii/armboot.bin</code> and executed it. Otherwise, it loads the real boot2, which remains intact when BootMii-boot2 is installed.
 +
 +
BootMii also only installs into the first copy of boot2. There are two major advantages to this: first, if the installation is interrupted, the second copy will still function normally to boot; second, when boot2 is loaded by [[BC]], an updated version of BC will reject BootMii due to an invalid signature, but the second copy can still be loaded fine. For versions of BC with fakesigning, [[mini]] includes code to go directly to boot2 to ensure [[MIOS]] loads fine.
    
<!-- TODO: BootMii-IOS -->
 
<!-- TODO: BootMii-IOS -->
5,579

edits