2765961790 发表于 2022-2-17 10:33:33

编译最新1126 SDK报错

./build.sh device/rockchip/rv1126_rv1109/aio-rv1126-jd4-BE-45.mk
processing board option: device/rockchip/rv1126_rv1109/aio-rv1126-jd4-BE-45.mk
processing option: device/rockchip/rv1126_rv1109/aio-rv1126-jd4-BE-45.mk

./build.sh
processing board option: allff
processing option: allff
============================================
TARGET_ARCH=arm
TARGET_PLATFORM=rv1126_rv1109
TARGET_UBOOT_CONFIG=rv1126
TARGET_SPL_CONFIG=
TARGET_KERNEL_CONFIG=rv1126_firefly_defconfig
TARGET_KERNEL_DTS=rv1126-firefly-jd4-BE-45
TARGET_TOOLCHAIN_CONFIG=
TARGET_BUILDROOT_CONFIG=firefly_rv1126_rv1109
TARGET_RECOVERY_CONFIG=firefly_rv1126_rv1109_recovery
TARGET_PCBA_CONFIG=
TARGET_RAMBOOT_CONFIG=
============================================
============Start building uboot============
TARGET_UBOOT_CONFIG=rv1126
=========================================
## make rv1126_defconfig -j8
#
# configuration written to .config
#
scripts/kconfig/conf--silentoldconfig Kconfig
CHK   include/config.h
GEN   include/autoconf.mk.dep
CFG   u-boot.cfg
CFG   spl/u-boot.cfg
CFG   tpl/u-boot.cfg
GEN   include/autoconf.mk
GEN   tpl/include/autoconf.mk
GEN   spl/include/autoconf.mk
CHK   include/config/uboot.release
CHK   include/generated/timestamp_autogenerated.h
UPD   include/generated/timestamp_autogenerated.h
CHK   include/config.h
CFG   u-boot.cfg
CHK   include/generated/version_autogenerated.h
CHK   include/generated/generic-asm-offsets.h
CHK   include/generated/asm-offsets.h
HOSTCCtools/mkenvimage.o
HOSTCCtools/fit_image.o
HOSTCCtools/image-host.o
HOSTCCtools/dumpimage.o
HOSTCCtools/rockchip/boot_merger.o
HOSTCCtools/mkimage.o
HOSTCCtools/rockchip/loaderimage.o
HOSTLDtools/mkenvimage
HOSTLDtools/loaderimage
HOSTLDtools/dumpimage
HOSTLDtools/mkimage
HOSTLDtools/boot_merger
CC      cmd/version.o
CC      common/main.o
LD      cmd/built-in.o
LD      common/built-in.o
CC      drivers/usb/gadget/f_fastboot.o
LD      drivers/usb/gadget/built-in.o
CC      lib/display_options.o
LD      lib/built-in.o
LD      u-boot
OBJCOPY u-boot.srec
OBJCOPY u-boot-nodtb.bin
SYM   u-boot.sym
make: 'arch/arm/dts/rv1126-evb.dtb' is up to date.
CAT   u-boot-dtb.bin
MKIMAGE u-boot.img
COPY    u-boot.dtb
MKIMAGE u-boot-dtb.img
COPY    u-boot.bin
ALIGN   u-boot.bin
CC      tpl/arch/arm/mach-rockchip/tpl.o
CC      spl/common/spl/spl.o
LD      tpl/arch/arm/mach-rockchip/built-in.o
CC      spl/lib/display_options.o
LD      spl/lib/built-in.o
COPY    spl/u-boot-spl.dtb
LD      spl/common/spl/built-in.o
LD      tpl/u-boot-tpl
OBJCOPY tpl/u-boot-tpl-nodtb.bin
LD      spl/u-boot-spl
COPY    tpl/u-boot-tpl.bin
OBJCOPY spl/u-boot-spl-nodtb.bin
CAT   spl/u-boot-spl-dtb.bin
COPY    spl/u-boot-spl.bin
CFGCHKu-boot.cfg
pack u-boot.itb okay! Input: /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/rkbin/RKTRUST/RV1126TOS.ini

