From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3466 invoked by alias); 12 Feb 2009 14:23:23 -0000 Received: (qmail 3449 invoked by uid 22791); 12 Feb 2009 14:23:22 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mtaout03-winn.ispmail.ntl.com (HELO mtaout03-winn.ispmail.ntl.com) (81.103.221.49) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 12 Feb 2009 14:23:12 +0000 Received: from aamtaout02-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout03-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090212142305.RBGB7670.mtaout03-winn.ispmail.ntl.com@aamtaout02-winn.ispmail.ntl.com>; Thu, 12 Feb 2009 14:23:05 +0000 Received: from cog.dallaway.org.uk ([213.106.81.244]) by aamtaout02-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090212142305.QYAZ21638.aamtaout02-winn.ispmail.ntl.com@cog.dallaway.org.uk>; Thu, 12 Feb 2009 14:23:05 +0000 Received: from cog.dallaway.org.uk (cog.dallaway.org.uk [127.0.0.1]) by cog.dallaway.org.uk (8.13.8/8.13.8) with ESMTP id n1CEN2Wd010824; Thu, 12 Feb 2009 14:23:02 GMT Message-ID: <499430C6.90209@dallaway.org.uk> Date: Thu, 12 Feb 2009 14:23:00 -0000 From: John Dallaway User-Agent: Thunderbird 2.0.0.19 (X11/20090107) MIME-Version: 1.0 To: Andrew Lunn , Nick Garnett CC: ecos-maintainers@ecos.sourceware.org Subject: Re: AT91EB55 and DataFlash References: <4994113A.4040308@dallaway.org.uk> <20090212125602.GI24614@donkey.ma.tech.ascom.ch> <20090212134950.GL24614@donkey.ma.tech.ascom.ch> In-Reply-To: <20090212134950.GL24614@donkey.ma.tech.ascom.ch> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact ecos-maintainers-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-maintainers-owner@ecos.sourceware.org X-SW-Source: 2009-02/txt/msg00017.txt.bz2 Andrew Lunn wrote: > It looks like the requires statement is wrong, CYGPKG_ERROR is not > needed by dataflash. This fixes this problem, but it then explodes > later. > > I think somebody from eCosCentric needs to look at this and compare > with there working code in their private branch. Andrew, many thanks for looking at this. It appears that the data type expected in the second parameter of the CYG_DATAFLASH_FLASH_DRIVER() macro has changed. Nick, it looks like you were the one who added the DataFlash declarations for AT91EB55 originally. Do you have any time to investigate this build failure at present? > /var/local/ecos-test/packages/devs/flash/arm/eb55/current/src/eb55_flash.c:76: error: initializer element is not constant > /var/local/ecos-test/packages/devs/flash/arm/eb55/current/src/eb55_flash.c:76: error: (near initialization for ‘cyg_dataflash_priv_cyg_eb55_dataflash.dev.spi_dev’) Please let me know either way, so I can plan accordingly. Thanks John Dallaway