Editing NAND Flash Memory
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 35: | Line 35: | ||
| 0x00000000 || 0x000 || || Master Boot Record (MBR) | | 0x00000000 || 0x000 || || Master Boot Record (MBR) | ||
|- | |- | ||
| 0x00008000 || 0x002 || || | | 0x00008000 || 0x002 || || Partition Boot Record (PBR) | ||
|- | |- | ||
| 0x0000C000 || 0x003 || 24MiB || FAT12 Partition #1 (flash0) | | 0x0000C000 || 0x003 || 24MiB || FAT12 Partition #1 (flash0) | ||
Line 110: | Line 110: | ||
For each 512-byte long NAND page, an additional 16 bytes are available to store various metadata. | For each 512-byte long NAND page, an additional 16 bytes are available to store various metadata. | ||
{|class="wikitable" | {|class="wikitable" | ||
Line 123: | Line 121: | ||
| 0x05 || 1 || 0xFF if the block is valid | | 0x05 || 1 || 0xFF if the block is valid | ||
|- | |- | ||
| 0x06 || 2 || Logical block number for FAT, 0x73 0x01 (= IDStorage version 1) for the IDStorage index | | 0x06 || 2 || Logical block number for FAT, 0xFFFF for IPL, 0x73 0x01 (= IDStorage version 1) for the IDStorage index | ||
|- | |- | ||
| 0x08 || 4 || 0xFFFFFFFF for empty pages, 0x6DC64A38 for the IPL (including the block table), 0xFFFF0101 for the IDStorage index (byte is either 1 or 0 depending on whether the IDStorage has been formatted or not, and byte 9 indicates if the IDStorage is read-only or not) | | 0x08 || 4 || 0xFFFFFFFF for empty pages, 0x6DC64A38 for the IPL (including the block table), 0xFFFF0101 for the IDStorage index (byte is either 1 or 0 depending on whether the IDStorage has been formatted or not, and byte 9 indicates if the IDStorage is read-only or not) |