[openwrt/openwrt] apm821xx: meraki-mr24: fix ubootenv definitions
LEDE Commits
lede-commits at lists.infradead.org
Sun Feb 8 09:38:04 PST 2026
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/37010e1155cd5aae77eb77eeeaee5c0486ac5223
commit 37010e1155cd5aae77eb77eeeaee5c0486ac5223
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Sun Jul 13 11:19:10 2025 -0700
apm821xx: meraki-mr24: fix ubootenv definitions
Per the comments, this is not uboot,env but the redundant forms.
Placed under fixed-partition nodes in order to add status = "disabled".
The roots are needed for u-boot envtools to use.
Signed-off-by: Rosen Penev <rosenp at gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16618
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
target/linux/apm821xx/dts/meraki-mr24.dts | 28 ++++++++++++++++++++++++----
1 file changed, 24 insertions(+), 4 deletions(-)
diff --git a/target/linux/apm821xx/dts/meraki-mr24.dts b/target/linux/apm821xx/dts/meraki-mr24.dts
index b056533184..c2534c4633 100644
--- a/target/linux/apm821xx/dts/meraki-mr24.dts
+++ b/target/linux/apm821xx/dts/meraki-mr24.dts
@@ -64,12 +64,20 @@
* blocks (64KiB) in order to have spares
* around for bad block management
*/
+ compatible = "fixed-partitions";
label = "u-boot-env";
reg = <0x00150000 0x00010000>;
- read-only;
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition at 0 {
+ reg = <0x0 0x10000>;
+ label = "u-boot-env-main";
+ status = "disabled";
- nvmem-layout {
- compatible = "u-boot,env";
+ nvmem-layout {
+ compatible = "u-boot,env-redundant-count";
+ };
};
};
@@ -79,9 +87,21 @@
* has to be kept it in sync with the
* data in "u-boot-env".
*/
+ compatible = "fixed-partitions";
label = "u-boot-env-redundant";
reg = <0x00160000 0x00010000>;
- read-only;
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition at 0 {
+ reg = <0x0 0x10000>;
+ label = "u-boot-env-redundant";
+ status = "disabled";
+
+ nvmem-layout {
+ compatible = "u-boot,env-redundant-count";
+ };
+ };
};
partition at 170000 {
More information about the lede-commits
mailing list