From cf9b305a5fdc164491cf72a2ffd8aaa1fef2620a Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 13 Jul 2025 11:00:50 -0700 Subject: [PATCH] uboot-envtools: fix meraki mx60 definition There are two redundant sections. One at 0x0 and the other at 0x80000. Signed-off-by: Rosen Penev 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 --- package/boot/uboot-tools/uboot-envtools/files/apm821xx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/boot/uboot-tools/uboot-envtools/files/apm821xx b/package/boot/uboot-tools/uboot-envtools/files/apm821xx index 83f61f8c6e..8f4fbe918f 100644 --- a/package/boot/uboot-tools/uboot-envtools/files/apm821xx +++ b/package/boot/uboot-tools/uboot-envtools/files/apm821xx @@ -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)