]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
uboot-envtools: fix meraki mx60 definition
authorRosen Penev <rosenp@gmail.com>
Sun, 13 Jul 2025 18:00:50 +0000 (11:00 -0700)
committerRobert Marko <robimarko@gmail.com>
Sun, 8 Feb 2026 17:37:43 +0000 (18:37 +0100)
There are two redundant sections. One at 0x0 and the other at 0x80000.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16618
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/boot/uboot-tools/uboot-envtools/files/apm821xx

index 1076f931bb7cc008651d039b25e05f6aace3ccc4..c3642bda9184e9108a1885f1905c77fa7817c411 100644 (file)
@@ -13,7 +13,8 @@ meraki,mr24)
        ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x4000" "0x4000" "4"
        ;;
 meraki,mx60)
-       ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x20000" "0x20000" "4"
+       ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x20000" "0x20000" "1"
+       ubootenv_add_uci_config "/dev/mtd1" "0x80000" "0x20000" "0x20000" "1"
        ;;
 netgear,wndap620|\
 netgear,wndap660)