From e75e499d67773744dae6038a111d1951ba56d79e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 10 May 2013 17:41:51 +0200 Subject: [PATCH] sysmobts-v2: Update the mounting of the ubifs root volume We now need to preifx ubi: to the filesystem to be mounted. This means some users need to clear the environment. The following command can be executed to delete the environment: sysmoBTSv2 > mtdpart default; nand erase.part U-Boot-Environment You need to clear the environment when you get this. The sysmocom recovery will clear the environment as well. UBIFS error (pid 0): ubifs_get_sb: cannot open "sysmobts-v2-rootfs", error -22 UBIFS error (pid 0): ubifs_mount: Error reading superblock on volume 'sysmobts-v2-rootfs' errno=-22! ubifsmount - mount UBIFS volume --- include/configs/davinci_sysmobts_v2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/davinci_sysmobts_v2.h b/include/configs/davinci_sysmobts_v2.h index 25978869e5..e9826f4785 100644 --- a/include/configs/davinci_sysmobts_v2.h +++ b/include/configs/davinci_sysmobts_v2.h @@ -141,7 +141,7 @@ #define CONFIG_CMDLINE_TAG #define CONFIG_SETUP_MEMORY_TAGS #define CONFIG_BOOTARGS "console=ttyS0,115200n8 root=ubi0:sysmobts-v2-rootfs ubi.mtd=3 rootfstype=ubifs rw noinitrd" -#define CONFIG_BOOTCOMMAND "mtdpart default;setenv bootargs ${bootargs} ${mtdparts};ubi part RootFs;ubifsmount sysmobts-v2-rootfs;ubifsload 85000000 /boot/uImage;bootm 85000000" +#define CONFIG_BOOTCOMMAND "mtdpart default;setenv bootargs ${bootargs} ${mtdparts};ubi part RootFs;ubifsmount ubi:sysmobts-v2-rootfs;ubifsload 85000000 /boot/uImage;bootm 85000000" /*=================*/ /* U-Boot commands */ /*=================*/