[U-Boot] [PATCH] omap: beagle: Use ubifs instead of jffs2 for nand boot

Signed-off-by: Steve Sakoman steve@sakoman.com ---
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h index 2c0f5a5..a92ffdf 100644 --- a/include/configs/omap3_beagle.h +++ b/include/configs/omap3_beagle.h @@ -227,8 +227,8 @@ "mmcdev=0\0" \ "mmcroot=/dev/mmcblk0p2 rw\0" \ "mmcrootfstype=ext3 rootwait\0" \ - "nandroot=/dev/mtdblock4 rw\0" \ - "nandrootfstype=jffs2\0" \ + "nandroot=ubi0:rootfs ubi.mtd=4\0" \ + "nandrootfstype=ubifs\0" \ "ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=0x81000000,64M\0" \ "ramrootfstype=ext2\0" \ "mmcargs=setenv bootargs console=${console} " \

On Fri, Sep 30, 2011 at 21:29:11, Steve Sakoman wrote:
Subject: [PATCH] omap: beagle: Use ubifs instead of jffs2 for nand boot
Signed-off-by: Steve Sakoman steve@sakoman.com
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h index 2c0f5a5..a92ffdf 100644 --- a/include/configs/omap3_beagle.h +++ b/include/configs/omap3_beagle.h @@ -227,8 +227,8 @@ "mmcdev=0\0" \ "mmcroot=/dev/mmcblk0p2 rw\0" \ "mmcrootfstype=ext3 rootwait\0" \
"nandroot=/dev/mtdblock4 rw\0" \
"nandrootfstype=jffs2\0" \
"nandroot=ubi0:rootfs ubi.mtd=4\0" \
"nandrootfstype=ubifs\0" \
IIRC all beagle builds use 'beagleboard-rootfs' as ubi name, but I need to double check.
In any case, this is already a massive improvement, so:
Acked-by: Koen Kooi k-kooi@ti.com
Regards,
Koen Texas Instruments Limited, 800 Pavilion Drive, Northampton, NN4 7YL. Registered in England & Wales under company number 00574102

On Fri, Sep 30, 2011 at 12:32 PM, Kooi, Koen k-kooi@ti.com wrote:
On Fri, Sep 30, 2011 at 21:29:11, Steve Sakoman wrote:
Subject: [PATCH] omap: beagle: Use ubifs instead of jffs2 for nand boot
Signed-off-by: Steve Sakoman steve@sakoman.com
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h index 2c0f5a5..a92ffdf 100644 --- a/include/configs/omap3_beagle.h +++ b/include/configs/omap3_beagle.h @@ -227,8 +227,8 @@ "mmcdev=0\0" \ "mmcroot=/dev/mmcblk0p2 rw\0" \ "mmcrootfstype=ext3 rootwait\0" \
- "nandroot=/dev/mtdblock4 rw\0" \
- "nandrootfstype=jffs2\0" \
- "nandroot=ubi0:rootfs ubi.mtd=4\0" \
- "nandrootfstype=ubifs\0" \
IIRC all beagle builds use 'beagleboard-rootfs' as ubi name, but I need to double check.
In any case, this is already a massive improvement, so:
Acked-by: Koen Kooi k-kooi@ti.com
I do generic omap kernel & rootfs builds, so it seemed better to do a non machine specific ubi name.
Steve
participants (2)
-
Kooi, Koen
-
Steve Sakoman