Difference between revisions of "Flash Filesystem"

From Nintendo Switch Brew
Jump to navigation Jump to search
Line 30: Line 30:
 
|  0x00800000
 
|  0x00800000
 
|  21
 
|  21
?
+
For all these packages, data starts at offset 0x4000. This is installed from "package2" in firmware package C, 010000000000081B.
 
|-
 
|-
 
|  BCPKG2-2-Normal-Sub
 
|  BCPKG2-2-Normal-Sub
Line 36: Line 36:
 
|  0x00800000
 
|  0x00800000
 
|  22
 
|  22
?
+
Identical to BCPKG2-1-Normal-Main, probably used as a backup partition.
 
|-
 
|-
 
|  BCPKG2-3-SafeMode-Main
 
|  BCPKG2-3-SafeMode-Main
Line 42: Line 42:
 
|  0x00800000
 
|  0x00800000
 
|  23
 
|  23
Bis output is zeros until offset 0x4000. The content of the package2 file from "Firmware package B" is located at offset 0x4000(only first 0x10000-bytes output checked).
+
This is installed from "package2" in firmware package B, 010000000000081A.
 
|-
 
|-
 
|  BCPKG2-4-SafeMode-Sub
 
|  BCPKG2-4-SafeMode-Sub
Line 48: Line 48:
 
|  0x00800000
 
|  0x00800000
 
|  24
 
|  24
Same content as above(for the start at least), probably used as a backup partition.
+
Identical to BCPKG2-3-SafeMode-Main.
 
|-
 
|-
 
|  BCPKG2-5-Repair-Main
 
|  BCPKG2-5-Repair-Main
Line 54: Line 54:
 
|  0x00800000
 
|  0x00800000
 
|  25
 
|  25
Same as above except with different data at offset 0x4000. Unknown what title this originates from(presumably FIRM-C, needs checked).
+
|  Unknown what title this originates from.
 
|-
 
|-
 
|  BCPKG2-6-Repair-Sub
 
|  BCPKG2-6-Repair-Sub
Line 60: Line 60:
 
|  0x00800000
 
|  0x00800000
 
|  26
 
|  26
?
+
Identical to BCPKG2-5-Repair-Main.
 
|-
 
|-
 
|  SAFE
 
|  SAFE

Revision as of 14:15, 2 July 2017

NAND structure

Partition name Offset Size Bis Partition ID Description
N/A 0x0 ? 20 GPT header, partition ID also provides raw access to all partitions
PRODINFO 0x00004400 0x003FBC00 27 "CAL0" raw partition containing set:cal data
PRODINFOF 0x00400000 0x00400000 28 FAT12 filesystem, additional calibration?
BCPKG2-1-Normal-Main 0x00800000 0x00800000 21 For all these packages, data starts at offset 0x4000. This is installed from "package2" in firmware package C, 010000000000081B.
BCPKG2-2-Normal-Sub 0x01000000 0x00800000 22 Identical to BCPKG2-1-Normal-Main, probably used as a backup partition.
BCPKG2-3-SafeMode-Main 0x01800000 0x00800000 23 This is installed from "package2" in firmware package B, 010000000000081A.
BCPKG2-4-SafeMode-Sub 0x02000000 0x00800000 24 Identical to BCPKG2-3-SafeMode-Main.
BCPKG2-5-Repair-Main 0x02800000 0x00800000 25 Unknown what title this originates from.
BCPKG2-6-Repair-Sub 0x03000000 0x00800000 26 Identical to BCPKG2-5-Repair-Main.
SAFE 0x03800000 0x04000000 29 FAT32 filesystem
SYSTEM 0x07800000 0xA0000000 31 FAT32 filesystem
USER 0xA7800000 0x680000000 30 FAT32 filesystem