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:
parent
a6c410ae10
commit
5ed11012e7
|
@ -71,12 +71,12 @@
|
||||||
partition@0 {
|
partition@0 {
|
||||||
label = "u-boot";
|
label = "u-boot";
|
||||||
reg = <0x0 0x30000>;
|
reg = <0x0 0x30000>;
|
||||||
|
read-only;
|
||||||
};
|
};
|
||||||
|
|
||||||
partition@30000 {
|
partition@30000 {
|
||||||
label = "u-boot-env";
|
label = "u-boot-env";
|
||||||
reg = <0x30000 0x10000>;
|
reg = <0x30000 0x10000>;
|
||||||
read-only;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
factory: partition@40000 {
|
factory: partition@40000 {
|
||||||
|
|
Loading…
Reference in New Issue