Hi all, I've been building WNDR3800 builds using Attitude Adjustment for a while now. Unfortunately, it seems something has gone awry and I can't build a usable image any more. After flashing, the WNDR3800 reboots but fails to load with the following error (taken from the console via TTL connection). This was from the most current AA svn pull as of today:
Verifying Checksum ... OK ### SQUASHFS loading 'image/uImage' to 0x80800000 ERROR: LzmaDecode.c, 547 lzma_fs returned unexpected result 0x1 SQUASHFS error: squashfs_readdir: read_block ### SQUASHFS LOAD ERROR<0> for image! Then, it sits in recovery mode. I'm building in Ubuntu 32 bit 10.04.4 server. My build process is as follows: 1. Copy the following into a fresh .config file: # target CONFIG_TARGET_ar71xx=y CONFIG_TARGET_ar71xx_generic=y CONFIG_TARGET_ar71xx_generic_WNDR3700=y CONFIG_TARGET_ROOTFS_JFFS2=n # ddns support CONFIG_PACKAGE_ddns-scripts=y # file system stuff CONFIG_PACKAGE_fdisk=y CONFIG_PACKAGE_e2fsprogs=y CONFIG_PACKAGE_tune2fs=y CONFIG_PACKAGE_block-mount=y CONFIG_PACKAGE_kmod-fs-vfat=y CONFIG_PACKAGE_kmod-nls-base=y CONFIG_PACKAGE_kmod-nls-cp437=y CONFIG_PACKAGE_kmod-nls-iso8859-1=y # firewall support / tools CONFIG_PACKAGE_conntrack-tools=y CONFIG_PACKAGE_iptables-mod-ipopt=y CONFIG_PACKAGE_iptables-mod-nat-extra=y CONFIG_PACKAGE_kmod-ipt-nathelper-extra=y # ipv6 support CONFIG_PACKAGE_kmod-ipv6=y CONFIG_PACKAGE_6in4=y CONFIG_PACKAGE_ip6tables=y CONFIG_PACKAGE_radvd=y # luci CONFIG_PACKAGE_luci-ssl=y CONFIG_PACKAGE_luci-app-ddns=y CONFIG_PACKAGE_luci-app-radvd=y CONFIG_PACKAGE_luci-app-upnp=y CONFIG_PACKAGE_luci-proto-6x4=y # other stuff CONFIG_PACKAGE_ethtool=y CONFIG_PACKAGE_netcat=y CONFIG_PACKAGE_tc=y CONFIG_PACKAGE_tcpdump=y CONFIG_PACKAGE_openvpn=y # upnp support CONFIG_PACKAGE_miniupnpd=y 2. Then I run, "make defconfig" which builds out the rest of the .config file. 3. Then I run "make" which compiles the image. When I'm done, I'm left with these two files: adam@ubuntu:~/openwrt/attitude_adjustment$ ls -l bin/ar71xx/*3800* -rw-r--r-- 1 adam adam 4915333 2012-11-17 22:42 bin/ar71xx/openwrt-ar71xx-generic-wndr3800-squashfs-factory.img -rw-r--r-- 1 adam adam 4915204 2012-11-17 22:42 bin/ar71xx/openwrt-ar71xx-generic-wndr3800-squashfs-sysupgrade.bin The image is only 4.9meg so it should fit comfortably inside the 16megs of flash on the WNDR3800. However, after flashing it, I get the above mentioned error message. If I build an image with just the following .config, it works: CONFIG_TARGET_ar71xx=y CONFIG_TARGET_ar71xx_generic=y CONFIG_TARGET_ar71xx_generic_WNDR3700=y CONFIG_TARGET_ROOTFS_JFFS2=n make defconfig make Of course, the image is quite a bit smaller. But I don't think that should be a problem as I tried arokh's image, which is 7+ meg and it boots normally. I've tried this procedure on two completely different build-servers, one Ubuntu 10.04.4 (freshly installed) and another 12.10. I have the same problem on images from both. I don't understand why building in several packages would cause it not to boot. The problem happens with both factory.imgs loaded from tftp and also sysupgrade images loaded from within OpenWRT. Any ideas and/or suggestions would be greatly appreciated. Thanks in advance, Adam _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
