Line 3:
Line 3:
The NAND flash device is divided into 4096 blocks of 64 pages. Each page is 2048 bytes of data and 64 bytes of "spare data" (used for ECC and some metadata).
The NAND flash device is divided into 4096 blocks of 64 pages. Each page is 2048 bytes of data and 64 bytes of "spare data" (used for ECC and some metadata).
−
*Pages 0-0x3F: boot1
+
*Pages 0-0x2F: boot1
** boot1 is the second-stage bootloader; it is decrypted by boot0, which resides on a mask rom inside the Starlet coprocessor. Its primary function is to load and decrypt boot2.
** boot1 is the second-stage bootloader; it is decrypted by boot0, which resides on a mask rom inside the Starlet coprocessor. Its primary function is to load and decrypt boot2.
−
+
*Pages 0x30 - 0x3F: unused?
*Pages 0x40 - 0x89: boot2 (first copy)
*Pages 0x40 - 0x89: boot2 (first copy)
−
*Pages 0x8a - 0x17f: unused (unformatted)
+
*Pages 0x8a - 0x13f: unused (unformatted)
*Pages 0x140 - 0x189 : boot2 (second copy)
*Pages 0x140 - 0x189 : boot2 (second copy)
*Pages 0x18a - 0x1bf: unused (unformatted)
*Pages 0x18a - 0x1bf: unused (unformatted)