how to set active partition in the u-boot?
hi,all
how to set active partition in the u-boot?
the problem:
i'm partion the nand to 3 partions. and the second partion is the jffs file system.
how do i set the active partition to 2?
thanks
Br
Thomas
Quoted 2 lines · In message <000501c71e8f$f2e02180$0a01000a@Thomas> you wrote:
how to set active partition in the u-boot?
chpart?
Best regards,
Wolfgang Denk
Signature · 3 lines
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.
----- Original Message -----
From: "Wolfgang Denk" <[email protected]>
To: "thomas.luo" <[email protected]>
Cc: <[email protected]>
Sent: Thursday, December 14, 2006 3:19 AM
Subject: Re: [U-Boot-Users] how to set active partition in the u-boot?
Quoted 14 lines
Quoted 2 lines · In message <000501c71e8f$f2e02180$0a01000a@Thomas> you wrote:
how to set active partition in the u-boot?
chpart?
Best regards,
Wolfgang Denk
Signature · 3 lines
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" <[email protected]>
To: <[email protected]>
Sent: Thursday, December 14, 2006 1:16 PM
Subject: [PATCH] for u-boot 1.1.6 nand IDS
Quoted 10 lines
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 as0xDC. But In the MTD driver, the smallblock is abandoned.BR
Thomas
here list the patch.
----------------------------------------------------------------------------
drivers/nand/nand_ids.c 2006-12-14 10:12:13.000000000 +0800 renamed from drivers/nand/nand_ids.c 2006-12-01 17:49:32.000000000 +0800 +0 -2
@@ -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 */