public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Update on Axiom CME555 Redboot FLASH Memory Problems
@ 2007-08-30 17:15 Mike Pashea
  2007-08-31  6:51 ` Andrew Lunn
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Pashea @ 2007-08-30 17:15 UTC (permalink / raw)
  To: ecos-discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] Update on Axiom CME555 Redboot FLASH Memory Problems
  2007-08-30 17:15 [ECOS] Update on Axiom CME555 Redboot FLASH Memory Problems Mike Pashea
@ 2007-08-31  6:51 ` Andrew Lunn
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2007-08-31  6:51 UTC (permalink / raw)
  To: Mike Pashea; +Cc: ecos-discuss

On Thu, Aug 30, 2007 at 12:15:34PM -0500, Mike Pashea wrote:
> 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?

Please could you submit a patch.

       Thanks
         Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-31  6:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-30 17:15 [ECOS] Update on Axiom CME555 Redboot FLASH Memory Problems Mike Pashea
2007-08-31  6:51 ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).