Skip to content

Commit

Permalink
ramips: lock u-boot partition and unlock u-boot-env for miwifi-mini
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
yangfl authored and adschm committed Aug 24, 2021
1 parent a6c410a commit 5ed1101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/mt7620a_xiaomi_miwifi-mini.dts
Expand Up @@ -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 {
Expand Down

0 comments on commit 5ed1101

Please sign in to comment.