This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Platform Memory Layout for an ARM9 port


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]