User Tools

Site Tools


inbox:zyxel:zyxel_nwa1123-ni

ZyXEL NWA1123-NI

Under Construction!
This page is currently under construction. You can edit the article to help completing it.

The ZyXEL NWA1123-NI is a dual band (2.4G Hz + 5 GHz, simultaneous) 802.11n access point with one GbE port (PoE) for wall or ceiling mount.

ZyXEL NWA1123-NI

OpenWrt support

Not supported.

Supporting activities

2019-10-21: Currently the device is able to boot OpenWrt and seems to be full functional. Patch/commit is WiP.

Experimental firmware

See build instructions for NWA1123-NI here

Compiled Firmware can be downloaded from https://www.krtzbrtz.org/nwa1123ni/

Hardware highlights

CPU Ram Flash Network WLAN USB Serial JTag
Atheros AR9342 @ 560 MHz 64 MiB 16 MiB 1 x GbE abgn No Yes ?

Installation

The uboot version of the device does NOT support booting initramfs-images from RAM, they need to be flashed first.

Installing OpenWrt

As the flash-layout and the boot-address changes it is not possible to flash the device via stock firmware.

Technical references

HIGHLY RECOMMENDED: Backup all flash first!

  • Start the TFTP server and put the openwrt-ath79-generic-zyxel_nwa1123-ni-squashfs-sysupgrade.bin there and rename it to fw.bin
  • Establish a serial connection to the device
  • Power up the device, press any key to interrupt the boot process:
Hit any key to stop autoboot:  3
  • Change the boot-address and remove old bootargs
setenv bootcmd 'bootm 0x9f050000'
setenv bootargs
saveenv
  • Set IP-Address of Device and TFTP-server and try to ping the server
setenv ipaddr 192.168.1.11
setenv serverip 192.168.1.120
ping $serverip
  • Flash firmware (Do not erase before the fw.bin got successfully loaded!)
tftp 0x80060000 fw.bin
erase 0x9f050000 +$filesize
cp.b $fileaddr 0x9f050000 $filesize

Done, after flashing power-cycle the device (or enter “reset” in uboot). First boot takes ca. 2-3 minutes as some file-system gets created. Wait for the LED to turn from blinking amber to solid green.

Debricking

Revert to stock firmware

This instructions are based on the ZyXEL KnowledgeBase article “What is the procedure to recover the NWA1121-NI, NWA1123-NI, and NWA1123-AC via a TFTP server?”

  • Download the Firmware, unzip it and uinzip the .bin inside it.
  • Copy mi124_f1e-jffs2 and vmlinux_mi124_f1e.lzma.uImage to tftp server
  • Establish a serial connection to the device
  • Power up the device, press any key to interrupt the boot process:
Hit any key to stop autoboot:  3
  • Change the boot-address and add the old bootargs
setenv bootcmd 'bootm 0x9f850000'
setenv bootargs 'console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),8192k(rootfs),960k(uImage),6528k(reserve),256k(config),64k(mib0),64k(ART)'
saveenv
  • Set IP-Address of Device and TFTP-server and try to ping the server:
setenv ipaddr 192.168.1.11
setenv serverip 192.168.1.120
ping $serverip
  • Flash the kernel-image and after it the file-system:
run lk
run lf

Done, after flashing power-cycle the device (or enter “reset” in uboot).

Hardware

Info

Architecture MIPS
Vendor Qualcomm Atheros
Bootloader U-Boot 1.1.4 (Qualcomm/Atheros SDK)
System-On-Chip Atheros AR9342 rev 1 - MIPS 74Kc V4.12
CPU/Speed 560 MHz
Flash-Chip Macronix MX25L12845E
Flash size 16 MiB
RAM 64 MiB
Wireless 2.4GHz Atheros AR9340 (SoC) 802.11bgn 2×2:2
Wireless 5.0GHz Atheros AR9382 (PCIe) 802.11an 2×2:2
Ethernet Atheros AR8035 PHY 10/100/1000 Mbit/s
Switch No
USB No
Serial Yes
JTAG Unknown

Buttons

hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.

The ZyXEL NWA1123-NI has the following buttons:

BUTTON Event GPIO Polarity
Reset reset 4 Active low

LEDs

LED Color GPIO Polarity
Power / Status amber 11 Active low
green 12 Active low

Flash Layout

OpenWrt

ZyXEL NWA1123-NI Flash Layout (OpenWrt)
Layer0 raw NOR flash memory chip (m25p80 spi0.0: mx25l12805d) 16384 KiB
Layer1 mtd0 u-boot 256 KiB mtd1 u-boot-env 64KiB mtd2 firmware 15680 KiB mtd6 config 256 KiB mtd7 mib0 64 KiB mtd8 ART 64 KiB
Layer2 mtd3 kernel 1792 KiB mtd4 rootfs 13888 KiB
mountpoint /
filesystem OverlayFS
Layer3 mtd5 rootfs_data 11840 KiB
Size in KiB 256 KiB 64 KiB 1792 KiB 2048 KiB 11840 KiB 256 KiB 64 KiB 64 KiB
Name u-boot u-boot-env kernel rootfs_data config mib0 ART
mountpoint none none none /rom /overlay none none none
filesystem none none none SquashFS JFFS2 none none none

Stock Firmware

See Notes for some of the partitions below

ZyXEL NWA1123-NI Flash Layout (stock firmware)
Layer0 raw NOR flash memory chip (Macronix MX25L12845E) 16384 KiB
Layer1 mtd0 mtd1 mtd2 mtd3 mtd4 mtd5 mtd6 mtd7
Size in KiB 256 KiB 64 KiB 8192 KiB 960 KiB 6528 KiB 256 KiB 64 KiB 64 KiB
Name u-boot u-boot-env rootfs uImage reserve config mib0 ART
mountpoint none none / none none none none none
filesystem none none SquashFS none none none none none

mtd1 - u-boot-env: Does not seem to have device-specific data by default. (Generic MAC-Addresses, serialnumbers, etc.)

mtd3 - uImage: uboot loads kernel from here

mtd4 - reserve: Contains /tmp/mini_httpd.pem in a tar.gz for the httpd; NOT critical for stock firmware to boot (Source: /etc/rc.d/rcS )

mtd5 - config: Contains the Device-Configuration. Not sure if it is critical for stock firmware. Suggestion: better keep it.

