From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11157 invoked by alias); 19 Jun 2009 08:07:57 -0000 Received: (qmail 11148 invoked by uid 22791); 19 Jun 2009 08:07:56 -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; Fri, 19 Jun 2009 08:07:50 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1MHZ8V-0000Mq-00; Fri, 19 Jun 2009 10:07:47 +0200 Date: Fri, 19 Jun 2009 08:07:00 -0000 From: Andrew Lunn To: Nick Garnett Cc: "ecos-devel@ecos.sourceware.org" Subject: Re: NAND review Message-ID: <20090619080747.GB1188@lunn.ch> References: <4A126D59.7070404@intefo.ch> <20090519162853.GA27459@lunn.ch> <20090603085115.GA27508@lunn.ch> <20090613163115.GN5179@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2009-06/txt/msg00029.txt.bz2 > My main concern is that we avoid reinventing the wheel, or end up > inventing a square wheel. Looking at the more mature Linux NAND > support, no consensus seems to have emerged over NAND partitioning. Maybe the correct way to approach this is to make a design study, power on till Linux has its file systems mounted. Figure out all the different stages and what code is needed where. What must the HAL provide, the flash library, eCos filesystems, Redboot, passing command line arguments to Linux or an MTD module which gets the partition information from NandFIS etc. Maybe see if David Woodhouse is interested in helping since he knows the MTD side of things and is the official embedded linux maintainer. Write an RFC and cross post it to ecos-devel and LKML. Collect comments and go around the loop a few times. Then do the development work. This should help avoid reinventing the wheel and hopefully make it cornerles and symmetric. So long as you follow the Linux development process, post often and early, and don't get flamed to a crisp it could be good advertising for eCosCentric. Andrew