orangepi-build icon indicating copy to clipboard operation
orangepi-build copied to clipboard

OrangePi 构建时下载完成资源后报错异常停止

Open FlameKm opened this issue 11 months ago • 4 comments

最近(2024.3.19)才有的问题,构建选项 Full OS image for flashing
Do not change the kernel configuration orangepizero3 next Others Ubuntu no yes

后面尝试只选择内核一样报错

⇒  ./build.sh
[ warn ] This script requires root privileges, trying to use sudo 
[ o.k. ] Using config file [ /home/hyc/Project/orangepi-build/userpatches/config-example.conf ]
[ .... ] Extension being added [ sunxi-tools :: added by build.sh:305 -> scripts/main.sh:384 -> scripts/configuration.sh:151 -> external/config/sources/families/sun50iw9.conf:1 -> external/config/sources/families/include/sunxi64_common.inc:1 -> scripts/extensions.sh:0 ]
[ o.k. ] Extension manager [ processed 3 Extension Methods calls and 3 Extension Method implementations ]
[ o.k. ] Preparing [ host ]
[ o.k. ] Build host OS release [ jammy ]
[ .... ] Installing build dependencies 
[ o.k. ] Syncing clock [ cn.pool.ntp.org ]
[ o.k. ] Checking for external GCC compilers 
[ o.k. ] Downloading sources 
[ o.k. ] Checking git sources [ /home/hyc/Project/orangepi-build/u-boot v2021.07-sunxi ]
[ .... ] Up to date 
[ o.k. ] Checking git sources [ /home/hyc/Project/orangepi-build/kernel orange-pi-6.1-sun50iw9 ]
[ .... ]  Cleaning ....  [ 1 files ]
[ o.k. ] Checking git sources [ /home/hyc/Project/orangepi-build/external/cache/sources/arm-trusted-firmware-sunxi-mainline master ]
[ .... ] Up to date 
[ o.k. ] Checking git sources [ /home/hyc/Project/orangepi-build/external/cache/sources/sunxi-tools master ]
[ .... ] Up to date 
[ o.k. ] Cleaning /home/hyc/Project/orangepi-build/output/debs for [ orangepizero3 next ]
[ o.k. ] Compiling ATF 
[ o.k. ] Compiler version [ aarch64-none-linux-gnu-gcc 9.2.1 ]
[ o.k. ] Started patching process for [ atf sun50iw9-orangepizero3-next ]
[ o.k. ] Looking for user patches in [ userpatches/atf/atf-sun50iw9 ]
  AR      /home/hyc/Project/orangepi-build/external/cache/sources/arm-trusted-firmware-sunxi-mainline/master/build/sun50i_h616/debug/lib/libfdt.a
  AR      /home/hyc/Project/orangepi-build/external/cache/sources/arm-trusted-firmware-sunxi-mainline/master/build/sun50i_h616/debug/lib/libc.a
[ error ] ERROR in function compile_atf [ build.sh:305 -> scripts/main.sh:637 -> scripts/main.sh:521 -> scripts/compilation.sh:86 -> scripts/general.sh:0 ]
[ error ] ATF compilation failed 
[ o.k. ] Process terminate

FlameKm avatar Mar 19 '24 13:03 FlameKm