mtd6 - mib0: 4 values are stored there in ASCII (serialnum, countrycode, eth0mac, wifi0mac, wifi1mac). CRITICAL for stock firmware to boot, it picks MAC-Addresses from here ( /etc/rc.d/rcS and /etc/rc.d/rc.wlan )

mtd7 - ART: Contains MAC-Addr of eth0 at 0x01002; Calibration-Data for SoC-Wifi; (Calibration-Data for PCIe-Wifi seems to be in the Card itself)

Photos

Casing

Front Bottom Open

PCB

PCB top PCB bottom

Chips

SoC AR9342 RAM Ethernet PHY AR8035 PCIe WiFi AR9382

Opening the case

Remove 4 screws (PH2) from the bottom side.

Serial

port.serial general information about the serial port, serial port cable, etc.

The Serial Port header is located next to the On-PCB-Antenna “ANT2”, Pin 1 (VCC) is marked with a small circle.

Serial Port header

PIN
1 VCC +3.3V (small circle silkscreened)
2 TX
3 RX
4 GND
Serial connection parameters for ZyXEL NWA1123-NI 115200, 8N1

JTAG

port.jtag general information about the JTAG port, JTAG cable, etc.

Does not exist or could not be identified.

Bootlogs

OEM bootlog

U-Boot 1.1.4-gd4ec3645-dirty (Sep 5 2012 - 14:31:48) U-boot MI124 DRAM: Tap value selected = 0xf [0x0 - 0x1f] Setting 0xb8116290 to 0x30602d0f 64 MB Top of RAM usable for U-Boot at: 84000000 Reserving 220k for U-Boot at: 83fc8000 Reserving 192k for malloc() at: 83f98000 Reserving 44 Bytes for Board Info at: 83f97fd4 Reserving 48 Bytes for Global Data at: 83f97fa4 Reserving 128k for boot params() at: 83f77fa4 Stack Pointer at: 83f77f88 Now running in RAM - U-Boot at: 83fc8000 Flash Manuf Id 0xc2, DeviceId0 0x20, DeviceId1 0x18 flash size 16MB, sector count = 256 Flash: 16 MB pci_init_board: PCIe PLL not set for 40MHz refclk BOARD IS NOT CALIBRATED!!! In: serial Out: serial Err: serial Net: ag934x_enet_initialize... Fetching MAC Address from 0x83fed7b8 wasp reset mask:c02200 WASP ----> F1 PHY * : cfg1 0x80000000 cfg2 0x7114 eth0: 00:30:ab:11:20:e1 F1Phy reg init ATHR_AUTONEG_ADVERT:1DE1 ATHR_1000BASET_CONTROL:200 ATHR_PHY_CONTROL:3100 ATHRSF1_PHY: Port 0, Neg Success ATHRSF1_PHY: unit 0 phy addr 0 eth0 up ethact=eth0 ************ Post Result ******************* POST memory PASSED POST uart PASSED POST ethernet PASSED Hit any key to stop autoboot: 0 ## Booting image at 9f850000 ... Image Name: Linux Kernel Image Created: 2016-10-25 5:36:33 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 941641 Bytes = 919.6 kB Load Address: 80002000 Entry Point: 801f4640 Verifying Checksum at 0x9f850040 ...OK Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 801f4640) ... ## Giving linux memsize in bytes, 67108864 Starting kernel ... Booting Atheros AR934x Linux version 2.6.31--LSDK-9.2.0_U11.14 (sam@TWTPEB1S2U121) (gcc version 4.3.3 (GCC) ) #1 Thu Sep 29 17:28:30 CST 2016 flash_size passed from bootloader = 16 arg 1: console=ttyS0,115200 arg 2: root=31:02 arg 3: rootfstype=jffs2 arg 4: init=/sbin/init arg 5: mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),8192k(rootfs),960k(uImage),6528k(reserve),256k(config),64k(mib0),64k(ART) arg 6: mem=64M CPU revision is: 0001974c (MIPS 74Kc) ath_sys_frequency: cpu srif ddr srif cpu 560 ddr 400 ahb 200 Determined physical RAM map: memory: 02000000 @ 00000000 (usable) User-defined physical RAM map: memory: 04000000 @ 00000000 (usable) Initrd not found or empty - disabling initrd Zone PFN ranges: Normal 0x00000000 -> 0x00004000 Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0x00000000 -> 0x00004000 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 Kernel command line: console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),8192k(rootfs),960k(uImage),6528k(reserve),256k(config),64k(mib0),64k(ART) mem=64M PID hash table entries: 256 (order: 8, 1024 bytes) Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes Writing ErrCtl register=00000000 Readback ErrCtl register=00000000 Memory: 47804k/65536k available (2010k kernel code, 17664k reserved, 482k data, 152k init, 0k highmem) NR_IRQS:128 plat_time_init: plat time init done Calibrating delay loop... 279.55 BogoMIPS (lpj=559104) Mount-cache hash table entries: 512 ****************ALLOC*********************** Packet mem: 802a8c60 (0xe00000 bytes) ******************************************** NET: Registered protocol family 16 ath_pcibios_init: bus 0 ath_pcibios_init(250): PCI 0 CMD write: 0x356 registering PCI controller with io_map_base unset bio: create slab <bio-0> at 0 SCSI subsystem initialized pci 0000:00:00.0: PME# supported from D0 D1 D3hot pci 0000:00:00.0: PME# disabled pcibios_map_irq: IRQ 70 for bus 0 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 2048 (order: 2, 16384 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 2048) TCP reno registered NET: Registered protocol family 1 ATH GPIOC major 0 squashfs: version 4.0 (2009/01/31) Phillip Lougher msgmni has been set to 93 io scheduler noop registered io scheduler deadline registered (default) Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A console [ttyS0] enabled brd: module loaded 8 cmdlinepart partitions found on MTD device ath-nor0 Creating 8 MTD partitions on "ath-nor0": 0x000000000000-0x000000040000 : "u-boot" 0x000000040000-0x000000050000 : "u-boot-env" 0x000000050000-0x000000850000 : "rootfs" 0x000000850000-0x000000940000 : "uImage" 0x000000940000-0x000000fa0000 : "reserve" 0x000000fa0000-0x000000fe0000 : "config" 0x000000fe0000-0x000000ff0000 : "mib0" 0x000000ff0000-0x000001000000 : "ART" TCP cubic registered NET: Registered protocol family 10 lo: Disabled Privacy Extensions IPv6 over IPv4 tunneling driver sit0: Disabled Privacy Extensions NET: Registered protocol family 17 Bridge firewalling registered 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com> All bugs added by David S. Miller <davem@redhat.com> arch/mips/atheros/gpio.c (ath_simple_config_init) JUMPSTART_GPIO: 4 athwdt_init: Registering WDT success ath_otp_init: Registering OTP success ath_clksw_init: Registering Clock Switch Interface success VFS: Mounted root (squashfs filesystem) readonly on device 31:2. Freeing unused kernel memory: 152k freed init started: BusyBox v1.01 (2016.10.25-05:35+0000) multi-call binary ATHR_GMAC: Length per segment 1536 ATHR_GMAC: fifo cfg 3 01f00140 ATHR_GMAC: RX TASKLET - Pkts per Intr:100 ATHR_GMAC: Mac address for unit 0:bfff0000 ATHR_GMAC: 00:30:ab:11:20:e1 ATHR_GMAC: Max segments per packet : 1 ATHR_GMAC: Max tx descriptor count : 128 ATHR_GMAC: Max rx descriptor count : 192 ATHR_GMAC: Mac capability flags : 2380 athr_gmac_ring_alloc Allocated 2048 at 0x83940800 athr_gmac_ring_alloc Allocated 3072 at 0x83913000 WASP ----> F1e PHY Setting Drop CRC Errors, Pause Frames and Length Error frames Setting PHY... ATHR_AUTONEG_ADVERT:DE1 ATHR_1000BASET_CONTROL:200 ATHR_PHY_CONTROL:1000 ATHRSF1_PHY: Port 0, Neg Success ATHRSF1_PHY: unit 0 phy addr 0 ADDRCONF(NETDEV_UP): eth0: link is not ready SIOCGIFFLAGS: No such device ATH_MAC_TIMER: enet unit:0 is up... RGMii 1000Mbps full duplex ATH_MAC_TIMER: done cfg2 0x7215 ifctl 0x0 miictrl WASP ----> F1e PHY Setting Drop CRC Errors, Pause Frames and Length Error frames ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready apcfg: Skip default verifying. device eth0 entered promiscuous mode br0: port 1(eth0) entering forwarding state apcfg: Skip default verifying. Password changed. 1+0 records in 1+0 records out tmp/mini_httpd.pem tar: /sbin/debug.tgz: No such file or directory ip_tables: (C) 2000-2006 Netfilter Core Team ip6_tables: (C) 2000-2006 Netfilter Core Team ifconfig: br1: error fetching interface information: Device not found ifconfig: br1: error fetching interface information: Device not found apcfg: Skip default verifying. wifi0 no private ioctls. SEC_MODE=WPA apcfg: Skip default verifying. apcfg: Skip default verifying. Args: 1 asf: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint ath_hal: 0.9.17.1 (AR5416, AR9380, REGOPS_FUNC, WRITE_EEPROM, 11D) ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved insmod: cannot open module `/lib/modules/2.6.31/ath_spectral.ko': No such file or directory ath_dfs: Version 2.0.0 Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved insmod: cannot open module `/lib/modules/2.6.31/hst_tx99.ko': No such file or directory ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved ath_ahb: 9.2.0_U11.14 (Atheros/multi-bss) __ath_attach: Set global_scn[0] ACBKMinfree = 48 ACBEMinfree = 32 ACVIMinfree = 16 ACVOMinfree = 0 CABMinfree = 48 UAPSDMinfree = 0 Wasp Enterprise mode: 0x00000000 Restoring Cal data from Flash Using Cal data from Flash 0xbfff0000 dfs_attach: use DFS enhancements dfs_init_radar_filters: Unknown dfs domain 0 ath_get_caps[5223] rx chainmask mismatch actual 3 sc_chainmak 0 ath_get_caps[5198] tx chainmask mismatch actual 3 sc_chainmak 0 SC Callback Registration for wifi0 wifi0: Atheros 9340: mem=0xb8100000, irq=2 ath_pci: 9.2.0_U11.14 (Atheros/multi-bss) __ath_attach: Set global_scn[1] ACBKMinfree = 48 ACBEMinfree = 32 ACVIMinfree = 16 ACVOMinfree = 0 CABMinfree = 48 UAPSDMinfree = 0 Using Cal data from EEPROM 0x3ff dfs_attach: use DFS enhancements dfs_init_radar_filters: Unknown dfs domain 0 ath_get_caps[5223] rx chainmask mismatch actual 3 sc_chainmak 0 ath_get_caps[5198] tx chainmask mismatch actual 3 sc_chainmak 0 SC Callback Registration for wifi1 wifi1: Atheros 9380: mem=0x10000000, irq=70 hw_base=0xb0000000 insmod: cannot open module `/lib/modules/2.6.31/wlan_me.ko': No such file or directory 276 DFS min filter rssiThresh = 15 DFS max pulse dur = 151 ticks DFS min filter rssiThresh = 15 DFS max pulse dur = 151 ticks Creating ap for SSIDNAME2 on wlan_vap_create : enter. devhandle=0x83aa82c0, opmode=IEEE80211_M_HOSTAP, flags=0x1 wlan_vap_create : exit. devhandle=0x83aa82c0, opmode=IEEE80211_M_HOSTAP, flags=0x1. Added ath0 mode master Invalid command : bgscan Interface doesn't accept private ioctl... HALDbg (8BE0): Operation not permitted Invalid command : noedgech WARNING: Fragmentation with HT mode NOT ALLOWED!! Error for wireless request "Set Fragmentation Threshold" (8B24) : SET failed on device ath0 ; Invalid argum ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1 ent. /etc/ath/makeVAP: 464: cannot create /proc/sys/dev/ath/htdupieenable: Directory nonexistent Invalid command : setVowExt Invalid command : setKeySrchAlways /etc/ath/makeVAP: 507: APNAME: not found acparams no private ioctls. Invalid command : set_vsp_enable Interface doesn't accept private ioctl... setPhyRestartWar (8BE0): Operation not permitted Invalid command : setVowExtStats Created ath0 mode ap for SSIDNAME2 lo no wireless extensions. sit0 no wireless extensions. eth0 no wireless extensions. br0 no wireless extensions. wifi0 no wSetting Max Stations:64 ireless extensions. wifi1 no wireless extensions. SEC_MODE=WPA apcfg: Skip default verifying. Modules already loaded Creating ap for SSIDNAME1 on Added ath1 mode master Invalid command : bgscan Interface doesn't accept private ioctl... HALDbg (8BE0): Operation not permitted Invalid command : noedgech WARNING: Fragmentation with HT mode NOT ALLOWED!! Error for wireless request "Set Fragmentation Threshold" (8B24) : SET failed on device ath1 ; Invalid argum ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1 ent. /etc/ath/makeVAP: 464: cannot create /proc/sys/dev/ath/htdupieenable: Directory nonexistent Invalid command : setVowExt Invalid command : setKeySrchAlways /etc/ath/makeVAP: 507: APNAME: not found acparams no private ioctls. Invalid command : set_vsp_enable Interface doesn't accept private ioctl... setPhyRestartWar (8BE0): Operation not permitted Invalid command : setVowExtStats Created ath1 mode ap for SSIDNAME1 lo no wireless extensions. sit0 no wireless extensions. eth0 no wireless extensions. br0 no wireless extensions. wifi0 no wSetting Max Stations:64 ireless extensions. wifi1 no wireless extensions. apcfg: Skip default verifying. lo no wireless extensions. sit0 no wireless extensions. eth0 no wireless extensions. br0 no wireless extensions. wifi0 no wireless extensions. wifi1 no wireless extensions. device ath0 entered promiscuous mode br0: port 2(ath0) entering forwarding state ARPING to 192.168.1.10 from 192.168.1.10 via br0 Sent 1 probes (1 broadcast(s)) Received 0 reply apcfg: Skip default verifying. apcfg: Skip default verifying. lo no wireless extensions. sit0 no wireless extensions. eth0 no wireless extensions. br0 no wireless extensions. wifi0 no wireless extensions. wifi1 no wireless extensions. device ath1 entered promiscuous mode br0: port 3(ath1) entering forwarding state ARPING to 192.168.1.10 from 192.168.1.10 via br0 Sent 1 probes (1 broadcast(s)) Received 0 reply apcfg: Skip default verifying. device eth0 left promiscuous mode br0: port 1(eth0) entering disabled state device ath0 left promiscuous mode br0: port 2(ath0) entering disabled state device ath1 left promiscuous mode br0: port 3(ath1) entering disabled state device eth0.1 entered promiscuous mode device ath0.1 entered promiscuous mode device eth0 entered promiscuous mode device ath0 entered promiscuous mode br1: port 2(ath0.1) entering learning state br1: port 1(eth0.1) entering learning state device eth0.3 entered promiscuous mode device ath1.3 entered promiscuous mode device ath1 entered promiscuous mode br3: port 2(ath1.3) entering learning state br3: port 1(eth0.3) entering learning state vconfig: socket or ioctl error for add: File exists device eth0.1 is already a member of a bridge; can't enslave it to bridge br1. vconfig: socket or ioctl error for add: No such device interface ath8.1 does not exist! SIOCGIFFLAGS: No such device SIOCGIFFLAGS: No such device vconfig: socket or ioctl error for add: File exists device eth0.3 is already a member of a bridge; can't enslave it to bridge br3. vconfig: socket or ioctl error for add: No such device interface ath9.3 does not exist! SIOCGIFFLAGS: No such device SIOCGIFFLAGS: No such device device eth0 is not a slave of br0 device br1 already exists; can't create bridge with the same name vconfig: socket or ioctl error for add: File exists device eth0.1 is already a member of a bridge; device eth0.0 entered promiscuous mode can't enslave itbr0: port 1(eth0.0) entering forwarding state to bridge br1. ip_tables: (C) 2000-2006 Netfilter Core Team ip6_tables: (C) 2000-2006 Netfilter Core Team ath_paprd_cal PAPRD excessive failure disabling PAPRD now SEC_MODE=WPA apcfg: Skip default verifying. Modules already loaded Creating ap for SSIDNAME2 on wlan_vap_create : enter. devhandle=0x83ae82c0, opmode=IEEE80211_M_HOSTAP, flags=0x1 wlan_vap_create : exit. devhandle=0x83ae82c0, opmode=IEEE80211_M_HOSTAP, flags=0x1. Added ath8 mode master Invalid command : bgscan Interface doesn't accept private ioctl... HALDbg (8BE0): Operation not permitted Invalid command : noedgech Invalid command : extoffset WARNING: Fragmentation with HT mode NOT ALLOWED!! Error for wireless request "Set Fragmentation Threshold" (8B24) : SET failed on device ath8 ; Invalid argum ieee80211_ioctl_siwmode: imr.ifm_active=66176, new mode=3, valid=1 ent. /etc/ath/makeVAP: 464: cannot create /proc/sys/dev/ath/htdupieenable: Directory nonexistent Invalid command : setVowExt Invalid command : setKeySrchAlways /etc/ath/makeVAP: 533: APNAME: not found acparams no private ioctls. Invalid command : set_vsp_enable Interface doesn't accept private ioctl... setPhyRestartWar (8BE0): Operation not permitted Invalid command : setVowExtStats Created ath8 mode ap for SSIDNAME2 lo no wireless extensions. sit0 no wireless extensions. eth0 no wireless extensions. br0 no wireless extensions. wifi0 no wireless extensioSetting Max Stations:64 ns. wifi1 no wireless extensions. br1 no wireless extensions. eth0.1 no wireless extensions. ath0.1 no wireless extensions. br3 no wireless extensions. eth0.3 no wireless extensions. ath1.3 no wireless extensions. eth0.0 no wireless extensions. SEC_MODE=WPA apcfg: Skip default verifying. Modules already loaded Creating ap for SSIDNAME1 on Added ath9 mode master Invalid command : bgscan Interface doesn't accept private ioctl... HALDbg (8BE0): Operation not permitted Invalid command : noedgech Invalid command : extoffset WARNING: Fragmentation with HT mode NOT ALLOWED!! Error for wireless request "Set Fragmentation Threshold" (8B24) : SET failed on device ath9 ; Invalid argum ieee80211_ioctl_siwmode: imr.ifm_active=66176, new mode=3, valid=1 ent. /etc/ath/makeVAP: 464: cannot create /proc/sys/dev/ath/htdupieenable: Directory nonexistent Invalid command : setVowExt Invalid command : setKeySrchAlways /etc/ath/makeVAP: 533: APNAME: not found acparams no private ioctls. Invalid command : set_vsp_enable Interface doesn't accept private ioctl... setPhyRestartWar (8BE0): Operation not permitted Invalid command : setVowExtStats Created ath9 mode ap for SSIDNAME1 lo no wireless extensions. sit0 no wireless extensions. eth0 no wireless extensions. br0 no wireless extensions. wifi0 no wireless extensioSetting Max Stations:64 ns. wifi1 no wireless extensions. br1 no wireless extensions. eth0.1 no wireless extensions. ath0.1 no wireless extensions. br3 no wireless extensions. eth0.3 no wireless extensions. ath1.3 no wireless extensions. eth0.0 no wireless extensions. apcfg: Skip default verifying. lo no wireless extensions. sit0 no wireless extensions. eth0 no wireless extensions. br0 no wireless extensions. wifi0 no wireless extensions. wifi1 no wireless extensions. br1 no wireless extensions. eth0.1 no wireless extensions. ath0.1 no wireless extensions. br3 no wireless extensions. eth0.3 no wireless extensions. ath1.3 no wireless extensions. eth0.0 no wireless extensions. device ath8 entered promiscuous mode br0: port 2(ath8) entering forwarding state arping: bind apcfg: Skip default verifying. apcfg: Skip default verifying. lo no wireless extensions. sit0 no wireless extensions. eth0 no wireless extensions. br0 no wireless extensions. wifi0 no wireless extensions. wifi1 no wireless extensions. br1 no wireless extensions. eth0.1 no wireless extensions. ath0.1 no wireless extensions. br3 no wireless extensions. eth0.3 no wireless extensions. ath1.3 ndevice ath9 entered promiscuous mode o wireless extenbr0: port 3(ath9) entering forwarding state sions. eth0.0 no wireless extensions. arping: bind apcfg: Skip default verifying. eth0.0 Link encap:Ethernet HWaddr B0:B2:DC:XX:XX:XX eth0.1 Link encap:Ethernet HWaddr B0:B2:DC:XX:XX:XX eth0.3 Link encap:Ethernet HWaddr B0:B2:DC:XX:XX:XX br0: port 1(eth0.0) entering disabled state device eth0.0 left promiscuous mode br0: port 1(eth0.0) entering disabled state device ath8 left promiscuous mode br0: port 2(ath8) entering disabled state device ath9 left promiscuous mode br0: port 3(ath9) entering disabled state vconfig: socket or ioctl error for add: File exists device eth0.1 is already a member of a bridge; can't enslave it to bridge br1. vconfig: socket or ioctl error for add: File exists device ath0.1 is already a member of a bridge; can't enslave it to bridge br1. vconfig: socket or ioctl error for add: File exists device eth0.3 is already a member of a bridge; can't enslave it to bridge br3. vconfig: socket or ioctl error for add: File exists device ath1.3 is already a member of a bridge; can't enslave it to bridge br3. vconfig: socket or ioctl error for add: File exists device eth0.1 is already a member of a bridge; can't enslave it to bridge br1. device ath8.1 entered promiscuous mode device ath8 entered promiscuous mode br1: port 3(ath8.1) entering learning state vconfig: socket or ioctl error for add: File exists device eth0.3 is already a member of a bridge; can't enslave it to bridge br3. device ath9.3 entered promiscuous mode device ath9 entered promiscuous mode br3: port 3(ath9.3) entering learning state device eth0 is not a slave of br0 device br1 already exists; can't create bridge with the same name vconfig: socket or ioctl error for add: File exists device eth0.0 entered promiscuous mode bridge; can't enslave it to bridge br1. br0: port 1(eth0.0) entering forwarding state ip_tables: (C) 2000-2006 Netfilter Core Team ip6_tables: (C) 2000-2006 Netfilter Core Team Invalid command : enable_ol_stats ARPING to 192.168.1.10 from 192.168.1.10 via br1 Sent 1 probes (1 broadcast(s)) Received 0 reply Configuration fi ieee80211_ioctl_siwmode: imr.ifm_active=393856, new mode=3, valid=1 le: /tmp/.radio_conf_0/apath0 device ath0 left promiscuous mode br1: port 2(ath0.1) entering disabled state DEVICE IS DOWN ifname=ath0 Could not connec DEVICE IS DOWN ifname=ath0 t to kernel driver. Using interface ath0 with hwaddr b0:b2:dc:xx:xx:xx and ssid 'SSIDNAME2' random: Only 17/20 bytes of strong random data available from /ddevice ath0 entered promiscuous mode ev/random randobr1: port 2(ath0.1) entering learning state m: Not enough en ieee80211_ioctl_siwmode: imr.ifm_active=393856, new mode=3, valid=1 tropy pool available for secure device ath1 left promiscuous mode operations WPA:br3: port 2(ath1.3) entering disabled state Not enough entr DEVICE IS DOWN ifname=ath1 opy in random po DEVICE IS DOWN ifname=ath1 ol for secure operations - update keys later when the first station connects Configuration file: /tmp/.radio_conf_0/apath1 Could not connect to kernel driver. Using interface ath1 with hwaddr b2:b2:dc:xx:xx:xx and ssid 'SSIDNAME1' random: Cannot read from /dev/random: Resource tdevice ath1 entered promiscuous mode emporarily unavabr3: port 2(ath1.3) entering learning state ilable random: Only 17/20 bytes of strong random data available from /dev/random random: Not enough entropy pool available for secure operations WPA: Not enough entropy in random pool for secure operations - update keys later when the first station connects Configuration fi ieee80211_ioctl_siwmode: imr.ifm_active=852608, new mode=3, valid=1 le: /tmp/.radio_conf_1/apath8 device ath8 left promiscuous mode br1: port 3(ath8.1) entering disabled state DEVICE IS DOWN ifname=ath8 Could not connec DEVICE IS DOWN ifname=ath8 t to kernel driver. Using interface ath8 with hwaddr b0:b2:dc:xx:xx:xx and ssid 'SSIDNAME2' random: Cannot read from /dev/random: Resource tdevice ath8 entered promiscuous mode emporarily unavabr1: port 3(ath8.1) entering learning state ilable random: ieee80211_ioctl_siwmode: imr.ifm_active=852608, new mode=3, valid=1 Only 0/20 bytes of strong random data available device ath9 left promiscuous mode from /dev/randombr3: port 3(ath9.3) entering disabled state random: Not en DEVICE IS DOWN ifname=ath9 ough entropy poo DEVICE IS DOWN ifname=ath9 l available for secure operations WPA: Not enough entropy in random pool for secure operations - update keys later when the first station connects Configuration file: /tmp/.radio_conf_1/apath9 Could not connect to kernel driver. Using interface ath9 with hwaddr 82:b2:dc:xx:xx:xx and ssid 'SSIDNAME1' random: Cannot read from /dev/random: Resource tdevice ath9 entered promiscuous mode emporarily unavabr3: port 3(ath9.3) entering learning state ilable random: Only 0/20 bytes of strong random data available from /dev/random random: Not enough entropy pool available for secure operations WPA: Not enough entropy in random pool for secure operations - update keys later when the first station connects br1: port 1(eth0.1) entering forwarding state bind: Address already in use mini_httpd: started as root without requesting chroot(), warning only bind: Address already in use br3: port 1(eth0.3) entering forwarding state mini_httpd: started as root without requesting chroot(), warning only apcfg: Skip default verifying. apcfg: Skip default verifying. Day-light-saving status :1 Day-light-saving week num :5 Day-light-saving week day :7 Day-light-saving start month :3 Day-light-saving start hour :2 Day-light-saving start minutes :0 Day-light-saving end week number :5 Day-light-saving end week day :7 Day-light-saving end month :10 Day-light-saving end hour :3 Day-light-saving end minutes :0 month:1 mday:1 dst_sday:29 month:1 mday:1 dst_lday:25 year: 1970, month: 1, gm_time->tm_mday: 1, gm_time->tm_hour: 0, gm_time->tm_min: 0 dst_syear: 1970, dst_smonth: 3, dst_sday: 29, dst_shour: 1, dst_smin: 0 dst_lyear: 1970, dst_lmonth: 10, dst_lday: 25, dst_lhour: 2, dst_lmin: 0 cal: 0 apcfg: Skip default verifying. ip_tables: (C) 2000-2006 Netfilter Core Team ip6_tables: (C) 2000-2006 Netfilter Core Team Ebtables v2.0 registered Ebtables v2.0 unregistered route: SIOC[ADD|DEL]RT: File exists ip_tables: (C) 2000-2006 Netfilter Core Team ip6_tables: (C) 2000-2006 Netfilter Core Team apcfg: Skip default verifying. apcfg: Skip default verifying. NWA1123-NI mips #1 Thu Sep 29 17:28:30 CST 2016 (none) NWA1123-NI login: br1: port 2(ath0.1) entering forwarding state br3: port 2(ath1.3) entering forwarding state br1: port 3(ath8.1) entering forwarding state br3: port 3(ath9.3) entering forwarding state NWA1123-NI mips #1 Thu Sep 29 17:28:30 CST 2016 (none) NWA1123-NI login: root Password: BusyBox v1.01 (2016.10.25-05:35+0000) Built-in shell (ash) Enter 'help' for a list of built-in commands. ~ # uname -a Linux NWA1123-NI 2.6.31--LSDK-9.2.0_U11.14 #1 Thu Sep 29 17:28:30 CST 2016 mips unknown ~ # cat /proc/mtd dev: size erasesize name mtd0: 00040000 00010000 "u-boot" mtd1: 00010000 00010000 "u-boot-env" mtd2: 00800000 00010000 "rootfs" mtd3: 000f0000 00010000 "uImage" mtd4: 00660000 00010000 "reserve" mtd5: 00040000 00010000 "config" mtd6: 00010000 00010000 "mib0" mtd7: 00010000 00010000 "ART" ~ #


