This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Platform Memory Layout for an ARM9 port
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: Michael Anburaj <embeddedeng at hotmail dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 12 Jun 2003 10:48:11 +0200
- Subject: Re: [ECOS] Platform Memory Layout for an ARM9 port
- References: <Law15-F16D43oFLaqSO0000ce3d@hotmail.com>
On Thu, Jun 12, 2003 at 08:23:01AM +0000, Michael Anburaj wrote:
> Hi,
> >
> >Disassemble a bit more. Look at the code after the warm_reset label.
> >
>
> I dissabled the whole image using the following command:
> $ arm-elf-objdump redboot.elf -D > redboot.asm
>
> clippings near warm_reset:
>
> 00001204 <warm_reset>:
> 1204: e3a00000 mov r0, #0 ; 0x0
> 1208: e59f14c8 ldr r1, [pc, #1224] ; 16d8
> <_eCos_id+0x3c>
> 120c: e5912008 ldr r2, [r1, #8]
> 1210: e5802008 str r2, [r0, #8]
>
> 00001214 <start>:
> 1214: e3a00000 mov r0, #0 ; 0x0
>
> warm_reset is laid at 0x1204.
I said look at the code, meaning, read it, understand it, work out
what its doing.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss