Stefan Monnier wrote: > Ping? Doesn't someone have some idea of where that might come from?
I'm not familiar with .trx in particular, but at least for AR7 squashfs images there is a 4-byte jffs marker at the very end that is deliberately aligned to the start of the next erase block after the end of the real firmware. The "wasted" 65532 bytes of space in that erase block then actually turns into part of the jffs root, which has to be erase-block-aligned. i.e. you have a firmware image of the form: <kernel> <squashfs> <padding to 64k boundary> <jffs marker> which (after the first boot) then looks like this: <kernel> <squashfs> <padding to 64k boundary> <jffs data ...> (well, actually, it puts markers at both 64k- and 128k-aligned boundaries so it works with either erase block size, but the idea is the same) I guess the .trx format then pads the firmware to a 4k boundary, so you get a firmware size of n*64k+4k. -O _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel