projects
/
openwrt
/
staging
/
zorun.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d93473
)
ath79: ubnt-unifi: make u-boot-env partition read-only
author
Lech Perczak
<
[email protected]
>
Wed, 26 Aug 2020 21:38:25 +0000
(23:38 +0200)
committer
Adrian Schmutzler
<
[email protected]
>
Mon, 2 Nov 2020 15:33:25 +0000
(16:33 +0100)
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 <
[email protected]
>
target/linux/ath79/dts/ar7241_ubnt_unifi.dts
patch
|
blob
|
history
diff --git
a/target/linux/ath79/dts/ar7241_ubnt_unifi.dts
b/target/linux/ath79/dts/ar7241_ubnt_unifi.dts
index c4c0235f7bdc988a73587f6c3431e90b88d0ae4e..ce59463d9e8658cb9bc8627af88559a3d0f87ca0 100644
(file)
--- 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 {