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

Dr. H. Nikolaus Schaller hns at goldelico.com
Mon Apr 23 22:05:10 CEST 2012


Hi Martin,
thanks for the patch.

I am trying to understand it - but where is it documented that
the rootfstype allows a comma separated list? I am not sure if
all kernels support this.

BR,
Nikolaus

Am 22.04.2012 um 21:40 schrieb Martin Jansa:

> * 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
> 
> _______________________________________________
> Gta04-owner mailing list
> Gta04-owner at goldelico.com
> http://lists.goldelico.com/mailman/listinfo/gta04-owner



More information about the Gta04-owner mailing list