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

NAND Flash layout/fr: Difference between revisions

From WiiBrew
Jump to navigation Jump to search
Crayon (talk | contribs)
mNo edit summary
m Robot: Cosmetic changes
 
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
La Wii contient 512 Mo de mémoire flash NAND, qui est utilisé pour stocké le  "system software", chaine, sauvegarde de jeu, et les configuration système.
{{Trans|French|English}}


La mémoire NAND est divisé en 4096 bloque de 64 page. Chaque page comprend 2048 octets de donné et 64 octets de "spare data" (utilisé pour ECC et quelque metadata).
La Wii contient 512 Mo de mémoire flash NAND, qui sont utilisés pour stocker le "system software", chaines, sauvegardes de jeu, et les configurations du système.
 
La mémoire NAND est divisée en 4096 blocs de 8 clusters. Chaque page comprend 2048 octets de donnée et 64 octets de "spare data" (utilisé pour ECC et quelques metadatas).


*Pages 0-0x2F: 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 0x30 - 0x3F: unused?
*Pages 0x40 - 0x89: boot2 (first copy)
*Pages 0x40 - 0x89: boot2 (first copy)
*Pages 0x8a - 0x13f: 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)


** 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/fr|ticket]] that is encrypted with the common key and signed.
*Pages 0x1c0 - 0x1ff: ?
*Pages 0x1c0 - 0x1ff: ?
*Page 0x200: beginning of per-console unique data
*Page 0x200: beginning of per-console unique data
*Pages 0x200-0x3f7ff: Encrypted filesystem data. Data is encrypted with a per-console AES key, and then signed with a (separate, per-console) HMAC key.
*Pages 0x200-0x3f7ff: Encrypted filesystem data. Data is encrypted with a per-console AES key, and then signed with a (separate, per-console) HMAC key.


*Pages 0x3F800 - 0x40000: Filesystem metadata (SFFS, unencrypted). There are 16 superblocks contained therein -- one every 0x80 pages.
*Pages 0x3F800 - 0x40000: Filesystem metadata (SFFS, unencrypted). There are 16 superblocks contained therein -- one every 0x80 pages.


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:
Line 23: Line 25:
  Samsung: ec 76 / ec f1 / ec da / ec dc (64M [http://www.samsung.com/global/business/semiconductor/productInfo.do?fmly_id=158&partnum=K9F1208U0C K9F1208U0C] /128 [http://www.samsung.com/global/business/semiconductor/productInfo.do?fmly_id=159&partnum=K9F1G08U0B K9F1G08U0B]/256 [http://www.samsung.com/global/business/semiconductor/productInfo.do?fmly_id=159&partnum=K9F2G08U0A K9F2G08U0A]/512 = [http://www.samsung.com/global/business/semiconductor/productInfo.do?fmly_id=159&partnum=K9F4G08U0A K9F4G08U0A])
  Samsung: ec 76 / ec f1 / ec da / ec dc (64M [http://www.samsung.com/global/business/semiconductor/productInfo.do?fmly_id=158&partnum=K9F1208U0C K9F1208U0C] /128 [http://www.samsung.com/global/business/semiconductor/productInfo.do?fmly_id=159&partnum=K9F1G08U0B K9F1G08U0B]/256 [http://www.samsung.com/global/business/semiconductor/productInfo.do?fmly_id=159&partnum=K9F2G08U0A K9F2G08U0A]/512 = [http://www.samsung.com/global/business/semiconductor/productInfo.do?fmly_id=159&partnum=K9F4G08U0A K9F4G08U0A])
  Toshiba: 98 76 / 98 f1 / 98 da (64/128 = TC58NVG0S3AFT05 or TC58NVG0S3ATG05 or TC58NVG0S3BFT00/256 = TC58NVG1D4BTG00 (?!))
  Toshiba: 98 76 / 98 f1 / 98 da (64/128 = TC58NVG0S3AFT05 or TC58NVG0S3ATG05 or TC58NVG0S3BFT00/256 = TC58NVG1D4BTG00 (?!))
{{Languages|NAND_Flash_layout}}

Latest revision as of 18:14, 10 August 2009


La Wii contient 512 Mo de mémoire flash NAND, qui sont utilisés pour stocker le "system software", chaines, sauvegardes de jeu, et les configurations du système.

La mémoire NAND est divisée en 4096 blocs de 8 clusters. Chaque page comprend 2048 octets de donnée et 64 octets de "spare data" (utilisé pour ECC et quelques metadatas).

  • 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.
  • Pages 0x30 - 0x3F: unused?
  • Pages 0x40 - 0x89: boot2 (first copy)
  • Pages 0x8a - 0x13f: 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.
  • Pages 0x1c0 - 0x1ff: ?
  • Page 0x200: beginning of per-console unique data
  • Pages 0x200-0x3f7ff: Encrypted filesystem data. Data is encrypted with a per-console AES key, and then signed with a (separate, per-console) HMAC key.
  • Pages 0x3F800 - 0x40000: Filesystem metadata (SFFS, unencrypted). There are 16 superblocks contained therein -- one every 0x80 pages.

The NAND flash driver inside boot2 and IOS supports the following chip IDs:

Hynix: ad 76 / ad f1 / ad dc  (64MB = HY27US0812(1/2)B, 128MB = HY27UF081G2A, 512MB = HY27UF084G2M or HY27UG084G2M)
Samsung: ec 76 / ec f1 / ec da / ec dc (64M K9F1208U0C /128 K9F1G08U0B/256 K9F2G08U0A/512 = K9F4G08U0A)
Toshiba: 98 76 / 98 f1 / 98 da (64/128 = TC58NVG0S3AFT05 or TC58NVG0S3ATG05 or TC58NVG0S3BFT00/256 = TC58NVG1D4BTG00 (?!))