]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
uboot-envtools: fix meraki mx60 definition 22339/head
authorRosen Penev <rosenp@gmail.com>
Sun, 13 Jul 2025 18:00:50 +0000 (11:00 -0700)
committerRobert Marko <robimarko@gmail.com>
Thu, 19 Mar 2026 09:40:13 +0000 (10:40 +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
(cherry picked from commit 6e3c8d95f452e9b3eaed6588251e18374bf697b8)
Link: https://github.com/openwrt/openwrt/pull/22339
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/boot/uboot-tools/uboot-envtools/files/apm821xx

index 83f61f8c6ef233554d6b388150a24f67c1847dbd..8f4fbe918f1075f3ea7ccef33c5c5dedc89179e8 100644 (file)
@@ -13,7 +13,8 @@ meraki,mr24)
        ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x4000" "0x4000" "1"
        ;;
 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)