openwrt/package/utils
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
..
adb adb: fix for SuperSpeed devices 2019-12-23 00:22:07 +01:00
bcm27xx-userland bcm27xx-userland: update to latest version 2022-05-17 15:11:22 +02:00
bcm4908img bcm4908img: detect Linksys images 2021-10-02 20:26:42 +02:00
bsdiff bsdiff: Also pass down TARGET_CPPFLAGS 2017-03-01 17:19:50 -08:00
busybox busybox: Fix snprintf arguments in lock 2022-03-31 18:46:53 +02:00
bzip2 bzip2: add linker option LDFLAGS 2019-10-19 12:49:11 +02:00
checkpolicy checkpolicy: update to version 3.3 2021-10-28 22:15:02 +01:00
ct-bugcheck ct-bugcheck: report to https://openwrt.org by default 2019-08-18 15:23:25 +00:00
dtc dtc: support printing binary data with fdtget 2021-12-13 08:51:09 +01:00
e2fsprogs e2fsprogs: Update to version 1.46.5 2022-02-01 21:25:02 +01:00
f2fs-tools f2fs-tools: import patch to fix compilation 2022-07-04 20:24:06 +02:00
fbtest packages/utils: fbtest fix Makefile 2020-05-28 11:22:22 +02:00
fritz-tools fritz-tools: fix returning wrong values due to strncmp usage 2021-08-08 19:50:46 +02:00
jboot-tools firmware: add JBOOT based devices config extractor 2018-03-18 22:22:38 +01:00
jsonfilter jsonfilter: update makefile url 2022-02-26 13:36:30 +01:00
lua lua: add HOST_FPIC for host builds 2022-01-03 10:34:31 +01:00
lua5.3 lua: add HOST_FPIC for host builds 2022-01-03 10:34:31 +01:00
mdadm mdadm: update to 4.2 2022-05-01 00:42:30 +02:00
mtd-utils mtd-utils: update to 2.1.4 2022-01-16 20:51:14 +01:00
nvram packages: nvram: add NVRAM quirks for bcm53xx target 2022-05-04 21:51:20 +02:00
osafeloader packages: mark packages depending on a target as nonshared 2017-01-24 09:45:05 +01:00
oseama utils/oseama: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
otrx otrx: update to the latest master 2021-12-13 13:48:08 +01:00
policycoreutils policycoreutils: update to version 3.3 2021-10-28 22:15:02 +01:00
px5g-mbedtls px5g: rename to px5g-mbedtls 2020-08-31 10:19:31 +01:00
px5g-wolfssl utils/px5g-wolfssl: make selfsigned certicates compatible with chromium 2021-12-29 22:55:16 +01:00
ravpower-mcu ravpower-mcu: bump PKG_RELEASE 2020-07-15 09:56:23 +02:00
secilc secilc: update to version 3.3 2021-10-31 13:02:49 +00:00
spidev_test sdk: add spidev-test to the bundle of userspace sources 2022-07-17 14:19:21 +02:00
ucode ucode: update to latest Git HEAD 2022-06-01 13:45:53 +02:00
uencrypt uencrypt: add package to decrypt WG4хх223 config 2022-07-19 14:53:29 +02:00
ugps ugps: start also in case device is absent 2021-06-15 11:48:20 +01:00
usbmode usbmode: update to version 2022-02-24 2022-02-26 13:36:30 +01:00
util-linux util-linux: use meson to build 2022-05-15 16:32:40 +02:00
zyxel-bootconfig ramips: add support for ZyXEL NWA50AX / NWA55AXE 2022-07-20 21:52:06 +02:00