美文网首页
.TRX vs .TRX2 vs .BIN

.TRX vs .TRX2 vs .BIN

作者: Martian22 | 来源:发表于2018-09-14 16:44 被阅读0次

    .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

    相关文章

      网友评论

          本文标题:.TRX vs .TRX2 vs .BIN

          本文链接:https://www.haomeiwen.com/subject/gnbogftx.html