From 263751111e0243f2eb49eab2d41526589ee1d8b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Owoc?= Date: Sun, 29 Mar 2026 14:28:55 +0200 Subject: [PATCH] uboot-envtools: add u-boot-env for EX5601/WX5600 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add ability to read u-boot-env partition as sys env for Zyxel EX5601 and WX5600 with custom partitions. Signed-off-by: Paweł Owoc Link: https://github.com/openwrt/openwrt/pull/22670 Signed-off-by: Robert Marko --- .../uboot-tools/uboot-envtools/files/mediatek_filogic | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/package/boot/uboot-tools/uboot-envtools/files/mediatek_filogic b/package/boot/uboot-tools/uboot-envtools/files/mediatek_filogic index c844073748..0d7339e297 100644 --- a/package/boot/uboot-tools/uboot-envtools/files/mediatek_filogic +++ b/package/boot/uboot-tools/uboot-envtools/files/mediatek_filogic @@ -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" ;;