mirror of
https://github.com/LiBwrt-op/openwrt-6.x.git
synced 2025-12-16 16:57:28 +00:00
The Zyxel NWA210AX is a wall- and ceiling-mountable access point (AP). Hardware specifications: - SoC: Qualcomm IPQ8071A - RAM: 1 GB (Samsung K4A8G165WC-BCTD) - Flash: 8 MB (Winbond W25Q64DW), 256 MB (Winbond W29N02GZ) - Ethernet: 1x 2.5 Gbps RJ45 port (QCA8081), 1x 1 Gbps RJ45 port (AR8033) - WiFi: 2.4 GHz 802.11ax/b/g/n (QCN5024), 5 GHz 802.11 ac/ax/n (QCN5054) - Power: DC 12V/PoE 802.3at - Button: Reset - LEDs: Multicolour red/green/blue/white via LP5562 Installation/flashing instructions: 1. In OEM web interface navigate to gear icon → System → SSH and enable SSH. 2. Log in via SSH (username/password are the same as for the web interface). 3. Run "debug dual-image show". 4. Verify that output is "Current Image num: 1". 5. If this is not the case (i.e. if the output is "Current Image num: 0"): a. Either flash a fresh version of factory firmware, or b. run "debug dual-image set boot-image image1" and then run "reboot". 6. Log in via SSH again and verify that output is "Current Image num: 1". 7. Rename "openwrt-qualcommax-ipq807x-zyxel_nwa210ax-squashfs-factory.bin" to "openwrt.bin" to avoid upload errors in the OEM web interface. 8. Reopen OEM web interface, navigate to wrench icon → File Manager → Firmware Package and upload the bin file. Once the upgrade process is finished and OpenWrt has booted, the LED will light up green. Switching between OpenWrt and OEM firmware: - OpenWrt → Zyxel via ssh command "zyxel-bootconfig-ipq807x set image1". - Zyxel → OpenWrt via ssh command "debug dual-image set boot-image image0". This commit is based on the work of Pascal Beleiu <pascal@beleiu.de>: 93ca21f3 (qualcommax: ipq807x: add support for Zyxel NWA210AX, 2025-03-17) Signed-off-by: Eric Schäfer <eric@es86.de> Link: https://github.com/openwrt/openwrt/pull/19828 Signed-off-by: Robert Marko <robimarko@gmail.com>
67 lines
1.4 KiB
Plaintext
67 lines
1.4 KiB
Plaintext
[ -e /etc/config/ubootenv ] && exit 0
|
|
|
|
touch /etc/config/ubootenv
|
|
|
|
. /lib/uboot-envtools.sh
|
|
. /lib/functions.sh
|
|
|
|
board=$(board_name)
|
|
|
|
case "$board" in
|
|
aliyun,ap8220|\
|
|
compex,wpq873|\
|
|
edgecore,eap102|\
|
|
zyxel,nbg7815|\
|
|
zyxel,nwa210ax)
|
|
ubootenv_add_mtd "0:appsblenv" "0x0" "0x10000" "0x10000"
|
|
;;
|
|
dynalink,dl-wrx36|\
|
|
netgear,rax120v2|\
|
|
netgear,sxr80|\
|
|
netgear,sxs80|\
|
|
netgear,wax218|\
|
|
netgear,wax620|\
|
|
netgear,wax630|\
|
|
tplink,deco-x80-5g|\
|
|
tplink,eap620hd-v1|\
|
|
tplink,eap660hd-v1)
|
|
ubootenv_add_mtd "0:appsblenv" "0x0" "0x40000" "0x20000"
|
|
;;
|
|
edimax,cax1800)
|
|
ubootenv_add_mtd "0:appsblenv" "0x0" "0x10000" "0x20000"
|
|
;;
|
|
linksys,homewrk)
|
|
ubootenv_add_mtd "0:appsblenv" "0x0" "0x40000" "0x40000"
|
|
;;
|
|
linksys,mx4200v1|\
|
|
linksys,mx4200v2|\
|
|
linksys,mx5300|\
|
|
linksys,mx8500)
|
|
ubootenv_add_mtd "u_env" "0x0" "0x40000" "0x20000"
|
|
;;
|
|
linksys,mx4300)
|
|
ubootenv_add_mtd "u_env" "0x0" "0x40000" "0x40000"
|
|
;;
|
|
redmi,ax6|\
|
|
xiaomi,ax3600|\
|
|
xiaomi,ax9000)
|
|
ubootenv_add_mtd "0:appsblenv" "0x0" "0x10000" "0x20000"
|
|
ubootenv_add_sys_mtd "bdata" "0x0" "0x10000" "0x20000"
|
|
;;
|
|
prpl,haze)
|
|
ubootenv_add_mmc "0:APPSBLENV" "" "0x0" "0x40000" "0x400" "0x100"
|
|
;;
|
|
asus,rt-ax89x|\
|
|
qnap,301w)
|
|
ubootenv_add_mtd "0:appsblenv" "0x0" "0x20000" "0x20000"
|
|
;;
|
|
spectrum,sax1v1k)
|
|
ubootenv_add_mmc "0:APPSBLENV" "" "0x0" "0x40000" "0x40000" "1"
|
|
;;
|
|
esac
|
|
|
|
config_load ubootenv
|
|
config_foreach ubootenv_add_app_config
|
|
|
|
exit 0
|