FIT description: FIT Image with U-Boot/OP-TEE/MCU
Created:         Thu Feb 17 09:45:26 2022
Image 0 (uboot)
Description:U-Boot (32-bit)
Created:      Thu Feb 17 09:45:26 2022
Type:         Standalone Program
Compression:uncompressed
Data Size:    730420 Bytes = 713.30 KiB = 0.70 MiB
Architecture: ARM
Load Address: 0x00400000
Entry Point:unavailable
Hash algo:    sha256
Hash value:   390865cd1ee1abc2e0d77ed663cd7f70b4f2c1cf81c84ca6d25ee6b43615090c
Image 1 (optee)
Description:OP-TEE
Created:      Thu Feb 17 09:45:26 2022
Type:         Firmware
Compression:uncompressed
Data Size:    288088 Bytes = 281.34 KiB = 0.27 MiB
Architecture: ARM
Load Address: 0x08400000
Hash algo:    sha256
Hash value:   a5d07906d80508c58eac4ed4ef46cce6a8f77b7b6f81dec9ea20b9caae5d5206
Image 2 (fdt)
Description:U-Boot dtb
Created:      Thu Feb 17 09:45:26 2022
Type:         Flat Device Tree
Compression:uncompressed
Data Size:    10832 Bytes = 10.58 KiB = 0.01 MiB
Architecture: ARM
Hash algo:    sha256
Hash value:   a7fcbc2ae266f07277cccb0bb580862d00f2c28b03696c8135cef7aceaf6a8a4
Default Configuration: 'conf'
Configuration 0 (conf)
Description:rv1126-evb
Kernel:       unavailable
Firmware:   optee
FDT:          fdt
Loadables:    uboot
pack loader ok.(rv1126_spl_loader_v1.05.106.bin)(0.02)
pack loader(SPL) okay! Input: /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/rkbin/RKBOOT/RV1126MINIALL.ini

/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/u-boot
pack loader with new: spl/u-boot-spl.bin

Image(no-signed, version=0):uboot.img (FIT with uboot, trust...) is ready
Image(no-signed):rv1126_spl_loader_v1.05.106.bin (with spl, ddr, usbplug) is ready
pack uboot.img okay! Input: /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/rkbin/RKTRUST/RV1126TOS.ini

