[U-Boot] [ARM]: File type for u-boot elf file
sughosh ganu
urwithsughosh at gmail.com
Thu Feb 24 11:01:38 CET 2011
hi Albert,
I am facing an issue with generation of AIS signed binaries for hawkboard.
The aisgen utility takes the u-boot elf file as input and generates a ais
binary, which is the file format recognised by the hawkboard's RBL(rom
bootloader). After the relocation support for ARM, the elf file generated
has file type as 'DYN (shared object)'. With this, the aisgen tool rejects
the file as not being an elf file.
Can you please tell me what could have caused this change. I compiled u-boot
for a powerpc board, and found that the file type in that case is 'ELF
Executable'. Is there any specific reason why the file type has changed for
ARM, as powerpc also supports relocation.
sughosh at Hardy:/tmp/u-boot$
/home/sughosh/hawk/tools/arm-2009q3/bin/arm-none-linux-gnueabi-readelf -h
u-boot
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: DYN (Shared object file)
Machine: ARM
Version: 0x1
Entry point address: 0xc1080000
Start of program headers: 52 (bytes into file)
Start of section headers: 488968 (bytes into file)
Flags: 0x5000002, has entry point, Version5
EABI
Size of this header: 52 (bytes)
Size of program headers: 32 (bytes)
Number of program headers: 2
Size of section headers: 40 (bytes)
Number of section headers: 24
Section header string table index: 21
-sughosh
More information about the U-Boot
mailing list