Line 18:
Line 18:
u16 data[4];
u16 data[4];
};
};
−
u16 checksum; // sum of all data[] elements?
+
u16 checksum; // sum of data[] elements?
−
} counters[2];
+
} boot2_counters[2];
−
u32 nand_generation; // 0x5C not the same as SFFS generation
+
struct {
−
u8 pad0[20]; // 0x60
+
union {
+
u32 nand_gen; // first counter matches offset 0x8 in nand SFFS blocks
+
u16 data[2];
+
};
+
u16 checksum; // sum of data[] elements?
+
} nand_counters[3]; // why are there three of these?
+
u8 pad0[6]; // 0x6E
u8 korean_key[16]; // 0x74
u8 korean_key[16]; // 0x74
u8 pad1[116]; // 0x84
u8 pad1[116]; // 0x84