1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux
INAGAKI Hiroshi f76185c3f3 ath79: add support for NEC Aterm WG2200HP
NEC Aterm WG2200HP is a 2.4/5 GHz band 11ac (Wi-Fi 5) router, based on
QCA9558.

Specification:

- SoC              : Qualcomm Atheros QCA9558
- RAM              : DDR2 128 MiB (2x ESMT M14D5121632A)
- Flash            : SPI-NOR 16 MiB (Macronix MX25L12835FM2I-10G)
- WLAN             : 2.4/5 GHz
  - 2.4 GHz        : 3T3R (Qualcomm Atheros QCA9558 (SoC))
  - 5 GHz          : 4T4R (Qualcomm Atheros QCA9984)
- Ethernet         : 5x 10/100/1000 Mbps
  - switch         : Qualcomm Atheros QCA8337
- LEDs/Keys (GPIO) : 12x/4x
- UART             : through-hole on PCB
  - assignment     : 3.3V, GND, NC, TX, RX from tri-angle marking
  - settings       : 9600n8
- USB              : 1x USB 2.0 Type-A
- Power            : 12 VDC, 1.5 A (Max: 20 W)
- Stock OS         : NetBSD based

Flash instruction using initramfs-factory.bin image:

 1. Connect and open serial console
 2. Power on WG2200HP and interrupt bootloader by ESC key
 3. Login to the bootloader CLI with a password "chiron"
 4. Start TFTP server by "tftpd" command
 5. Upload initramfs-factory.bin via tftp from your computer

    example (Windows): tftp -i 192.168.0.1 PUT initramfs-factory.bin

 6. Boot initramfs image by "boot" command
 7. On the initramfs image, back up the stock bootloader and firmware if
    needed
 8. Upload (or download) uboot.bin and sysupgrade.bin image to the device
 9. Rplace the bootloader with a uboot.bin image

    mtd write <uboot.bin image> bootloader

10. Perform sysupgrade with a sysupgrade.bin image
11. Wait ~120 seconds to complete flashing

Notes:

- All LEDs are connected to the Diodes PI4IOE5V9539LE I2C Expander chip.
  (compatible with NXP PCA9539)

- The stock bootloader requires an unknown filesystem on firmware area
  in the flash. Booting of OpenWrt from that filesystem cannot be
  handled, so the bootloader needs to be replaced to mainline U-Boot
  before OpenWrt installation.

- The data length of blocks in firmware image will be checked
  (4M < threshold < 6M) on the stock WebUI of all versions, and
  initramfs-factory.bin image of OpenWrt has the larger block data for
  initramfs image. So that image cannot be applied to the stock WebUI
  at all.

MAC addresses:

