Compiling U-boot for ARM
I am compiling U-boot for ARM target using GCC and the U-boot build successfully. The u-boot is configured for am335x_evm(sitara) target board as:
export CROSS_COMPILE=arm-linux-gnueabi-
make k2hk_evm_config
make u-boot
But when i try to read the Uboot ELF using readelf utility then i am seeing error as:
arm-linux-gnueabi-readelf -S u-boot
There are 27 section headers, starting at offset 0x1aadb4:
readelf: Error: Section 7 has invalid sh_entsize 0 (expected 8)