Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision Next revisionBoth sides next revision | ||
| inbox:toh:zyxel:nwa50ax [2022/07/16 15:18] – Created from the form at meta:create_new_device_page foxt | inbox:toh:zyxel:nwa50ax [2024/02/14 14:37] – [Opening the case] added info on PCB attachment to housing. valentijn | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== ZyXEL NWA50AX ====== | ====== ZyXEL NWA50AX ====== | ||
| - | ~~NOTOC~~ | ||
| /* This template is intended to be used via https:// | /* This template is intended to be used via https:// | ||
| Line 6: | Line 5: | ||
| {{page> | {{page> | ||
| - | //Write a short, relevant description of the device. Include | + | The ZyXEL NWA50AX is ZyXEL' |
| - | /*****/ | + | {{:media: |
| - | /* How to add images ========> | + | |
| - | /*****/ | + | |
| - | {{ media: | ||
| + | ===== Supported Versions ===== | ||
| - | ===== OpenWrt support ===== | + | <!-- ToH: { |
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } --> | ||
| - | <color red>**Not supported.**</color> | + | /* If no unsupported functions known, comment out the following datatable or delete it. */ |
| + | <!-- ToH: { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } --> | ||
| - | /*** if info available: uncomment and fill in | + | ===== Hardware Highlights |
| - | ===== Supporting activities | + | <!-- ToH: { |
| - | //Describe if there are any ongoing activities that might lead to OpenWrt support.// | + | " |
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } --> | ||
| - | * OpenWrt forum thread: (add link) | ||
| - | ***/ | ||
| - | /*** if info available: uncomment and fill in | + | ===== Installation |
| - | ===== Experimental firmware | + | - → [[: |
| + | - → [[docs: | ||
| + | - → [[: | ||
| - | //List experimental firmware download links here.// | + | ==== Installing OpenWrt ==== |
| - | //None at this time.// | + | This device has a A/B partition layout, and OpenWrt will panic on boot if it has been installed to slot B. |
| - | * External image (add link) | + | === From factory WebUI === |
| - | * trunk image (add link) | + | |
| - | * ... | + | |
| - | ***/ | + | |
| + | Upload the OpenWrt factory image to the factory' | ||
| - | ===== Hardware highlights | + | However, if your NWA50AX has had a firmware update since unpacking, then OpenWrt is installed to slot B and will fail installation. The NWA50AX will then reboot to the stock ZyXEL firmware. In this case, simply install another stock firmware image [[https:// |
| - | ^ CPU ^ Ram ^ Flash ^ Network | + | |
| - | | EXAMPLE RT3052 @ 384 MHz | + | |
| + | === From Serial === | ||
| - | /*** if info available: uncomment and fill in | + | The modified ZyXEL U-Boot has a restricted set of commands |
| - | ===== Installation ===== | + | |
| - | - → [[: | + | |
| - | - → [[docs: | + | |
| - | - → [[: | + | |
| - | ==== Installing OpenWrt | + | Requirements |
| - | ***/ | + | - Local area network with 192.168.1.0/ |
| + | - A TFTP server hosting the [[https:// | ||
| + | - [[https:// | ||
| + | |||
| + | Go through the following steps | ||
| + | - Connect the serial cable to the console port | ||
| + | - Connect the router to your LAN using ethernet cable | ||
| + | - Start the terminal emulator and connect to the serial port | ||
| + | - Connect the power cable which starts the router and you see the following\\ < | ||
| + | U-Boot SPL 2018.09 (Jan 22 2021 - 07:42:43 +0000) | ||
| + | Trying to boot from NAND | ||
| + | |||
| + | Initializing NMBM ... | ||
| + | Signature found at block 1023 [0x07fe0000] | ||
| + | First info table with writecount 0 found in block 960 | ||
| + | Second info table with writecount 0 found in block 963 | ||
| + | NMBM has been successfully attached | ||
| + | </ | ||
| + | - Interrupt the boot sequence with the keyboard to enter the UART console\\ < | ||
| + | gpio: pin 24 (gpio 24) value is 1 | ||
| + | Hit any key to stop autoboot: | ||
| + | => | ||
| + | </ | ||
| + | - Check the active slot:\\ < | ||
| + | - Read the output to find the active slot\\ < | ||
| + | Image0 status | ||
| + | Image1 status | ||
| + | Boot Image : | ||
| + | </ | ||
| + | - Boot the OpenWRT initramfs image using the commands:\\ < | ||
| + | atnf openwrt-initramfs.bin | ||
| + | atna 192.168.1.10 | ||
| + | atns " | ||
| + | </ | ||
| + | - Wait until the text below appears and then press Enter\\ < | ||
| + | Press the [f] key and hit [enter] to enter failsafe mode | ||
| + | Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level | ||
| + | Please press Enter to activate this console. | ||
| + | </ | ||
| + | - You have successfully booted OpenWrt\\ < | ||
| + | BusyBox v1.35.0 (2023-01-03 00:24:21 UTC) built-in shell (ash) | ||
| + | |||
| + | _______ | ||
| + | | ||
| + | | ||
| + | | ||
| + | |__| W I R E L E S S F R E E D O M | ||
| + | | ||
| + | | ||
| + | | ||
| + | === WARNING! ===================================== | ||
| + | There is no root password defined on this device! | ||
| + | Use the " | ||
| + | in order to prevent unauthorized SSH logins. | ||
| + | -------------------------------------------------- | ||
| + | root@OpenWrt: | ||
| + | </ | ||
| + | - Once OpenWrt has booted, you'll have to configure the network to get Internet access | ||
| + | - Edit the file / | ||
| + | vim / | ||
| + | </ | ||
| + | - Configure router' | ||
| + | (...) | ||
| + | |||
| + | config interface ' | ||
| + | option device ' | ||
| + | option proto ' | ||
| + | option ipaddr ' | ||
| + | option netmask ' | ||
| + | option ip6assign ' | ||
| + | option gateway ' | ||
| + | list dns ' | ||
| + | |||
| + | </ | ||
| + | - Apply the changes with\\ < | ||
| + | - Verify the Internet connection\\ < | ||
| + | - If slot B is active, you'll have to install zyxel-bootconfig package\\ < | ||
| + | opkg update | ||
| + | opkg install zyxel-bootconfig | ||
| + | </ | ||
| + | - ...and make slot A active (you don't have to do this is slot A is already active)\\ < | ||
| + | zyxel-bootconfig /dev/mtd10 get-status | ||
| + | zyxel-bootconfig /dev/mtd10 set-image-status 0 valid | ||
| + | zyxel-bootconfig /dev/mtd10 set-active-image 0 | ||
| + | </ | ||
| + | - Download | ||
| + | cd /tmp | ||
| + | wget --no-check-certificate -O ramboot-factory.bin https:// | ||
| + | </ | ||
| + | - Install the image to the NAND\\ < | ||
| + | mtd write ramboot-factory.bin firmware | ||
| + | reboot | ||
| + | </ | ||
| + | - Congratulations! Your device is now running OpenWrt. | ||
| Line 90: | Line 193: | ||
| ***/ | ***/ | ||
| - | |||
| - | /*** if info available: uncomment and fill in | ||
| ==== Buttons ==== | ==== Buttons ==== | ||
| -> [[docs: | -> [[docs: | ||
| Line 97: | Line 198: | ||
| <WRAP BOX 600px> | <WRAP BOX 600px> | ||
| - | FIXME Please fill in real values for this device, then remove the EXAMPLEs and the WRAP that encloses this text. | + | The ZyXEL NWA50AX has the following |
| - | + | ||
| - | The ZyXEL NWA50AX has the following | + | |
| ^ BUTTON | ^ BUTTON | ||
| - | | EXAMPLE | + | | Reset | reset | |
| - | | EXAMPLE Secure Easy Setup | | + | |
| - | | EXAMPLE No buttons at all. | + | |
| </ | </ | ||
| - | ***/ | ||
| ===== Hardware ===== | ===== Hardware ===== | ||
| ==== Info ==== | ==== Info ==== | ||
| - | ^ Architecture | + | ^ Architecture |
| - | ^ Vendor | + | ^ Vendor |
| - | ^ Bootloader | + | ^ Bootloader |
| - | ^ System-On-Chip | + | ^ System-On-Chip |
| - | ^ CPU/ | + | ^ CPU/ |
| - | ^ Flash-Chip | + | ^ Flash-Chip |
| - | ^ Flash size | + | ^ Flash size |
| - | ^ RAM | EXAMPLE 64 MiB | | + | ^ RAM | 128MB Nanya NT5CC128M16JR-EK DDR3 933| |
| - | ^ Wireless | + | ^ Wireless |
| - | ^ Ethernet | + | ^ Ethernet |
| - | ^ Switch | + | ^ Serial |
| - | ^ USB | EXAMPLE | + | |
| - | ^ Serial | + | |
| - | ^ JTAG | EXAMPLE [[#JTAG|Not populated]] | + | |
| Line 149: | Line 242: | ||
| **Insert photo of backside label** | **Insert photo of backside label** | ||
| - | **Insert photo of PCB** | + | Photo of the PCB: |
| + | |||
| + | {{: | ||
| ==== Opening the case ==== | ==== Opening the case ==== | ||
| - | <WRAP BOX> | + | On the bottom side of the device, |
| - | FIXME //Describe what needs to be done to open the device, | + | |
| - | </ | + | The PCB is held down with 4 little plastic clamps on the corners, and is also attached to a heat sink with double sticking tape. Taking the PCB out should be easy. |
| ==== Serial ==== | ==== Serial ==== | ||
| Line 161: | Line 256: | ||
| How to connect to the Serial Port of this specific device:\\ | How to connect to the Serial Port of this specific device:\\ | ||
| - | **Insert photo of PCB with markings for serial port** | + | Turn the device over, so you are looking at the ports, |
| - | <WRAP BOX> | + | <12v> <LAN> GND, RX, TX, VCC (do not connect VCC!). See picture: {{: |
| - | FIXME //Replace EXAMPLE by real values.// | + | |
| - | </WRAP> | + | |
| - | ^ Serial connection parameters\\ for ZyXEL NWA50AX @@Version@@ | EXAMPLE 115200, 8N1, 3.3V | | + | Note RX needs to be connected to TX on the connecting device and TX to RX. |
| - | ==== JTAG ==== | + | ^ Serial connection parameters\\ for ZyXEL NWA50AX | 115200, 8N1, 3.3V | |
| - | -> [[docs: | + | |
| - | + | ||
| - | How to connect to the JTAG Port of this specific device:\\ | + | |
| - | **Insert photo of PCB with markings for JTAG port** | + | |
| ===== Bootlogs ===== | ===== Bootlogs ===== | ||
| ==== OEM bootlog ==== | ==== OEM bootlog ==== | ||
| <WRAP bootlog> | <WRAP bootlog> | ||
| - | < | + | < |
| + | Trying to boot from NAND | ||
| + | |||
| + | Initializing NMBM ... | ||
| + | Signature found at block 1023 [0x07fe0000] | ||
| + | First info table with writecount 0 found in block 960 | ||
| + | Second info table with writecount 0 found in block 963 | ||
| + | NMBM has been successfully attached | ||
| + | |||
| + | |||
| + | U-Boot 2018.09 (Jan 22 2021 - 07:42:43 +0000) | ||
| + | |||
| + | CPU: | ||
| + | Clocks: CPU: 880MHz, DDR: 600MHz (1200MT/s), Bus: 220MHz, XTAL: 40MHz | ||
| + | Model: MediaTek MT7621 reference board (NAND) | ||
| + | DRAM: 256 MiB | ||
| + | NAND: 128 MiB | ||
| + | |||
| + | Initializing NMBM ... | ||
| + | Signature found at block 1023 [0x07fe0000] | ||
| + | First info table with writecount 0 found in block 960 | ||
| + | Second info table with writecount 0 found in block 963 | ||
| + | NMBM has been successfully attached | ||
| + | |||
| + | Loading Environment from NMBM... *** Warning - bad CRC, using default environment | ||
| + | |||
| + | In: uartlite0@1e000c00 | ||
| + | Out: | ||
| + | Err: | ||
| + | Net: | ||
| + | Warning: eth@1e100000 (eth0) using random MAC address - fa: | ||
| + | eth0: eth@1e100000 | ||
| + | Reading from 0x7700000, size 0x20000 | ||
| + | Succeeded | ||
| + | Zyxel version: | ||
| + | gpio: pin 6 (gpio 6) value is 1 | ||
| + | gpio: pin 24 (gpio 24) value is 0 | ||
| + | gpio: pin 24 (gpio 24) value is 1 | ||
| + | Hit any key to stop autoboot: | ||
| + | => help | ||
| + | Unknown command ' | ||
| + | => help | ||
| + | Unknown command ' | ||
| + | => ? | ||
| + | ? - alias for ' | ||
| + | at - print OK | ||
| + | atds - show dual image info | ||
| + | atgo - boot | ||
| + | athe - show available commands | ||
| + | atna - set board IP for tftp | ||
| + | atnf - set filename for tftp | ||
| + | atns - set server IP for tftp | ||
| + | atnz - do firmware update via tftp | ||
| + | atsh - dump Manufacturer Related Data (MRD) | ||
| + | atsr - reboot | ||
| + | => atsh | ||
| + | Vendor name : Zyxel Communications Corp. | ||
| + | Product model : NWA50AX | ||
| + | System type : 10 | ||
| + | MAC address | ||
| + | Default country code : ed | ||
| + | Boot module debug flag: 0 | ||
| + | Hardware version | ||
| + | Serial number | ||
| + | SNMP MIB level & OID : xxx | ||
| + | Main feature bit : 0 | ||
| + | Other feature bits : e1 6b 00 00 00 00 00 00 00 00 88 00 00 00 00 00 | ||
| + | 03 00 00 00 00 00 00 00 00 00 00 00 00 00 | ||
| + | MRD recovery flag : 0 | ||
| + | => atds | ||
| + | Image0 status | ||
| + | Image1 status | ||
| + | Boot Image :Image0 | ||
| + | => athe | ||
| + | ? - alias for ' | ||
| + | at - print OK | ||
| + | atds - show dual image info | ||
| + | atgo - boot | ||
| + | athe - show available commands | ||
| + | atna - set board IP for tftp | ||
| + | atnf - set filename for tftp | ||
| + | atns - set server IP for tftp | ||
| + | atnz - do firmware update via tftp | ||
| + | atsh - dump Manufacturer Related Data (MRD) | ||
| + | atsr - reboot | ||
| + | => atna 192.168.1.3 | ||
| + | => atnf 625ABYW10C0.bin | ||
| + | => atns 192.168.3.1 | ||
| + | => atnz | ||
| + | Using eth@1e100000 device | ||
| + | TFTP from server 192.168.3.1; | ||
| + | Filename ' | ||
| + | Load address: 0x83000000 | ||
| + | Loading: ## Warning: gatewayip needed but not set | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ######## | ||
| + | 8.5 MiB/s | ||
| + | done | ||
| + | Bytes transferred = 28734029 (1b6724d hex) | ||
| + | ## Executing script at 83000000 | ||
| + | sha256+ | ||
| + | Flashing Bootloader: | ||
| + | Flashing u-boot-env: | ||
| + | Flashing firmware: | ||
| + | Flashing firmware_1: | ||
| + | Flashing rootfs_data: | ||
| + | Flashing logs: [ skipped! | ||
| + | Flashing myzyxel: | ||
| + | Flashing bootconfig: | ||
| + | Flashing mrd: | ||
| + | => atgo | ||
| + | Loading FIT image at offset 0x180000 to memory 0x83000000, size 0x388d90 ... | ||
| + | Automatic boot of image at addr 0x83000000 ... | ||
| + | ## Loading kernel from FIT Image at 83000000 ... | ||
| + | Using ' | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | Data Start: | ||
| + | Data Size: 3692204 Bytes = 3.5 MiB | ||
| + | | ||
| + | | ||
| + | Load Address: 0x81001000 | ||
| + | Entry Point: | ||
| + | Hash algo: crc32 | ||
| + | Hash value: | ||
| + | Hash algo: sha1 | ||
| + | Hash value: | ||
| + | | ||
| + | ## Loading fdt from FIT Image at 83000000 ... | ||
| + | Using ' | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | Data Start: | ||
| + | Data Size: 12690 Bytes = 12.4 KiB | ||
| + | | ||
| + | Hash algo: crc32 | ||
| + | Hash value: | ||
| + | Hash algo: sha1 | ||
| + | Hash value: | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | [ 0.000000] Linux version 4.4.198 (jenkins@TWPCNT01055-95) (gcc version 5.4.0 (LEDE GCC 5.4.0 r48+2-a5857a0e) ) #0 SMP Thu Jun 16 17:53:32 UTC 2022 | ||
| + | [ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3 | ||
| + | [ 0.000000] bootconsole [early0] enabled | ||
| + | [ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc) | ||
| + | [ 0.000000] MIPS: machine is MediaTek MT7621 RFB (802.11ax, NAND with NMBM) | ||
| + | [ 0.000000] Determined physical RAM map: | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] CPU Clock: 1000MHz | ||
| + | |||
| + | Got LINK_CHANGE | ||
| + | Port [0] Copper is up --> Group [0] is up | ||
| + | Start EnterpriseWLAN system daemon.... | ||
| + | ........................ | ||
| + | Got LINK_CHANGE | ||
| + | Port [0] Copper is down --> Group [0] is down | ||
| + | .......................................Applying system configuration file, please wait... | ||
| + | ................................................. | ||
| + | Got LINK_CHANGE | ||
| + | Port [0] Copper is up --> Group [0] is up | ||
| + | ifanme=br0 | ||
| + | ifanme=br0 | ||
| + | ................................EnterpriseWLAN system is configured successfully with startup-config.conf | ||
| + | netopeer-server start | ||
| + | |||
| + | Welcome to NWA50AX | ||
| + | |||
| + | Username: admin | ||
| + | Password: | ||
| + | Router> reboot | ||
| + | % EnterpriseWLAN is going to reboot!</ | ||
| </ | </ | ||
| ==== OpenWrt bootlog ==== | ==== OpenWrt bootlog ==== | ||
| <WRAP bootlog> | <WRAP bootlog> | ||
| - | < | + | < |
| + | Trying to boot from NAND | ||
| + | |||
| + | Initializing NMBM ... | ||
| + | Signature found at block 1023 [0x07fe0000] | ||
| + | First info table with writecount 0 found in block 960 | ||
| + | Second info table with writecount 0 found in block 963 | ||
| + | NMBM has been successfully attached | ||
| + | |||
| + | |||
| + | U-Boot 2018.09 (Jan 22 2021 - 07:42:43 +0000) | ||
| + | |||
| + | CPU: | ||
| + | Clocks: CPU: 880MHz, DDR: 600MHz (1200MT/s), Bus: 220MHz, XTAL: 40MHz | ||
| + | Model: MediaTek MT7621 reference board (NAND) | ||
| + | DRAM: 256 MiB | ||
| + | NAND: 128 MiB | ||
| + | |||
| + | Initializing NMBM ... | ||
| + | Signature found at block 1023 [0x07fe0000] | ||
| + | First info table with writecount 0 found in block 960 | ||
| + | Second info table with writecount 0 found in block 963 | ||
| + | NMBM has been successfully attached | ||
| + | |||
| + | Loading Environment from NMBM... *** Warning - bad CRC, using default environment | ||
| + | |||
| + | In: uartlite0@1e000c00 | ||
| + | Out: | ||
| + | Err: | ||
| + | Net: | ||
| + | Warning: eth@1e100000 (eth0) using random MAC address - fa: | ||
| + | eth0: eth@1e100000 | ||
| + | Reading from 0x7700000, size 0x20000 | ||
| + | Succeeded | ||
| + | Zyxel version: | ||
| + | gpio: pin 6 (gpio 6) value is 1 | ||
| + | gpio: pin 24 (gpio 24) value is 0 | ||
| + | gpio: pin 24 (gpio 24) value is 1 | ||
| + | Hit any key to stop autoboot: | ||
| + | Loading FIT image at offset 0x180000 to memory 0x83000000, size 0x29c6b0 ... | ||
| + | Automatic boot of image at addr 0x83000000 ... | ||
| + | ## Loading kernel from FIT Image at 83000000 ... | ||
| + | Using ' | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | Data Start: | ||
| + | Data Size: 2724936 Bytes = 2.6 MiB | ||
| + | | ||
| + | | ||
| + | Load Address: 0x80001000 | ||
| + | Entry Point: | ||
| + | Hash algo: crc32 | ||
| + | Hash value: | ||
| + | Hash algo: sha1 | ||
| + | Hash value: | ||
| + | | ||
| + | ## Loading fdt from FIT Image at 83000000 ... | ||
| + | Using ' | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | Data Start: | ||
| + | Data Size: 11010 Bytes = 10.8 KiB | ||
| + | | ||
| + | Hash algo: crc32 | ||
| + | Hash value: | ||
| + | Hash algo: sha1 | ||
| + | Hash value: | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | [ 0.000000] Linux version 5.10.127 (taylorfox@ubuntu-2204) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 11.3.0 r20115-e37ba80633) 11.3.0, GNU ld (GNU Binutils) 2.37) #0 SMP Fri Jul 15 23:27:22 2022 | ||
| + | [ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3 | ||
| + | [ 0.000000] printk: bootconsole [early0] enabled | ||
| + | [ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc) | ||
| + | [ 0.000000] MIPS: machine is ZyXEL NWA50AX | ||
| + | Press the [f] key and hit [enter] to enter failsafe mode | ||
| + | Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level | ||
| + | Please press Enter to activate this console.</ | ||
| </ | </ | ||
| ===== Notes ===== | ===== Notes ===== | ||
| + | |||
| ===== Tags ===== | ===== Tags ===== | ||
| - | [[meta: | + | {{tag>ramips mt7621 mt7915 4core 128nand 256ram 1port GigabitEthernet wlan 802.11bgn 802.11ax InternalAntenna 2Ant Serial ceiling 12v_powered PoE }} |
| - | {{tag>EXAMPLETAG unsupported}} | + | |