From mboxrd@z Thu Jan 1 00:00:00 1970 From: thomas.luo Date: Thu, 14 Dec 2006 13:22:38 +0800 Subject: [U-Boot-Users] how to set active partition in the u-boot? References: <20061213191902.9528B352608@atlas.denx.de> Message-ID: <006c01c71f3f$e30450a0$0b96a8c0@Thomas> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de ----- Original Message ----- From: "Wolfgang Denk" To: "thomas.luo" Cc: Sent: Thursday, December 14, 2006 3:19 AM Subject: Re: [U-Boot-Users] how to set active partition in the u-boot? > In message <000501c71e8f$f2e02180$0a01000a@Thomas> you wrote: >> >> how to set active partition in the u-boot? > > chpart? > > Best regards, > > Wolfgang Denk > > -- > Software Engineering: Embedded and Realtime Systems, Embedded Linux > Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de > Der Dativ ist dem Genitiv sein Tod. thanks, can i use the MACRO to set default? every time i need set by hand. and an patch uploaded............ ---------------------------------------------------------- ----- Original Message ----- From: "thomas.luo" To: Sent: Thursday, December 14, 2006 1:16 PM Subject: [PATCH] for u-boot 1.1.6 nand IDS > Dear All: > i found an bug in the u-boot when using 512MiB NAND flash. > there have two type of flash defined it's ID as 0xDC. > But In the MTD driver, the smallblock is abandoned. > > BR > > Thomas > here list the patch. > ---------------------------------------------------------------------------- --- u-boot-1.1.6.org/drivers/nand/nand_ids.c 2006-12-01 17:49:32.000000000 +0800 +++ u-boot-1.1.6/drivers/nand/nand_ids.c 2006-12-14 10:12:13.000000000 +0800 @@ -67,8 +67,6 @@ struct nand_flash_dev nand_flash_ids[] = {"NAND 256MiB 3,3V 8-bit", 0x71, 512, 256, 0x4000, 0}, - {"NAND 512MiB 3,3V 8-bit", 0xDC, 512, 512, 0x4000, 0}, - /* These are the new chips with large page size. The pagesize * and the erasesize is determined from the extended id bytes */