18807220597 发表于 2024-4-19 10:56:20

编译uboot报错

编译uboot和内核报错,使用命令 ./build.sh uboot和 ./build.sh kernel
********boot_merger ver 1.31********Info:Pack loader ok.pack loader okay! Input: /home/debian/proj/rk3588_sdk/rkbin/RKBOOT/RK3588MINIALL.ini/home/debian/proj/rk3588_sdk/u-bootERROR: pack uboot.img failed! fit/uboot.itb actual: 2187776 bytes, max limit: 2097152 bytesERROR: Running build_uboot failed!ERROR: exit code 1 from line 648:    ./make.sh $RK_UBOOT_DEFCONFIG $UBOOT_COMPILE_COMMANDS CROSS_COMPILE=$CROSS_COMPILE/home/debian/proj/rk3588_sdk/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-ld: Unexpected GOT/PLT entries detected!/home/debian/proj/rk3588_sdk/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-ld: Unexpected run-time procedure linkages detected!/home/debian/proj/rk3588_sdk/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-ld: sound/soc/codecs/es8323.o: in function `firefly_multircodecs_mute_es8323':/home/debian/proj/rk3588_sdk/kernel/sound/soc/codecs/es8323.c:648: undefined reference to `firefly_multicodecs_control_gpio'/home/debian/proj/rk3588_sdk/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-ld: /home/debian/proj/rk3588_sdk/kernel/sound/soc/codecs/es8323.c:652: undefined reference to `firefly_multicodecs_control_gpio'make: *** 错误 1make: *** Error 2ERROR: Running build_extboot failed!ERROR: exit code 2 from line 785:    make ARCH=$RK_ARCH $RK_KERNEL_DTS.img -j$RK_JOBS
页: [1]
查看完整版本: 编译uboot报错