Wii Hardware/NAND

From Wii-Linux Wiki
Revision as of 12:37, 15 July 2026 by Techflash (talk | contribs) (Clean up formatting, note the NAND I/F)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hynix branded NAND on a Wii's motherboard
See also: [https://wiibrew.org/wiki/Hardware/NAND]

The Wii contains a 4 Gigabit (512 Megabyte) NAND flash memory chip. The NAND is used to store, among other things, every IOS installed on the system, each stage past boot0 (which is stored in ROM) of the bootloader process as described on Starlet, your system menu and channels, and your game save files.

The NAND is accessed using using the NAND Interface of the Hollywood SoC.

There is currently no way to read or write the NAND in Wii-Linux nor NetBSD, though NPLL can read files from the SFFS filesystem stored on it.

Data Sizes

[edit | edit source]

The NAND is split into 4096 sections referred to as "Blocks". Each block contains 64 pages, and each page contains 2048 bytes of data with 64 bytes of error correction info.

Physical Data Layout

[edit | edit source]
  • Block 0 contains boot1, which is the encrypted second stage bootloader, loaded and decrypted by Starlet during execution of boot0. There is currently no safe way to modify the contents of this block.
  • Blocks 1-7 contain 2 copies of boot2, with blockmaps. Boot2 is stored in a modified WAD format, with a ticket encrypted and signed using Nintendo's common key. It is recommended to only modify this area when installing BootMii as boot2, and only when you have a vulnerable version of boot1.
  • Block 8 contains the start of per-console data, as well as the header metadata for the NAND filesystem (SFFS). This and the next 4087 blocks are generally safe to modify, as long as you have BootMii as boot2 and don't erase the FAT. This is the area that would be exposed with a filesystem by a driver, were one to be made.