This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Redboot for MBX
- From: Barton Meeks <bartonm2002 at yahoo dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Thu, 1 Aug 2002 13:41:55 -0700 (PDT)
- Subject: [ECOS] Redboot for MBX
Anyone built a Redboot ROM for the MBX board recently?
I've used a MBX Redboot image that I downloaded off
the web, and I didn't have problems on my board, but I
can't get my build of Redboot to work.
I've tried to create Redboot images for both the
32-bit and 8-bit flash devices.
I'm creating Redboot as follows:
ecosconfig new mbx redboot
ecosconfig import redboot_ROM_40.ecm /* I have 40MHz
board*/
ecosconfig tree
(modify ecos.ecc for 32-bit flash, if needed)
make
Using the 8-bit image, my first problem was
immediately after writing to the MSR to enable address
translation; I got a machine check at the 'sync' in
vectors.S:
# Enable MMU so we can safely enable caches.
lwi r3,CYG_MSR # interrupts enabled
later
sync
mtmsr r3
sync
Not knowing much about MMU setup, I turned off this
section by undefining CYGHWR_HAL_POWERPC_ENABLE_MMU.
Then I got a machine check at address 0xfffffffc when
cyg_hal_invoke_constructors was called a few lines
later.
Anyone have recent luck with building a Redboot ROM
for the MBX? My goal is to get a recent Redboot into
the 32-bit flash, because I have to remove the 8-bit
flash to use hardware plugged into bus connector on
the board.
And while I'm at it, where can I find more about the
compatibility of old Redboots with recent eCos
applications? Virtual vector compatibility? I remember
reading something about it, but I can't find it now.
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss