diff options
author | David Yang <mmyangfl@gmail.com> | 2021-07-11 22:16:54 +0800 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2021-08-25 01:42:17 +0200 |
commit | 5ed11012e7d990a11256917a5112f528cb983c89 (patch) | |
tree | 3d69bc98193198e0683e9eb2f904f8c17cdafb07 | |
parent | a6c410ae10ea51f5541fe2fdc3bd39011bff3f0e (diff) | |
download | upstream-5ed11012e7d990a11256917a5112f528cb983c89.tar.gz upstream-5ed11012e7d990a11256917a5112f528cb983c89.tar.bz2 upstream-5ed11012e7d990a11256917a5112f528cb983c89.zip |
ramips: lock u-boot partition and unlock u-boot-env for miwifi-mini
Generally u-boot should keep read-only to avoid mis-overwriting and
bricking the device, but u-boot-env could be safely modified with u-boot
setenv tool.
Signed-off-by: David Yang <mmyangfl@gmail.com>
-rw-r--r-- | target/linux/ramips/dts/mt7620a_xiaomi_miwifi-mini.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7620a_xiaomi_miwifi-mini.dts b/target/linux/ramips/dts/mt7620a_xiaomi_miwifi-mini.dts index d89ded78a5..b2e46a7a56 100644 --- a/target/linux/ramips/dts/mt7620a_xiaomi_miwifi-mini.dts +++ b/target/linux/ramips/dts/mt7620a_xiaomi_miwifi-mini.dts @@ -71,12 +71,12 @@ partition@0 { label = "u-boot"; reg = <0x0 0x30000>; + read-only; }; partition@30000 { label = "u-boot-env"; reg = <0x30000 0x10000>; - read-only; }; factory: partition@40000 { |