mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-05-07 03:49:20 +00:00
u-boot: switch beagleboard and beaglebone to RO rootfs at boot
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
From 78080b20d8daa8e80f962beeab898d171bcc8eac Mon Sep 17 00:00:00 2001
|
||||
From: Koen Kooi <koen@dominion.thruhere.net>
|
||||
Date: Sun, 16 Oct 2011 09:37:38 +0200
|
||||
Subject: [PATCH 3/3] beagleboard: mount rootfs RO instead of RW at boot
|
||||
|
||||
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
|
||||
---
|
||||
include/configs/omap3_beagle.h | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
|
||||
index a67e5a0..95a134b 100644
|
||||
--- a/include/configs/omap3_beagle.h
|
||||
+++ b/include/configs/omap3_beagle.h
|
||||
@@ -231,7 +231,7 @@
|
||||
"dvimode=640x480MR-16@60\0" \
|
||||
"defaultdisplay=dvi\0" \
|
||||
"mmcdev=0\0" \
|
||||
- "mmcroot=/dev/mmcblk0p2 rw\0" \
|
||||
+ "mmcroot=/dev/mmcblk0p2 ro\0" \
|
||||
"mmcrootfstype=ext3 rootwait\0" \
|
||||
"nandroot=/dev/mtdblock4 rw\0" \
|
||||
"nandrootfstype=jffs2\0" \
|
||||
--
|
||||
1.6.6.1
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
From 9f8585887a08e6a9c7ca24c2a9c0e9a8c66a2a54 Mon Sep 17 00:00:00 2001
|
||||
From: Koen Kooi <koen@dominion.thruhere.net>
|
||||
Date: Sun, 16 Oct 2011 09:57:06 +0200
|
||||
Subject: [PATCH 3/3] am335x-evm: make rootfs RO on boot
|
||||
|
||||
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 cb45037..5db3d9f 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/mtdblock4 rw\0" \
|
||||
"spi_root=/dev/mtdblock4 rw\0" \
|
||||
"nor_root=/dev/mtdblock3 rw\0" \
|
||||
--
|
||||
1.6.6.1
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
require u-boot.inc
|
||||
|
||||
PR = "r3"
|
||||
PR = "r4"
|
||||
|
||||
# No patches for other machines yet
|
||||
COMPATIBLE_MACHINE = "(beagleboard)"
|
||||
@@ -12,6 +12,7 @@ SRC_URI = "git://www.denx.de/git/u-boot.git;protocol=git \
|
||||
file://2011.09/0001-beagleboard-add-support-for-TCT-Beacon-board.patch \
|
||||
file://2011.09/0001-beagleboard-add-support-for-scanning-loop-through-ex.patch \
|
||||
file://2011.09/0002-beagleboard-switch-to-ttyO2.patch \
|
||||
file://2011.09/0003-beagleboard-mount-rootfs-RO-instead-of-RW-at-boot.patch \
|
||||
file://fw_env.config \
|
||||
"
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ require u-boot.inc
|
||||
COMPATIBLE_MACHINE = "beaglebone"
|
||||
DEFAULT_PREFERENCE_beaglebone = "99"
|
||||
PV = "2011.09+git"
|
||||
PR = "r6"
|
||||
PR = "r7"
|
||||
|
||||
# SPL build
|
||||
UBOOT_BINARY = "u-boot.img"
|
||||
@@ -14,6 +14,7 @@ UBOOT_SYMLINK = "u-boot-${MACHINE}.img"
|
||||
SRC_URI = "git://github.com/trini/u-boot.git;protocol=git;branch=int_am335xpsp_04.06.00.01-v2011.09-for-sdk-05.03.00.00 \
|
||||
file://2011.09git/0001-am335x_evm-boot-kernel-from-ext2-3-filesystem.patch \
|
||||
file://2011.09git/0002-am335x_evm-set-bootdelay-to-0.patch \
|
||||
file://2011.09git/0003-am335x-evm-make-rootfs-RO-on-boot.patch \
|
||||
"
|
||||
|
||||
SRCREV = "456880b203bc44c025c374c98fa327b804a9cf64"
|
||||
|
||||
Reference in New Issue
Block a user