diff mbox series

[U-Boot,14/16] board: ge: bx50v3: mount rootfs read-only

Message ID 1510156790-26463-15-git-send-email-martyn.welch@collabora.co.uk
State Changes Requested
Delegated to: Stefano Babic
Headers show
Series Updates / improvements to bx50v3 support | expand

Commit Message

Martyn Welch Nov. 8, 2017, 3:59 p.m. UTC
From: Hannu Lounento <hannu.lounento@ge.com>

Change the kernel command line to mount the root filesystem read-only in
order to be able to run filesystem check on it on boot.

Signed-off-by: Hannu Lounento <hannu.lounento@ge.com>
Signed-off-by: Martyn Welch <martyn.welch@collabora.co.uk>
---
 include/configs/ge_bx50v3.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/include/configs/ge_bx50v3.h b/include/configs/ge_bx50v3.h
index ee5f6ab..d15470f 100644
--- a/include/configs/ge_bx50v3.h
+++ b/include/configs/ge_bx50v3.h
@@ -120,7 +120,7 @@ 
 	"emmcdev=1\0" \
 	"partnum=1\0" \
 	"setargs=setenv bootargs console=${console},${baudrate} " \
-		"root=/dev/${rootdev} rw rootwait cma=128M " \
+		"root=/dev/${rootdev} ro rootwait cma=128M " \
 		BX50V3_BOOTARGS_EXTRA "\0" \
 	"loadimage=" \
 		"ext2load ${dev} ${devnum}:${partnum} ${loadaddr} ${image}\0" \