Bootloader: Difference between revisions

MarcusD (talk | contribs)
Add missing 1FFFE000 field info, and clean up some wording
MarcusD (talk | contribs)
Document bootrom error screen format in a human-readable format
Line 103: Line 103:


== BootROM Errors ==
== BootROM Errors ==
Here is the format of the numbers displayed on the error screen:
  BOOTROM 8046
  ERRCODE: ffWWGGNN
  p3p2p1p0 p7p6p5p4
  sd_softE sd_hardE
* <code>ff</code>: sleep switch state (2==MCU sleep switch closed, 1==GPIO sleep switch closed (very bad if this happens), 0==sleep switch open)
* <code>WW</code>: NVRAM (WiFi Flash) FIRM load error code
* <code>GG</code>: ntrboot FIRM load error code
* <code>NN</code>: NAND header (NCSD) load error code
* <code>p<N></code>: NAND FIRM partition load error code. Note the order of the partitions in the error code!
* <code>sd_softE</code>: software error (driver status bits, see one section lower)
* <code>sd_hardE</code>: hardware error (SD controller status bits ? see one section lower)
Sample error-screen(where firm0+firm1 RSA signatures were corrupted):
Sample error-screen(where firm0+firm1 RSA signatures were corrupted):