#20262: Unable to create firmware image of ar71xx device
---------------------------+----------------------------------
Reporter: drkhosla@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Chaos Calmer (trunk)
Component: base system | Version: Trunk
Keywords: make firmware |
---------------------------+----------------------------------
I am getting following error while creating ar71xx image of ubiquity
device. I am trying to compile r46519
{{{
Firmware version: 'XM.ar7240.v6.0.0-OpenWrt-r46519'
Output file: '/trunk/openwrt/build_dir/target-mips_34kc_musl-1.1.10/linux-
ar71xx_generic/tmp/openwrt-ar71xx-generic-rw2458n-squashfs-factory.bin'
Part count: 2
kernel: 1048576 bytes (free: 0)
rootfs: 4194308 bytes (free: 1703932)
rm /trunk/openwrt/build_dir/target-mips_34kc_musl-1.1.10/linux-
ar71xx_generic/tmp/openwrt-ar71xx-generic-rw2458n-squashfs-
factory.bin.old1 /trunk/openwrt/build_dir/target-mips_34kc_musl-1.1.10
/linux-ar71xx_generic/tmp/openwrt-ar71xx-generic-rw2458n-squashfs-
factory.bin.old2
cp /trunk/openwrt/build_dir/target-mips_34kc_musl-1.1.10/linux-
ar71xx_generic/tmp/openwrt-ar71xx-generic-rw2458n-squashfs-factory.bin
/trunk/openwrt/bin/ar71xx/openwrt-ar71xx-generic-rw2458n-squashfs-
factory.bin
[ -f /trunk/openwrt/build_dir/target-mips_34kc_musl-1.1.10/linux-
ar71xx_generic/rw2458n-kernel.bin -a -f /trunk/openwrt/build_dir/target-
mips_34kc_musl-1.1.10/linux-ar71xx_generic/root.jffs2-64k ]
dd if=/trunk/openwrt/build_dir/target-mips_34kc_musl-1.1.10/linux-
ar71xx_generic/rw2458n-kernel.bin bs=64k conv=sync >>
/trunk/openwrt/build_dir/target-mips_34kc_musl-1.1.10/linux-
ar71xx_generic/tmp/openwrt-ar71xx-generic-rw2458n-jffs2-64k-factory.bin
16+1 records in
17+0 records out
1114112 bytes (1.1 MB) copied, 0.007909 seconds, 141 MB/s
dd if=/trunk/openwrt/build_dir/target-mips_34kc_musl-1.1.10/linux-
ar71xx_generic/root.jffs2-64k >> /trunk/openwrt/build_dir/target-
mips_34kc_musl-1.1.10/linux-ar71xx_generic/tmp/openwrt-ar71xx-generic-
rw2458n-jffs2-64k-factory.bin
11392+1 records in
11392+1 records out
5832708 bytes (5.8 MB) copied, 0.163871 seconds, 35.6 MB/s
/trunk/openwrt/staging_dir/host/bin/padjffs2 /trunk/openwrt/build_dir
/target-mips_34kc_musl-1.1.10/linux-ar71xx_generic/tmp/openwrt-ar71xx-
generic-rw2458n-jffs2-64k-factory.bin 4 8 16 64 128 256
padding image to 006a1000
padding image to 006a2000
padding image to 006a4000
padding image to 006b0000
padding image to 006c0000
dd if=/trunk/openwrt/build_dir/target-mips_34kc_musl-1.1.10/linux-
ar71xx_generic/tmp/openwrt-ar71xx-generic-rw2458n-jffs2-64k-factory.bin
of=/trunk/openwrt/build_dir/target-mips_34kc_musl-1.1.10/linux-
ar71xx_generic/tmp/openwrt-ar71xx-generic-rw2458n-jffs2-64k-
factory.bin.old1 bs=1024k count=1
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.010865 seconds, 96.5 MB/s
dd if=/trunk/openwrt/build_dir/target-mips_34kc_musl-1.1.10/linux-
ar71xx_generic/tmp/openwrt-ar71xx-generic-rw2458n-jffs2-64k-factory.bin
of=/trunk/openwrt/build_dir/target-mips_34kc_musl-1.1.10/linux-
ar71xx_generic/tmp/openwrt-ar71xx-generic-rw2458n-jffs2-64k-
factory.bin.old2 bs=1024k skip=1
5+1 records in
5+1 records out
6029316 bytes (6.0 MB) copied, 0.053022 seconds, 114 MB/s
/trunk/openwrt/staging_dir/host/bin/mkfwimage -B XM -v
XM.ar7240.v6.0.0-OpenWrt-r46519 -k /trunk/openwrt/build_dir/target-
mips_34kc_musl-1.1.10/linux-ar71xx_generic/tmp/openwrt-ar71xx-generic-
rw2458n-jffs2-64k-factory.bin.old1 -r /trunk/openwrt/build_dir/target-
mips_34kc_musl-1.1.10/linux-ar71xx_generic/tmp/openwrt-ar71xx-generic-
rw2458n-jffs2-64k-factory.bin.old2 -o /trunk/openwrt/build_dir/target-
mips_34kc_musl-1.1.10/linux-ar71xx_generic/tmp/openwrt-ar71xx-generic-
rw2458n-jffs2-64k-factory.bin
board = XM
ERROR: Failed creating firmware layout description - error code: -2
make[5]: *** [/trunk/openwrt/build_dir/target-mips_34kc_musl-1.1.10/linux-
ar71xx_generic/tmp/openwrt-ar71xx-generic-rw2458n-jffs2-64k-factory.bin]
Error 253
make[5]: Leaving directory `/trunk/openwrt/target/linux/ar71xx/image'
make[4]: *** [install] Error 2
make[4]: Leaving directory `/trunk/openwrt/target/linux/ar71xx'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/trunk/openwrt/target/linux'
make[2]: *** [target/linux/install] Error 2
make[2]: Leaving directory `/trunk/openwrt'
make[1]: *** [/trunk/openwrt/staging_dir/target-
mips_34kc_musl-1.1.10/stamp/.target_install] Error 2
make[1]: Leaving directory `/trunk/openwrt'
make: *** [world] Error 2
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/20262>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets