Jump to content

Duo build failed


Go to solution Solved by sgjava,

Recommended Posts

Posted

Selected current kernel and Jammy (maybe Jammy not supported):

 

[ error ] ERROR in function install_deb_chroot [ functions/cli/cli-entrypoint.sh:109 -> functions/main/build-tasks.sh:285 -> functions/main/build-tasks.sh:208 -> functions/main/rootfs-image.sh:77 -> functions/rootfs/distro-agnostic.sh:282 -> functions/rootfs/apt-install.sh:22 -> functions/logging/traps.sh:0 ]
[ error ] Installation of linux-u-boot-nanopiduo-current failed [ nanopiduo jammy no sunxi ]
[ o.k. ] Process terminated 


 

Posted
16 hours ago, sgjava said:

Selected current kernel and Jammy (maybe Jammy not supported):


As this is not supported target anymore, you need to build from sources. Build from pre-build packages might not work, from sources works:
 

Spoiler
[ o.k. ] Cleaning [ u-boot/v2022.07 ]
[ o.k. ] Compiling u-boot [ 2022.07 ]
[ o.k. ] Compiler version [ arm-none-linux-gnueabihf-gcc 9.2.1 ]
[ .... ] Checking out to clean sources 
[ o.k. ] Cleaning [ u-boot/v2022.07 ]
[ o.k. ] Started patching process for [ u-boot sunxi-nanopiduo-current ]
[ o.k. ] Looking for user patches in [ userpatches/u-boot/u-boot-sunxi ]
[ o.k. ] * [l][b] add-nanopi-duo.patch 
[ o.k. ] * [l][c] allwinner-a10-spi-driver.patch 
[ o.k. ] * [l][c] allwinner-adjust-default-dram-clockspeeds.patch 
[ o.k. ] * [l][c] allwinner-boot-splash.patch 
[ o.k. ] * [l][c] allwinner-disable-de2-to-improve-edid-detection.patch 
[ o.k. ] * [l][c] allwinner-enable-autoboot-keyed.patch 
[ o.k. ] * [l][c] allwinner-enable-r_pio-gpio-access-h3-h5.patch 
[ o.k. ] * [l][c] allwinner-fdt-setprop-fix-unaligned-access.patch 
[ o.k. ] * [l][c] allwinner-fix-nand-spl.patch 
[ o.k. ] * [l][c] allwinner-h3-enable-power-led.patch 
[ o.k. ] * [l][c] allwinner-h3-fix-pll1-setup-to-never-use-dividers.patch 
[ o.k. ] * [l][c] allwinner-h3-set-safe-axi_apb-clock-dividers.patch 
[ o.k. ] * [l][c] allwinner-h616-GPU-enable-hack.patch 
[ o.k. ] * [l][c] allwinner-h616-THS-workaround.patch 
[ o.k. ] * [l][c] allwinner-lower-default-DRAM-freq-A64-H5.patch 
[ o.k. ] * [l][c] allwinner-sun8i-set-machid.patch 
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  YACC    scripts/kconfig/zconf.tab.c
  LEX     scripts/kconfig/zconf.lex.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
