openwrt/target/linux
Jean Thomas d1016446da mediatek: Add support for GL.iNet X3000 (Spitz AX) and XE3000 (Puli AX)
The GL.iNet X3000 and XE3000 are Wi-Fi 6 5G cellular routers, based on
MediaTek MT7981A SoC. The XE3000 is the same device as the X3000,
except for an additional battery.

Specifications:
 - SoC: Filogic 820 MT7981A (1.3GHz)
 - RAM: DDR4 512M
 - Flash: eMMC 8G, MicroSD card slot
 - WiFi: 2.4GHz and 5GHz with 6 antennas
 - Ethernet:
   - 1x LAN (10/100/1000M)
   - 1x WAN (10/100/1000/2500M)
 - 5G: Quectel RM520N-GL with two nano-SIM card slots
 - USB: 1x USB 2.0 port
 - UART:
   - 3.3V, TX, RX, GND / 115200 8N1

MAC addresses as verified by OEM firmware:
vendor   OpenWrt    address     source
WAN      eth0       label       factory 0x0a (label)
LAN      eth1       label + 1
2g       phy0-ap0   label + 2   factory 0x04
5g       phy1-ap0   label + 3

Installation via U-Boot rescue:
1. Press and hold reset button while booting the device
2. Wait for the Internet led to blink 5 times
3. Release reset button
4. The rescue page is accessible via http://192.168.1.1
5. Select the OpenWrt sysupgrade image and start upgrade
6. Wait for the router to flash new firmware and reboot

Revert to stock firmware:
1. Download the stock firmware from GL.iNet website
2. Use the method explained above to flash the stock firmware

Switch the modem network port between PCIe and USB interfaces:
1. Connect to the AT commands (/dev/ttyUSB2) port using
e.g. minicom: minicom -D /dev/ttyUSB2
2. Check the current modem mode with 'AT+QCFG="data_interface"':
  - 0,0 indicates that the network port uses the USB interface
  - 1,0 indicates that the network port uses the PCIe interface
3. Switch the active interface with:
  - 'AT+QCFG="data_interface",0,0' to use the USB interface
  - 'AT+QCFG="data_interface",1,0' to use the PCIe interface
4. Reboot

Signed-off-by: Jean Thomas <jean.thomas@wifirst.fr>
2024-03-13 20:47:23 +00:00
..
airoha airoha: dts: fix pcie ranges properties 2024-02-26 13:19:26 +01:00
apm821xx apm821xx: MBL DUO-only: enable USB-Storage for boot from USB support 2024-03-02 14:08:07 +01:00
archs38 treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
armsr kernel: bump 6.1 to 6.1.72 2024-01-19 21:24:44 +01:00
at91 kernel: bump 5.15 to 5.15.150 2024-03-07 19:30:54 +01:00
ath79 ath79: add missing kernel config symbols 2024-03-13 13:48:42 +01:00
bcm27xx kernel: bump 6.1 to 6.1.81 2024-03-11 21:51:37 +01:00
bcm47xx kernel: bump 5.15 to 5.15.146 2024-01-06 10:53:39 +01:00
bcm53xx kernel: bump 5.15 to 5.15.150 2024-03-07 19:30:54 +01:00
bcm4908 kernel: bump 5.15 to 5.15.137 2023-10-27 19:43:06 +01:00
bmips bmips: add support for SmartRG SR505n 2024-03-10 20:26:07 +01:00
d1 kernel: bump 6.1 to 6.1.80 2024-03-05 00:23:59 +01:00
gemini kernel: bump 6.1 to 6.1.71 2024-01-06 12:52:49 +01:00
generic generic: mtk_eth_soc: fix PPE hanging issue 2024-03-13 19:18:43 +00:00
imx kernel: bump 6.1 to 6.1.79 2024-02-24 19:25:02 +01:00
ipq40xx kernel: bump 6.1 to 6.1.81 2024-03-11 21:51:37 +01:00
ipq806x ipq806x: refresh Kconfig 2024-02-23 18:05:09 +01:00
ixp4xx ixp4xx: add Generic subtarget definition 2023-12-09 14:45:50 +01:00
kirkwood kirkwood: Add Marvell RTC to all machines with nothing else 2024-02-29 23:01:38 +01:00
lantiq lantiq: Fix build after kernel 5.15.150 2024-03-08 14:49:09 +01:00
layerscape layerscape: remove 5.15 kernel support 2024-03-01 18:29:09 +01:00
malta malta: Remove kernel 5.15 configuration 2024-02-03 04:35:25 +00:00
mediatek mediatek: Add support for GL.iNet X3000 (Spitz AX) and XE3000 (Puli AX) 2024-03-13 20:47:23 +00:00
mpc85xx mpc85xx: p1020: convert Aerohive AP330/AP350 to simpleImage 2024-03-08 17:24:14 +01:00
mvebu mvebu: add support for SolidRun ClearFog Pro 2024-03-02 14:21:20 +01:00
mxs mxs: add testing kernel 6.1 2023-07-01 12:54:30 +02:00
octeon octeon: convert to new LED color/function format where possible 2024-02-07 14:48:41 +01:00
octeontx kernel: bump 5.15 to 5.15.149 2024-03-07 19:30:54 +01:00
omap omap: drop kernel 5.15 2024-02-13 19:05:48 +01:00
oxnas oxnas: do not use pcie-controller 2024-01-01 02:34:48 +01:00
pistachio kernel: fix mtd/NVMEM regression affecting U-Boot env NVMEM driver 2023-10-31 17:33:28 +01:00
qoriq qoriq: pad rootfs with zeros 2023-12-02 14:06:56 +02:00
qualcommax qualcommax: ipq60xx: add support for netgear wax214 2024-03-05 06:34:35 +01:00
ramips ramips: add support for Z-ROUTER ZR-2660 2024-03-12 23:57:41 +01:00
realtek realtek: fix Netgear GS110TPP OEM install 2024-02-18 09:56:45 +01:00
rockchip rockchip: fix device packages for nanopi r4s enterprise edition 2024-02-25 12:36:02 +08:00
sifiveu kernel: remove CONFIG_DEVTMPFS_SAFE from target config 2023-11-19 16:46:24 +01:00
starfive starfive: refresh patches 2024-03-12 10:27:38 +01:00
sunxi sunxi: mark upstreamed patches as such 2023-12-19 16:02:05 +01:00
tegra treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
uml kernel: bump 6.1 to 6.1.53 2023-09-23 13:10:28 +02:00
x86 kernel: config: add symbol introduced with 6.1.81 2024-03-11 21:51:37 +01:00
zynq generic: enable CONFIG_ARM_CRYPTO for 32bit arm targets 2023-05-10 19:01:45 +02:00
Makefile linux: add dtb makefile target to targets list 2024-02-08 23:04:55 +01:00