Platform RV1126 is build OK, with new .config(make rv1126_defconfig -j8)
Running build_uboot succeeded.
Skipping build_loader for missing configs:RK_LOADER_BUILD_TARGET.
============Start building kernel============
TARGET_ARCH          =arm
TARGET_KERNEL_CONFIG =rv1126_firefly_defconfig
TARGET_KERNEL_DTS    =rv1126-firefly-jd4-BE-45
TARGET_KERNEL_CONFIG_FRAGMENT =
==========================================
/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216
arch/arm/configs/rv1126_firefly_defconfig:384:warning: override: reassigning to symbol WIFI_BUILD_MODULE
arch/arm/configs/rv1126_firefly_defconfig:385:warning: override: reassigning to symbol AP6XXX
arch/arm/configs/rv1126_firefly_defconfig:385:warning: override: AP6XXX changes choice state
arch/arm/configs/rv1126_firefly_defconfig:389:warning: override: reassigning to symbol STMMAC_ETH
arch/arm/configs/rv1126_firefly_defconfig:416:warning: override: reassigning to symbol BT_HCIUART
arch/arm/configs/rv1126_firefly_defconfig:420:warning: override: reassigning to symbol BLK_DEV_LOOP_MIN_COUNT
arch/arm/configs/rv1126_firefly_defconfig:431:warning: override: reassigning to symbol SCSI_PROC_FS
#
# configuration written to .config
#
scripts/kconfig/conf--syncconfig Kconfig
CALL    scripts/checksyscalls.sh
DTC   arch/arm/boot/dts/rv1126-firefly-jd4-BE-45.dtb
CHK   include/generated/compile.h
Kernel: arch/arm/boot/Image is ready
Kernel: arch/arm/boot/zImage is ready
Image:kernel.img (with zImage) is ready
CALL    scripts/checksyscalls.sh
Building modules, stage 2.
MODPOST 5 modules
Image:resource.img (with rv1126-firefly-jd4-BE-45.dtb logo.bmp logo_kernel.bmp) is ready
Image:boot.img (with Image ramdisk.img resource.img) is ready
Image:zboot.img (with zImage ramdisk.img resource.img) is ready
fdt {
kernel {
ramdisk {
resource {
FIT description: U-Boot FIT source file for arm
Created:         Thu Feb 17 09:46:08 2022
Image 0 (fdt)
Description:unavailable
Created:      Thu Feb 17 09:46:08 2022
Type:         Flat Device Tree
Compression:uncompressed
Data Size:    101918 Bytes = 99.53 KiB = 0.10 MiB
Architecture: ARM
Load Address: 0xffffff00
Hash algo:    sha256
Hash value:   3e97b0b9044556892dafe4697a4cc4b23460af8a5eb2cacd7c0edbc2c376537b
Image 1 (kernel)
Description:unavailable
Created:      Thu Feb 17 09:46:08 2022
Type:         Kernel Image
Compression:uncompressed
Data Size:    7279088 Bytes = 7108.48 KiB = 6.94 MiB
Architecture: ARM
OS:         Linux
Load Address: 0xffffff01
Entry Point:0xffffff01
Hash algo:    sha256
Hash value:   fc39be68eb2f33e64a6135de03d5eec824ff0761fae6797432795f39a4abde56
Image 2 (ramdisk)
Description:unavailable
Created:      Thu Feb 17 09:46:08 2022
Type:         RAMDisk Image
Compression:uncompressed
Data Size:    9160505 Bytes = 8945.81 KiB = 8.74 MiB
Architecture: ARM
OS:         Linux
Load Address: 0xffffff02
Entry Point:unavailable
Hash algo:    sha256
Hash value:   34c8dbec64a0c800281419dccd445b0b6ff60dcb9c431584b823cc4088347bde
Image 3 (resource)
Description:unavailable
Created:      Thu Feb 17 09:46:08 2022
Type:         Multi-File Image
Compression:uncompressed
Data Size:    360448 Bytes = 352.00 KiB = 0.34 MiB
Hash algo:    sha256
Hash value:   c998c279ff584f57c4bcf08b519788d555013f0770951a4dec0d55781c192ddb
Default Configuration: 'conf'
Configuration 0 (conf)
Description:unavailable
Kernel:       kernel
Init Ramdisk: ramdisk
FDT:          fdt
Running build_kernel succeeded.
Skipping build_toolchain for missing configs:RK_CFG_TOOLCHAIN.
==========Start building buildroot==========
TARGET_BUILDROOT_CONFIG=firefly_rv1126_rv1109
=========================================
Top of tree: /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216
===========================================

#TARGET_BOARD=rv1126
#OUTPUT_DIR=output/firefly_rv1126_rv1109
#CONFIG=firefly_rv1126_rv1109_defconfig

===========================================
make: Entering directory '/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot'
GEN   /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/Makefile
/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/build/defconfig_hook.py -m /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/configs/firefly_rv1126_rv1109_defconfig /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/.rockchipconfig
BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/build/buildroot-config/tristate.config BR2_CONFIG=/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/.config HOST_GCC_VERSION="5" BUILD_DIR=/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/build SKIP_LEGACY= BR2_DEFCONFIG=/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/configs/firefly_rv1126_rv1109_defconfig /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/build/buildroot-config/conf --defconfig=/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/.rockchipconfig Config.in
/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/.rockchipconfig:146:warning: override: reassigning to symbol BR2_PACKAGE_RKWIFIBT
/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/.rockchipconfig:184:warning: override: reassigning to symbol BR2_PACKAGE_UPDATE
/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/.rockchipconfig:190:warning: override: reassigning to symbol BR2_PACKAGE_RKSCRIPT
/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/.rockchipconfig:326:warning: override: reassigning to symbol BR2_PACKAGE_NTP
/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/.rockchipconfig:327:warning: override: reassigning to symbol BR2_PACKAGE_RK_OEM_RESOURCE_DIR
/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/.rockchipconfig:328:warning: override: reassigning to symbol BR2_PACKAGE_CAMERA_ENGINE_RKAIQ_IQFILE
/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/.rockchipconfig:330:warning: override: BR2_PACKAGE_RKWIFIBT_AP6236 changes choice state
/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/.rockchipconfig:339:warning: override: reassigning to symbol BR2_PACKAGE_FFMPEG_ENCODERS
/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/.rockchipconfig:340:warning: override: reassigning to symbol BR2_PACKAGE_FFMPEG_DECODERS
/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/.rockchipconfig:341:warning: override: reassigning to symbol BR2_PACKAGE_FFMPEG_PARSERS
/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/.rockchipconfig:342:warning: override: reassigning to symbol BR2_TARGET_GENERIC_ROOT_PASSWD
#
# configuration written to /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/.config
#
make: Leaving directory '/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot'
172c172
< BR2_DEFCONFIG="/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20210306/buildroot/configs/firefly_rv1126_rv1109_defconfig"
---
> BR2_DEFCONFIG="/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/configs/firefly_rv1126_rv1109_defconfig"
Found old config, override it? (y/n):2022-02-17T09:46:39 >>> rk_oemBuilding
2022-02-17T09:46:48 >>> rk_oemInstalling to target
2022-02-17T09:46:50 >>>   Finalizing target directory
Done in 24s(error code: 2)
log saved on /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/br.log
2022-02-17T09:46:50 Warning: target file "./bin/pwd" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./etc/fstab" is touched by more than one package: ['skeleton-init-sysv', 'rkscript']
2022-02-17T09:46:50 Warning: target file "./etc/wpa_supplicant.conf" is touched by more than one package: ['wpa_supplicant', 'rkwifibt']
2022-02-17T09:46:50 Warning: target file "./usr/bin/shred" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/share/alsa/ucm/rockchip" is touched by more than one package: ['alsa-config', 'alsa-config', 'alsa-config', 'alsa-config', 'alsa-config', 'alsa-config', 'alsa-config', 'alsa-config', 'alsa-config']
2022-02-17T09:46:50 Warning: target file "./usr/bin/truncate" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./bin/uname" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/bin/env" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/bin/fold" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/bin/tail" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./bin/echo" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./bin/link" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/bin/logname" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./bin/nice" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./bin/rm" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/bin/head" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/bin/id" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/bin/od" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./bin/ping" is touched by more than one package: ['busybox', 'iputils']
2022-02-17T09:46:50 Warning: target file "./bin/mv" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./bin/pidof" is touched by more than one package: ['busybox', 'procps-ng']
2022-02-17T09:46:50 Warning: target file "./bin/cat" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/bin/tr" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/bin/nproc" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./bin/sync" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/bin/[" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/bin/uniq" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./bin/mktemp" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./bin/cp" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/bin/factor" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./bin/df" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/sbin/chroot" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/bin/readlink" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/bin/uptime" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/bin/expr" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./bin/sleep" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/share/man/man1/uptime.1" is touched by more than one package: ['coreutils', 'procps-ng']
2022-02-17T09:46:50 Warning: target file "./usr/sbin/i2cdetect" is touched by more than one package: ['busybox', 'i2c-tools']
2022-02-17T09:46:50 Warning: target file "./usr/bin/sha512sum" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./bin/true" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/bin/dirname" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./bin/chgrp" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/bin/nohup" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./bin/mkdir" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./bin/date" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/bin/timeout" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/bin/unlink" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/bin/mkfifo" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./sbin/mkdosfs" is touched by more than one package: ['busybox', 'dosfstools']
2022-02-17T09:46:50 Warning: target file "./usr/bin/cksum" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./bin/false" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/bin/du" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./bin/chown" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/sbin/ubirename" is touched by more than one package: ['busybox', 'mtd']
2022-02-17T09:46:50 Warning: target file "./usr/sbin/i2cdump" is touched by more than one package: ['busybox', 'i2c-tools']
2022-02-17T09:46:50 Warning: target file "./sbin/sysctl" is touched by more than one package: ['busybox', 'procps-ng']
2022-02-17T09:46:50 Warning: target file "./usr/bin/realpath" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./bin/printenv" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./bin/chattr" is touched by more than one package: ['busybox', 'e2fsprogs']
2022-02-17T09:46:50 Warning: target file "./sbin/mke2fs" is touched by more than one package: ['busybox', 'e2fsprogs']
2022-02-17T09:46:50 Warning: target file "./bin/ps" is touched by more than one package: ['busybox', 'procps-ng']
2022-02-17T09:46:50 Warning: target file "./usr/bin/sha256sum" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/bin/tee" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/bin/whoami" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/bin/nl" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./bin/chmod" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./sbin/fsck" is touched by more than one package: ['busybox', 'e2fsprogs']
2022-02-17T09:46:50 Warning: target file "./usr/share/alsa/ucm/realtek" is touched by more than one package: ['alsa-config', 'alsa-config', 'alsa-config']
2022-02-17T09:46:50 Warning: target file "./usr/bin/seq" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/bin/paste" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/bin/printf" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./bin/lsattr" is touched by more than one package: ['busybox', 'e2fsprogs']
2022-02-17T09:46:50 Warning: target file "./bin/mknod" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./bin/ln" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./bin/ls" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/bin/wc" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 Warning: target file "./usr/share/man/man1/kill.1" is touched by more than one package: ['coreutils', 'procps-ng']
2022-02-17T09:46:50 Warning: target file "./usr/bin/sha1sum" is touched by more than one package: ['busybox', 'coreutils']
2022-02-17T09:46:50 ./support/scripts/check-uniq-files -t staging /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/build/packages-file-list-staging.txt
2022-02-17T09:46:50 Warning: staging file "./usr/share/info/dir" is touched by more than one package: ['toolchain-external-custom', 'readline', 'libffi']
2022-02-17T09:46:50 ./support/scripts/check-uniq-files -t host /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/build/packages-file-list-host.txt
2022-02-17T09:46:50 Warning: host file "./share/info/dir" is touched by more than one package: ['host-lzip', 'host-m4', 'host-autoconf', 'host-automake', 'host-libffi', 'host-gettext', 'host-bison']
2022-02-17T09:46:50 Warning: host file "./bin/2to3" is touched by more than one package: ['host-python', 'host-python3']
2022-02-17T09:46:50 Warning: host file "./sbin/fsck" is touched by more than one package: ['host-util-linux', 'host-e2fsprogs']
2022-02-17T09:46:50 Warning: host file "./share/man/man8/fsck.8" is touched by more than one package: ['host-util-linux', 'host-e2fsprogs']
2022-02-17T09:46:50 grep -qsE '^/bin/bash /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/target/etc/shells || echo "/bin/bash" >> /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/target/etc/shells
2022-02-17T09:46:50 /bin/sed -i -e '/# GENERIC_SERIAL$/s~^.*#~ttyFIQ0::respawn:/sbin/getty -LttyFIQ0 1500000 vt100 #~' /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/target/etc/inittab
2022-02-17T09:46:50 /bin/sed -i -e '/^#.*-o remount,rw /$/s~^#+~~' /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/target/etc/inittab
2022-02-17T09:46:50 if grep -q CONFIG_ASH=y ./.config; then grep -qsE '^/bin/ash /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/target/etc/shells || echo "/bin/ash" >> /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/target/etc/shells; fi
2022-02-17T09:46:50 if grep -q CONFIG_HUSH=y ./.config; then grep -qsE '^/bin/hush /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/target/etc/shells || echo "/bin/hush" >> /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/target/etc/shells; fi
2022-02-17T09:46:50 rm -f /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/target/usr/share/glib-2.0/schemas/*.xml /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/target/usr/share/glib-2.0/schemas/*.dtd
2022-02-17T09:46:50 /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/host/bin/glib-compile-schemas /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/share/glib-2.0/schemas --targetdir=/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/target/usr/share/glib-2.0/schemas
2022-02-17T09:46:50 No schema files found: doing nothing.
2022-02-17T09:46:50 find "/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/oem" -type f ( -perm /111 -o -name '*.so*' ) -not ( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' ) -print0 | xargs -0 /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/host/bin/arm-linux-gnueabihf-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true
2022-02-17T09:46:51 /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/host/bin/fakeroot -- /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/build/rk_oem/oem_fakeroot.fs
2022-02-17T09:46:51 fakeroot: preload library `libfakeroot.so' not found, aborting.
2022-02-17T09:46:51 Makefile:701: recipe for target 'target-finalize' failed
2022-02-17T09:46:51 make: *** Error 1
2022-02-17T09:46:51 /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20220216/buildroot/output/firefly_rv1126_rv1109/Makefile:16: recipe for target '_all' failed
2022-02-17T09:46:51 make: *** Error 2
Command exited with non-zero status 1
you take 0:42.20 to build builroot
ERROR: Running build_buildroot failed!
ERROR: exit code 1 from line 682:
    /usr/bin/time -f "you take %E to build builroot" $COMMON_DIR/mk-buildroot.sh $BOARD_CONFIG

799959745 发表于 2022-2-17 10:47:16

1、sdk是否已经更新到最新?
2、是否按照wiki搭建好开发环境?

2765961790 发表于 2022-2-17 10:48:28

799959745 发表于 2022-2-17 10:47
1、sdk是否已经更新到最新?
2、是否按照wiki搭建好开发环境?

SDK已经用.repo/repo/repo sync -c --no-tags指令更新过了,开发环境已经搭建好了,之前编译过老版本的SDK没有问题

2765961790 发表于 2022-2-17 10:57:46

2765961790 发表于 2022-2-17 10:48
SDK已经用.repo/repo/repo sync -c --no-tags指令更新过了,开发环境已经搭建好了,之前编译过老版本的SD ...

我先make clean试下,再重新编译

799959745 发表于 2022-2-18 09:01:40

2765961790 发表于 2022-2-17 10:57
我先make clean试下,再重新编译

删除sdk/buildroot/output目录下的所有文件,再进行重新编译。
页: [1]
查看完整版本: 编译最新1126 SDK报错