Changes

609 bytes added ,  04:53, 11 January 2017
no edit summary
Line 19: Line 19:     
Boot9 has code implemented for using SD(HC) cards, but the input deviceids used by boot9 for those functions are hard-coded for NAND.
 
Boot9 has code implemented for using SD(HC) cards, but the input deviceids used by boot9 for those functions are hard-coded for NAND.
 +
 +
== Boot9 RSA keyslots ==
 +
 +
The following are initialized during main() startup, by initialize_rsakeyslots_pubk(). Each of these, for the ones which are actually set, have different keydata for retail/devunit.
 +
* 0: Not set.
 +
* 1: Used for the NAND FIRM signature.
 +
* 2: Used for the non-NAND-FIRM signature.
 +
* 3: Used for the NAND-NCSD FIRM signature.
 +
 +
When FIRM loading is successful, initialize_x07ffbd00_x07ffc100_rsakeyslotsprivk() is called, right before calling the final function in main(). Besides ITCM writing, this overwrites all 4 RSA keyslots with modulus + private-exponents loaded from boot9 data.
    
== Boot9 image data memory layout ==
 
== Boot9 image data memory layout ==