#
# configuration written to .config
#
scripts/kconfig/conf  --syncconfig Kconfig
  UPD     include/config.h
  CFG     u-boot.cfg
  GEN     include/autoconf.mk.dep
  CFG     spl/u-boot.cfg
  GEN     include/autoconf.mk
  GEN     spl/include/autoconf.mk
  ENVC    include/generated/env.txt
  UPD     include/generated/timestamp_autogenerated.h
  HOSTCC  scripts/dtc/dtc.o
  HOSTCC  scripts/dtc/flattree.o
  HOSTCC  scripts/dtc/fstree.o
  HOSTCC  scripts/dtc/data.o
  HOSTCC  scripts/dtc/livetree.o
  HOSTCC  scripts/dtc/treesource.o
  HOSTCC  scripts/dtc/srcpos.o
  HOSTCC  scripts/dtc/checks.o
  HOSTCC  scripts/dtc/util.o
  LEX     scripts/dtc/dtc-lexer.lex.c
  YACC    scripts/dtc/dtc-parser.tab.h
  YACC    scripts/dtc/dtc-parser.tab.c
  PYMOD   rebuild
  CFGCHK  u-boot.cfg
  HOSTCC  scripts/dtc/dtc-parser.tab.o
  HOSTCC  scripts/dtc/dtc-lexer.lex.o
  HOSTLD  scripts/dtc/dtc
  OFCHK   .config
  ENVP    include/generated/env.in
  ENVT    include/generated/environment.h
  CC      lib/asm-offsets.s
  CC      arch/arm/lib/asm-offsets.s
  UPD     include/generated/generic-asm-offsets.h
  LDS     u-boot.lds
  HOSTCC  tools/gen_eth_addr
  HOSTCC  tools/gen_ethaddr_crc.o
  WRAP    tools/lib/crc8.c
  HOSTCC  tools/img2srec
  HOSTCC  tools/mkenvimage.o
  HOSTCC  tools/os_support.o
  WRAP    tools/lib/crc32.c
  HOSTCC  tools/aisimage.o
  HOSTCC  tools/atmelimage.o
  HOSTCC  tools/fit_common.o
  HOSTCC  tools/fit_image.o
  HOSTCC  tools/image-host.o
  HOSTCC  tools/boot/image-fit.o
  HOSTCC  tools/image-sig-host.o
  HOSTCC  tools/boot/image-fit-sig.o
  HOSTCC  tools/boot/image-cipher.o
  HOSTCC  tools/boot/fdt_region.o
  HOSTCC  tools/boot/bootm.o
  HOSTCC  tools/lib/crc32.o
  HOSTCC  tools/default_image.o
  WRAP    tools/lib/fdtdec_common.c
  WRAP    tools/lib/fdtdec.c
  HOSTCC  tools/boot/image.o
  HOSTCC  tools/boot/image-host.o
  HOSTCC  tools/imagetool.o
  HOSTCC  tools/imximage.o
  HOSTCC  tools/imx8image.o
  HOSTCC  tools/imx8mimage.o
  HOSTCC  tools/kwbimage.o
  WRAP    tools/lib/md5.c
  HOSTCC  tools/lpc32xximage.o
  HOSTCC  tools/mxsimage.o
  HOSTCC  tools/omapimage.o
  HOSTCC  tools/pblimage.o
  HOSTCC  tools/pbl_crc32.o
  HOSTCC  tools/vybridimage.o
  HOSTCC  tools/stm32image.o
  WRAP    tools/lib/rc4.c
  HOSTCC  tools/rkcommon.o
  HOSTCC  tools/rkimage.o
  HOSTCC  tools/rksd.o
  HOSTCC  tools/rkspi.o
  HOSTCC  tools/socfpgaimage.o
  HOSTCC  tools/sunxi_egon.o
  WRAP    tools/lib/crc16-ccitt.c
  WRAP    tools/lib/sha1.c
  WRAP    tools/lib/sha256.c
  WRAP    tools/lib/hash-checksum.c
  WRAP    tools/lib/sha512.c
  WRAP    tools/common/hash.c
  HOSTCC  tools/ublimage.o
  HOSTCC  tools/zynqimage.o
  HOSTCC  tools/zynqmpimage.o
  HOSTCC  tools/zynqmpbif.o
  WRAP    tools/lib/fdt-libcrypto.c
  HOSTCC  tools/sunxi_toc0.o
  HOSTCC  tools/libfdt/fdt.o
  HOSTCC  tools/libfdt/fdt_ro.o
  HOSTCC  tools/libfdt/fdt_wip.o
  HOSTCC  tools/libfdt/fdt_sw.o
  HOSTCC  tools/libfdt/fdt_strerror.o
  HOSTCC  tools/libfdt/fdt_rw.o
  HOSTCC  tools/libfdt/fdt_addresses.o
  HOSTCC  tools/libfdt/fdt_overlay.o
  HOSTCC  tools/libfdt/fdt_empty_tree.o
  HOSTCC  tools/gpimage.o
  HOSTCC  tools/gpimage-common.o
  HOSTCC  tools/mtk_image.o
  WRAP    tools/lib/ecdsa/ecdsa-libcrypto.c
  WRAP    tools/lib/rsa/rsa-sign.c
  WRAP    tools/lib/rsa/rsa-verify.c
  WRAP    tools/lib/rsa/rsa-mod-exp.c
  WRAP    tools/lib/aes/aes-encrypt.c
  WRAP    tools/lib/aes/aes-decrypt.c
  HOSTCC  tools/dumpimage.o
  HOSTCC  tools/lib/fdtdec_common.o
  HOSTCC  tools/lib/fdtdec.o
  HOSTCC  tools/lib/md5.o
  HOSTCC  tools/lib/rc4.o
  HOSTCC  tools/lib/crc16-ccitt.o
  HOSTCC  tools/lib/hash-checksum.o
  HOSTCC  tools/lib/sha1.o
  HOSTCC  tools/lib/sha256.o
  HOSTCC  tools/lib/sha512.o
  HOSTCC  tools/common/hash.o
  HOSTCC  tools/lib/fdt-libcrypto.o
  HOSTCC  tools/lib/ecdsa/ecdsa-libcrypto.o
  HOSTCC  tools/lib/rsa/rsa-sign.o
  HOSTCC  tools/lib/rsa/rsa-verify.o
  HOSTCC  tools/lib/rsa/rsa-mod-exp.o
  HOSTCC  tools/lib/aes/aes-encrypt.o
  HOSTCC  tools/lib/aes/aes-decrypt.o
  HOSTCC  tools/fit_info.o
  HOSTCC  tools/mkimage.o
  HOSTCC  tools/fit_check_sign.o
  HOSTCC  tools/mksunxiboot
  HOSTCC  tools/sunxi-spl-image-builder.o
  WRAP    tools/lib/bch.c
  HOSTCC  tools/proftool
  HOSTCC  tools/fdtgrep.o
  HOSTCC  tools/spl_size_limit
  HOSTCC  tools/lib/crc8.o
  HOSTLD  tools/mkenvimage
  HOSTCC  tools/lib/bch.o
  HOSTLD  tools/fdtgrep
  HOSTLD  tools/sunxi-spl-image-builder
  HOSTLD  tools/gen_ethaddr_crc
  HOSTLD  tools/dumpimage
  HOSTLD  tools/mkimage
  HOSTLD  tools/fit_info
  HOSTLD  tools/fit_check_sign
  AR      arch/arm/cpu/built-in.o
  CC      arch/arm/cpu/armv7/cache_v7.o
  AS      arch/arm/cpu/armv7/cache_v7_asm.o
  CC      arch/arm/cpu/armv7/cpu.o
  CC      arch/arm/cpu/armv7/cp15.o
  AS      arch/arm/lib/vectors.o
  AS      arch/arm/lib/crt0.o
  CC      arch/arm/cpu/armv7/syslib.o
  AS      arch/arm/lib/setjmp.o
  AS      arch/arm/cpu/armv7/sctlr.o
  CC      arch/arm/mach-sunxi/board.o
  AS      arch/arm/lib/relocate.o
  CC      arch/arm/cpu/armv7/sunxi/tzpc.o
  CC      arch/arm/cpu/armv7/exception_level.o
  CC      arch/arm/mach-sunxi/clock.o
  CC      arch/arm/lib/bootm-fdt.o
  AS      arch/arm/cpu/armv7/lowlevel_init.o
  CC      arch/arm/cpu/armv7/sunxi/sram.o
  CC      board/sunxi/board.o
  CC      arch/arm/mach-sunxi/cpu_info.o
  CC      arch/arm/lib/bootm.o
  AS      arch/arm/cpu/armv7/nonsec_virt.o
  CC      arch/arm/cpu/armv7/sunxi/psci.o
  CC      arch/arm/lib/zimage.o
  CC      arch/arm/mach-sunxi/dram_helpers.o
  CC      arch/arm/cpu/armv7/virt-v7.o
  AS      arch/arm/lib/memset.o
  AS      arch/arm/lib/memcpy.o
  CC      arch/arm/mach-sunxi/pinmux.o
  CC      arch/arm/cpu/armv7/virt-dt.o
  CC      boot/bootm.o
  CC      arch/arm/mach-sunxi/prcm.o
  AS      arch/arm/cpu/armv7/psci.o
  CC      arch/arm/lib/sections.o
  CC      arch/arm/lib/bdinfo.o
  CC      boot/bootm_os.o
  CC      arch/arm/lib/stack.o
  CC      arch/arm/mach-sunxi/clock_sun6i.o
  CC      arch/arm/lib/interrupts.o
  CC      arch/arm/cpu/armv7/psci-common.o
  CC      arch/arm/mach-sunxi/timer.o
  CC      arch/arm/lib/cache.o
  CC      arch/arm/lib/cache-cp15.o
  AS      arch/arm/cpu/armv7/start.o
  CC      disk/part.o
  CC      boot/pxe_utils.o
  AR      cmd/arm/built-in.o
  CC      disk/disk-uclass.o
  CC      disk/part_dos.o
  CC      common/init/board_init.o
  CC      cmd/boot.o
  CC      disk/part_iso.o
  CC      cmd/bootm.o
  CC      arch/arm/lib/psci-dt.o
  AS      arch/arm/lib/ashldi3.o
  AR      drivers/adc/built-in.o
  AS      arch/arm/lib/ashrdi3.o
  CC      cmd/help.o
  CC      common/main.o
  AR      drivers/usb/cdns3/built-in.o
  CC      cmd/panic.o
  CC      disk/part_efi.o
  AR      drivers/ata/built-in.o
  CC      cmd/version.o
  CC      boot/image.o
  CC      boot/image-board.o
  CC      arch/arm/lib/div0.o
  CC      cmd/blk_common.o
  CC      cmd/bootflow.o
  CC      common/exports.o
  AS      arch/arm/lib/div64.o
  AS      arch/arm/lib/lib1funcs.o
  AS      arch/arm/lib/lshrdi3.o
  CC      boot/bootdev-uclass.o
  CC      drivers/usb/common/common.o
  AS      arch/arm/lib/muldi3.o
  AR      drivers/axi/built-in.o
  CC      boot/system_bootdev.o
  CC      drivers/block/blk-uclass.o
  AS      arch/arm/lib/uldivmod.o
  CC      boot/bootflow.o
  CC      common/cli_hush.o
  CC      drivers/block/blkcache.o
  CC      arch/arm/lib/eabi_compat.o
  AR      drivers/bus/built-in.o
  CC      boot/bootmeth-uclass.o
  AS      arch/arm/lib/crt0_arm_efi.o
  AR      arch/arm/mach-sunxi/built-in.o
  CC      common/autoboot.o
  AR      common/init/built-in.o
  CC      cmd/source.o
  CC      common/board_f.o
  CC      boot/bootstd-uclass.o
  CC      boot/bootmeth_distro.o
  CC      arch/arm/lib/reloc_arm_efi.o
  AR      arch/arm/cpu/armv7/sunxi/built-in.o
  AR      drivers/cache/built-in.o
  AR      drivers/usb/dwc3/built-in.o
  CC      boot/bootmeth_pxe.o
  CC      cmd/bdinfo.o
  CC      drivers/core/device.o
  CC      boot/bootmeth_efi.o
  CC      boot/image-fdt.o
  AR      arch/arm/cpu/armv7/built-in.o
  CC      boot/image-fit.o
  AR      drivers/clk/analogbits/built-in.o
  CC      cmd/blkcache.o
  AR      drivers/clk/imx/built-in.o
  CC      drivers/core/fdtaddr.o
  AR      drivers/crypto/aspeed/built-in.o
  CC      drivers/core/lists.o
  AR      arch/arm/lib/lib.a
  CC      cmd/bootefi.o
  AR      drivers/usb/eth/built-in.o
  CC      cmd/bootz.o
  AR      drivers/usb/emul/built-in.o
  CC      drivers/clk/sunxi/clk_sunxi.o
  CC      cmd/console.o
  CC      drivers/clk/clk-uclass.o
  AR      drivers/clk/tegra/built-in.o
  CC      cmd/dm.o
  CC      drivers/clk/sunxi/clk_sun6i_rtc.o
  CC      drivers/clk/sunxi/clk_a31_r.o
  CC      drivers/crypto/fsl/sec.o
  CC      common/board_r.o
  AR      drivers/clk/ti/built-in.o
  AR      drivers/crypto/hash/built-in.o
  CC      drivers/clk/sunxi/clk_h3.o
  CC      common/board_info.o
  CC      drivers/clk/clk_fixed_rate.o
  AR      board/sunxi/built-in.o
  CC      drivers/core/root.o
  AR      drivers/dfu/built-in.o
  CC      drivers/clk/clk_fixed_factor.o
  AR      arch/arm/lib/built-in.o
  CC      common/fdt_support.o
  CC      drivers/core/uclass.o
  AR      drivers/usb/common/built-in.o
  CC      cmd/echo.o
  AR      drivers/crypto/rsa_mod_exp/built-in.o
  CC      common/miiphyutil.o
  CC      drivers/core/util.o
  CC      drivers/i2c/i2c-uclass.o
  CC      drivers/core/tag.o
  CC      cmd/elf.o
  CC      cmd/exit.o
  CC      drivers/gpio/gpio-uclass.o
  CC      drivers/gpio/sunxi_gpio.o
  AR      drivers/crypto/fsl/built-in.o
  CC      common/usb.o
  CC      common/usb_hub.o
  CC      cmd/ext4.o
  CC      common/usb_storage.o
  CC      cmd/ext2.o
  CC      drivers/core/device-remove.o
  AR      drivers/crypto/built-in.o
  CC      drivers/usb/gadget/epautoconf.o
  CC      drivers/core/simple-bus.o
  CC      cmd/fat.o
  CC      drivers/usb/gadget/config.o
  CC      drivers/core/dump.o
  CC      cmd/fdt.o
  CC      common/iomux.o
  CC      cmd/fs.o
  CC      drivers/usb/gadget/usbstring.o
  CC      drivers/input/key_matrix.o
  CC      drivers/input/input.o
  CC      drivers/usb/gadget/udc/udc-uclass.o
  AR      drivers/iommu/built-in.o
  CC      drivers/input/keyboard-uclass.o
  AR      drivers/mailbox/built-in.o
  AR      drivers/memory/built-in.o
  CC      common/splash.o
  CC      drivers/core/of_extra.o
  CC      drivers/usb/host/usb-uclass.o
  CC      drivers/usb/host/usb_bootdev.o
  AR      drivers/clk/sunxi/built-in.o
  CC      drivers/core/ofnode.o
  AR      drivers/misc/built-in.o
  CC      drivers/usb/host/ohci-hcd.o
  CC      drivers/mmc/mmc.o
  CC      cmd/gpio.o
  CC      cmd/itest.o
  CC      drivers/mmc/mmc-uclass.o
  CC      cmd/load.o
  AR      drivers/block/built-in.o
  AR      drivers/mtd/nand/built-in.o
  AR      drivers/usb/mtu3/built-in.o
  CC      common/menu.o
  CC      cmd/mem.o
  CC      common/usb_kbd.o
  CC      cmd/mii.o
  AR      drivers/mtd/onenand/built-in.o
  CC      common/cli_readline.o
  CC      drivers/usb/host/ehci-hcd.o
  CC      drivers/core/read_extra.o
  CC      drivers/mmc/mmc_bootdev.o
  AR      drivers/net/mscc_eswitch/built-in.o
  AR      disk/built-in.o
  CC      drivers/mmc/mmc_write.o
  CC      common/cli_simple.o
  AR      drivers/net/qe/built-in.o
  CC      drivers/mmc/sunxi_mmc.o
  CC      drivers/phy/allwinner/phy-sun4i-usb.o
  CC      drivers/net/phy/phy.o
  CC      cmd/mdio.o
  AR      drivers/net/ti/built-in.o
  CC      cmd/sleep.o
  AR      drivers/mtd/spi/built-in.o
  AR      drivers/clk/built-in.o
  AR      drivers/usb/musb-new/built-in.o
  AR      drivers/pinctrl/broadcom/built-in.o
  AR      drivers/usb/musb/built-in.o
  CC      cmd/mmc.o
  CC      cmd/net.o
  AR      drivers/mtd/built-in.o
  AR      drivers/phy/cadence/built-in.o
  CC      drivers/net/sun8i_emac.o
  CC      common/console.o
  AR      drivers/pinctrl/nxp/built-in.o
  CC      common/dlmalloc.o
  CC      drivers/pinctrl/sunxi/pinctrl-sunxi.o
  CC      common/malloc_simple.o
  CC      common/event.o
  AR      drivers/power/fuel_gauge/built-in.o
  AR      drivers/power/battery/built-in.o
  CC      drivers/usb/host/ehci-generic.o
  AR      drivers/i2c/built-in.o
  CC      drivers/pinctrl/pinctrl-uclass.o
  CC      drivers/pinctrl/pinctrl-generic.o
  CC      common/hash.o
  CC      common/memsize.o
  AR      drivers/input/built-in.o
  AR      drivers/power/mfd/built-in.o
  CC      cmd/part.o
  AR      drivers/phy/marvell/built-in.o
  CC      cmd/pinmux.o
  AR      drivers/usb/phy/built-in.o
  AR      drivers/power/pmic/built-in.o
  CC      common/stdio.o
  AR      drivers/pwm/built-in.o
  AR      drivers/phy/rockchip/built-in.o
  AR      drivers/usb/ulpi/built-in.o
  AR      drivers/rtc/built-in.o
  CC      drivers/power/regulator/regulator-uclass.o
  CC      drivers/reset/reset-uclass.o
  CC      drivers/reset/reset-sunxi.o
  CC      common/cli.o
  CC      common/command.o
  AR      drivers/scsi/built-in.o
  AR      drivers/gpio/built-in.o
  CC      env/common.o
  CC      common/s_record.o
  CC      drivers/serial/serial-uclass.o
  AR      drivers/phy/socionext/built-in.o
  CC      common/xyzModem.o
  CC      env/env.o
  AR      drivers/phy/ti/built-in.o
  CC      cmd/pxe.o
  CC      env/attr.o
  CC      drivers/phy/phy-uclass.o
  CC      cmd/setexpr.o
  AR      drivers/smem/built-in.o
  CC      drivers/serial/ns16550.o
  CC      cmd/sysboot.o
  CC      env/flags.o
  AR      drivers/pinctrl/sunxi/built-in.o
  AR      drivers/soc/built-in.o
  CC      fs/ext4/ext4fs.o
  AR      lib/crypto/built-in.o
  AR      drivers/sound/built-in.o
  AR      drivers/usb/gadget/built-in.o
  AR      boot/built-in.o
  CC      fs/ext4/ext4_common.o
  CC      lib/efi_driver/efi_uclass.o
  CC      cmd/test.o
  AR      drivers/usb/gadget/udc/built-in.o
  CC      fs/ext4/dev.o
  CC      lib/efi_loader/efi_bootmgr.o
  CC      lib/efi_driver/efi_block_device.o
  CC      env/callback.o
  CC      lib/efi_loader/efi_boottime.o
  CC      lib/libfdt/fdt.o
  AR      drivers/phy/allwinner/built-in.o
  CC      env/fat.o
  CC      lib/efi_loader/efi_helper.o
  CC      fs/fat/fat_write.o
  CC      net/arp.o
  CC      cmd/usb.o
  AR      drivers/spmi/built-in.o
  CC      lib/libfdt/fdt_ro.o
  CC      cmd/disk.o
  CC      lib/zlib/zlib.o
  CC      lib/libfdt/fdt_wip.o
  CC      drivers/sysreset/sysreset-uclass.o
  AR      drivers/net/phy/built-in.o
  CC      lib/binman.o
  CC      drivers/sysreset/sysreset_watchdog.o
  CC      lib/efi_loader/efi_console.o
  CC      net/bootp.o
  CC      lib/libfdt/fdt_strerror.o
  CC      net/eth-uclass.o
  CC      fs/fs.o
  AR      drivers/pinctrl/built-in.o
  CC      lib/efi_loader/efi_device_path.o
  AR      drivers/core/built-in.o
  AR      drivers/net/built-in.o
  CC      lib/libfdt/fdt_sw.o
  CC      fs/fs_internal.o
  CC      lib/libfdt/fdt_rw.o
  AR      drivers/reset/built-in.o
  CC      lib/charset.o
  AR      drivers/thermal/built-in.o
  CC      lib/libfdt/fdt_empty_tree.o
  AR      drivers/ufs/built-in.o
  CC      lib/efi_loader/efi_device_path_to_text.o
  CC      cmd/ximg.o
  CC      net/eth_bootdev.o
  CC      lib/libfdt/fdt_overlay.o
  CC      lib/libfdt/fdt_addresses.o
  CC      net/eth_common.o
  CC      net/net.o
  CC      lib/crc8.o
  CC      lib/crc16.o
  CC      cmd/gpt.o
  CC      cmd/nvedit.o
  CC      lib/crc16-ccitt.o
  AR      env/built-in.o
  AR      drivers/video/bridge/built-in.o
  CC      net/nfs.o
  CC      drivers/watchdog/wdt-uclass.o
  AR      drivers/serial/built-in.o
  CC      drivers/watchdog/sunxi_wdt.o
  AR      drivers/power/regulator/built-in.o
  CC      net/ping.o
  AR      drivers/usb/host/built-in.o
  AR      drivers/video/sunxi/built-in.o
  CC      lib/fdtdec_common.o
  CC      lib/smbios.o
  AR      drivers/phy/built-in.o
  CC      lib/efi_loader/efi_device_path_utilities.o
  CC      net/tftp.o
  CC      lib/efi_loader/efi_dt_fixup.o
  AR      drivers/sysreset/built-in.o
  AR      drivers/power/built-in.o
  CC      lib/efi_loader/efi_file.o
  CC      lib/ldiv.o
  AR      common/built-in.o
  AR      lib/efi_driver/built-in.o
  CC      lib/net_utils.o
  CC      lib/efi_loader/efi_hii.o
  CC      lib/efi_loader/efi_image_loader.o
  CC      lib/rc4.o
  CC      lib/list_sort.o
  AR      drivers/video/ti/built-in.o
  CC      lib/efi_loader/efi_load_options.o
  CC      lib/efi_loader/efi_memory.o
  CC      lib/efi_loader/efi_root_node.o
  AR      fs/ext4/built-in.o
  CC      lib/md5.o
  CC      lib/efi_loader/efi_runtime.o
  AR      drivers/mmc/built-in.o
  CC      lib/hash-checksum.o
  AR      drivers/video/built-in.o
  CC      lib/sha1.o
  CC      lib/efi_loader/efi_setup.o
  CC      lib/efi_loader/efi_string.o
  CC      lib/sha256.o
  CC      lib/efi_loader/efi_unicode_collation.o
  CC      lib/efi_loader/efi_var_common.o
  CC      lib/efi_loader/efi_var_mem.o
  CC      lib/gunzip.o
  CC      lib/fdtdec.o
  CC      lib/efi_loader/efi_var_file.o
  CC      lib/qsort.o
  CC      lib/efi_loader/efi_variable.o
  CC      lib/efi_loader/efi_watchdog.o
  CC      lib/hashtable.o
  CC      lib/efi_loader/efi_disk.o
  AR      drivers/watchdog/built-in.o
  CC      lib/errno.o
  CC      lib/display_options.o
  CC      lib/efi_loader/efi_net.o
  CC      lib/crc32.o
  CC      lib/efi_loader/efi_smbios.o
  CC      lib/efi_loader/efi_load_initrd.o
  CC      lib/efi_loader/helloworld.o
  CC      lib/ctype.o
  AS      lib/efi_loader/efi_crt0.o
  AR      lib/libfdt/built-in.o
  CC      lib/div64.o
  CC      lib/hang.o
  AR      drivers/built-in.o
  CC      lib/linux_compat.o
  CC      lib/efi_loader/efi_reloc.o
  CC      lib/linux_string.o
  CC      lib/lmb.o
  CC      lib/membuff.o
  CC      lib/efi_loader/efi_freestanding.o
  CC      lib/slre.o
  CC      lib/efi_loader/dtbdump.o
  CC      spl/./lib/asm-offsets.s
  CC      lib/string.o
  CC      spl/./arch/arm/lib/asm-offsets.s
  CC      lib/tables_csum.o
  CC      lib/efi_loader/initrddump.o
  CC      lib/time.o
  CC      lib/hexdump.o
  AR      cmd/built-in.o
  LDS     spl/u-boot-spl.lds
  CC      lib/uuid.o
  CC      lib/rand.o
  CC      lib/panic.o
  CC      lib/vsprintf.o
  CC      lib/strto.o
  CC      lib/abuf.o
  CC      lib/rtc-lib.o
  CC      lib/date.o
  CC      lib/elf.o
  AR      net/built-in.o
  LD      lib/efi_loader/helloworld_efi.so
  UPD     spl/./include/generated/generic-asm-offsets.h
  OBJCOPY lib/efi_loader/helloworld.efi
  CC      spl/arch/arm/mach-sunxi/board.o
  CC      spl/arch/arm/mach-sunxi/dram_timings/ddr3_1333.o
  AR      spl/arch/arm/cpu/built-in.o
  CC      spl/arch/arm/cpu/armv7/cache_v7.o
  CC      spl/arch/arm/cpu/armv7/sunxi/tzpc.o
  CC      spl/arch/arm/cpu/armv7/sunxi/sram.o
  AS      spl/arch/arm/cpu/armv7/sunxi/fel_utils.o
  CC      spl/board/sunxi/board.o
  AS      spl/arch/arm/lib/vectors.o
  AS      spl/arch/arm/cpu/armv7/cache_v7_asm.o
  AS      spl/arch/arm/lib/crt0.o
  AS      spl/arch/arm/lib/setjmp.o
  CC      spl/arch/arm/cpu/armv7/cpu.o
  CC      spl/arch/arm/lib/spl.o
  CC      spl/arch/arm/cpu/armv7/cp15.o
  CC      spl/arch/arm/mach-sunxi/clock.o
  CC      spl/arch/arm/cpu/armv7/syslib.o
  CC      spl/common/spl/spl.o
  CC      spl/arch/arm/mach-sunxi/cpu_info.o
  CC      spl/common/spl/spl_legacy.o
  CC      spl/arch/arm/lib/zimage.o
  CC      spl/arch/arm/mach-sunxi/dram_helpers.o
  CC      spl/boot/image.o
  CC      spl/common/init/board_init.o
  CC      spl/arch/arm/mach-sunxi/pinmux.o
  CC      spl/arch/arm/mach-sunxi/prcm.o
  CC      spl/common/spl/spl_mmc.o
  CC      spl/boot/image-board.o
  AS      spl/arch/arm/cpu/armv7/lowlevel_init.o
  CC      spl/common/console.o
  CC      spl/cmd/nvedit.o
  AR      spl/arch/arm/mach-sunxi/dram_timings/built-in.o
  CC      spl/common/dlmalloc.o
  CC      spl/arch/arm/lib/bootm-fdt.o
  AS      spl/arch/arm/cpu/armv7/nonsec_virt.o
  CC      spl/arch/arm/cpu/armv7/virt-v7.o
  CC      spl/common/malloc_simple.o
  LD      lib/efi_loader/initrddump_efi.so
  CC      spl/arch/arm/mach-sunxi/clock_sun6i.o
  CC      spl/common/memsize.o
  AS      spl/arch/arm/lib/memset.o
  CC      spl/arch/arm/mach-sunxi/timer.o
  CC      spl/common/stdio.o
  CC      spl/arch/arm/cpu/armv7/virt-dt.o
  AR      spl/disk/built-in.o
  CC      spl/arch/arm/mach-sunxi/spl_spi_sunxi.o
  CC      spl/arch/arm/mach-sunxi/dram_sunxi_dw.o
  AR      spl/arch/arm/cpu/armv7/sunxi/built-in.o
  AS      spl/arch/arm/lib/memcpy.o
  OBJCOPY lib/efi_loader/initrddump.efi
  CC      spl/common/cli.o
  AR      spl/env/built-in.o
  AR      spl/lib/crypto/built-in.o
  AS      spl/arch/arm/cpu/armv7/psci.o
  CC      spl/arch/arm/lib/bdinfo.o
  CC      spl/arch/arm/cpu/armv7/psci-common.o
  CC      spl/common/command.o
  CC      spl/lib/hash-checksum.o
  CC      spl/arch/arm/lib/sections.o
  CC      spl/lib/sha1.o
  CC      spl/arch/arm/lib/stack.o
  LD      lib/efi_loader/dtbdump_efi.so
  CC      spl/lib/sha256.o
  AS      spl/arch/arm/cpu/armv7/start.o
  CC      spl/common/s_record.o
  CC      spl/common/xyzModem.o
  CC      spl/drivers/block/blk_legacy.o
  CC      spl/drivers/gpio/sunxi_gpio.o
  CC      spl/lib/net_utils.o
  AR      spl/dts/built-in.o
  AR      lib/zlib/built-in.o
  OBJCOPY lib/efi_loader/dtbdump.efi
  AR      spl/common/init/built-in.o
  CC      spl/lib/qsort.o
  CC      spl/arch/arm/lib/interrupts.o
  CC      spl/drivers/mmc/mmc.o
  CC      spl/arch/arm/lib/reset.o
  AR      spl/drivers/mtd/built-in.o
  CC      spl/fs/fs_internal.o
  CC      spl/drivers/mmc/mmc_legacy.o
  CC      spl/lib/hashtable.o
  CC      spl/arch/arm/lib/cache.o
  CC      spl/arch/arm/lib/cache-cp15.o
  CC      spl/arch/arm/lib/psci-dt.o
  AR      spl/cmd/built-in.o
  CC      spl/drivers/serial/serial.o
  AR      spl/drivers/power/battery/built-in.o
  AS      spl/arch/arm/lib/ashldi3.o
  CC      spl/drivers/mmc/sunxi_mmc.o
  CC      spl/lib/errno.o
  AR      spl/drivers/soc/built-in.o
  CC      spl/drivers/serial/serial_ns16550.o
  AS      spl/arch/arm/lib/ashrdi3.o
  AR      lib/efi_loader/built-in.o
  CC      spl/drivers/serial/ns16550.o
  AR      spl/drivers/power/fuel_gauge/built-in.o
  AR      spl/board/sunxi/built-in.o
  AR      spl/drivers/power/pmic/built-in.o
  CC      spl/lib/display_options.o
  CC      spl/arch/arm/lib/div0.o
  CC      spl/lib/crc32.o
  CC      spl/lib/ctype.o
  CC      spl/lib/div64.o
  AS      spl/arch/arm/lib/div64.o
  CC      spl/lib/hang.o
  CC      spl/lib/linux_compat.o
  AS      spl/arch/arm/lib/lib1funcs.o
  AR      spl/drivers/power/mfd/built-in.o
  CC      spl/lib/linux_string.o
  AR      spl/boot/built-in.o
  AR      spl/drivers/power/regulator/built-in.o
  AR      spl/arch/arm/cpu/armv7/built-in.o
  AS      spl/arch/arm/lib/lshrdi3.o
  AS      spl/arch/arm/lib/muldi3.o
  AS      spl/arch/arm/lib/uldivmod.o
  CC      spl/lib/lmb.o
  CC      spl/arch/arm/lib/eabi_compat.o
  CC      spl/lib/membuff.o
  AR      spl/drivers/gpio/built-in.o
  CC      spl/lib/slre.o
  AR      spl/fs/built-in.o
  CC      spl/lib/string.o
  AS      spl/arch/arm/lib/crt0_arm_efi.o
  AR      spl/drivers/power/built-in.o
  CC      spl/lib/tables_csum.o
  CC      spl/arch/arm/lib/reloc_arm_efi.o
  AR      spl/drivers/block/built-in.o
  CC      spl/lib/time.o
  CC      spl/lib/hexdump.o
  CC      spl/lib/uuid.o
  CC      spl/lib/rand.o
  CC      spl/lib/panic.o
  CC      spl/lib/strto.o
  CC      spl/lib/tiny-printf.o
  AR      spl/common/spl/built-in.o
  CC      spl/lib/abuf.o
  CC      spl/lib/date.o
  CC      spl/lib/rtc-lib.o
  AR      fs/fat/built-in.o
  CC      spl/lib/elf.o
  AR      fs/built-in.o
  AR      spl/arch/arm/mach-sunxi/built-in.o
  AR      spl/arch/arm/lib/lib.a
  AR      spl/common/built-in.o
  AR      lib/built-in.o
  AR      spl/arch/arm/lib/built-in.o
  LD      u-boot
  AR      spl/drivers/serial/built-in.o
  OBJCOPY u-boot.srec
  OBJCOPY u-boot-nodtb.bin
  SYM     u-boot.sym
  AR      spl/drivers/mmc/built-in.o
  DTC     arch/arm/dts/sun8i-h2-plus-bananapi-m2-zero.dtb
  DTC     arch/arm/dts/sun8i-h2-plus-libretech-all-h3-cc.dtb
  AR      spl/drivers/built-in.o
  DTC     arch/arm/dts/sun8i-h2-plus-orangepi-r1.dtb
  DTC     arch/arm/dts/sun8i-h2-plus-orangepi-zero.dtb
  DTC     arch/arm/dts/sun8i-h2-plus-nanopi-duo.dtb
  DTC     arch/arm/dts/sun8i-h3-bananapi-m2-plus.dtb
  DTC     arch/arm/dts/sun8i-h3-bananapi-m2-plus-v1.2.dtb
  DTC     arch/arm/dts/sun8i-h3-beelink-x2.dtb
  DTC     arch/arm/dts/sun8i-h3-emlid-neutis-n5h3-devboard.dtb
  DTC     arch/arm/dts/sun8i-h3-libretech-all-h3-cc.dtb
  DTC     arch/arm/dts/sun8i-h3-mapleboard-mp130.dtb
  DTC     arch/arm/dts/sun8i-h3-nanopi-duo2.dtb
  DTC     arch/arm/dts/sun8i-h3-nanopi-m1.dtb
  DTC     arch/arm/dts/sun8i-h3-nanopi-m1-plus.dtb
  DTC     arch/arm/dts/sun8i-h3-nanopi-neo.dtb
  DTC     arch/arm/dts/sun8i-h3-nanopi-neo-air.dtb
  DTC     arch/arm/dts/sun8i-h3-nanopi-r1.dtb
  DTC     arch/arm/dts/sun8i-h3-orangepi-2.dtb
  DTC     arch/arm/dts/sun8i-h3-orangepi-lite.dtb
  DTC     arch/arm/dts/sun8i-h3-orangepi-one.dtb
  DTC     arch/arm/dts/sun8i-h3-orangepi-pc.dtb
  DTC     arch/arm/dts/sun8i-h3-orangepi-pc-plus.dtb
  DTC     arch/arm/dts/sun8i-h3-orangepi-plus.dtb
  DTC     arch/arm/dts/sun8i-h3-orangepi-plus2e.dtb
  DTC     arch/arm/dts/sun8i-h3-orangepi-zero-plus2.dtb
  DTC     arch/arm/dts/sun8i-h3-rervision-dvk.dtb
  DTC     arch/arm/dts/sun8i-h3-zeropi.dtb
  SHIPPED dts/dt.dtb
  CAT     u-boot-dtb.bin
  COPY    u-boot.dtb
  COPY    u-boot.bin
  MKIMAGE u-boot.img
  MKIMAGE u-boot-dtb.img
  AR      spl/lib/built-in.o
  LD      spl/u-boot-spl
  OBJCOPY spl/u-boot-spl-nodtb.bin
  SYM     spl/u-boot-spl.sym
  COPY    spl/u-boot-spl.bin
  MKIMAGE spl/sunxi-spl.bin
  BINMAN  all
