summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLech Perczak <lech.perczak@gmail.com>2020-08-26 23:38:25 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-11-02 16:33:25 +0100
commit52d3b027ec7e69488b37b2947657a55ce6ad7712 (patch)
treef169390e8109c99915c2b970085c691d21675061
parent7d93473efff91b8c09d44d828be6baf2336829d5 (diff)
downloadopenwrt-52d3b027ec7e69488b37b2947657a55ce6ad7712.tar.gz
openwrt-52d3b027ec7e69488b37b2947657a55ce6ad7712.tar.bz2
openwrt-52d3b027ec7e69488b37b2947657a55ce6ad7712.zip
ath79: ubnt-unifi: make u-boot-env partition read-only
This partition isn't normally modified during boot process. Make it read-only to prevent accidental overwrite. If needed this can be overriden with installing kmod-mtd-rw; the same way as for installing modified U-boot. Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
-rw-r--r--target/linux/ath79/dts/ar7241_ubnt_unifi.dts1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/ar7241_ubnt_unifi.dts b/target/linux/ath79/dts/ar7241_ubnt_unifi.dts
index c4c0235f7b..ce59463d9e 100644
--- a/target/linux/ath79/dts/ar7241_ubnt_unifi.dts
+++ b/target/linux/ath79/dts/ar7241_ubnt_unifi.dts
@@ -80,6 +80,7 @@
partition@40000 {
label = "u-boot-env";
reg = <0x040000 0x010000>;
+ read-only;
};
partition@50000 {