immortalwrt/target/linux
David Bauer 476bf135fc mediatek: add support for ZyXEL NWA50AX Pro
Hardware
--------
CPU:    Mediatek MT7981
RAM:    512M DDR4
FLASH:  256M NAND
ETH:    MaxLinear GPY211 (2.5GbE N Base-T)
WiFi:   Mediatek MT7981 (2.4GHz 2T2R:2 5GHz 3T3R:2 802.11ax)
BTN:    1x Reset
LED:    1x Multi-Color

UART Console
------------
Available below the rubber cover next to the ethernet port.

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.

In case this is not the case, OpenWrt will boot only one time, returning
to the ZyXEL firmware the second boot.

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

Installation TFTP / Recovery
----------------------------
This installation routine is especially useful in case of a 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 nwa50axpro-openwrt-initramfs.bin.

 $ atnf nwa50axpro-openwrt-initramfs.bin
 $ atna 192.168.1.88
 $ atns "192.168.1.66; tftpboot; setenv fdt_high 0xffffffffffffffff;
   bootm"

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

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

Copy the OpenWrt sysupgrade image to the device using scp.
Write the sysupgrade image to NAND using sysupgrade.

 $ sysupgrade -n image.bin

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit f0445746f6)
2023-07-23 16:10:08 +02:00
..
airoha airoha: spi-en7523: Fix compile warning 2023-05-31 23:10:11 +02:00
apm821xx apm821xx: switch over from DTB_SIZE to DEVICE_DTC_FLAGS 2023-06-10 19:06:15 +02:00
archs38 treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
armsr armsr: v8: fix NVMEM_IMX_OCOTP_ELE build error 2023-07-15 22:17:42 +02:00
at91 treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
ath25 kernel: bump 5.15 to 5.15.118 2023-06-25 16:05:18 +02:00
ath79 ath79: DTS improvement for buzzer on RB951G-2HnD 2023-07-12 20:46:53 +02:00
bcm27xx kernel: bump 5.15 to 5.15.119 2023-07-02 10:59:25 +02:00
bcm47xx bcm47xx: fix bgmac MTU patch filename 2023-07-10 12:54:53 +02:00
bcm53xx bcm53xx: backport DT changes queued for v6.6 2023-07-14 13:53:31 +02:00
bcm63xx kernel: bump 5.15 to 5.15.119 2023-07-02 10:59:25 +02:00
bcm4908 kernel: bump 5.15 to 5.15.111 2023-05-13 22:38:35 +02:00
bmips kernel: bump 5.15 to 5.15.118 2023-06-25 16:05:18 +02:00
gemini treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
generic kernel: bgmac: fix regressed support for BCM53573 SoCs 2023-07-10 12:54:53 +02:00
imx kernel: backport NVMEM patches queued for the v6.5 2023-07-10 12:54:53 +02:00
ipq40xx ipq-wifi: fix upstream board-2.bin ZTE M289F snafu 2023-07-04 22:11:08 +02:00
ipq806x ipq806x: set PERFORMANCE as the default cpufreq governor 2023-06-16 11:42:40 +02:00
ipq807x ipq807x: image: fix eMMC flashing/recovery from within initramfs 2023-06-12 22:10:30 +02:00
kirkwood kirkwood: add support for Iomega Storcenter ix4-200d 2023-05-20 15:35:37 +02:00
lantiq kernel: bump 5.15 to 5.15.118 2023-06-25 16:05:18 +02:00
layerscape kernel: backport NVMEM patches queued for the v6.5 2023-07-10 12:54:53 +02:00
malta treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
mediatek mediatek: add support for ZyXEL NWA50AX Pro 2023-07-23 16:10:08 +02:00
mpc85xx mpc85xx: add support for Aerohive BR200-WP 2023-05-14 00:08:35 +02:00
mvebu kernel: bump 5.15 to 5.15.118 2023-06-25 16:05:18 +02:00
mxs mxs: rework image generation 2023-07-06 17:04:13 +02:00
octeon octeon: ubnt-edgerouter-4/6p: devicetree cleanup 2023-07-15 22:24:50 +02:00
octeontx kernel: enable (ARM|ARM64)_MODULE_PLTS in generic config 2023-05-24 19:26:41 +01:00
omap treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
oxnas oxnas: Enable CONFIG_CRYPTO_LZ4 2023-06-08 17:28:11 +02:00
pistachio treewide: cleanup kernel symbol references 2023-05-12 13:02:44 +02:00
qoriq kernel: fix handling of CONFIG_DYNAMIC_DEBUG 2023-05-03 10:26:17 -07:00
ramips image: add additional fields to Netgear encrypted image 2023-07-13 12:05:28 +01:00
realtek kernel: bump 5.15 to 5.15.118 2023-06-25 16:05:18 +02:00
rockchip rockchip: fix setup network config for nanopi r2c 2023-06-17 12:21:13 +02:00
sifiveu kernel: bump 5.15 to 5.15.117 2023-06-17 12:09:03 +02:00
sunxi kernel: Set CONFIG_FRAME_WARN depending on target 2023-06-02 21:18:41 +02:00
tegra treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
uml uml: fix build error due to frame size > 1024 2023-05-24 19:25:39 +01:00
x86 x86: set CONFIG_X86_AMD_PLATFORM_DEVICE 2023-07-08 15:43:59 +02:00
zynq generic: enable CONFIG_ARM_CRYPTO for 32bit arm targets 2023-05-10 19:01:45 +02:00
Makefile