1
1
openwrt/package/boot/uboot-tools/uboot-envtools/files
Taiga Ogawa 587a1a8872 qualcommax: ipq50xx: add support for ELECOM WRC-X3000GST2
ELECOM WRC-X3000GST2 is a 2.4/5 GHz band 11ax (Wi-Fi 6) router based on
IPQ5018. The only hardware difference from the WRC-X3000GS2 is the RAM
capacity; all other peripherals are identical. This port therefore
reuses the GS2 board-2.bin (ipq-wifi-elecom_wrc-x3000gs2) and ath11k
calibration variant.

Specification:

- SoC             : Qualcomm IPQ5018
- RAM             : DDR3 512 MiB (Kingston Technology D2516ECMDXGJD)
- Flash           : SPI-NAND 128 MiB (Macronix MX35UF1G24AD-Z4I)
- WLAN            : 2.4/5 GHz 2T2R
  - 2.4 GHz       : Qualcomm IPQ5018 (SoC)
  - 5 GHz         : Qualcomm QCN6122
- Ethernet        : 5x 10/100/1000 Mbps
  - wan (phy)     : Qualcomm IPQ5018 (SoC)
  - lan (switch)  : Qualcomm Atheros QCA8337
- LEDs/Keys (GPIO): 8x / 3x (reset, WPS, router/AP slide switch)
- UART            : through-hole on PCB, 4pins near the barcode
  - assignment    : 3.3V, TX, RX, NC, GND from the barcode side
  - settings      : 115200n8
- Power           : 12 VDC, 1 A (Max. 11.5W)

Flash instruction using factory.bin image:

1. Boot WRC-X3000GST2 normally in router mode
2. Access the WebUI ("http://192.168.2.1/") and open the firmware
   update page ("ファームウェア更新")
3. Select the OpenWrt factory.bin image and click apply ("適用")
4. After the device reboots automatically, wait until the green power LED
   stops blinking and stays solid
5. When the green power LED is solid, hold the reset button until the red
   LED starts blinking to clear remaining stock firmware settings

Switching to the stock firmware:

1. Load the elecom.sh script

   . /lib/upgrade/elecom.sh

2. Check the current index of rootfs

   bootconfig_rw_index 0:bootconfig rootfs

3. Set the index to inverted value

   bootconfig_rw_index 0:bootconfig rootfs <value>
   bootconfig_rw_index 0:bootconfig1 rootfs <value>

   example:

   - step2 returned "0":

     bootconfig_rw_index 0:bootconfig rootfs 1
     bootconfig_rw_index 0:bootconfig1 rootfs 1

   - step2 returned "1":

     bootconfig_rw_index 0:bootconfig rootfs 0
     bootconfig_rw_index 0:bootconfig1 rootfs 0

4. Reboot

Partition Layout (Stock FW):

0x000000000000-0x000000080000 : "0:SBL1"
0x000000080000-0x000000100000 : "0:MIBIB"
0x000000100000-0x000000140000 : "0:BOOTCONFIG"
0x000000140000-0x000000180000 : "0:BOOTCONFIG1"
0x000000180000-0x000000280000 : "0:QSEE"
0x000000280000-0x000000380000 : "0:QSEE_1"
0x000000380000-0x0000003c0000 : "0:DEVCFG"
0x0000003c0000-0x000000400000 : "0:DEVCFG_1"
0x000000400000-0x000000440000 : "0:CDT"
0x000000440000-0x000000480000 : "0:CDT_1"
0x000000480000-0x000000500000 : "0:APPSBLENV"
0x000000500000-0x000000640000 : "0:APPSBL"
0x000000640000-0x000000780000 : "0:APPSBL_1"
0x000000780000-0x000000880000 : "0:ART"
0x000000880000-0x000000900000 : "0:TRAINING"
0x000000900000-0x000003c40000 : "rootfs"
0x000003c40000-0x000003fc0000 : "Config"
0x000003fc0000-0x000007300000 : "rootfs_1"
0x000007300000-0x000007680000 : "Config_2"
0x000007680000-0x000007b80000 : "Reserved"
0x000007b80000-0x000007c00000 : "FWHEADER"
0x000007c00000-0x000007c80000 : "Factory"