OpenWrt bootlog

U-Boot 1.1.4-gd4ec3645-dirty (Sep 5 2012 - 14:31:48) U-boot MI124 DRAM: Tap value selected = 0xf [0x0 - 0x1f] Setting 0xb8116290 to 0x30602d0f 64 MB Top of RAM usable for U-Boot at: 84000000 Reserving 220k for U-Boot at: 83fc8000 Reserving 192k for malloc() at: 83f98000 Reserving 44 Bytes for Board Info at: 83f97fd4 Reserving 48 Bytes for Global Data at: 83f97fa4 Reserving 128k for boot params() at: 83f77fa4 Stack Pointer at: 83f77f88 Now running in RAM - U-Boot at: 83fc8000 Flash Manuf Id 0xc2, DeviceId0 0x20, DeviceId1 0x18 flash size 16MB, sector count = 256 Flash: 16 MB pci_init_board: PCIe PLL not set for 40MHz refclk BOARD IS NOT CALIBRATED!!! In: serial Out: serial Err: serial Net: ag934x_enet_initialize... Fetching MAC Address from 0x83fed7b8 wasp reset mask:c02200 WASP ----> F1 PHY * : cfg1 0x80000000 cfg2 0x7114 eth0: 00:30:ab:11:20:e1 F1Phy reg init ATHR_AUTONEG_ADVERT:1DE1 ATHR_1000BASET_CONTROL:200 ATHR_PHY_CONTROL:3100 ATHRSF1_PHY: Port 0, Neg Success ATHRSF1_PHY: unit 0 phy addr 0 eth0 up ethact=eth0 ************ Post Result ******************* POST memory PASSED POST uart PASSED POST ethernet PASSED Hit any key to stop autoboot: 0 ## Booting image at 9f050000 ... Image Name: MIPS OpenWrt Linux-4.19.79 Created: 2019-10-20 11:01:43 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1802279 Bytes = 1.7 MB Load Address: 80060000 Entry Point: 80060000 Verifying Checksum at 0x9f050040 ...OK Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 80060000) ... ## Giving linux memsize in bytes, 67108864 Starting kernel ... [ 0.000000] Linux version 4.19.79 (openwrt@zyxel-dev) (gcc version 8.3.0 (OpenWrt GCC 8.3.0 r11271-f1d761f95e)) #0 Sun Oct 20 11:01:43 2019 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 0001974c (MIPS 74Kc) [ 0.000000] MIPS: machine is ZyXEL NWA1123-NI [ 0.000000] SoC: Atheros AR9342 rev 1 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 04000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] random: get_random_bytes called from start_kernel+0x98/0x4a8 with crng_init=0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16240 [ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2 [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] Memory: 57580K/65536K available (4273K kernel code, 178K rwdata, 1008K rodata, 1188K init, 206K bss, 7956K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS: 51 [ 0.000000] CPU clock: 560.000 MHz [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6825930166 ns [ 0.000011] sched_clock: 32 bits at 280MHz, resolution 3ns, wraps every 7669584382ns [ 0.008331] Calibrating delay loop... 278.93 BogoMIPS (lpj=1394688) [ 0.084961] pid_max: default: 32768 minimum: 301 [ 0.090143] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.097208] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.110545] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.121077] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.127746] pinctrl core: initialized pinctrl subsystem [ 0.134531] NET: Registered protocol family 16 [ 0.148570] PCI host bridge /ahb/pcie-controller@180c0000 ranges: [ 0.155143] MEM 0x0000000010000000..0x0000000013ffffff [ 0.160700] IO 0x0000000000000000..0x0000000000000000 [ 0.191367] PCI host bridge to bus 0000:00 [ 0.195748] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff] [ 0.203142] pci_bus 0000:00: root bus resource [io 0x0000] [ 0.209070] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0] [ 0.216310] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 0.226393] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1001ffff 64bit] [ 0.234198] pci 0000:00:00.0: BAR 6: assigned [mem 0x10020000-0x1002ffff pref] [ 0.246172] clocksource: Switched to clocksource MIPS [ 0.253067] NET: Registered protocol family 2 [ 0.258733] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes) [ 0.267031] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.274456] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.281267] TCP: Hash tables configured (established 1024 bind 1024) [ 0.288207] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.294447] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.301644] NET: Registered protocol family 1 [ 0.310330] Crashlog allocated RAM at address 0x3f00000 [ 0.317798] workingset: timestamp_bits=14 max_order=14 bucket_order=0 [ 0.332899] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.339181] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.365807] io scheduler noop registered [ 0.370062] io scheduler deadline registered (default) [ 0.378054] pinctrl-single 1804002c.pinmux: 544 pins, size 68 [ 0.385370] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 0.393062] console [ttyS0] disabled [ 0.396979] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 2500000) is a 16550A [ 0.406194] console [ttyS0] enabled [ 0.406194] console [ttyS0] enabled [ 0.413604] bootconsole [early0] disabled [ 0.413604] bootconsole [early0] disabled [ 0.431066] m25p80 spi0.0: mx25l12805d (16384 Kbytes) [ 0.436342] 6 fixed-partitions partitions found on MTD device spi0.0 [ 0.442785] Creating 6 MTD partitions on "spi0.0": [ 0.447696] 0x000000000000-0x000000040000 : "u-boot" [ 0.453762] 0x000000040000-0x000000050000 : "u-boot-env" [ 0.460310] 0x000000050000-0x000000fa0000 : "firmware" [ 0.470500] 2 uimage-fw partitions found on MTD device firmware [ 0.476580] Creating 2 MTD partitions on "firmware": [ 0.481633] 0x000000000000-0x0000001c0000 : "kernel" [ 0.487686] 0x0000001c0000-0x000000f50000 : "rootfs" [ 0.493627] mtd: device 4 (rootfs) set to be root filesystem [ 0.501402] 1 squashfs-split partitions found on MTD device rootfs [ 0.507761] 0x0000003c0000-0x000000f50000 : "rootfs_data" [ 0.514297] 0x000000fa0000-0x000000fe0000 : "config" [ 0.520410] 0x000000fe0000-0x000000ff0000 : "mib0" [ 0.526320] 0x000000ff0000-0x000001000000 : "ART" [ 0.533396] libphy: Fixed MDIO Bus: probed [ 0.898194] libphy: ag71xx_mdio: probed [ 0.996626] ag71xx 19000000.eth: connected to PHY at mdio-bus.0:00 [uid=004dd072, driver=Atheros 8035 ethernet] [ 1.007724] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii-id [ 1.016981] NET: Registered protocol family 10 [ 1.027340] Segment Routing with IPv6 [ 1.031216] NET: Registered protocol family 17 [ 1.035822] 8021q: 802.1Q VLAN Support v1.8 [ 1.051937] VFS: Mounted root (squashfs filesystem) readonly on device 31:4. [ 1.067086] Freeing unused kernel memory: 1188K [ 1.071686] This architecture does not have kernel memory protection. [ 1.078255] Run /sbin/init as init process [ 2.193807] init: Console is alive [ 2.197657] init: - watchdog - [ 2.426191] random: fast init done [ 3.622695] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 3.816345] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 3.834234] init: - preinit - [ 4.984790] random: jshn: uninitialized urandom read (4 bytes read) [ 5.169161] random: jshn: uninitialized urandom read (4 bytes read) [ 5.215803] random: jshn: uninitialized urandom read (4 bytes read) [ 5.524890] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready 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 [ 7.637663] eth0: link up (1000Mbps/Full duplex) [ 7.642403] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 8.927888] jffs2: notice: (463) jffs2_build_xattr_subsystem: complete building xattr subsystem, 3 of xdatum (0 unchecked, 1 orphan) and 7 of xref (1 dead, 0 orphan) found. [ 8.945995] mount_root: switching to jffs2 overlay [ 8.979158] overlayfs: upper fs does not support tmpfile. [ 8.994439] urandom-seed: Seeding with /etc/urandom.seed [ 9.201555] eth0: link down [ 9.219447] procd: - early - [ 9.222513] procd: - watchdog - [ 9.871659] procd: - watchdog - [ 9.875248] procd: - ubus - [ 9.908189] urandom_read: 5 callbacks suppressed [ 9.908199] random: ubusd: uninitialized urandom read (4 bytes read) [ 9.928586] random: ubusd: uninitialized urandom read (4 bytes read) [ 9.936921] procd: - init - Please press Enter to activate this console. [ 10.837954] kmodloader: loading kernel modules from /etc/modules.d/* [ 10.880410] Loading modules backported from Linux version v5.4-rc2-0-gda0c9ea146cb [ 10.888163] Backport generated by backports.git v5.4-rc2-1-0-g5a0c323a [ 10.964212] xt_time: kernel timezone is -0000 [ 11.005490] urngd: v1.0.0 started. [ 11.159790] PPP generic driver version 2.4.2 [ 11.177596] NET: Registered protocol family 24 [ 11.309718] ath: phy0: disabling 5GHz band [ 11.332731] ieee80211 phy0: Atheros AR9340 Rev:1 mem=0xb8100000, irq=12 [ 11.339965] ath9k 0000:00:00.0: enabling device (0000 -> 0002) [ 11.455217] random: crng init done [ 11.569932] ieee80211 phy1: Atheros AR9300 Rev:3 mem=0xb0000000, irq=15 [ 11.659480] kmodloader: done loading kernel modules from /etc/modules.d/* [ 22.430121] br-lan: port 1(eth0) entered blocking state [ 22.435443] br-lan: port 1(eth0) entered disabled state [ 22.441242] device eth0 entered promiscuous mode [ 22.464124] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 24.517700] eth0: link up (1000Mbps/Full duplex) [ 24.522447] br-lan: port 1(eth0) entered blocking state [ 24.527793] br-lan: port 1(eth0) entered forwarding state [ 24.551106] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready BusyBox v1.31.0 () built-in shell (ash) _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- OpenWrt SNAPSHOT, r11271-f1d761f95e ----------------------------------------------------- === WARNING! ===================================== There is no root password defined on this device! Use the "passwd" command to set up a new password in order to prevent unauthorized SSH logins. -------------------------------------------------- root@OpenWrt:/# uname -a Linux OpenWrt 4.19.79 #0 Sun Oct 20 11:01:43 2019 mips GNU/Linux root@OpenWrt:/# cat /proc/mtd dev: size erasesize name mtd0: 00040000 00010000 "u-boot" mtd1: 00010000 00010000 "u-boot-env" mtd2: 00f50000 00010000 "firmware" mtd3: 001c0000 00010000 "kernel" mtd4: 00d90000 00010000 "rootfs" mtd5: 00b90000 00010000 "rootfs_data" mtd6: 00040000 00010000 "config" mtd7: 00010000 00010000 "mib0" mtd8: 00010000 00010000 "ART" root@OpenWrt:/#


Build Instructions

Follow the instuctions here: Quick Image Building Guide

Before running “make menuconfig” patch/add 3 files:

target/linux/ath79/base-files/etc/board.d/02_network

diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network index fe74bddbf1..9e70d60f4b 100755 --- a/target/linux/ath79/base-files/etc/board.d/02_network +++ b/target/linux/ath79/base-files/etc/board.d/02_network @@ -54,7 +54,8 @@ ath79_setup_interfaces() ubnt,unifiac-mesh|\ ubnt,unifi|\ wd,mynet-wifi-rangeextender|\ - winchannel,wb2000) + winchannel,wb2000|\ + zyxel,nwa1123-ni) ucidef_set_interface_lan "eth0" ;; avm,fritz4020|\


target/linux/ath79/image/generic.mk

diff --git a/target/linux/ath79/image/generic.mk b/target/linux/ath79/image/generic.mk index acb1ab4b0b..d704e095b5 100644 --- a/target/linux/ath79/image/generic.mk +++ b/target/linux/ath79/image/generic.mk @@ -1008,3 +1008,11 @@ define Device/zbtlink_zbt-wd323 kmod-usb-serial kmod-usb-serial-cp210x uqmi endef TARGET_DEVICES += zbtlink_zbt-wd323 + +define Device/zyxel_nwa1123-ni + ATH_SOC := ar9342 + DEVICE_VENDOR := ZyXEL + DEVICE_MODEL := NWA1123-NI + IMAGE_SIZE := 15680k +endef +TARGET_DEVICES += zyxel_nwa1123-ni


