Builderror ipq40xx

Hey, I am new in bulding openwrt and i try to compile it for the mvebu-corteaxa9 and it workt..
next time i try to compile it for the ip40xx an i get an error msg that i dont understand.

the source is original openwrt without changes and i try it on an Debian 9.6 is ther any special pre request for the ipq40xx ?

This is the error msg

4521984 bytes (4.5 MB, 4.3 MiB) copied, 0.00310027 s, 1.5 GB/s
mv /home/robin/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx/tmp/openwrt-ipq40xx-openmesh_a62-initramfs-fit-uImage.itb.new /home/robin/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx/tmp/openwrt-ipq40xx-openmesh_a62-initramfs-fit-uImage.itb
make[5]: Leaving directory '/home/robin/openwrt/target/linux/ipq40xx/image'
Makefile:22: recipe for target 'install' failed
make[4]: *** [install] Error 2
make[4]: Leaving directory '/home/robin/openwrt/target/linux/ipq40xx'
Makefile:13: recipe for target 'install' failed
make[3]: *** [install] Error 2
make[3]: Leaving directory '/home/robin/openwrt/target/linux'
time: target/linux/install#873.33#51.27#151.30
target/Makefile:23: recipe for target 'target/linux/install' failed
make[2]: *** [target/linux/install] Error 2
make[2]: Leaving directory '/home/robin/openwrt'
target/Makefile:19: recipe for target '/home/robin/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/stamp/.target_install' failed
make[1]: *** [/home/robin/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/stamp/.target_install] Error 2
make[1]: Leaving directory '/home/robin/openwrt'
Build failed - please re-run with -j1 to see the real error message
/home/robin/openwrt/include/toplevel.mk:216: die Regel für Ziel „world“ scheiterte
make: *** [world] Fehler 1

Sadly your log does not contain why exactly the build failed, just that a recipe for target 'install' failed.
Can you please re-run make with -j1 ?

I think that is the real error msg

cp /home/robin/firmware/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx/Image /home/robin/firmware/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx/avm_fritzbox-4040-fit-uImage.itb
/home/robin/firmware/openwrt/staging_dir/host/bin/lzma e /home/robin/firmware/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx/avm_fritzbox-4040-fit-uImage.itb -lc1 -lp2 -pb2  /home/robin/firmware/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx/avm_fritzbox-4040-fit-uImage.itb.new
/home/robin/firmware/openwrt/scripts/mkits.sh -D avm_fritzbox-4040 -o /home/robin/firmware/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx/avm_fritzbox-4040-fit-uImage.itb.its -k /home/robin/firmware/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx/avm_fritzbox-4040-fit-uImage.itb -d /home/robin/firmware/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx/linux-4.14.87/arch/arm/boot/dts/qcom-ipq4018-fritz4040.dtb -C lzma -a 0x80208000 -e 0x80208000 -c "config@1" -A arm -v 4.14.87
PATH=/home/robin/firmware/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx/linux-4.14.87/scripts/dtc:/home/robin/firmware/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.3.0_musl_eabi/bin:/home/robin/firmware/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.3.0_musl_eabi/bin:/home/robin/firmware/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.3.0_musl_eabi/bin:/home/robin/firmware/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.3.0_musl_eabi/bin:/home/robin/firmware/openwrt/staging_dir/host/bin:/home/robin/firmware/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.3.0_musl_eabi/bin:/home/robin/firmware/openwrt/staging_dir/host/bin:/home/robin/firmware/openwrt/staging_dir/host/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games mkimage -f /home/robin/firmware/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx/avm_fritzbox-4040-fit-uImage.itb.its /home/robin/firmware/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx/avm_fritzbox-4040-fit-uImage.itb.new
/home/robin/firmware/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx/avm_fritzbox-4040-fit-uImage.itb.new.tmp: Warning (unit_address_vs_reg): Node /images/kernel@1 has a unit name, but no reg property
/home/robin/firmware/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx/avm_fritzbox-4040-fit-uImage.itb.new.tmp: Warning (unit_address_vs_reg): Node /images/kernel@1/hash@1 has a unit name, but no reg property
/home/robin/firmware/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx/avm_fritzbox-4040-fit-uImage.itb.new.tmp: Warning (unit_address_vs_reg): Node /images/kernel@1/hash@2 has a unit name, but no reg property
/home/robin/firmware/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx/avm_fritzbox-4040-fit-uImage.itb.new.tmp: Warning (unit_address_vs_reg): Node /images/fdt@1 has a unit name, but no reg property
/home/robin/firmware/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx/avm_fritzbox-4040-fit-uImage.itb.new.tmp: Warning (unit_address_vs_reg): Node /images/fdt@1/hash@1 has a unit name, but no reg property
/home/robin/firmware/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx/avm_fritzbox-4040-fit-uImage.itb.new.tmp: Warning (unit_address_vs_reg): Node /images/fdt@1/hash@2 has a unit name, but no reg property
/home/robin/firmware/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx/avm_fritzbox-4040-fit-uImage.itb.new.tmp: Warning (unit_address_vs_reg): Node /configurations/config@1 has a unit name, but no reg property
FIT description: ARM OpenWrt FIT (Flattened Image Tree)
Created:         Wed Dec 12 17:59:01 2018
 Image 0 (kernel@1)
  Description:  ARM OpenWrt Linux-4.14.87
  Created:      Wed Dec 12 17:59:01 2018
  Type:         Kernel Image
  Compression:  lzma compressed
  Data Size:    2001138 Bytes = 1954.24 KiB = 1.91 MiB
  Architecture: ARM
  OS:           Linux
  Load Address: 0x80208000
  Entry Point:  0x80208000
  Hash algo:    crc32
  Hash value:   7fdb245c
  Hash algo:    sha1
  Hash value:   de72c9db200c4512bfcd36c6843dbd1d28712725
 Image 1 (fdt@1)
  Description:  ARM OpenWrt avm_fritzbox-4040 device tree blob
  Created:      Wed Dec 12 17:59:01 2018
  Type:         Flat Device Tree
  Compression:  uncompressed
  Data Size:    16715 Bytes = 16.32 KiB = 0.02 MiB
  Architecture: ARM
  Hash algo:    crc32
  Hash value:   4dbc77a4
  Hash algo:    sha1
  Hash value:   4d0436358fafa48b7490d2b2df0997c530c227fd
 Default Configuration: 'config@1'
 Configuration 0 (config@1)
  Description:  OpenWrt
  Kernel:       kernel@1
  FDT:          fdt@1
