Hi,
for my Freifunk-Firmware project, I offer a web based "Firmware Upgrade" button realized with the mtd command which is part of both the Linksys and the OpenWRT suites. With one of my devices (a WRT45G V2.0) sometimes the flashed TRX/BIN file generated with the OpenWRT toolchain will hang during bootup. Serial console states "Header checksum does not match". OK - no problem since TFTP is active without boot_wait in this state.
This occurs with the Linksys original web GUI update button as well as with a trx file manually written to flash using the mtd command.
If I rerun the trx utility manually, the next TRX/BIN file generated eventually is OK. This is likely a CRC calculation mismatch between this specific PMON/CFE and the trx tool (both OpenWRT trx and Linksys original trx tool show this behavior). N.B. If the trx file is OK, the BIN files always works.
So every time, I want to publish a new Freifunk-Firmware version, I am sitting there reflashing new BIN files until the CRC calculation matches.
Anybody heard about this? Workarounds?
Regards, Sven-Ola