[openwrt/openwrt] uboot-envtools: ipq50xx: add support for ELECOM WRC-X3000GS2
LEDE Commits
lede-commits at lists.infradead.org
Tue Apr 22 11:58:33 PDT 2025
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/70b5252265873ed4ac4ee32d10ef105082e93035
commit 70b5252265873ed4ac4ee32d10ef105082e93035
Author: INAGAKI Hiroshi <musashino.open at gmail.com>
AuthorDate: Sat Feb 15 09:16:49 2025 +0900
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 at gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18543
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
package/boot/uboot-tools/uboot-envtools/files/qualcommax_ipq50xx | 5 +++++
1 file changed, 5 insertions(+)
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" ] && \
More information about the lede-commits
mailing list