am335x-evm config: decrease bootdelay to 1s and mount rootfs RO
authorKoen Kooi <koen@dominion.thruhere.net>
Wed, 26 Sep 2012 07:19:43 +0000 (07:19 +0000)
committerTom Rini <trini@ti.com>
Mon, 1 Oct 2012 17:10:33 +0000 (10:10 -0700)
A fast boot is important to the beaglebone, so save 2 seconds here by
decreasing bootdelay. This is still plenty time to break into the prompt,
I do that at least once a day.

Mount the rootfs RO by default, this is needed to make fsck succeed
without resorting to an initramfs.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
include/configs/am335x_evm.h

index c547542..339d4bd 100644 (file)
@@ -45,7 +45,7 @@
 #define CONFIG_VERSION_VARIABLE
 
 /* set to negative value for no autoboot */
-#define CONFIG_BOOTDELAY               3
+#define CONFIG_BOOTDELAY               1
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "loadaddr=0x80200000\0" \
        "fdtaddr=0x80F80000\0" \
@@ -54,7 +54,7 @@
        "console=ttyO0,115200n8\0" \
        "optargs=\0" \
        "mmcdev=0\0" \
-       "mmcroot=/dev/mmcblk0p2 rw\0" \
+       "mmcroot=/dev/mmcblk0p2 ro\0" \
        "mmcrootfstype=ext4 rootwait\0" \
        "ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=${rdaddr},64M\0" \
        "ramrootfstype=ext2\0" \