Wii Hardware/NAND: Difference between revisions
Jump to navigation
Jump to search
Clean up formatting, note the NAND I/F |
add compatibility section |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
[[File:Wii-Nand-Hynix.jpg|alt=|thumb|333x333px|Hynix branded NAND on a Wii's motherboard]] | [[File:Wii-Nand-Hynix.jpg|alt=|thumb|333x333px|Hynix branded NAND on a Wii's motherboard]] | ||
{{seealso|https://wiibrew.org/wiki/Hardware/NAND | {{seealso|[https://wiibrew.org/wiki/Hardware/NAND Wiibrew page about the 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 [[Wii Hardware/Starlet|Starlet]], your system menu and channels, and your game save files. | 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 [[Wii Hardware/Starlet|Starlet]], your system menu and channels, and your game save files. | ||
The NAND is accessed using using the [[ | The NAND is accessed using using the [[Hardware/NAND Interface|NAND Interface]] of the [[Wii Hardware/Hollywood|Hollywood]] SoC. | ||
== Data Sizes == | == Data Sizes == | ||
| Line 16: | Line 14: | ||
* 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. | * 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. | ||
== Compatibility == | |||
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. | |||
[[Category:Wii Hardware]] | [[Category:Wii Hardware]] | ||
Latest revision as of 23:05, 29 July 2026

- See also: Wiibrew page about the 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.
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.
Compatibility
[edit | edit source]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.