openwrt/package/utils
David Bauer f0445746f6 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>
2023-07-21 20:28:13 +02:00
..
adb
bcm27xx-userland treewide: replace AUTORELEASE with real PKG_RELEASE 2023-05-18 11:35:29 +02:00
bcm4908img
bsdiff
busybox busybox: update to 1.36.1 2023-05-22 20:55:33 +02:00
bzip2
checkpolicy checkpolicy: update to 3.5 2023-05-18 10:14:13 +02:00
ct-bugcheck
dtc treewide: replace AUTORELEASE with real PKG_RELEASE 2023-05-18 11:35:29 +02:00
e2fsprogs e2fsprogs: do not symlink tune2fs to findfs 2023-07-08 16:51:17 +02:00
f2fs-tools f2fs-tools: update to 1.16.0 2023-05-19 12:07:14 +02:00
fbtest
firmware-utils firmware-utils: add missing build dependencies 2023-06-01 23:54:20 +02:00
fritz-tools fritz-tools: fix segfault in caldata-extract 2023-03-02 17:04:28 +01:00
jboot-tools
jsonfilter
lua lua: fix integer overflow in LNUM patch 2023-07-08 16:56:12 +02:00
lua5.3
mdadm mdadm: fix compilation with musl 1.2.4 2023-05-16 22:54:29 +02:00
mtd-utils treewide: add support for "gc-sections" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00
nvram
osafeloader
policycoreutils policycoreutils: update to 3.5 2023-05-18 10:14:13 +02:00
px5g-mbedtls treewide: replace PKG_USE_MIPS16:=0 with PKG_BUILD_FLAGS:=no-mips16 2023-03-21 18:28:22 +01:00
px5g-wolfssl px5g-wolfssl: replace COMMITCOUNT with real PKG_RELEASE 2023-05-18 11:35:29 +02:00
ravpower-mcu
secilc secilc: update to 3.5 2023-05-18 10:14:13 +02:00
spidev_test
ucode ucode: update to the latest version 2023-06-29 12:54:34 +02:00
ucode-mod-bpf ucode-mod-bpf: add new package for a ucode libbpf binding 2023-01-09 11:35:20 +01:00
uencrypt uencrypt: split common and library-specific code 2023-03-17 17:22:54 -03:00
ugps treewide: replace AUTORELEASE with real PKG_RELEASE 2023-05-18 11:35:29 +02:00
usbmode
util-linux util-linux: enable colrm util as package 2023-07-11 21:08:16 +03:00
yafut yafut: add a kernel update tool for MikroTik NAND 2023-04-18 13:53:04 +02:00
zyxel-bootconfig mediatek: add support for ZyXEL NWA50AX Pro 2023-07-21 20:28:13 +02:00