
Hi Albert,
I have enabled SPL support for ARM64 target and make a build.
log: LD u-boot RELOC="`aarch64-linux-gnu-readelf -r -W u-boot | cut -d ' ' -f 4 | \ grep R_A | sort -u`"; \ if test "$RELOC" != "R_ARM_RELATIVE" -a \ "$RELOC" != "R_AARCH64_RELATIVE"; then \ echo "u-boot contains unexpected relocations: $RELOC"; \ false; \ fi OBJCOPY u-boot.srec OBJCOPY u-boot.bin start=$(aarch64-linux-gnu-nm u-boot | grep __rel_dyn_start | cut -f 1 -d ' '); end=$(aarch64-linux-gnu-nm u-boot | grep __rel_dyn_end | cut -f 1 -d ' '); tools/relocate-rela u-boot.bin 0x4000000000 $start $end CFG u-boot.cfg make[1]: *** No rule to make target `checkarmreloc', needed by `all'. Stop. make: *** [spl/u-boot-spl] Error 2
$ file u-boot u-boot: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, not stripped
Does this an issue with ELF where relocation record other than R_ARM_RELATIVE or something, any help?
thanks!