This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
ROMRAM startup on SA1100 platform
- To: ecos-discuss at sources dot redhat dot com
- Subject: [ECOS] ROMRAM startup on SA1100 platform
- From: Andreas Bürgel <Andreas dot Buergel at web dot de>
- Date: Sun, 10 Jun 2001 22:27:23 +0200
- Organization: ALIEN-Technologies
Hi folks,
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.
Thanks in advance.
--
Mit vielen Gruessen
Andreas B"urgel
Andreas.Buergel@web.de