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>
This commit is contained in:
David Yang 2021-07-11 22:16:54 +08:00 committed by AmadeusGhost
parent a40558133c
commit bdec441eed

View File

@ -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 {