This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: ecos redboot compile problem.
- From: "Gary D. Thomas" <gary dot thomas at mind dot be>
- To: "Beymer, Mike" <Mike dot Beymer at itron dot com>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 17 Apr 2003 15:18:09 -0600
- Subject: Re: [ECOS] ecos redboot compile problem.
- References: <218C6B103596E746932D287EB519B5DD096694@spokane-mx1.itron.com>
On Thu, 2003-04-17 at 14:21, Beymer, Mike wrote:
> I'm working on a port of redboot to the PSI Minno OMAP5910 PCA. Which is very similar
> to the PSI Innovator. In trying to verify my build process, I am attempting to rebuild Patrick Doyle's SRAM image for the innovator. ( his works mine doesn't). In looking at an objdump -d
> of Patrick's object file compared to mine, it appears to have a problem with endian'ism
> Patrick's looks as follows:
>
> redboot-sram.out: file format elf32-littlearm
>
> Disassembly of section .rom_vectors:
>
> 20000000 <__rom_vectors_lma>:
> 20000000: 78 56 34 12 21 43 65 87 xV4.!Ce.
>
> 20000008 <__exception_handlers>:
>
>
> Mine comes out as:
>
> redboot.img: file format elf32-littlearm
>
> Disassembly of section .rom_vectors:
>
> 20000000 <__rom_vectors_lma>:
> 20000000: 12345678 eornes r5, r4, #125829120 ; 0x7800000
> 20000004: 87654321 strhib r4, [r5, -r1, lsr #6]!
>
> 20000008 <__exception_handlers>:
>
> The same numbers but a different order. I've tried playing with the endian switches in the
> compiler with no change in the results. I stumped, Patrick sent me what he remembers doing to build the file, but that didn't work. Any ideas??
> -Mike Beymer
Must be something with your tools. I just built this and I
got identical results to Patrick's.
What host are you using?
Where did you get your toolchain from?
--
.--------------------------------------------------------.
| Mind: Embedded Linux and eCos Development |
|--------------------------------------------------------|
| Gary Thomas email: gary dot thomas at mind dot be |
| Mind ( http://mind.be ) tel: +1 (970) 229-1963 |
| gpg: http://www.chez-thomas.org/gary/gpg_key.asc |
'--------------------------------------------------------'
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss