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
687 stars 289 forks source link

Error when build bootloader for Orange Pi CM4 RK3566 #114

Open vivulab opened 10 months ago

vivulab commented 10 months ago

I've got error when build bootloader. Here is the log:

  OBJCOPY u-boot-nodtb.bin
make[2]: 'arch/arm/dts/rk3566-orangepi-cm4.dtb' is up to date.
start=$(ccache aarch64-none-linux-gnu-nm u-boot | grep __rel_dyn_start | cut -f 1 -d ' '); end=$(ccache aarch64-none-linux-gnu-nm u-boot | grep __rel_dyn_end | cut -f 1 -d ' '); tools/relocate-rela u-boot-nodtb.bin 0x00a00000 $start $end
  COPY    u-boot.dtb
  MKIMAGE u-boot.itb
  CC      spl/common/spl/spl.o
  CC      spl/arch/arm/cpu/armv8/fwcall.o
  LD      spl/arch/arm/cpu/armv8/built-in.o
  CC      spl/lib/display_options.o
  LD      spl/common/spl/built-in.o
  LD      spl/lib/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:630 -> scripts/main.sh:516 -> scripts/compilation.sh:256 -> scripts/general.sh:0 ]
[ error ] U-boot compilation failed 
[ o.k. ] Process terminated 

Can anyone help me fix it?

1696774082 commented 8 months ago

+1