summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorpancake <none@none>2012-06-23 10:43:20 +0200
committerpancake <none@none>2012-06-23 10:43:20 +0200
commit34c8fb057dd04a62131410d607d5d605f27115f1 (patch)
treef0a1c18b777883fe6dea5a63761e8fe796468e6f /doc
parent04f9369aceb27c678de09cc080d088ca5a372629 (diff)
download0xFFFF-34c8fb057dd04a62131410d607d5d605f27115f1.tar.bz2
* Apply Pali Rohár patch - Add support for device and hw revisions specified in hw pieces - Updated documentation - Fixed problems when unpacking - Ready for mmc and cold flashing
Diffstat (limited to 'doc')
-rw-r--r--doc/fiasco19
1 files changed, 16 insertions, 3 deletions
diff --git a/doc/fiasco b/doc/fiasco
index ef8cf00..bf19f2f 100644
--- a/doc/fiasco
+++ b/doc/fiasco
@@ -16,13 +16,26 @@ FILE HEADER
PIECE HEADER
1 byte = 0x54 -- piece signature
- 6 bytes -- unknown
+ 1 byte -- unknown:
+ N800/N810:
+ 0x02 - initfs, rootfs, kernel (2007)
+ 0x03 - xloader, 2nd, secondary, kernel (DIABLO)
+ N900:
+ 0x03 - kernel, rootfs, cmt-2nd, cmt-algo, cmt-mcusw
+ 0x04 - xloader, 2nd, secondary
+ 0x05 - mmc
+ 5 bytes -- unknown (always 0x2e 0x19 0x01 0x01 0x00)
2 bytes -- checksum for the piece contents (xorpair)
12 bytes -- piece name (first byte is FF if is the last)
4 bytes -- piece size (big endian)
- 4 bytes -- unknown
+ 4 bytes -- unknown (always 0x00 0x00 0x00 0x00)
block {
- 1 byte -- if (value '1'-'9') { ..there's a comment.. }
+ 1 byte -- if (value '1'-'4' or '/') { ..there's a comment.. }
+ '1' - version
+ '2' - device & hw revisions
+ '3' - layout
+ '4' - unknown
+ '/' - unknown
1 byte -- length of comment
N bytes -- comment
}