summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2016-12-06 23:42:41 +0100
committerPali Rohár <pali.rohar@gmail.com>2016-12-06 23:42:41 +0100
commit15dbd14d7acf494e63a87e4c8ae0991dd8281b77 (patch)
treec30fe3c1a903419cfbba2e2d8d63072a17c4f565
parent0650cdf51f374e8ab2e54324fe84c86d5a80cd72 (diff)
download0xFFFF-15dbd14d7acf494e63a87e4c8ae0991dd8281b77.tar.bz2
doc: Update fiasco documentation
-rw-r--r--doc/fiasco8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/fiasco b/doc/fiasco
index f7462dd..941a2da 100644
--- a/doc/fiasco
+++ b/doc/fiasco
@@ -37,12 +37,16 @@ FW HEADER
IMAGE
1 byte = 0x54 -- signature
- 1 byte -- number of subsection blocks + 1
- 5 bytes -- unknown (always 0x2e 0x19 0x01 0x01 0x00)
+ 1 byte -- number of subsection blocks
+ (start of data block)
+ 1 byte -- type of subsection block (data - always 0x2e)
+ 1 byte -- length of subsection block (data - always 25)
+ 3 bytes -- unknown (always 0x01 0x01 0x00)
2 bytes -- checksum for the image contents (xorpair) (big endian)
12 bytes -- image name type (first byte is FF if is the last image)
4 bytes -- length of image data (big endian)
4 bytes -- unknown (always 0x00 0x00 0x00 0x00)
+ (end of data block)
block {
1 byte -- type of subsection block
'1' - version