From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11802 invoked by alias); 31 Aug 2007 06:51:50 -0000 Received: (qmail 11650 invoked by uid 22791); 31 Aug 2007 06:51:49 -0000 X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 31 Aug 2007 06:51:48 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1IR0M4-0000B0-00; Fri, 31 Aug 2007 08:51:44 +0200 Date: Fri, 31 Aug 2007 06:51:00 -0000 From: Andrew Lunn To: Mike Pashea Cc: ecos-discuss@ecos.sourceware.org Message-ID: <20070831065144.GV19659@lunn.ch> Mail-Followup-To: Mike Pashea , ecos-discuss@ecos.sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-11) X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Update on Axiom CME555 Redboot FLASH Memory Problems X-SW-Source: 2007-08/txt/msg00177.txt.bz2 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