In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Changes

Jump to navigation Jump to search
235 bytes added ,  10:22, 13 April 2008
no edit summary
Line 1: Line 1:  
The Wii contains 512MiBi of NAND flash storage, which is used to store "system software", channels (including Virtual Console titles), game saves, and system settings.
 
The Wii contains 512MiBi of NAND flash storage, which is used to store "system software", channels (including Virtual Console titles), game saves, and system settings.
   −
The NAND flash device is divided into 2048-byte blocks.
+
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).
   −
*Blocks 0-0x3F: boot1
+
*Pages 0-0x3F: 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.
   −
*Blocks 0x40 - 0x89: boot2  (first copy)
+
*Pages 0x40 - 0x89: boot2  (first copy)
*Blocks 0x140 - 0x189  : boot2  (second copy)
+
*Pages 0x8a - 0x17f: unused (unformatted)
 +
*Pages 0x140 - 0x189  : boot2  (second copy)
 +
*Pages 0x18a - 0x1bf: unused (unformatted)
 +
 
 
** boot2 is the third-stage bootloader; it is stored in a modified WAD format, including a [[ticket]] that is encrypted with the common key and signed.
 
** boot2 is the third-stage bootloader; it is stored in a modified WAD format, including a [[ticket]] that is encrypted with the common key and signed.
   −
*Blocks 0x2BC0:  Encrypted filesystem data.  Data is encrypted with a per-console AES key, and then signed with a (separate, per-console) HMAC key.
+
*Page 0x200: beginning of per-console unique data?
 +
*Page 0x2BC0:  Encrypted filesystem data.  Data is encrypted with a per-console AES key, and then signed with a (separate, per-console) HMAC key.
   −
*Blocks 0x3F800 - 0x40000: Filesystem metadata (SFFS, unencrypted).  There are 16 superblocks contained therein -- one every 0x80 blocks.
+
*Pagess 0x3F800 - 0x40000: Filesystem metadata (SFFS, unencrypted).  There are 16 superblocks contained therein -- one every 0x80 pagess.
    
The NAND flash driver inside boot2 and IOS supports the following chip IDs:
 
The NAND flash driver inside boot2 and IOS supports the following chip IDs:

Navigation menu