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]

ROMRAM startup on SA1100 platform


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


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