openwrt/target/linux
David Bauer a0b7fef0ff ramips: add support for ZyXEL NWA50AX / NWA55AXE
Hardware
--------
CPU:    Mediatek MT7621
RAM:    256M DDR3
FLASH:  128M NAND
ETH:    1x Gigabit Ethernet
WiFi:   Mediatek MT7915 (2.4/5GHz 802.11ax 2x2 DBDC)
BTN:    1x Reset (NWA50AX only)
LED:    1x Multi-Color (NWA50AX only)

UART Console
------------
NWA50AX:
Available below the rubber cover next to the ethernet port.
NWA55AXE:
Available on the board when disassembling the device.

Settings: 115200 8N1

Layout:

<12V> <LAN> GND-RX-TX-VCC

Logic-Level is 3V3. Don't connect VCC to your UART adapter!

Installation Web-UI
-------------------
Upload the Factory image using the devices Web-Interface.

As the device uses a dual-image partition layout, OpenWrt can only
installed on Slot A. This requires the current active image prior
flashing the device to be on Slot B.

If the currently installed image is started from Slot A, the device will
flash OpenWrt to Slot B. OpenWrt will panic upon first boot in this case
and the device will return to the ZyXEL firmware upon next boot.

If this happens, first install a ZyXEL firmware upgrade of any version
and install OpenWrt after that.

Installation TFTP
-----------------
This installation routine is especially useful in case
 * unknown device password (NWA55AXE lacks reset button)
 * bricked device

Attach to the UART console header of the device. Interrupt the boot
procedure by pressing Enter.

The bootloader has a reduced command-set available from CLI, but more
commands can be executed by abusing the atns command.

Boot a OpenWrt initramfs image available on a TFTP server at
192.168.1.66. Rename the image to owrt.bin

 $ atnf owrt.bin
 $ atna 192.168.1.88
 $ atns "192.168.1.66; tftpboot; bootm"

Upon booting, set the booted image to the correct slot:

 $ zyxel-bootconfig /dev/mtd10 get-status
 $ zyxel-bootconfig /dev/mtd10 set-image-status 0 valid
 $ zyxel-bootconfig /dev/mtd10 set-active-image 0

Copy the OpenWrt ramboot-factory image to the device using scp.
Write the factory image to NAND and reboot the device.

 $ mtd write ramboot-factory.bin firmware
 $ reboot

Signed-off-by: David Bauer <mail@david-bauer.net>
2022-07-20 21:52:06 +02:00
..
apm821xx kernel: bump 5.10 to 5.10.127 2022-06-29 23:38:47 +02:00
archs38 generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-24 17:10:24 +02:00
armvirt generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-24 17:10:24 +02:00
at91 kernel: bump 5.10 to 5.10.130 2022-07-18 23:14:30 +02:00
ath25 generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-24 17:10:24 +02:00
ath79 ath79: fix Tx cleanup when NAPI poll budget is zero 2022-07-14 12:51:16 +02:00
bcm27xx bcm27xx: update patch to fix build 2022-07-11 23:39:13 +01:00
bcm47xx kernel: bump 5.10 to 5.10.124 2022-06-27 00:57:15 +02:00
bcm53xx kernel: backport LEDs driver for BCMBCA devices 2022-07-17 18:44:41 +02:00
bcm63xx kernel: backport LEDs driver for BCMBCA devices 2022-07-17 18:44:41 +02:00
bcm4908 bcm4908: prepare for Asus GT-AX6000 support 2022-07-20 20:04:50 +02:00
bmips generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-24 17:10:24 +02:00
gemini generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-24 17:10:24 +02:00
generic kernel: switch back 5.15 to fw_devlink=permissive 2022-07-19 06:26:32 +02:00
imx imx: keep common kernel symbols in target's config 2022-07-11 14:28:09 +02:00
ipq40xx ipq40xx: add MikroTik wAP ac (RBwAPG-5HacD2HnD) support 2022-07-18 01:45:47 +02:00
ipq806x generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-24 17:10:24 +02:00
kirkwood generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-24 17:10:24 +02:00
lantiq lantiq: dts: td-w8980: Remove duplicate PCI properties 2022-06-27 00:57:16 +02:00
layerscape kernel: cut broken SPI_NOR 4K eraseblock LIMIT patch 2022-06-29 12:34:49 +02:00
malta generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-24 17:10:24 +02:00
mediatek mt7622: remove 300 MHz from dts 2022-07-19 14:26:30 +02:00
mpc85xx kernel: bump 5.10 to 5.10.122 2022-06-27 00:57:15 +02:00
mvebu mvebu: cortexa72: fix ImageBuilder for IEI Puzzle devices 2022-07-04 18:36:09 +01:00
mxs generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-24 17:10:24 +02:00
octeon octeon: add support for Ubiquiti UniFi Security Gateway 2022-06-24 23:59:14 +02:00
octeontx generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-24 17:10:24 +02:00
omap generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-24 17:10:24 +02:00
oxnas kernel: bump 5.10 to 5.10.121 2022-06-27 00:57:15 +02:00
pistachio kernel: backport mtd dynamic partition patch 2022-07-08 10:19:58 +02:00
qoriq qoriq: enable Book-E Watchdog Timer 2022-07-01 16:26:51 +03:00
ramips ramips: add support for ZyXEL NWA50AX / NWA55AXE 2022-07-20 21:52:06 +02:00
realtek realtek: correct egress frame port verification 2022-07-17 10:06:51 +02:00
rockchip rockchip: reliably distribute net interrupts 2022-07-07 13:13:26 +02:00
sunxi generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-24 17:10:24 +02:00
tegra generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-24 17:10:24 +02:00
uml generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-24 17:10:24 +02:00
x86 x86: 64: Add kmod-igc to default packages 2022-06-29 00:57:57 +02:00
zynq generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-24 17:10:24 +02:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00