[ o.k. ] Building deb [ linux-u-boot-current-nanopiduo_23.02.0-trunk_armhf.deb ]

 


 

 

Posted

Seems to always fail no matter how I build it:

 

ake[3]: *** [scripts/Makefile.build:444: drivers/phy/broadcom/built-in.a] Error 127
make[2]: *** [scripts/Makefile.build:552: drivers/phy/broadcom] Error 2
make[1]: *** [scripts/Makefile.build:552: drivers/phy] Error 2
make: *** [Makefile:1902: drivers] Error 2
make[1]: *** [kernel/Makefile:160: kernel/kheaders_data.tar.xz] Error 125
make: *** [Makefile:1902: kernel] Error 2
[ error ] ERROR in function compile_kernel [ functions/cli/cli-entrypoint.sh:109 -> functions/main/build-tasks.sh:263 -> functions/main/build-tasks.sh:138 -> functions/compilation/kernel.sh:143 -> functions/logging/traps.sh:0 ]
[ error ] Kernel was not built [ @host ]


 

Posted

I used a new Jammy desktop VM. I've tried deleting the build dir, everything. If you can get a duo build to work tell me the steps you used.

Posted
4 hours ago, sgjava said:

Seems to always fail no matter how I build it:


Now this is odd. :(:huh: I just built current and edge images from sources in no time. Hmm. Try with Docker as a last resort. Can you provide debug/output/compilation.log

 

Posted

Docker spits out:

 

[ error ] Docker container build exited with code:  [ 0 ]

 

Using:

 

sudo ./compile.sh docker-shell BOARD=duo BRANCH=current RELEASE=jammy

 

Can you verify if you can build duo local? I'm using a Jammy x86_64 VirtualBox desktop.

Posted

Then I try:

 

./compile.sh docker KERNEL_ONLY=yes BOARD=duo BRANCH=current KERNEL_CONFIGURE=yes

 

[ warn ] The KERNEL_ONLY key is no longer used. [ KERNEL_ONLY=yes ]
[ warn ] Instead, use BUILD_ONLY to select the build target. [ u-boot,kernel,armbian-config,armbian-zsh,plymouth-theme-armbian,armbian-firmware,armbian-bsp ]
[ o.k. ] BUILD_ONLY enforced to: [ u-boot,kernel,armbian-config,armbian-zsh,plymouth-theme-armbian,armbian-firmware,armbian-bsp ]
/root/armbian/lib/functions/main/config-prepare.sh: line 109: /root/armbian/config/boards/duo.: No such file or directory
[ error ] ERROR in function prepare_and_config_main_build_single [ functions/cli/cli-entrypoint.sh:106 -> functions/main/config-prepare.sh:112 -> functions/logging/traps.sh:0 ]
[ error ] Board configuration does not define valid kernel config 
[ o.k. ] Process terminated 

 

Posted

OK, no matter what the build fails in various places. I'd like to see someone else try nanopiduo build.

Posted

This worked for me using current master branch:

sudo ./compile.sh  BOARD=nanopiduo BRANCH=current RELEASE=jammy BUILD_MINIMAL=no BUILD_DESKTOP=no KERNEL_CONFIGURE=no COMPRESS_OUTPUTIMAGE=sha,gpg,img

  • Solution
Posted

@SteeMan that did the trick:

[ o.k. ] Kernel file name [ linux-image-current-sunxi_23.02.0-trunk_armhf.deb ]
[ o.k. ] Runtime [ 53:30 min ]
[ o.k. ] Repeat Build Options [ ./compile.sh  BOARD=nanopiduo BRANCH=current RELEASE=jammy BUILD_MINIMAL=no BUILD_DESKTOP=no KERNEL_CONFIGURE=no COMPRESS_OUTPUTIMAGE=sha,gpg,img  ]


 

Posted (edited)
uname -a
Linux nanopiduo 5.15.81-sunxi #trunk SMP Tue Dec 6 17:19:18 EST 2022 armv7l armv7l armv7l GNU/Linux

lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.1 LTS
Release:	22.04
Codename:	jammy


 

Edited by sgjava
Posted

Worked for me:

[ o.k. ] U-Boot file name [ linux-u-boot-edge-nanopiduo_23.02.0-trunk_armhf.deb ]           [ o.k. ] Kernel file name [ linux-image-edge-sunxi_23.02.0-trunk_armhf.deb ]                [ o.k. ] Runtime [ 31:31 min ]                [ o.k. ] Repeat Build Options [ ./compile.sh  BOARD=nanopiduo BRANCH=edge RELEASE=jammy BUILD_MINIMAL=no BUILD_DESKTOP=no KERNEL_CONFIGURE=no COMPRESS_OUTPUTIMAGE=sha,gpg,img  ]

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines