fiasco: Document and show partition info block

Partition info block is available only for kernel image in RX-44 and RX-48 fiasco images.
This commit is contained in:
Pali Rohár committed 2023-04-16 15:48:43 +02:00
1 parent 255333f503
commit b67949fb5d
2 files changed
+44 -1

No files matched your search

+11 -1
View File
@@ -66,7 +66,17 @@ FILE DATA BLOCK
PARTITION INFO BLOCK
N bytes -- unknown
1 byte -- asic index (always APE - 0x01)
1 byte -- device type (always NAND - 0x01)
1 byte -- device index (always 0x00)
4 bytes -- partition version (always 0x00 0x00 0x00 0x00)
4 bytes -- spare (always 0xFF 0xFF 0xFF 0xFF)
4 bytes -- number of partition blocks (big endian)
block {
1 byte -- partition type (0x03 - kernel, 0x04 - initfs, 0x05 - rootfs)
1 byte -- partition attribute (0x01 - read/write, 0x02 - read-only)
4 bytes -- partition size (big endian, 0 - remaining space)
}
IMAGE DATA PART BLOCK