U-Boot uses the "bootpartition" variable stored in
"u-boot-env2" to select the active system partition. Allow
updates to enable system switching from OpenWrt.
Signed-off-by: Bjørn Mork <bjorn@mork.no>
(cherry picked from commit
11d24ffe961570533a4fc54a7511d30c17290623)
partition@f0000 {
label = "u-boot-env2";
reg = <0x00f0000 0x0010000>;
- read-only;
};
partition@100000 {
partition@50000 {
label = "u-boot-env2";
reg = <0x50000 0x10000>;
- read-only;
};
partition@60000 {
label = "jffs";
partition@90000 {
label = "u-boot-env2";
reg = <0x90000 0x10000>;
- read-only;
};
partition@a0000 {
partition@c0000 {
label = "u-boot-env2";
reg = <0x000c0000 0x40000>;
- read-only;
};
partition@280000 {
label = "firmware";
partition@c0000 {
label = "u-boot-env2";
reg = <0x000c0000 0x40000>;
- read-only;
};
partition@280000 {
label = "firmware";