From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26515 invoked by alias); 20 May 2009 14:22:35 -0000 Received: (qmail 26507 invoked by uid 22791); 20 May 2009 14:22:35 -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; Wed, 20 May 2009 14:22:30 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1M6mgZ-00006V-00; Wed, 20 May 2009 16:22:23 +0200 Date: Wed, 20 May 2009 14:22:00 -0000 From: Andrew Lunn To: Gary Thomas Cc: Andrew Lunn , Rutger Hofman , ecos-devel@ecos.sourceware.org Subject: Re: NAND review Message-ID: <20090520142223.GM20046@lunn.ch> References: <4A126D59.7070404@intefo.ch> <4A12B877.9030404@ecoscentric.com> <20090519141710.GJ20046@lunn.ch> <4A14083B.2040107@cs.vu.nl> <20090520135338.GL20046@lunn.ch> <4A140BEE.2060506@mlbassoc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A140BEE.2060506@mlbassoc.com> User-Agent: Mutt/1.5.18 (2008-05-17) 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-05/txt/msg00054.txt.bz2 On Wed, May 20, 2009 at 07:55:58AM -0600, Gary Thomas wrote: > Andrew Lunn wrote: > >> FWIW, this is the approach taken by MTD with the BBT (Bad Block Table). > > > > Hi Rutger > > > > You seem to know the MTD code. How does MTD handle partition > > information? Where does it get it from? > > It can be hard coded, come from the command line, or use the RedBoot > FIS directory. (any or all of this set) You could map these into eCos like concepts: Hard code -> Hard coded command line -> Redboot cfg block parameter? FIS Directory -> FIS Directory! I find it interesting that Linux guys consider FIS directory usable, which is against what Bart was saying. Putting that point aside, it does show that Linux considers it necessary to have multiple ways of configuring the partitions, so maybe eCos also needs multiple ways of configuring partitions. Andrew