This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: ROMRAM startup on SA1100 platform
- To: Andreas Bürgel <Andreas dot Buergel at web dot de>
- Subject: Re: [ECOS] ROMRAM startup on SA1100 platform
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- Date: Mon, 11 Jun 2001 09:25:44 +0200
- Cc: ecos-discuss at sources dot redhat dot com
- References: <3B23D82B.195C1D92@web.de>
> I have to implement a ROMRAM startup for our custom SA1100 design.
> I'm thinking about the following:
>
> Linking the application with the RAM-Linker-script and doing the
> following steps in hal_platform_setup.h
> - copy .text segment from FLASH_BASE+__stext to PHYS_RAM_BASE+__stext
> - copy .data segment from FLASH_BASE+__ram_data_start to
> PHYS_RAM_BASE+__ram_data_start
> - switch MMU on
> - branch to warm_reset (or some other point after MMU start)
>
> Unfortunatly I'm quite unsure what to change in the other files like
> vectors.S. Please give me some hints what I've missed and what traps
> to avoid.
I suggest you read back in the mail archive, over the last two
weeks. You will see im doing this for the EBSA, which is an SA110
CPU. Im using patches that Dave Airlie produced for the PID board.
Its not a priority task for me, so its probably going to be 2 weeks or
more before i get it finished. Once done, it should be easy to extend
it to the SA1100 processors.
Alternativily, you could get Dave's patches and use them for a basis
to do all the work yourself.
Andrew