]> git.sur5r.net Git - u-boot/commitdiff
board: ge: bx50v3: mount rootfs read-only
authorHannu Lounento <hannu.lounento@ge.com>
Wed, 10 Jan 2018 19:31:36 +0000 (20:31 +0100)
committerStefano Babic <sbabic@denx.de>
Sun, 4 Feb 2018 11:00:58 +0000 (12:00 +0100)
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>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
include/configs/ge_bx50v3.h

index 15635d7032f5bffa38a5e4066c190219fc61dabc..816bdfac62f36b53943337da7909e150e997a005 100644 (file)
        "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" \