LAN    : 98:F1:99:xx:xx:7C (config, 0x6  (hex))
WAN    : 98:F1:99:xx:xx:7D (config, 0xc  (hex))
2.4 GHz: 98:F1:99:xx:xx:7E (config, 0x0  (hex))
5 GHz  : 98:F1:99:xx:xx:7F (config, 0x12 (hex))

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17584
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-04-07 00:42:18 +02:00
..
airoha kernel: Activate CONFIG_NET_SWITCHDEV in generic config 2025-03-15 13:54:59 +01:00
apm821xx kernel: Activate CONFIG_NET_SWITCHDEV in generic config 2025-03-15 13:54:59 +01:00
archs38 kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
armsr armsr: Fix kmod-fsl-dpaa2-net build 2025-03-12 23:56:09 +01:00
at91 at91bootstrap: put at91bootstrap images into image staging directory 2025-04-04 14:39:00 +02:00
ath79 ath79: add support for NEC Aterm WG2200HP 2025-04-07 00:42:18 +02:00
bcm27xx kernel: bump 6.6 to 6.6.85 2025-03-31 23:30:50 +02:00
bcm47xx kernel: Activate CONFIG_NET_SWITCHDEV in generic config 2025-03-15 13:54:59 +01:00
bcm53xx kernel: Activate CONFIG_NET_SWITCHDEV in generic config 2025-03-15 13:54:59 +01:00
bcm4908 kernel: Activate CONFIG_NET_SWITCHDEV in generic config 2025-03-15 13:54:59 +01:00
bmips bmips: add support for Actiontec T1200H 2025-04-02 19:07:47 +02:00
d1 generic: globally enable CONFIG_PCPU_DEV_REFCNT 2025-03-08 11:33:56 +01:00
gemini kernel: Activate CONFIG_NET_SWITCHDEV in generic config 2025-03-15 13:54:59 +01:00
generic kernel: bump 6.6 to 6.6.85 2025-03-31 23:30:50 +02:00
imx kernel: Activate CONFIG_NET_SWITCHDEV in generic config 2025-03-15 13:54:59 +01:00
ipq40xx ipq40xx: dts: fix "qcom,coexist-support" property type 2025-04-02 10:24:46 +02:00
ipq806x ipq806x: use nvmem for wifi mac 2025-03-16 22:19:46 +01:00
ixp4xx kernel: Activate CONFIG_NET_SWITCHDEV in generic config 2025-03-15 13:54:59 +01:00
kirkwood kernel: Activate CONFIG_NET_SWITCHDEV in generic config 2025-03-15 13:54:59 +01:00
lantiq kernel: Activate CONFIG_NET_SWITCHDEV in generic config 2025-03-15 13:54:59 +01:00
layerscape kernel: Activate CONFIG_NET_SWITCHDEV in generic config 2025-03-15 13:54:59 +01:00
loongarch64 kernel: Add KERNEL_DCB (Data Center Bridging) 2025-03-09 17:05:26 +01:00
malta kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
mediatek mediatek: add support for netis NX31 2025-04-06 20:14:18 +02:00
mpc85xx kernel: Activate CONFIG_NET_SWITCHDEV in generic config 2025-03-15 13:54:59 +01:00
mvebu kernel: Activate CONFIG_NET_SWITCHDEV in generic config 2025-03-15 13:54:59 +01:00
mxs mxs: adapt default package list for Duckbill devices 2025-02-05 22:00:09 +01:00
octeon octeon: force pcs reset to fix qca833x traffic 2025-04-02 10:04:52 +02:00
omap kernel: Activate CONFIG_NET_SWITCHDEV in generic config 2025-03-15 13:54:59 +01:00
pistachio kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
qoriq kernel: Activate CONFIG_NET_SWITCHDEV in generic config 2025-03-15 13:54:59 +01:00
qualcommax qualcommax: ipq60xx: add support for Netgear WAX610 and WAX610Y 2025-04-04 14:38:01 +02:00
qualcommbe kernel: Activate CONFIG_NET_SWITCHDEV in generic config 2025-03-15 13:54:59 +01:00
ramips ramips: mt76x8: add support for Keenetic Launcher (KN-1221) 2025-03-31 23:49:34 +02:00
realtek realtek: refactor RTL930x MAC config to fix PHY ports 2025-04-01 20:33:12 +02:00
rockchip rockchip: fix missing ".patch" file extension 2025-03-18 10:30:23 +01:00
sifiveu kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
siflower generic: import rtl8261n patches from mediatek 2025-03-16 19:05:56 +01:00
starfive kernel: bump 6.6 to 6.6.83 2025-03-15 10:25:57 +01:00
stm32 stm32: add default kernel config option CONFIG_LEDS_CLASS_MULTICOLOR 2025-04-01 00:05:32 +02:00
sunxi kernel: Activate CONFIG_NET_SWITCHDEV in generic config 2025-03-15 13:54:59 +01:00
tegra kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
uml uml: fix glibc-static check with GCC14 2024-06-22 22:06:06 +02:00
x86 x86: add Supermicro SuperServer E302-9D 2025-03-16 22:14:29 +01:00
zynq kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
Makefile linux: fix missing default packages in profiles.json 2024-11-17 19:29:06 +01:00