[OpenWrt-Devel] ar71xx/tiny: inconsistent exceeding image size behavior

Paul paul at makrotopia.org
Thu Aug 9 11:14:40 EDT 2018


Hi,

when building firmware images exceeding devices max size, the
ImageBuilder usually write something like "too big" in the last line.
However, (at least) on some ar71xx/tiny TP-Link 841er devices, the
buildlog is somewhat different, whiteout mentioning any problems:

[|                                                               ]   0/886   0%
[==============|                                                 ] 200/886  22%
[=====================|                                          ] 300/886  33%
[========================================================|       ] 800/886  90%
[===============================================================|] 886/886 100%
Exportable Squashfs 4.0 filesystem, xz compressed, data block size 1048576
	compressed data, compressed metadata, compressed fragments, no xattrs
	duplicates are removed
Filesystem size 2666.08 Kbytes (2.60 Mbytes)
	33.58% of uncompressed filesystem size (7939.42 Kbytes)
Inode table size 9094 bytes (8.88 Kbytes)
	22.84% of uncompressed inode table size (39824 bytes)
Directory table size 12004 bytes (11.72 Kbytes)
	48.15% of uncompressed directory table size (24932 bytes)
Number of duplicate files found 107
Number of inodes 1210
Number of files 892
Number of fragments 9
Number of symbolic links  202
Number of device nodes 1
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 115
Number of ids (unique uids + gids) 1
Number of uids 1
	unknown (0)
Number of gids 1
	unknown (0)

Calculating checksums...

The full buildlog is online available here [0]. With other devices of the same target/subtarget combo everything works as expected, printing an error when using the WP543_4M profile:

Warning: /home/aparcar/worker/imagebuilder/openwrt/snapshots/ar71xx/tiny/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/tmp/wp543-4M-firmware.bin is too big (> 3735552 bytes)

Again full build log online [1]. Are some values for the 841 device missing, or am I missing something?

Best,
Paul

[0]: https://as-test.stephen304.com/json/openwrt/snapshots/ar71xx/tiny/tl-wr841-v10/4760b18510ab955//buildlog-e528eae162a9adb.txt
[1]: https://as-test.stephen304.com/download/faillogs/faillog-872500fa843c.txt


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list