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
630 stars 272 forks source link

OPi5-Plus build u-boot failed on Ubuntu 22.04 #144

Open ngttai opened 3 months ago

ngttai commented 3 months ago

Hello team, Recently I bought an Orange Pi 5 Plus 8G board and learned Linux on this board. I only clone this repo and use the command sudo ./build.sh -> U-boot package ->orangepi5plus->Current recommended. And an error appear as below

  OBJCOPY u-boot-nodtb.bin
make[2]: 'arch/arm/dts/rk3588-orangepi-5-plus.dtb' is up to date.
  COPY    u-boot.dtb
start=$(ccache aarch64-linux-gnu-nm u-boot | grep __rel_dyn_start | cut -f 1 -d ' '); end=$(ccache aarch64-linux-gnu-nm u-boot | grep __rel_dyn_end | cut -f 1 -d ' '); tools/relocate-rela u-boot-nodtb.bin 0x00200000 $start $end
  MKIMAGE u-boot.itb
  CC      spl/common/spl/spl.o
  CC      spl/arch/arm/cpu/armv8/fwcall.o
  CC      spl/lib/display_options.o
  LD      spl/arch/arm/cpu/armv8/built-in.o
  LD      spl/lib/built-in.o
  LD      spl/common/spl/built-in.o
  LD      spl/u-boot-spl
  OBJCOPY spl/u-boot-spl-nodtb.bin
  CAT     spl/u-boot-spl-dtb.bin
  COPY    spl/u-boot-spl.bin
[ error ] ERROR in function compile_uboot [ ./build.sh:305 -> scripts/main.sh:637 -> scripts/main.sh:523 -> scripts/compilation.sh:256 -> scripts/general.sh:0 ]
[ error ] U-boot compilation failed
[ o.k. ] Process terminated

I have learned this error, but it is quite complicated for me. Here is build log logs-13_03_2024-23_45_00.zip

Does anyone have a solution to fix this error? Thanks