Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| toh:zyxel:nwa55axe [2022/10/22 09:16] – [OEM easy installation] noki | toh:zyxel:nwa55axe [2024/06/05 09:03] – [OEM bootlog] nokius | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| </ | </ | ||
| - | /*****/ | + | {{:media:zyxel:zyxel-nwa55axe-front.jpg?nolink& |
| - | /* How to add images ========> | + | |
| - | /*****/ | + | |
| - | + | ||
| - | {{media:example:genericrouter1.png?200|Generic Router}} | + | |
| <WRAP BOX> | <WRAP BOX> | ||
| Line 45: | Line 41: | ||
| </ | </ | ||
| - | ---- datatable ---- | + | <!-- ToH: { |
| - | cols | + | " |
| - | headers | + | " |
| - | align : c,c,c,c,c,c,c | + | " |
| - | filter | + | " |
| - | filter | + | " |
| - | filter | + | |
| - | ---- | + | } --> |
| /* If no unsupported functions known, comment out the following datatable or delete it. */ | /* If no unsupported functions known, comment out the following datatable or delete it. */ | ||
| - | ---- datatable ---- | + | <!-- ToH: { |
| - | cols | + | " |
| - | filter | + | |
| - | filter | + | |
| - | filter | + | |
| - | ---- | + | " |
| + | } --> | ||
| ===== Experimental Versions ===== | ===== Experimental Versions ===== | ||
| Line 74: | Line 71: | ||
| ===== Hardware Highlights ===== | ===== Hardware Highlights ===== | ||
| - | ---- datatable ---- | + | <!-- ToH: { |
| - | cols | + | " |
| - | header | + | " |
| - | align : c,c, | + | " |
| - | filter | + | " |
| - | filter | + | |
| - | filter | + | |
| - | ---- | + | } --> |
| ===== Installation ===== | ===== Installation ===== | ||
| - | /* stable release */ | ||
| - | /* uncomment once stable release is available | ||
| - | ---- datatable ---- | ||
| - | cols : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url | ||
| - | headers : Model, Version, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware OEM Stock | ||
| - | align : c,c,c | ||
| - | filter | ||
| - | filter | ||
| - | filter | ||
| - | ---- | ||
| - | */ | ||
| + | <!-- ToH: { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } --> | ||
| - | /* snapshot */ | + | ====== Web UI ===== |
| - | /* delete once stable release is available */ | + | |
| - | ---- datatable ---- | + | |
| - | cols : Model, Versions, Supported Current Rel, Firmware OpenWrt snapshot Install URL_url, Firmware OpenWrt snapshot Upgrade URL_url, Firmware OEM Stock URL_url | + | |
| - | headers : Model, Version, Current Release, Firmware OpenWrt snapshot Install, Firmware OpenWrt snapshot Upgrade, Firmware OEM Stock | + | |
| - | align : c,c,c | + | |
| - | filter | + | |
| - | filter | + | |
| - | filter | + | |
| - | ---- | + | |
| + | - Connect to the device via lan | ||
| + | - Set your IP to `192.168.1.20` | ||
| + | - Open Web UI at `192.168.1.2` | ||
| + | - Login with username " | ||
| + | - At maintenance/ | ||
| + | - The device should reboot into openwrt an be accessible via `192.168.1.1` | ||
| - | -> [[docs: | ||
| - | FIXME Please add the installation procedure here. | + | <WRAP BOX> |
| + | 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. | ||
| + | </ | ||
| + | |||
| + | ====== 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 " | ||
| + | </ | ||
| + | |||
| + | 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 | ||
| + | </ | ||
| ==== Flash Layout ==== | ==== Flash Layout ==== | ||
| <WRAP BOX> | <WRAP BOX> | ||
| Line 137: | Line 174: | ||
| ==== OEM installation using the TFTP method ==== | ==== OEM installation using the TFTP method ==== | ||
| - | -> [[docs: | + | This installation |
| + | * unknown device password (NWA55AXE lacks reset button) | ||
| + | * bricked device | ||
| - | === Specific values needed for tftp === | + | Attach to the UART console header of the device. Interrupt the boot |
| + | procedure by pressing Enter. | ||
| - | <WRAP BOX> | + | The bootloader has a reduced command-set available from CLI, but more |
| + | commands can be executed by abusing the atns command. | ||
| - | FIXME Enter values for " | + | Boot a OpenWrt initramfs image available on a TFTP server at |
| + | 192.168.1.66. Rename the image to owrt.bin | ||
| - | ^ Bootloader tftp server IPv4 address | + | |
| - | ^ Bootloader MAC address (special) | + | $ atna 192.168.1.88 |
| - | ^ Firmware tftp image | [[: | + | $ atns "192.168.1.66; |
| - | ^ TFTP transfer window | + | |
| - | ^ TFTP window start | approximately FILL-IN seconds after power on | | + | |
| - | ^ TFTP client required IP address | + | |
| - | </WRAP> | + | Upon booting, set the booted image to the correct slot: |
| + | |||
| + | $ zyxel-bootconfig | ||
| + | $ 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 | ||
| ===== Upgrading OpenWrt ===== | ===== Upgrading OpenWrt ===== | ||
| -> [[docs: | -> [[docs: | ||
| Line 267: | Line 315: | ||
| </ | </ | ||
| - | ---- datatemplatelist dttpllist ---- | + | <!-- ToH: { |
| - | template: meta:template_datatemplatelist | + | " |
| - | cols | + | " |
| - | filter | + | " |
| - | filter | + | " |
| - | filter | + | " |
| - | ---- | + | |
| + | } --> | ||
| ==== Photos ==== | ==== Photos ==== | ||
| Line 282: | Line 331: | ||
| // | // | ||
| - | **Insert photo of front of the casing** | + | {{: |
| //Back://\\ | //Back://\\ | ||
| - | **Insert photo of back of the casing** | + | {{: |
| //Backside label://\\ | //Backside label://\\ | ||
| Line 294: | Line 343: | ||
| **Note:** This will void your warranty! | **Note:** This will void your warranty! | ||
| - | <WRAP BOX> | + | Remove the two screws indicated: |
| - | FIXME //Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, | + | {{: |
| - | * To remove | + | |
| - | </ | + | Slide the PCB tray out from the outer housing as shown:\\ |
| + | {{: | ||
| //Main PCB://\\ | //Main PCB://\\ | ||
| - | **Insert photo of PCB** | + | {{: |
| ==== Serial ==== | ==== Serial ==== | ||
| -> [[docs: | -> [[docs: | ||
| - | How to connect to the Serial Port of this specific device:\\ | + | The Serial Port of this specific device |
| - | **Insert photo of PCB with markings for serial port** | + | {{: |
| - | <WRAP BOX> | + | The board may not come with header pins attached. |
| - | FIXME //Replace EXAMPLE by real values.// | + | |
| - | </ | + | |
| - | ^ Serial connection parameters\\ for ZyXEL NWA55AXE @@Version@@ | + | The pinout is pretty obvious, but just in case: |
| + | ^ V | Vcc: board voltage (~3.3V; do not connect) | | ||
| + | ^ T | TxD: signal transmitted from device to host PC | | ||
| + | ^ R | RxD: signal received at device from host PC | | ||
| + | ^ G | GND: ground | ||
| + | ^ **Serial connection parameters** | **ZyXEL NWA55AXE** | | ||
| + | ^ Baud rate | 115,200 | | ||
| + | ^ Data bits | 8 | | ||
| + | ^ Stop bits | 1 | | ||
| + | ^ Logic level | 3.3V | | ||
| ==== JTAG ==== | ==== JTAG ==== | ||
| -> [[docs: | -> [[docs: | ||
| Line 329: | Line 386: | ||
| ===== Bootlogs ===== | ===== Bootlogs ===== | ||
| + | |||
| ==== OEM bootlog ==== | ==== OEM bootlog ==== | ||
| <WRAP bootlog> | <WRAP bootlog> | ||
| - | < | + | < |
| + | 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 | ||
| + | |||
| + | |||
| + | 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 0x2980000 to memory 0x83000000, size 0x38ad24 ... | ||
| + | Automatic boot of image at addr 0x83000000 ... | ||
| + | ## Loading kernel from FIT Image at 83000000 ... | ||
| + | Using ' | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | Data Start: | ||
| + | Data Size: 3700285 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@NT121613-PC10) (gcc version 5.4.0 (LEDE GCC 5.4.0 r48+2-a5857a0e) ) #0 SMP Wed Jan 10 06:31:00 UTC 2024 | ||
| + | [ 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 | ||
| + | [ 0.688459] zyUMAC_wal_attach: | ||
| + | |||
| + | [ 0.693633] zyUMAC_wal_wphy_create: | ||
| + | [ 0.693633] Start EnterpriseWLAN system daemon.... | ||
| + | ..........................................Applying system configuration file, please wait... | ||
| + | .................................EnterpriseWLAN system is configured successfully with startup-config.conf | ||
| + | netopeer-server start | ||
| + | |||
| + | Welcome to NWA55AXE | ||
| + | </ | ||
| </ | </ | ||
| Line 345: | Line 496: | ||
| ===== Tags ===== | ===== Tags ===== | ||
| - | <WRAP BOX> | ||
| - | FIXME //Add tags below, then remove this fixme.// | ||
| - | </ | ||
| - | [[meta: | + | {{tag>ramips mt7621 mt7915 2core 128flash 256ram 1port GigabitEthernet 802.11bgn 802.11ax 4ant serial}} |
| - | {{tag>EXAMPLETAG}} | + | |