Closed aparcar closed 7 years ago
diizzyy:
How much do you need to slim it down?
Borromini:
OK - so snapshot builds have the kernel symbol table info enabled, whereas stable builds do not; that means the images will get built.
So this can be closed.
Borromini:
Someone reported [[https://forum.lede-project.org/t/solved-why-no-images-generated-for-default-d-link-dir-600a1/990/10|on the forum]] that he was unable to build an image including LuCi for this 4 MB device.
I have tested this myself since it looked peculiar, and I set the build to run for both the TL-WR841N v7 (4 MB as well) and the DIR-600 A1. The images for the former build, the latter don't:
1+0 records in 1+0 records out 1310262 bytes (1.3 MB, 1.2 MiB) copied, 0.00242325 s, 541 MB/s padding image to 00360000 Warning: /var/data/code/lede/main/bin/targets/ar71xx/generic/lede-ar71xx-generic-dir-600-a1-squashfs-sysupgrade.bin is too big (> 3538944 bytes) if [ -e "/var/data/code/lede/main/bin/targets/ar71xx/generic/lede-ar71xx-generic-dir-600-a1-squashfs-sysupgrade.bin" ]; then factory_size=$((3801088 - 65536)); ( dd if=/var/data/code/lede/main/bin/targets/ar71xx/generic/lede-ar71xx-generic-dir-600-a1-squashfs-sysupgrade.bin bs=${factory_size} conv=sync; echo -n "AP91-AR7240-RT-090223-00"; ) > /var/data/code/lede/main/bin/targets/ar71xx/generic/lede-ar71xx-generic-dir-600-a1-squashfs-factory.bin; fi make[6]: Leaving directory '/var/data/code/lede/main/target/linux/ar71xx/image'
Diffconfig:
$ ./scripts/diffconfig.sh CONFIG_TARGET_ar71xx=y CONFIG_TARGET_ar71xx_generic=y CONFIG_TARGET_ar71xx_generic_DEVICE_DIR600A1=y CONFIG_PACKAGE_libiwinfo-lua=y CONFIG_PACKAGE_liblua=y CONFIG_PACKAGE_libubus-lua=y CONFIG_PACKAGE_libuci-lua=y CONFIG_PACKAGE_lua=y CONFIG_PACKAGE_luci=y CONFIG_PACKAGE_luci-app-firewall=y CONFIG_PACKAGE_luci-base=y CONFIG_PACKAGE_luci-lib-ip=y CONFIG_PACKAGE_luci-lib-jsonc=y CONFIG_PACKAGE_luci-lib-nixio=y CONFIG_PACKAGE_luci-mod-admin-full=y CONFIG_PACKAGE_luci-proto-ipv6=y CONFIG_PACKAGE_luci-proto-ppp=y CONFIG_PACKAGE_luci-theme-bootstrap=y CONFIG_PACKAGE_rpcd=y CONFIG_PACKAGE_uhttpd=y CONFIG_PACKAGE_uhttpd-mod-ubus=y
I think a stable release doesn't include anything more (or less) than these extra packages, so it looks like the DIR-600 A1 images don't build anymore for the upcoming release (or with trunk when LuCI's selected).