public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot]  arm64: No rule to make checkarmreloc
@ 2015-07-14 12:02 Jagan Teki
  2015-07-14 14:56 ` Jagan Teki
  2015-07-14 15:04 ` Albert ARIBAUD
  0 siblings, 2 replies; 3+ messages in thread
From: Jagan Teki @ 2015-07-14 12:02 UTC (permalink / raw)
  To: u-boot

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!
-- 
Jagan | openedev.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-14 15:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-14 12:02 [U-Boot] arm64: No rule to make checkarmreloc Jagan Teki
2015-07-14 14:56 ` Jagan Teki
2015-07-14 15:04 ` Albert ARIBAUD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox