Hello there,
I'm trying to build an image OpenWRT 21.02.0 to TP-Link Archer C9 v1 (bcm53xx) on Ubuntu 18.04 x64 using Imagebuilder tools..
Here is my steps on terminal:
apt-get install -y subversion build-essential libncurses5-dev zlib1g-dev gawk git ccache gettext libssl-dev xsltproc wget unzip python time libncursesw5-dev rsync
wget https://downloads.openwrt.org/releases/21.02.0/targets/bcm53xx/generic/openwrt-imagebuilder-21.02.0-bcm53xx-generic.Linux-x86_64.tar.xz
tar -xf openwrt-imagebuilder-21.02.0-bcm53xx-generic.Linux-x86_64.tar.xz
cd openwrt-imagebuilder-21.02.0-bcm53xx-generic.Linux-x86_64
make info |grep c9
tplink_archer-c9-v1:
SupportedDevices: tplink,archer-c9-v1
make -j4 image PROFILE="tplink_archer-c9-v1"
Start downloading and installing packages...
Building images for all bcm53xx devices...
At the end I got this:
[rootfs]
mode=ubi
vol_id=0
vol_type=dynamic
vol_name=rootfs
image=/root/openwrt-imagebuilder-21.02.0-bcm53xx-generic.Linux-x86_64/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/root.squashfs
vol_size=2026496
[rootfs_data]
mode=ubi
vol_id=1
vol_type=dynamic
vol_name=rootfs_data
vol_size=1MiB
vol_flags=autoresize
3956+1 records in
3956+1 records out
2025910 bytes (2.0 MB, 1.9 MiB) copied, 0.0496262 s, 40.8 MB/s
3956+1 records in
3956+1 records out
2025910 bytes (2.0 MB, 1.9 MiB) copied, 0.0117662 s, 172 MB/s
mjn3's trx replacement - v0.81.1
WARNING: maxlen exceeds default maximum! Beware of overwriting nvram!
os-image partition too big (more than 2097152 bytes): Success
Makefile:454: recipe for target '/root/openwrt-imagebuilder-21.02.0-bcm53xx-generic.Linux-x86_64/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-21.02.0-bcm53xx-generic-tplink_archer-c5-v2-squashfs.bin' failed
make[3]: *** [/root/openwrt-imagebuilder-21.02.0-bcm53xx-generic.Linux-x86_64/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/tmp/openwrt-21.02.0-bcm53xx-generic-tplink_archer-c5-v2-squashfs.bin] Error 1
Makefile:183: recipe for target 'build_image' failed
make[2]: *** [build_image] Error 2
Makefile:116: recipe for target '_call_image' failed
make[1]: *** [_call_image] Error 2
Makefile:238: recipe for target 'image' failed
make: *** [image] Error 2
I would appreciate any help... thanks