From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6041 invoked by alias); 18 Mar 2003 19:05:08 -0000 Mailing-List: contact ecos-maintainers-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: ecos-maintainers-owner@sources.redhat.com Received: (qmail 6024 invoked from network); 18 Mar 2003 19:05:07 -0000 To: Gary Thomas Cc: John Dallaway , eCos Maintainers Subject: Re: Patches for the eCos 2.0 branch References: <200303180848.24682.jld@ecoscentric.com> <1047995318.7459.2925.camel@hermes.chez-thomas.org> <1048011920.9579.3582.camel@hermes.chez-thomas.org> From: Nick Garnett Date: Tue, 18 Mar 2003 19:05:00 -0000 In-Reply-To: <1048011920.9579.3582.camel@hermes.chez-thomas.org> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-03/txt/msg00018.txt.bz2 Gary Thomas writes: > > Actually, I tried to make it such that a dependency does not exist > (note the most recent version which this patch reflects does try > and work properly even without an updated RedBoot). I may have > missed the mark, but I did try. > It certainly caused me a bit of head scratching when I tried running on an Adder board with an old RedBoot yesterday. Fortunately I remembered your change and updating the Adder's RedBoot fixed it. The problem appeared to be that *(CYGHWR_HAL_VSR_TABLE + 0x1F0) contained 0xFFFF, resulting in _mpc8xx_allocBd() starting again from QUICC_BD_BASE and overwriting RedBoot's stuff for the serial device. The effect I saw was that halfway through initializing the rx buffer descriptors, the serial device went haywire. I'm not sure how it is possible to make this code backward compatible, since without the value in (CYGHWR_HAL_VSR_TABLE + 0x1F0), eCos has no way of knowing where in the DPRAM it can make allocations. -- Nick Garnett eCos Kernel Architect http://www.ecoscentric.com/ The eCos and RedBoot experts