From: Wolfgang Denk Date: Wed, 09 Jul 2008 10:04:47 +0200 Subject: [U-Boot-Users] [PATCH, resend] Support dynamic/patched NAND ENV offset In-Reply-To: Your message of "Wed, 09 Jul 2008 15:25:10 +0800." <20080709072510.GY25698@prithivi.gnumonks.org> Message-ID: <20080709080447.31040248FE@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <20080709072510.GY25698@prithivi.gnumonks.org> you wrote: > > > How do you "create" the partition table? Do you use the "mtdparts" > > command for this? > > There is a new 'dynpart' command, which when executed uses the > compile-time board-level net partiton sizes, combined with the > bad-block-table to generate the device-specific 'dynamic' partition > table. The result is stored in the mtdparts environment variable. > Everything else is standard u-boot/kernel behaviour. Maybe the new command should be implemented as subcommand to the "mtdparts" command so we have just one interface to manipulate the "mtdparts" variable. > > > 3) the standard regular partition table is stored in the environment > > > > How do you store it? In the same way as "mtdparts" is working? > > yes. Thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de America has been discovered before, but it has always been hushed up. - Oscar Wilde