uboot-tools: uboot-envtools: add support for I-O DATA WN-DAX3000GR

Add support for I-O DATA WN-DAX3000GR to update bootdelay variable while
sysupgrade.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19053
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
INAGAKI Hiroshi 2025-06-05 05:14:24 +09:00 committed by Robert Marko
parent 12fd5e8f84
commit c07b552470

View file

@ -8,7 +8,8 @@ touch /etc/config/ubootenv
board=$(board_name) board=$(board_name)
case "$board" in case "$board" in
elecom,wrc-x3000gs2) elecom,wrc-x3000gs2|\
iodata,wn-dax3000gr)
idx="$(find_mtd_index 0:appsblenv)" idx="$(find_mtd_index 0:appsblenv)"
[ -n "$idx" ] && \ [ -n "$idx" ] && \
ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x40000" "0x20000" ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x40000" "0x20000"