.TRX
trx.png
offset[0] = lzma-loader
offset[1] = Linux-Kernel
offset[2] = rootfs
.BIN
bin.png
magic: firmware magic depends on board etc. s.th. like '3G2V' or 'W54U'
res1: reserved for extra magic??
char fwdate[3]: fwdate[0]: Year, fwdate[1]: Month, fwdate[2]: Day
fwvern: version informations a.b.c.
ID: fix "U2ND"
hw_ver: depends on board
s/n: depends on board
flags:
stable: Marks the firmware stable, this is 0xFF in the image and will be written to 0x73 by the running system once it completed booting.
try1-3: 0xFF in firmware image. CFE will set try1 to 0x74 on first boot and continue with try2 and try3 unless "stable" was written by the running image. After writing try3 and the stable flag was not written yet, the CFE assumes that the image is broken and starts a TFTP server
res3: unused?
.TRX2
trx2.png
offset[0] = lzma-loader
offset[1] = Linux-Kernel
offset[2] = rootfs
offset[3] = bin-Header
网友评论