[Gta04-owner] [gta04-uboot][PATCH] boot.txt: use better rootfstype value

Martin Jansa martin.jansa at gmail.com
Sun Apr 22 21:40:39 CEST 2012


* ext4 partition with some ext4 features enabled was failing to mount
  EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
  even with ext4 fs support enabled in kernel

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 boot-scr/boot.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/boot-scr/boot.txt b/boot-scr/boot.txt
index a61e5cc..519fc90 100644
--- a/boot-scr/boot.txt
+++ b/boot-scr/boot.txt
@@ -26,7 +26,7 @@
 # 3. run bootcmd
 #
 
-VERSION=011	# increment if we need to re-initialize the boot environment
+VERSION=012	# increment if we need to re-initialize the boot environment
 
 echo "*** if you boot from NAND don-t worry about error messages when U-Boot tries to read a non-existing MMC ***"
 
@@ -67,7 +67,7 @@ if test "${gta04}" != "${VERSION}"
 	# set boot arguments
 	setenv mmcargs 'setenv bootargs console=${console} mpurate=${mpurate} vram=${vram} omapfb.mode=dvi:${dvimode} omapfb.debug=y omapdss.def_disp=${defaultdisplay} root=${mmcroot} rootfstype=${mmcrootfstype}; echo using mmc rootfs; if fatload mmc ${mmcdev} ${imgtempaddr} bootargs.scr; then source ${imgtempaddr}; elif ext2load mmc 0:2 ${imgtempaddr} /boot/bootargs.scr; ; then source ${imgtempaddr}; fi'
 	setenv mmcroot '/dev/mmcblk0p2 rw'
-	setenv mmcrootfstype 'ext3 rootwait'
+	setenv mmcrootfstype 'ext4,ext3,btrfs rootwait'
 
 	setenv nandargs 'setenv bootargs console=${console} mpurate=${mpurate} vram=${vram} omapfb.mode=dvi:${dvimode} omapfb.debug=y omapdss.def_disp=${defaultdisplay} root=${nandroot} rootfstype=${nandrootfstype}; echo using nand rootfs'
 	setenv nandroot '/dev/mtdblock4 rw'
-- 
1.7.8.5



More information about the Gta04-owner mailing list