[ -f /home/robin/firmware/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx/avm_fritzbox-4040-fit-uImage.itb -a -f /home/robin/firmware/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx/root.squashfs ]
dd if=/home/robin/firmware/openwrt/bin/targets/ipq40xx/generic/u-boot-fritz4040/uboot-fritz4040.bin >> /home/robin/firmware/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx/tmp/freifunk-berlin-dev-1.1.0-alpha-2c83b40-ipq40xx-avm_fritzbox-4040-squashfs-eva.bin
dd: failed to open '/home/robin/firmware/openwrt/bin/targets/ipq40xx/generic/u-boot-fritz4040/uboot-fritz4040.bin': No such file or directory
Makefile:254: recipe for target '/home/robin/firmware/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx/tmp/freifunk-berlin-dev-1.1.0-alpha-2c83b40-ipq40xx-avm_fritzbox-4040-squashfs-eva.bin' failed
make[5]: *** [/home/robin/firmware/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx/tmp/freifunk-berlin-dev-1.1.0-alpha-2c83b40-ipq40xx-avm_fritzbox-4040-squashfs-eva.bin] Error 1
make[5]: Leaving directory '/home/robin/firmware/openwrt/target/linux/ipq40xx/image'
Makefile:22: recipe for target 'install' failed
make[4]: *** [install] Error 2
make[4]: Leaving directory '/home/robin/firmware/openwrt/target/linux/ipq40xx'
Makefile:13: recipe for target 'install' failed
make[3]: *** [install] Error 2
make[3]: Leaving directory '/home/robin/firmware/openwrt/target/linux'
time: target/linux/install#46.62#6.01#59.44
target/Makefile:23: recipe for target 'target/linux/install' failed
make[2]: *** [target/linux/install] Error 2
make[2]: Leaving directory '/home/robin/firmware/openwrt'
target/Makefile:19: recipe for target '/home/robin/firmware/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/stamp/.target_install' failed
make[1]: *** [/home/robin/firmware/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/stamp/.target_install] Error 2
make[1]: Leaving directory '/home/robin/firmware/openwrt'
/home/robin/firmware/openwrt/include/toplevel.mk:216: die Regel für Ziel „world“ scheiterte
make: *** [world] Fehler 2

This can sometimes happen when leaving to build images for all ipq40xx devices because u-boot for Fritzbox 4040 will not get selected.
Simply manually select it to be built and rebuild

I think the Problem is the Buildbot. They dosn't understand that the he have to build an eva-bin image. is ther any way to tell the buildbot to build only the sysupgrade image?

This is all a bit strange.

Well, you can get the buildroot to not build the eva.bin image
Just remove it from this file and line

so it just reads:

       IMAGES = sysupgrade.bin

thx to remove the eve image frome the makfile solves my Problem thx :wink:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.