target/linux/ath79/dts/ar9342_zyxel_nwa1123-ni.dts

// SPDX-License-Identifier: GPL-2.0 /dts-v1/; #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> #include "ar9344.dtsi" / { compatible = "zyxel,nwa1123-ni", "qca,ar9342"; model = "ZyXEL NWA1123-NI"; aliases { led-boot = &status_amber; led-failsafe = &status_amber; led-running = &status_green; led-upgrade = &status_amber; }; leds { compatible = "gpio-leds"; status_amber: power_amber { label = "zyxel:amber:power"; gpios = <&gpio 11 GPIO_ACTIVE_LOW>; }; status_green: power_green { label = "zyxel:green:power"; gpios = <&gpio 12 GPIO_ACTIVE_LOW>; }; }; keys { compatible = "gpio-keys"; reset { label = "reset"; linux,code = <KEY_RESTART>; gpios = <&gpio 4 GPIO_ACTIVE_LOW>; debounce-interval = <60>; }; }; }; &ref { clock-frequency = <40000000>; }; &uart { status = "okay"; }; &gpio { status = "okay"; }; &spi { status = "okay"; num-cs = <1>; flash@0 { compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <25000000>; partitions { compatible = "fixed-partitions"; #address-cells = <1>; #size-cells = <1>; partition@0 { label = "u-boot"; reg = <0x000000 0x040000>; read-only; }; partition@40000 { label = "u-boot-env"; reg = <0x040000 0x010000>; read-only; }; partition@50000 { compatible = "denx,uimage"; label = "firmware"; reg = <0x050000 0xF50000>; }; partition@fa0000 { label = "config"; reg = <0xfa0000 0x040000>; read-only; }; partition@fe0000 { label = "mib0"; reg = <0xfe0000 0x010000>; read-only; }; art: partition@ff0000 { label = "ART"; reg = <0xff0000 0x010000>; read-only; }; }; }; }; &pcie { status = "okay"; wifi@0,0 { compatible = "168c,0030"; reg = <0x0000 0 0 0 0>; mtd-mac-address = <&art 0x1002>; mtd-mac-address-increment = <2>; qca,disable-2ghz; }; }; &wmac { status = "okay"; qca,disable-5ghz; mtd-cal-data = <&art 0x1000>; mtd-mac-address = <&art 0x1002>; mtd-mac-address-increment = <1>; }; &mdio0 { status = "okay"; phy-mask = <0>; phy0: ethernet-phy@0 { reg = <0>; }; }; &eth0 { status = "okay"; /* default for ar934x, except for 1000M and 10M */ pll-data = <0x06000000 0x00000101 0x00001313>; mtd-mac-address = <&art 0x1002>; phy-mode = "rgmii-id"; phy-handle = <&phy0>; gmac-config { device = <&gmac>; rxdv-delay = <3>; rxd-delay = <3>; txen-delay = <3>; txd-delay = <3>; rgmii-gmac0 = <1>; }; };


Notes

Tags

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
inbox/zyxel/zyxel_nwa1123-ni.txt · Last modified: 2019/10/24 08:14 by krtzbrtz