Line 33: |
Line 33: |
| |- | | |- |
| | 0x010000 | | | 0x010000 |
− | | 0xF0000 | + | | 0xEC000 |
− | | 60 additional BCTs, normally unused/empty on retail systems. | + | | 59 additional BCTs, normally unused/empty on retail systems. |
| + | |- |
| + | | 0x0FC000 |
| + | | 0x4000 |
| + | | [[#System Update Control|System Update Control area]] |
| |- | | |- |
| | 0x100000 | | | 0x100000 |
Line 49: |
Line 53: |
| |- | | |- |
| | 0x184000 | | | 0x184000 |
− | | 0x20 | + | | 0x200 |
− | | Unknown pseudorandom data, often changes on reboot. All zero on 1.0. | + | | [2.0.0+] [[#NAND Patrol|NAND Patrol area]] |
− | |-
| |
− | | 0x184020
| |
− | | 0x8?
| |
− | | Increments on every boot until hitting a certain number? Bottom 10 bits (0x3FF) are always zero. All zero on 1.0. | |
| |} | | |} |
| | | |
Line 74: |
Line 74: |
| | 0x40000 | | | 0x40000 |
| | SafeMode Firmware [[Package1|package1]] from [[Title_list#System_Data_Archives|Title 010000000000081A]] (backup) | | | SafeMode Firmware [[Package1|package1]] from [[Title_list#System_Data_Archives|Title 010000000000081A]] (backup) |
| + | |- |
| + | | 0x080000 |
| + | | 0x40000 |
| + | | Reserved |
| + | |- |
| + | | 0x0C0000 |
| + | | 0x40000 |
| + | | Reserved |
| + | |} |
| + | |
| + | === System Update Control === |
| + | The 0x4000 bytes at offset 0xFC000 are used by [[NS_Services|NS]] and [[Boot|boot]] for keeping track of the status of a system update. This area is used by the [[NS_Services#ns:su|ISystemUpdateControl]] commands "ApplyDownloadedUpdate", "ApplyCardUpdate" and "ApplyReceivedUpdate". |
| + | |
| + | {| class="wikitable" border="1" |
| + | |- |
| + | ! Offset |
| + | ! Size |
| + | ! Description |
| + | |- |
| + | | 0x0 |
| + | | 0x1 |
| + | | BootImages status. Set to 1 by [[NS_Services|NS]] during a system update and cleared by [[Boot|boot]] after restarting. |
| + | |- |
| + | | 0x1 |
| + | | 0x1 |
| + | | BootImagesSafe status. Set to 1 by [[NS_Services|NS]] during a system update and cleared by [[Boot|boot]] after restarting. |
| |} | | |} |
| | | |
Line 110: |
Line 136: |
| | | |
| The currently active keyblob is officially known as "SecureInfo". | | The currently active keyblob is officially known as "SecureInfo". |
| + | |
| + | === NAND Patrol === |
| + | The 0x200 bytes at offset 0x184000 are used by [[Filesystem_services|FS]] for keeping track of NAND patrolling. |
| + | |
| + | {| class="wikitable" border="1" |
| + | |- |
| + | ! Offset |
| + | ! Size |
| + | ! Description |
| + | |- |
| + | | 0x0 |
| + | | 0x20 |
| + | | HMAC-SHA-256 over the next 0x1E0 bytes |
| + | |- |
| + | | 0x20 |
| + | | 0x4 |
| + | | Last patrolled NAND block's offset |
| + | |- |
| + | | 0x24 |
| + | | 0x4 |
| + | | NAND patrol count |
| + | |- |
| + | | 0x28 |
| + | | 0x1D8 |
| + | | Unused, all-zero. |
| + | |} |
| | | |
| == User Partitions == | | == User Partitions == |
Line 194: |
Line 246: |
| | 0x07800000 | | | 0x07800000 |
| | 0xA0000000 | | | 0xA0000000 |
− | | 31 and 32 | + | | 31, 32 and 33 |
| | Yes (Bis key 2) | | | Yes (Bis key 2) |
− | | FAT32 filesystem. The official name for this partition is "SystemProperEncryption". | + | | FAT32 filesystem. The official names for these partitions are "System", "SystemProperEncryption" and "SystemProperPartition". |
| |- | | |- |
| | USER | | | USER |
Line 303: |
Line 355: |
| ! SaveID || Owner || Mount || Notes | | ! SaveID || Owner || Mount || Notes |
| |- | | |- |
− | | 0x8000000000000000 || ncm || ? || Contains [[IMKV|imkvdb.arc]] and "lastPublishedId". | + | | 0x8000000000000000 || fs || <nowiki>saveDataIxrDb:/</nowiki>, <nowiki>saveDataIxrDbSf:/</nowiki>, <nowiki>saveDataIxrDbPr:/</nowiki>, <nowiki>saveDataIxrDbSd:/</nowiki> || Contains [[IMKV|imkvdb.arc]] and "lastPublishedId". |
| |- | | |- |
| | 0x8000000000000010 || account || <nowiki>account:/</nowiki> || Account database. | | | 0x8000000000000010 || account || <nowiki>account:/</nowiki> || Account database. |