]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
uboot-envtools: ipq50xx: add support for ELECOM WRC-X3000GS2
authorINAGAKI Hiroshi <musashino.open@gmail.com>
Sat, 15 Feb 2025 00:16:49 +0000 (09:16 +0900)
committerRobert Marko <robimarko@gmail.com>
Tue, 22 Apr 2025 18:58:29 +0000 (20:58 +0200)
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>
package/boot/uboot-tools/uboot-envtools/files/qualcommax_ipq50xx

index a5ba8b9af578f55115832259c3dea65c8e598947..5bc12b149245a67d4a07d6ff201be63ff6045a94 100644 (file)
@@ -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" ] && \