orangepi-xunlong / orangepi-build

Orange Pi build for H2+, H3, H5, H6, H616, RK3328, RK3399 and RK3588(s)
http://www.orangepi.cn/
GNU General Public License v2.0
685 stars 288 forks source link

[ error ] ATF compilation failed #138

Closed konk22 closed 7 months ago

konk22 commented 7 months ago

Orange Pi Zero 3:

konk@build:~$ sudo ./orangepi-build/build.sh [ o.k. ] Using config file [ /home/konk/orangepi-build/userpatches/config-example.conf ] [ .... ] Extension being added [ sunxi-tools :: added by ./orangepi-build/build.sh:305 -> scripts/main.sh:403 -> scripts/configuration.sh:153 -> 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 [ pool.ntp.org ] [ o.k. ] Checking for external GCC compilers [ o.k. ] Downloading sources [ o.k. ] Checking git sources [ /home/konk/orangepi-build/u-boot v2021.07-sunxi ] [ .... ] Up to date [ o.k. ] Checking git sources [ /home/konk/orangepi-build/external/cache/sources/arm-trusted-firmware-sunxi-mainline master ] [ .... ] Up to date [ o.k. ] Checking git sources [ /home/konk/orangepi-build/external/cache/sources/sunxi-tools master ] [ .... ] Up to date [ o.k. ] Cleaning /home/konk/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-branch:orange-pi-6.1-sun50iw9 ] [ o.k. ] Looking for user patches in [ userpatches/atf/atf-sun50iw9 ] AR /home/konk/orangepi-build/external/cache/sources/arm-trusted-firmware-sunxi-mainline/master/build/sun50i_h616/debug/lib/libfdt.a AR /home/konk/orangepi-build/external/cache/sources/arm-trusted-firmware-sunxi-mainline/master/build/sun50i_h616/debug/lib/libc.a [ error ] ERROR in function compile_atf [ ./orangepi-build/build.sh:305 -> scripts/main.sh:656 -> scripts/main.sh:540 -> scripts/compilation.sh:86 -> scripts/general.sh:0 ] [ error ] ATF compilation failed [ o.k. ] Process terminated

konk22 commented 7 months ago

Compiled here https://github.com/ARM-software/arm-trusted-firmware/blob/master/docs/plat/allwinner.rst and transferred the missing files