summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2012-09-26 07:19:43 +0000
committerTom Rini <trini@ti.com>2012-10-01 10:10:33 -0700
commit3580777b62060b6ec32b37905869baaeac22345f (patch)
treec9b186d3652ce9ae5e919e8c193c02100c10750e
parent90207b626876ba18e6e6f70fe353f6e033b85197 (diff)
downloadu-boot-imx-3580777b62060b6ec32b37905869baaeac22345f.zip
u-boot-imx-3580777b62060b6ec32b37905869baaeac22345f.tar.gz
u-boot-imx-3580777b62060b6ec32b37905869baaeac22345f.tar.bz2
am335x-evm config: decrease bootdelay to 1s and mount rootfs RO
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>
-rw-r--r--include/configs/am335x_evm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index c547542..339d4bd 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -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" \