From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24466 invoked by alias); 5 Jul 2006 14:55:59 -0000 Received: (qmail 24456 invoked by uid 22791); 5 Jul 2006 14:55:58 -0000 X-Spam-Check-By: sourceware.org Received: from sta-204-188-98-27.rockynet.com (HELO hermes.chez-thomas.org) (204.188.98.27) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 05 Jul 2006 14:55:54 +0000 Received: by hermes.chez-thomas.org (Postfix, from userid 999) id 6E8CE19501A5; Wed, 5 Jul 2006 08:55:52 -0600 (MDT) Received: from [192.168.1.101] (hermes_local [192.168.1.101]) by hermes.chez-thomas.org (Postfix) with ESMTP id AE40E195009A; Wed, 5 Jul 2006 08:55:49 -0600 (MDT) Message-ID: <44ABD2F2.1040604@mlbassoc.com> Date: Wed, 05 Jul 2006 14:55:00 -0000 From: Gary Thomas User-Agent: Thunderbird 1.5.0.4 (X11/20060614) MIME-Version: 1.0 To: David Ho CC: ecos-discuss@ecos.sourceware.org References: <4dd15d180607050711m3738a085y4137bf1ff340bdfd@mail.gmail.com> In-Reply-To: <4dd15d180607050711m3738a085y4137bf1ff340bdfd@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Subject: Re: [ECOS] Enabling flash memory support (custom board) X-SW-Source: 2006-07/txt/msg00011.txt.bz2 David Ho wrote: > Hi, > > I am attempting to enable AMD/Spansion flash support for redboot but > when I examined ecos.ecc, it is not active. > > # AMD AM29XXXXX FLASH memory support > # FLASH memory device support for AMD AM29XXXXX > # > cdl_package CYGPKG_DEVS_FLASH_AMD_AM29XXXXX { > # Packages cannot be added or removed, nor can their version be changed, > # simply by editing their value. Instead the appropriate configuration > # should be used to perform these actions. > > # This option is not active > # ActiveIf constraint: CYGPKG_IO_FLASH > # CYGPKG_IO_FLASH == current > # --> 1 > # ActiveIf constraint: CYGINT_DEVS_FLASH_AMD_AM29XXXXX_REQUIRED > # CYGINT_DEVS_FLASH_AMD_AM29XXXXX_REQUIRED (unknown) == 0 > # --> 0 > }; > > > Looking around, CYGINT_DEVS_FLASH_AMD_AM29XXXXX_REQUIRED is not set, I > suppose I should not set this manually and let the inference engine > figure it out. > > The question becomes, how do I do that? > > I have included in my ROM configuration IO_FLASH and DEV_FLASH_AMD, > enabled FIS and FCONFIG. > > Is there anything I missed? > Your platform has to provide the implementation details for the FLASH driver. Look around at how other platforms do it, e.g. the A&M Adder uses this driver. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss