summaryrefslogtreecommitdiffstats
path: root/patches/u-boot-2011.09/0004-am335x-evm-make-MMC-rootfs-RO-on-boot-so-fsck-works.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/u-boot-2011.09/0004-am335x-evm-make-MMC-rootfs-RO-on-boot-so-fsck-works.patch')
-rw-r--r--patches/u-boot-2011.09/0004-am335x-evm-make-MMC-rootfs-RO-on-boot-so-fsck-works.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/patches/u-boot-2011.09/0004-am335x-evm-make-MMC-rootfs-RO-on-boot-so-fsck-works.patch b/patches/u-boot-2011.09/0004-am335x-evm-make-MMC-rootfs-RO-on-boot-so-fsck-works.patch
new file mode 100644
index 0000000..7219554
--- /dev/null
+++ b/patches/u-boot-2011.09/0004-am335x-evm-make-MMC-rootfs-RO-on-boot-so-fsck-works.patch
@@ -0,0 +1,26 @@
+From 63e5b3b4271917e0a3c5a4903a76fdfb30118d3c Mon Sep 17 00:00:00 2001
+From: Koen Kooi <koen@dominion.thruhere.net>
+Date: Tue, 1 Nov 2011 12:22:30 +0100
+Subject: [PATCH 4/4] am335x-evm: make MMC rootfs RO on boot so fsck works
+
+Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
+---
+ include/configs/am335x_evm.h | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
+index 6143dc3..56e36da 100755
+--- a/include/configs/am335x_evm.h
++++ b/include/configs/am335x_evm.h
+@@ -50,7 +50,7 @@
+ "script_addr=0x81900000\0" \
+ "console=ttyO0,115200n8\0" \
+ "mmc_dev=0\0" \
+- "mmc_root=/dev/mmcblk0p2 rw\0" \
++ "mmc_root=/dev/mmcblk0p2 ro\0" \
+ "nand_root=/dev/mtdblock7 rw\0" \
+ "spi_root=/dev/mtdblock4 rw\0" \
+ "nor_root=/dev/mtdblock3 rw\0" \
+--
+1.7.2.5
+