This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Update on Axiom CME555 Redboot FLASH Memory Problems
- From: "Mike Pashea" <mpashea at hotmail dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Thu, 30 Aug 2007 12:15:34 -0500
- Subject: [ECOS] Update on Axiom CME555 Redboot FLASH Memory Problems
- Bcc:
Hi All,
I have an update to report on the Axiom CME-555 Redboot crash that I posted
about last week.
I am certain that this is the same crash that Miguel Vega reported in
earlier posts. However, I haven?t seen any follow-up postings where he
described any permanent solution.
Newer Axiom CME-555 boards have twice as much FLASH as the older boards
because 29LV400?s are used instead of the 29LV200?s that were used when eCOS
was ported to the CME-555. Modifying am29xxxxx_parts.inl to add the LV400 is
pretty straightforward, but Redboot will crash with a segmentation fault on
startup when it tries to run load_flash_config()located in flash.c.
I found that in addition to adding the LV400 description, you also have to
change the OR1 mask in line 89 of cme555.S:
lwi r4, 0xfff80032
should be changed to:
lwi r4, 0xfff00032
The new mask prevents the MPC555 memory unit from generating a fault when
the upper half of the 29LV400 is accessed.
One stray bit can sure cause a lot of problems?
Mike Pashea
_________________________________________________________________
Learn.Laugh.Share. Reallivemoms is right place!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss