Open FlameKm opened 3 months ago
Same error at same place after choosing: Full OS image for flashing Do not change the kernel configuration orangepizero2 bookworm yes xfce base select 3dsupport
build host is fresh install ubuntu 22.04
[ o.k. ] Cleaning /home/steve/orangepi-build/output/debs for [ orangepizero2 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-orangepizero2-next ] [ o.k. ] Looking for user patches in [ userpatches/atf/atf-sun50iw9 ] AR /home/steve/orangepi-build/external/cache/sources/arm-trusted-firmware-sunxi-mainline/master/build/sun50i_h616/debug/lib/libfdt.a AR /home/steve/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 terminated
Armbian ran into the same issue. You'll want to change the external/config/sources/families/*.conf
for your specific chip. For an orangepizero2, it'll be sun50iw9.conf
, and you'll change the branch:master
for ATFBRANCH to the commit id from the issue.
the same issue, what should I do?
Hi everyone, I've attached a patch that I've been using to compile and so far it seems to work. Just patch in the orangepi-build directory and it should fix orangepi zero 2 image builds.
2 notes:
external/config/sources/families/*.conf
file your board uses and make the same change as the patch.
最近(2024.3.19)才有的问题,构建选项 Full OS image for flashing
Do not change the kernel configuration orangepizero3 next Others Ubuntu no yes
后面尝试只选择内核一样报错