From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1424 invoked by alias); 6 May 2005 11:49:25 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 1341 invoked from network); 6 May 2005 11:49:20 -0000 Received: from unknown (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org with SMTP; 6 May 2005 11:49:20 -0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1DU1KX-0008Il-00; Fri, 06 May 2005 13:49:17 +0200 Date: Fri, 06 May 2005 11:49:00 -0000 To: ken king Cc: ecos-discuss@ecos.sourceware.org Message-ID: <20050506114917.GB31731@lunn.ch> Mail-Followup-To: ken king , ecos-discuss@ecos.sourceware.org References: <20050506114449.21990.qmail@web60219.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050506114449.21990.qmail@web60219.mail.yahoo.com> User-Agent: Mutt/1.5.9i From: Andrew Lunn Subject: Re: [ECOS] PowerPC FEC problems X-SW-Source: 2005-05/txt/msg00064.txt.bz2 > > Check the addresses you are using from receive and > > transmit buffers. > > Do you remember to map the virtual addresses into > > bus addresses before > > programming them into the ethernet device? Does > > memory realy exist at > > the address? > > > > 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 > > > Yes, I can dump memory around the BDs (Buffer > descriptors) and they look correct. The memory > pointed to by the BD can also be dumped and it > has the same contents as displayed on the > console if eth debugging is on, i.e looks like the > bootp frames. I can put a scope on the PHYs > tx_clock and tx_en -- the clock is running, but > tx_en is never asserted. You can look at the memory from the processor, so you know you have the correct virtual address. However, the DMA might not be using the virtual address. It will be using some bus address. Bus addresses can be different from virtual addresses. Read the datasheet and see what it says about the addresses to be used for programming the DMA engine. 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