From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13056 invoked by alias); 6 Feb 2008 12:34:04 -0000 Received: (qmail 13048 invoked by uid 22791); 6 Feb 2008 12:34:04 -0000 X-Spam-Check-By: sourceware.org Received: from 204-133-123-27.dia.static.slbbi.com (HELO mail.chez-thomas.org) (204.133.123.27) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 06 Feb 2008 12:33:38 +0000 Received: by mail.chez-thomas.org (Postfix, from userid 999) id E4304195021F; Wed, 6 Feb 2008 05:33:36 -0700 (MST) Received: from hermes.chez-thomas.org (hermes_local [192.168.1.101]) by mail.chez-thomas.org (Postfix) with ESMTP id 95289195009E; Wed, 6 Feb 2008 05:33:34 -0700 (MST) Message-ID: <47A9A91D.5090506@mlbassoc.com> Date: Wed, 06 Feb 2008 12:34:00 -0000 From: Gary Thomas User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: Alexey Shusharin CC: Antonello Lombardinilo , eCos Disuss References: <20080204125124.12778.qmail@kasko.it> <20080205110620.20169.qmail@kasko.it> <20080205140353.21393.qmail@kasko.it> <1202274021.2633.26.camel@killer> <20080206075102.29040.qmail@kasko.it> <1202286116.7851.18.camel@killer> <20080206105205.30288.qmail@kasko.it> <1202300979.24984.27.camel@killer> In-Reply-To: <1202300979.24984.27.camel@killer> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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] Re: Redboot v2.04, IXP4XX and Flash v2 X-SW-Source: 2008-02/txt/msg00026.txt.bz2 Alexey Shusharin wrote: > В Срд, 06/02/2008 в 11:52 +0100, Antonello Lombardinilo пишет: >> Alexey Shusharin writes: >> >>> . ..., 06/02/2008 . 08:51 +0100, Antonello Lombardinilo .....: >>>>> Hi, >>>>> >>>>> Flash V2 board driver should use "CYG_FLASH_DRIVER" macro to define each >>>>> flash device. Just find this macro. >>>>> >>>>> grep -R CYG_FLASH_DRIVER ./ >>>>> >>>>> But are you sure that you need two flash device support? >>>>> What are you going to keep in boot flash (512 KB)? >>>>> >>>>> Best regards >>>>> Alexey Shusharin >>>>> >>>> Hi, >>>> >>>> I would use the boot flash for RedBoot Image, FIS directory and >>>> Redboot config. >>>> >>>> I'm not sure that I need a two flash device support. >>>> Any other solution is well appreciated. >>>> >>> Are you going to use FIS on the second flash device? If yes you can keep >>> Redboot config there and don't make access to boot flash device. It's >>> usual way. >>> >>> Best regards >>> Alexey Shusharin >>> >>> >> Hi, >> >> I would to use second flash for zImage, ramdisk and linux jffs2. >> So, if I understood correctly, I want to use FIS on second device. > > You can't use FIS and linux jffs2 together on one chip. Moreover, eCos > doesn't have linux-compatible NAND flash driver. Malarky! I do this all the time. The Linux MTD layer understands the FIS layout and will happily work with it to partition your device. JFFS2 can then be used on some/all of the partitions, NAND or NOR. >> In this scenario, why redboot don't make access to boot flash ? >> Where the Redboot image are stored ? > > Redboot just runs from boot flash (or loads to ram). In this case you > don't need flash driver. > >> How can update Redboot ? > > You can't. > >> There is any board that implement this scenario? > > e.g. LPC-E2294 > (http://sgs.gomel.by/sg/articles/olpce2294/index.html) > > > Alexey > > > -- ------------------------------------------------------------ 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