aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Pratt <mcpratt@pm.me>2021-01-01 17:08:34 -0500
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-01-07 19:51:50 +0100
commit51360a913b492d042a697a9658a21f820a027fa1 (patch)
tree9a3d3ca5a4cc86de6c26840dd177410cd1b7c2b3
parent0070650df45da29a55a89922544dba6859c18f2b (diff)
downloadupstream-51360a913b492d042a697a9658a21f820a027fa1.tar.gz
upstream-51360a913b492d042a697a9658a21f820a027fa1.tar.bz2
upstream-51360a913b492d042a697a9658a21f820a027fa1.zip
ath79: make Engenius fakeroot partitions read-only
For: - ENH202 v1 - ENS202EXT v1 These boards were committed before it was discovered that for all Engenius boards with a "failsafe" image, forcing the failsafe image to load next boot can be achieved by editing the u-boot environment like: `fw_setenv rootfs_checksum 0` So it's not necessary to delete a partition to boot to failsafe image. Signed-off-by: Michael Pratt <mcpratt@pm.me>
-rw-r--r--target/linux/ath79/dts/ar7240_engenius_enh202-v1.dts1
-rw-r--r--target/linux/ath79/dts/ar9341_engenius_ens202ext-v1.dts1
2 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/ar7240_engenius_enh202-v1.dts b/target/linux/ath79/dts/ar7240_engenius_enh202-v1.dts
index 77b2f3fa1a..1d26a9765b 100644
--- a/target/linux/ath79/dts/ar7240_engenius_enh202-v1.dts
+++ b/target/linux/ath79/dts/ar7240_engenius_enh202-v1.dts
@@ -136,6 +136,7 @@
partition@1a0000 {
label = "fakeroot";
reg = <0x1a0000 0x10000>;
+ read-only;
};
fwconcat0: partition@1b0000 {
diff --git a/target/linux/ath79/dts/ar9341_engenius_ens202ext-v1.dts b/target/linux/ath79/dts/ar9341_engenius_ens202ext-v1.dts
index 8b28d581b1..6e296ab496 100644
--- a/target/linux/ath79/dts/ar9341_engenius_ens202ext-v1.dts
+++ b/target/linux/ath79/dts/ar9341_engenius_ens202ext-v1.dts
@@ -130,6 +130,7 @@
partition@220000 {
label = "fakeroot";
reg = <0x220000 0x010000>;
+ read-only;
};
fwconcat0: partition@230000 {