Hi
I've been trying to build an image from scratch for a Asus RT-AC66U B1 router.
I've selected bcm53xx and generic from the menuconfig, I've also tried asus_rt-ac68u. The Build is failing but there doesn't seem to be much info on why, here the tail of my make log. If anyone can shed some light on what going wrong it would be much appreciated:
/home/samjames/openwrt/staging_dir/host/bin/trx -o /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-tplink_archer-c5-v2-squashfs.bin.trx -m 33554432 -f /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tplink_archer-c5-v2-kernel.bin -a 1024
# if it grows up between releases
mjn3's trx replacement - v0.81.1
# root: UBI with one extra block containing UBI mark to trigger erasing
# rest of partition
mv /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-tenda_ac9-squashfs.trx.new /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-tenda_ac9-squashfs.trx
/home/samjames/openwrt/staging_dir/host/bin/otrx create /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-phicomm_k3-squashfs.trx.new -f /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/phicomm_k3-kernel.bin -a 0x20000 -b 0x400000 -f /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-phicomm_k3-squashfs.trx -A /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/ubi_mark -a 0x20000
mkchkimg: Kernel Len: 7864320
mkchkimg: Kernel Checksum: 0x0b61a70f
mkchkimg: Image Checksum: 0x0b61a70f
mv /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-netgear_r7900-squashfs.chk.new /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-netgear_r7900-squashfs.chk
cp /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-asus_rt-ac87u-squashfs.trx /home/samjames/openwrt/bin/targets/bcm53xx/generic/openwrt-bcm53xx-generic-asus_rt-ac87u-squashfs.trx
cp /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-asus_rt-n18u-squashfs.trx /home/samjames/openwrt/bin/targets/bcm53xx/generic/openwrt-bcm53xx-generic-asus_rt-n18u-squashfs.trx
/home/samjames/openwrt/staging_dir/host/bin/mkchkimg -o /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-netgear_r8000-squashfs.chk.new -k /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-netgear_r8000-squashfs.chk -b U12H315T00_NETGEAR -r 1
WARNING: maxlen exceeds default maximum! Beware of overwriting nvram!
WARNING: maxlen exceeds default maximum! Beware of overwriting nvram!
# kernel: always use 4 MiB (-28 B or TRX header) to allow upgrades even
mkchkimg: Netgear CHK writer - v0.1
# if it grows up between releases
# root: UBI with one extra block containing UBI mark to trigger erasing
# rest of partition
/home/samjames/openwrt/staging_dir/host/bin/otrx create /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-netgear_r8500-squashfs.chk.new -f /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/netgear_r8500-kernel.bin -a 0x20000 -b 0x400000 -f /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-netgear_r8500-squashfs.chk -A /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/ubi_mark -a 0x20000
cp /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-buffalo_wxr-1900dhp-squashfs.trx /home/samjames/openwrt/bin/targets/bcm53xx/generic/openwrt-bcm53xx-generic-buffalo_wxr-1900dhp-squashfs.trx
/home/samjames/openwrt/staging_dir/host/bin/tplink-safeloader -B ARCHERC9 -k /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-tplink_archer-c9-v1-squashfs.bin.trx -r /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-tplink_archer-c9-v1-squashfs.bin -j -o /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-tplink_archer-c9-v1-squashfs.bin.new
/home/samjames/openwrt/staging_dir/host/bin/tplink-safeloader -B ARCHER-C5-V2 -k /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-tplink_archer-c5-v2-squashfs.bin.trx -r /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-tplink_archer-c5-v2-squashfs.bin -j -o /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-tplink_archer-c5-v2-squashfs.bin.new
mv /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-phicomm_k3-squashfs.trx.new /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-phicomm_k3-squashfs.trx
os-image partition too big (more than 2097152 bytes): Success
os-image partition too big (more than 2097152 bytes): Success
make[5]: *** [Makefile:456: /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-tplink_archer-c5-v2-squashfs.bin] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: *** [Makefile:456: /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-tplink_archer-c9-v1-squashfs.bin] Error 1
mkchkimg: Board Id: U12H315T00_NETGEAR
mkchkimg: Region: World Wide (WW)
mkchkimg: Kernel Len: 7864320
mkchkimg: Kernel Checksum: 0x0e59720e
mkchkimg: Image Checksum: 0x0e59720e
mv /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-netgear_r8000-squashfs.chk.new /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-netgear_r8000-squashfs.chk
mv /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-netgear_r8500-squashfs.chk.new /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-netgear_r8500-squashfs.chk
/home/samjames/openwrt/staging_dir/host/bin/mkchkimg -o /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-netgear_r8500-squashfs.chk.new -k /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-netgear_r8500-squashfs.chk -b U12H334T00_NETGEAR -r 1
mkchkimg: Netgear CHK writer - v0.1
mkchkimg: Board Id: U12H334T00_NETGEAR
mkchkimg: Region: World Wide (WW)
mkchkimg: Kernel Len: 7864320
mkchkimg: Kernel Checksum: 0x6cdf17b7
mkchkimg: Image Checksum: 0x6cdf17b7
mv /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-netgear_r8500-squashfs.chk.new /home/samjames/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-bcm53xx-generic-netgear_r8500-squashfs.chk
make[5]: Leaving directory '/home/samjames/openwrt/target/linux/bcm53xx/image'
make[4]: *** [Makefile:30: install] Error 2
make[4]: Leaving directory '/home/samjames/openwrt/target/linux/bcm53xx'
make[3]: *** [Makefile:11: install] Error 2
make[3]: Leaving directory '/home/samjames/openwrt/target/linux'
time: target/linux/install#46.23#9.20#13.16
ERROR: target/linux failed to build.
make[2]: *** [target/Makefile:25: target/linux/install] Error 1
make[2]: Leaving directory '/home/samjames/openwrt'
make[1]: *** [target/Makefile:19: /home/samjames/openwrt/staging_dir/target-arm_cortex-a9_musl_eabi/stamp/.target_install] Error 2
make[1]: Leaving directory '/home/samjames/openwrt'
make: *** [/home/samjames/openwrt/include/toplevel.mk:230: world] Error 2