Line 5:
Line 5:
=== Header ===
=== Header ===
β
The header is 136 bytes.
+
Each section starts with a 136 byte header.
{| class="wikitable"
{| class="wikitable"
|- style="background-color: #ddd;"
|- style="background-color: #ddd;"
Line 44:
Line 44:
| 0x08
| 0x08
| 20
| 20
β
| The first SHA-1 sum
+
| hash1 (main binary?)
|-
|-
| 0x1C
| 0x1C
| 20
| 20
β
| The second SHA-1 sum
+
| hash2 (overlay?)
|}
|}
Line 72:
Line 72:
|-
|-
| 0x00
| 0x00
β
| 0x1c
+
| 4
β
| Unknown
+
| ROM serial
+
|-
+
| 0x04
+
| 4
+
| ROM revision
+
|-
+
| 0x08
+
| 20
+
| hash3
|}
|}
Line 84:
Line 92:
|-
|-
| 0x00
| 0x00
β
| 0x5c
+
| 4
β
| Unknown
+
| ROM serial
+
|-
+
| 0x04
+
| 4
+
| ROM revision
+
|-
+
| 0x08
+
| 64
+
| HMAC region struct
+
+
{| class="wikitable"
+
! Start
+
! Length
+
! Description
+
|-
+
| 0x0
+
| 4
+
| Unknown (offset?)
+
|-
+
| 0x4
+
| 4
+
| Unknown (length?)
+
|}
+
+
|-
+
| 0x48
+
| 20
+
| Expected HMAC
|}
|}