warmwinter / firmware-mod-kit

Automatically exported from code.google.com/p/firmware-mod-kit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

-nopad switch causes checksum failure for trx image

GoogleCodeExporter opened this issue · comments

Firmware Image: 
ftp://ftp.dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2013/05-27-2013-r21676/tp
link_tl-wdr3600v1/tl-wdr3600-webflash.bin

Without -nopad, rebuild succeeds.

With -nopad, rebuild fails, checksum error (crcalc)

I haven't even glanced into this yet, figured I'd create an issue so it isn't 
forgotten!

Original issue reported on code.google.com by jeremy.collake@gmail.com on 18 Jul 2013 at 4:21

Most likely the actual firmware size doesn't match the size reported in the TRX 
header since it wasn't padded out to the original size. crcalc calculates the 
CRC based on the size specified in the header since there is no way (that I 
know of) to reliably determine what part of the firmware image a given header 
is supposed to apply to (some firmwares have headers that only apply to part of 
the firmware image, or there may be multiple headers).

Original comment by heffne...@gmail.com on 19 Jul 2013 at 3:41

Thanks Craig!

Original comment by jeremy.collake@gmail.com on 20 Jul 2013 at 6:10

  • Changed state: WontFix