]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
uboot-envtools: add u-boot-env for EX5601/WX5600 22670/head
authorPaweł Owoc <frut3k7@gmail.com>
Sun, 29 Mar 2026 12:28:55 +0000 (14:28 +0200)
committerRobert Marko <robimarko@gmail.com>
Wed, 1 Apr 2026 12:17:21 +0000 (14:17 +0200)
Add ability to read u-boot-env partition as sys env
for Zyxel EX5601 and WX5600 with custom partitions.

Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22670
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/boot/uboot-tools/uboot-envtools/files/mediatek_filogic

index c844073748a07446c77dd8846f43e97b008e1245..0d7339e2972d294171b8ee365271519c3abb167e 100644 (file)
@@ -55,9 +55,7 @@ tplink,tl-xdr6088|\
 tplink,tl-xtr8488|\
 xiaomi,mi-router-ax3000t-ubootmod|\
 xiaomi,mi-router-wr30u-ubootmod|\
-xiaomi,redmi-router-ax6000-ubootmod|\
-zyxel,ex5601-t0-ubootmod|\
-zyxel,wx5600-t0-ubootmod)
+xiaomi,redmi-router-ax6000-ubootmod)
        ubootenv_add_ubi_default
        ;;
 acer,predator-w6|\
@@ -159,6 +157,11 @@ xiaomi,redmi-router-ax6000-stock)
 zyxel,ex5601-t0)
        ubootenv_add_mtd "u-boot-env" "0x0" "0x20000" "0x40000" "2"
        ;;
+zyxel,ex5601-t0-ubootmod|\
+zyxel,wx5600-t0-ubootmod)
+       ubootenv_add_ubi_default
+       ubootenv_add_sys_mtd "u-boot-env" "0x0" "0x20000" "0x40000" "2"
+       ;;
 zyxel,ex5700-telenor)
        ubootenv_add_uci_config "/dev/ubootenv" "0x0" "0x4000" "0x4000" "1"
        ;;