Selaa lähdekoodia

uboot-envtools: fix meraki mx60 definition

There are two redundant sections. One at 0x0 and the other at 0x80000.

Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/16618
Signed-off-by: Robert Marko <[email protected]>
Rosen Penev 7 kuukautta sitten
vanhempi
sitoutus
6e3c8d95f4
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      package/boot/uboot-tools/uboot-envtools/files/apm821xx

+ 2 - 1
package/boot/uboot-tools/uboot-envtools/files/apm821xx

@@ -13,7 +13,8 @@ meraki,mr24)
 	ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x4000" "0x4000" "4"
 	ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x4000" "0x4000" "4"
 	;;
 	;;
 meraki,mx60)
 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,wndap620|\
 netgear,wndap660)
 netgear,wndap660)