Flash Filesystem: Difference between revisions

No edit summary
No edit summary
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 50: Line 54:
|  0x184000
|  0x184000
|  0x20
|  0x20
Unknown pseudorandom data, often changes on reboot. All zero on 1.0.
[2.0.0+] Unknown SHA-256 hash. Changes every boot when the main menu is loaded.
|-
|-
|  0x184020
|  0x184020
|  0x8?
|  0x8?
|  Increments on every boot until hitting a certain number? Bottom 10 bits (0x3FF) are always zero. All zero on 1.0.
[2.0.0+] Unknown counter. Increments by 0x400 on every boot when the main menu is loaded.
|}
|}


Line 74: Line 78:
|  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]] 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
| Set to 1 during a system update. Cleared after [[NCM_services|NCM]] finishes updating all titles.
|-
| 0x1
| 0x1
| Set to 1 during a system update. Cleared after [[NCM_services|NCM]] finishes updating all titles.
|}
|}