Line 5:
Line 5:
The NAND flash device is divided into 4096 blocks of 8 clusters. Each cluster is 8 pages. Each page is 2048 bytes of data and 64 bytes of "spare data" (used for error-correction (ECC) data and HMAC signatures on individual clusters).
The NAND flash device is divided into 4096 blocks of 8 clusters. Each cluster is 8 pages. Each page is 2048 bytes of data and 64 bytes of "spare data" (used for error-correction (ECC) data and HMAC signatures on individual clusters).
−
* Block 0 (pages 0-0x3F): boot1
+
* Block 0 (pages 0-0x3F): [[boot1]]
−
** boot1 is the second-stage bootloader; it is decrypted by boot0, which resides on a read-only 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 read-only mask ROM inside the [[Starlet]] coprocessor. Its primary function is to load and decrypt [[boot2]].
** Block 0 is guaranteed by the manufacturer to be valid, so there is no bad block map necessary.
** Block 0 is guaranteed by the manufacturer to be valid, so there is no bad block map necessary.
* Blocks 1-7 (Pages 0x40 - 0x1ff) : boot2 (two copies and blockmaps)
* Blocks 1-7 (Pages 0x40 - 0x1ff) : boot2 (two copies and blockmaps)