From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28496 invoked by alias); 22 Dec 2008 23:01:18 -0000 Received: (qmail 28311 invoked by uid 22791); 22 Dec 2008 23:01:18 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 22 Dec 2008 23:00:29 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1LEtkV-0006f6-00; Mon, 22 Dec 2008 23:59:43 +0100 Date: Mon, 22 Dec 2008 23:29:00 -0000 From: Andrew Lunn To: Alex Lindeijer Cc: ecos-discuss@sourceware.org Message-ID: <20081222225943.GI21736@lunn.ch> Mail-Followup-To: Alex Lindeijer , ecos-discuss@sourceware.org References: <97F68B92952DDA40A6494655C887603B8DEF8E@nw-ex-004.asplogon.com> <20081219143116.GF19895@lunn.ch> <97F68B92952DDA40A6494655C887603B8DEFE7@nw-ex-004.asplogon.com> <97F68B92952DDA40A6494655C887603B8DF06B@nw-ex-004.asplogon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <97F68B92952DDA40A6494655C887603B8DF06B@nw-ex-004.asplogon.com> User-Agent: Mutt/1.5.18 (2008-05-17) 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] FW: Adding flash device using the flash v2 drivers X-SW-Source: 2008-12/txt/msg00142.txt.bz2 On Mon, Dec 22, 2008 at 11:46:46PM +0100, Alex Lindeijer wrote: > Hi again > I'm still struggeling with the use of flash v2. > In my install directory I see: #define CYGHWR_IO_FLASH_DEVICE 2 , i.e. expects 2 devices. What is causing this define? My .ecc has an entry: > > # > > # Hardware FLASH device drivers > # This calculated option gives the number of flash devices > # on the current platform. The generic flash support requires > # at least one device. > # > cdl_interface CYGHWR_IO_FLASH_DEVICE { > # Implemented by CYGPKG_DEVS_FLASH_POWERPC_PYTHON, active, enabled > # Implemented by CYGPKG_DEVS_FLASH_AMD_AM29XXXXX_V2, active, enabled These two statements are your clue. You have two device drivers loaded, both which are implementing CYGHWR_IO_FLASH_DEVICE. I'm guessing one of these should not have the implements statement in its CDL, probably the PYTHON one wants to be removed. However since the PYTHON driver is not in anonymous CVS i cannot say. 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