Notes:

- This device has dual-boot feature and it's managed by the index in the
  0:bootconfig and 0:bootconfig1 partitions.

- Wi-Fi BDF is shared with WRC-X3000GS2 (ipq-wifi-elecom_wrc-x3000gs2)
  as the hardware (SoC, QCN6122, antennas) is identical between the two
  models.

- GST2 stock firmware keeps its configuration even when sysupgrade is
  called with -n. When installing from the OEM WebUI, those stock
  settings can be restored into OpenWrt overlay, so settings must be
  initialized after the first OpenWrt boot.

MAC Addresses:

LAN    : 38:97:A4:xx:xx:40 (0:APPSBLENV, "eth1addr"/"ethaddr"  (text))
WAN    : 38:97:A4:xx:xx:43 (0:APPSBLENV, "eth0addr" (text))
2.4 GHz: 38:97:A4:xx:xx:41 (0:APPSBLENV, "wifi0"    (text))
5 GHz  : 38:97:A4:xx:xx:42 (0:APPSBLENV, "wifi1"    (text))

Signed-off-by: Taiga Ogawa <zectaiga@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23471
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-05-26 18:56:17 +02:00
..
airoha_an7581 airoha: add support for Gemtek W1700K 2026-03-11 00:42:34 +01:00
apm821xx uboot-envtools: fix meraki mr24 definition 2026-02-08 18:37:43 +01:00
ath79 uboot-envtools: add extreme-networks,ws-ap3805i 2026-04-16 21:20:01 +02:00
fw_defaults uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
fw_loadenv uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
fw_printsys uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
fw_setsys uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
imx_cortexa7 uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
imx_cortexa9 uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
imx_cortexa53 uboot-envtools: add support for Gateworks venice 2025-07-12 20:24:28 +02:00
ipq40xx uboot-envtools: ipq40xx: remove unused function ubootenv_mtdinfo() 2025-12-09 00:34:22 +01:00
ipq806x uboot-tools: envtools: ipq806x: add env for IgniteNet SS-W2-AC2600 2025-06-25 02:06:57 +01:00
kirkwood kirkwood: add support for D-Link DNS-325 A1 2025-11-25 15:41:38 +01:00
lantiq uboot-envtools: reorganize the initialization scripts 2025-12-09 00:34:22 +01:00
layerscape uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
mediatek_filogic mediatek: add support for netis EAP930 V1 2026-05-26 00:50:00 +02:00
mediatek_mt7622 mediatek: add support for Buffalo WSR-2533DHP3 2026-05-25 23:08:06 +02:00
mediatek_mt7623 uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
mediatek_mt7629 uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
mpc85xx mpc85xx: ws-ap3715i: enable access to u-boot env 2026-05-05 14:09:38 +02:00
mvebu mvebu: add fw_env.config for Turris Mox 2026-05-26 01:36:23 +02:00
mxs uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
octeon uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
oxnas uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
pistachio uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
qoriq package: u-boot: initial support for qoriq arch 2026-01-09 18:45:02 +02:00
qualcommax_ipq50xx qualcommax: ipq50xx: add support for ELECOM WRC-X3000GST2 2026-05-26 18:56:17 +02:00
qualcommax_ipq60xx uboot-envtools: ipq60xx: add support for JDCloud devices 2026-03-21 22:22:39 +01:00
qualcommax_ipq807x qualcommax: ipq807x: add Zyxel NWA110AX support 2026-02-13 21:35:49 +01:00
qualcommbe_ipq95xx uboot-tools: envtools: ipq95xx: use common function 2025-07-13 16:43:34 +02:00
ramips ramips: add support for EDUP EP-RT2983 2026-04-12 19:52:42 +02:00
realtek realtek: add Zyxel GS1900-48HP A1 support 2026-04-11 19:35:53 +02:00
rockchip_armv8 uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
starfive starfive: add ubootenv support 2026-03-22 12:41:54 +01:00
uboot-envtools.sh uboot-tools: move ubootenv_add_ubi_default to common functions 2025-06-26 23:12:20 +02:00