summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorINAGAKI Hiroshi2025-02-15 00:16:49 +0000
committerRobert Marko2025-04-22 18:58:29 +0000
commit70b5252265873ed4ac4ee32d10ef105082e93035 (patch)
treeaaec7fc5c4d8801ac65d3b4c0601cdf406b71971
parentc35b109c5268c9baf1100b6c93d731424ecf21d8 (diff)
downloadopenwrt-70b5252265873ed4ac4ee32d10ef105082e93035.tar.gz
uboot-envtools: ipq50xx: add support for ELECOM WRC-X3000GS2
Add support for ELECOM WRC-X3000GS2 to update "bootdelay" variable configured as "0" by default when sysupgrade. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com> Link: https://github.com/openwrt/openwrt/pull/18543 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--package/boot/uboot-tools/uboot-envtools/files/qualcommax_ipq50xx5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/boot/uboot-tools/uboot-envtools/files/qualcommax_ipq50xx b/package/boot/uboot-tools/uboot-envtools/files/qualcommax_ipq50xx
index a5ba8b9af5..5bc12b1492 100644
--- a/package/boot/uboot-tools/uboot-envtools/files/qualcommax_ipq50xx
+++ b/package/boot/uboot-tools/uboot-envtools/files/qualcommax_ipq50xx
@@ -8,6 +8,11 @@ touch /etc/config/ubootenv
board=$(board_name)
case "$board" in
+elecom,wrc-x3000gs2)
+ idx="$(find_mtd_index 0:appsblenv)"
+ [ -n "$idx" ] && \
+ ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x40000" "0x20000"
+ ;;
glinet,gl-b3000)
idx="$(find_mtd_index 0:APPSBLENV)"
[ -n "$idx" ] && \