Преглед изворни кода

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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18543
Signed-off-by: Robert Marko <[email protected]>
INAGAKI Hiroshi пре 10 месеци
родитељ
комит
70b5252265
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      package/boot/uboot-tools/uboot-envtools/files/qualcommax_ipq50xx

+ 5 - 0
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" ] && \