openwrt/target/linux
David Bauer 2050bc4f64 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>
(cherry picked from commit a0b7fef0ff)
2022-10-14 23:14:50 +02:00
..
apm821xx kernel: bump 5.10 to 5.10.142 2022-09-17 15:58:25 +02:00
archs38 generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
armvirt generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
at91 kernel: bump 5.10 to 5.10.143 2022-09-17 15:58:25 +02:00
ath25 kernel: bump 5.10 to 5.10.137 2022-08-28 07:24:59 +02:00
ath79 ath79: fix model name of Extreme Networks WS-AP3805i 2022-10-08 01:34:56 +02:00
bcm27xx kernel: bump 5.10 to 5.10.143 2022-09-17 15:58:25 +02:00
bcm47xx generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
bcm53xx bcm53xx: backport clk driver fix for DT nodes names 2022-10-03 09:46:31 +02:00
bcm63xx kernel: bump 5.10 to 5.10.137 2022-08-28 07:24:59 +02:00
bcm4908 bcm4908: fix -EPROBE_DEFER support in bcm4908_enet 2022-09-21 09:24:47 +02:00
bmips bmips: dgnd3700v2: fix network config 2022-06-07 21:36:58 +02:00
gemini generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
generic kernel: mtdsplit: support UBI after FIT images 2022-10-10 14:32:28 +02:00
imx imx: fix USB support 2022-03-11 00:04:05 +01:00
ipq40xx kernel: bump 5.10 to 5.10.141 2022-09-17 15:58:25 +02:00
ipq806x kernel: bump 5.10 to 5.10.137 2022-08-28 07:24:59 +02:00
kirkwood generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
lantiq kernel: bump 5.10 to 5.10.137 2022-08-28 07:24:59 +02:00
layerscape kernel: bump 5.10 to 5.10.137 2022-08-28 07:24:59 +02:00
malta generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
mediatek mediatek: fix Unifi 6LR network config 2022-09-20 22:10:19 +03:00
mpc85xx kernel: bump 5.10 to 5.10.145 2022-10-04 00:03:27 +02:00
mvebu mvebu: backport pending Turris Omnia LEDs improvements 2022-08-16 15:39:16 +02:00
mxs generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
octeon kernel: bump 5.10 to 5.10.138 2022-08-28 07:24:59 +02:00
octeontx kernel: bump 5.10 to 5.10.138 2022-08-28 07:24:59 +02:00
omap generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
oxnas kernel: bump 5.10 to 5.10.121 2022-06-27 22:34:07 +02:00
pistachio kernel: backport mtd dynamic partition patch 2022-09-13 14:22:36 +02:00
qoriq qoriq: enable Book-E Watchdog Timer 2022-07-01 16:42:32 +03:00
ramips ramips: add support for ZyXEL NWA50AX / NWA55AXE 2022-10-14 23:14:50 +02:00
realtek kernel: bump 5.10 to 5.10.146 2022-10-04 00:03:27 +02:00
rockchip rockchip: add system-LED aliases specific to OpenWrt 2022-09-10 13:03:20 +02:00
sunxi kernel: bump 5.10 to 5.10.137 2022-08-28 07:24:59 +02:00
tegra kernel: bump 5.10 to 5.10.132 2022-07-30 17:21:47 +02:00
uml generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
x86 kernel: bump 5.10 to 5.10.136 2022-08-14 21:06:53 +02:00
zynq generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
Makefile build: fix issues with targets installed via feeds 2022-09-27 13:45:03 +02:00