Patchwork [U-Boot,v2,1/1] Sheevaplug: Fix environments for booting retail system

login
register
mail settings
Submitter Gérald Kerma
Date Nov. 19, 2010, 4:56 p.m.
Message ID <4CE6AC48.3010106@gmail.com>
Download mbox | patch
Permalink /patch/72272/
State Changes Requested
Headers show

Comments

Gérald Kerma - Nov. 19, 2010, 4:56 p.m.
---
 include/configs/sheevaplug.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Prafulla Wadaskar - Nov. 20, 2010, 9:32 p.m.
> -----Original Message-----
> From: Gérald Kerma [mailto:geraker@gmail.com]
> Sent: Friday, November 19, 2010 10:27 PM
> To: Prafulla Wadaskar
> Cc: u-boot@lists.denx.de; Clint Adams
> Subject: [PATCH v2 1/1] Sheevaplug: Fix environments for booting retail
> system
> 
> ---
>  include/configs/sheevaplug.h |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h
> index 82e49c0..9f5f122 100644
> --- a/include/configs/sheevaplug.h
> +++ b/include/configs/sheevaplug.h
> @@ -83,13 +83,13 @@
>  	"${x_bootcmd_usb}; bootm 0x6400000;"
> 
>  #define CONFIG_MTDPARTS		"orion_nand:512k(uboot),"	\
> -	"3m@1m(kernel),1m@4m(psm),13m@5m(rootfs) rw\0"
> +	"3m@1m(kernel),1m@4m(psm),507m@5m(rootfs) rw\0"
> 
>  #define CONFIG_EXTRA_ENV_SETTINGS	"x_bootargs=console"	\
>  	"=ttyS0,115200 mtdparts="CONFIG_MTDPARTS	\
>  	"x_bootcmd_kernel=nand read 0x6400000 0x100000 0x300000\0" \
>  	"x_bootcmd_usb=usb start\0" \
> -	"x_bootargs_root=root=/dev/mtdblock3 rw rootfstype=jffs2\0"
> +	"x_bootargs_root=ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs\0"

Ack, except, Null patch description, please repost with describing objective of this patch

Regards..
Prafulla ..

Patch

diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h
index 82e49c0..9f5f122 100644
--- a/include/configs/sheevaplug.h
+++ b/include/configs/sheevaplug.h
@@ -83,13 +83,13 @@ 
 	"${x_bootcmd_usb}; bootm 0x6400000;"

 #define CONFIG_MTDPARTS		"orion_nand:512k(uboot),"	\
-	"3m@1m(kernel),1m@4m(psm),13m@5m(rootfs) rw\0"
+	"3m@1m(kernel),1m@4m(psm),507m@5m(rootfs) rw\0"

 #define CONFIG_EXTRA_ENV_SETTINGS	"x_bootargs=console"	\
 	"=ttyS0,115200 mtdparts="CONFIG_MTDPARTS	\
 	"x_bootcmd_kernel=nand read 0x6400000 0x100000 0x300000\0" \
 	"x_bootcmd_usb=usb start\0" \
-	"x_bootargs_root=root=/dev/mtdblock3 rw rootfstype=jffs2\0"
+	"x_bootargs_root=ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs\0"

 /*
  * SDIO/MMC Card Configuration