This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Problems with ROMRAM on EB40a
- From: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- To: "'ecos-discuss \(E-Mail\)'" <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 11 Sep 2003 13:11:50 +0200
- Subject: [ECOS] Problems with ROMRAM on EB40a
I'm trying to build my application as a ROMRAM application,
but it crashes. These are my steps:
- build w/CYG_HAL_STARTUP = ROMRAM
- write the .bin image to flash 0x1000000
- when the application is run, it enters an infinite loop,
as register r12 on the line below from hal_platform_setup.h
contains 0x1000000.
mov pc,r12 // Change address space, break
pipeline
Do I need to modify *romram.ldi/h? If so, I confess ignorance
as to the required changes. I would have expected to find a "rom"
memory entry as there is in *rom.ldi.
There probably isn't much required to get this up and running,
because others have done it:
http://sources.redhat.com/ml/ecos-discuss/2003-03/msg00535.html
Øyvind
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss