[U-Boot-Users] how to set active partition in the u-boot?

thomas.luo thomas.luo at ieee.org
Thu Dec 14 06:22:38 CET 2006


----- Original Message ----- 
From: "Wolfgang Denk" <wd at denx.de>
To: "thomas.luo" <thomas.luo at ieee.org>
Cc: <u-boot-users at lists.sourceforge.net>
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 at 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" <thomas.luo at ieee.org>
To: <u-boot-users at lists.sourceforge.net>
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
  */









More information about the U-Boot mailing list