All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [ARM]: File type for u-boot elf file
@ 2011-02-24 10:01 sughosh ganu
  2011-02-24 10:57 ` Albert ARIBAUD
  0 siblings, 1 reply; 15+ messages in thread
From: sughosh ganu @ 2011-02-24 10:01 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 15+ messages in thread
* [U-Boot]  [ARM]: File type for u-boot elf file
@ 2011-12-05  9:19 rojan
  2011-12-05 16:12 ` Tom Rini
  0 siblings, 1 reply; 15+ messages in thread
From: rojan @ 2011-12-05  9:19 UTC (permalink / raw)
  To: u-boot

 I have OMAP L138 Hawkboard which is loaded with some other program.
I am new to this hawkboard and tried to boot as per instructions from
user guide in http://www.hawkboard.org/ , system is not coming to
hawkboard.org > to access command. It is coming as follows.
 
Please help me to make it ready.
 
Switch positions made as follows
 
Pin1 = ON
Pin2 = OFF
Pin3 = OFF
Pin4 = OFF
 
Terminal data as follows:
 
U-Boot 2009.01-dirty (Nov 26 2009 - 02:15:00)
 
DRAM:  128 MB
NAND:  NAND device: Manufacturer ID: 0x2c, Chip ID: 0xa1 (Micron NAND
128MiB 1,8
V 8-bit)
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
nand_read_bbt: Bad block at 0x03500000
nand_read_bbt: Bad block at 0x049a0000
128 MiB
In:    serial
Out:   serial
Err:   serial
ARM Clock : 300000000 Hz
DDR Clock : 150000000 Hz
Ethernet PHY: GENERIC @ 0x07
Hit any key to stop autoboot:  0
 
NAND read: device 0 offset 0x200000, size 0x300000
..
 
 
Regards,
Rojan Joy
 

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

end of thread, other threads:[~2011-12-05 16:12 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-24 10:01 [U-Boot] [ARM]: File type for u-boot elf file sughosh ganu
2011-02-24 10:57 ` Albert ARIBAUD
2011-02-24 11:08   ` sughosh ganu
2011-02-24 11:28     ` Albert ARIBAUD
2011-02-24 12:29       ` sughosh ganu
2011-02-24 13:26         ` Detlev Zundel
2011-02-25  7:18           ` Albert ARIBAUD
2011-02-25 13:41             ` Ben Gardiner
2011-02-25 14:55               ` sughosh ganu
2011-02-25 17:26                 ` Albert ARIBAUD
2011-02-27 16:32                   ` Wolfgang Denk
2011-02-28  1:49                     ` Andrew Dyer
2011-02-28  6:35                       ` Wolfgang Denk
2011-12-05  9:19 rojan
2011-12-05 16:12 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.