Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision Next revisionBoth sides next revision | ||
| inbox:toh:zyxel:nwa1121-ni [2021/05/14 20:52] – Created from the form at meta:create_new_device_page krtzbrtz | inbox:toh:zyxel:nwa1121-ni [2021/05/16 22:42] – [OEM bootlog] s_2 | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| {{page> | {{page> | ||
| - | // | + | The ZyXEL NWA1121-NI is a 802.11n (2.4 GHz) access point with one GbE port (PoE) for wall or ceiling mount. |
| /*****/ | /*****/ | ||
| Line 20: | Line 20: | ||
| - | /*** if info available: uncomment and fill in | ||
| ===== Supporting activities ===== | ===== Supporting activities ===== | ||
| - | //Describe if there are any ongoing activities that might lead to OpenWrt support.// | ||
| - | * OpenWrt forum thread: (add link) | + | 2021-05-13: Device is able to boot and seems full functional |
| - | ***/ | + | * Pull request: https:// |
| Line 43: | Line 42: | ||
| ===== Hardware highlights ===== | ===== Hardware highlights ===== | ||
| ^ CPU ^ Ram ^ Flash ^ Network | ^ CPU ^ Ram ^ Flash ^ Network | ||
| - | | EXAMPLE RT3052 | + | | Atheros AR9342 |
| Line 56: | Line 55: | ||
| - | /*** if info available: uncomment and fill in | + | |
| ===== Debricking ===== | ===== Debricking ===== | ||
| -> [[docs: | -> [[docs: | ||
| - | ***/ | + | |
| + | ==== Revert to stock firmware ==== | ||
| + | |||
| + | This instructions are based on the ZyXEL KnowledgeBase article //" | ||
| + | |||
| + | | ||
| + | | ||
| + | * Establish a [[docs: | ||
| + | * Power up the device, press any key to interrupt the boot process: | ||
| + | < | ||
| + | Hit any key to stop autoboot: | ||
| + | </ | ||
| + | * 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 | ||
| + | </ | ||
| + | | ||
| + | < | ||
| + | run lk | ||
| + | run lf | ||
| + | </code> | ||
| + | |||
| + | Done, after flashing power-cycle the device (or enter " | ||
| Line 111: | Line 134: | ||
| ===== 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 | + | ^ RAM | 64 MiB | |
| - | ^ Wireless | + | ^ Wireless 2.4GHz |
| - | ^ Ethernet | + | ^ Wireless 5.0GHz |
| - | ^ Switch | + | ^ Ethernet |
| - | ^ USB | EXAMPLE 1x 2.0 | | + | ^ Switch |
| - | ^ Serial | + | ^ USB | No |
| - | ^ JTAG | + | ^ Serial |
| + | ^ JTAG | [[#JTAG|Unknown]] | ||
| + | |||
| + | ==== Buttons ==== | ||
| + | -> [[docs: | ||
| + | Here, we merely name the buttons, so we can use them in the above Howto. | ||
| + | |||
| + | The ZyXEL NWA1121-NI has the following buttons: | ||
| + | |||
| + | ^ BUTTON | ||
| + | | Reset | reset | | ||
| + | |||
| + | ==== LEDs ==== | ||
| + | |||
| + | ^ LED | ||
| + | | Power / Status | ||
| + | |::: | green | | ||
| - | /*** if info available: uncomment and fill in | ||
| ==== Flash Layout ==== | ==== Flash Layout ==== | ||
| - | <WRAP BOX> | ||
| - | FIXME // | ||
| - | Please check out the article | + | === OpenWrt === |
| - | </WRAP> | + | |
| - | ***/ | + | Two flash partitions are concatenated to a " |
| + | |||
| + | ^ ZyXEL NWA1121-NI | ||
| + | ^ Layer0 | ||
| + | ^ Layer1 | ||
| + | ^ Size in KiB | 256 KiB | ||
| + | ^ Name | ||
| + | ^ mountpoint | ||
| + | ^ filesystem | ||
| + | |||
| + | |||
| + | ^ virtual firmware partition | ||
| + | ^ Layer0 | ||
| + | ^ Layer1 | ||
| + | ^ Layer2 | ||
| + | ^ <color magenta> | ||
| + | ^ filesystem | ||
| + | ^ Layer3 | ||
| + | ^ Size in KiB | 2048 KiB | ||
| + | ^ Name | ||
| + | ^ <color magenta> | ||
| + | ^ filesystem | ||
| + | |||
| + | === Stock Firmware === | ||
| + | ^ ZyXEL NWA1121-NI | ||
| + | ^ Layer0 | ||
| + | ^ Layer1 | ||
| + | ^ Size in KiB | 256 KiB | ||
| + | ^ Name | ||
| + | ^ mountpoint | ||
| + | ^ filesystem | ||
| ==== Photos ==== | ==== Photos ==== | ||
| Line 153: | Line 220: | ||
| ==== Opening the case ==== | ==== Opening the case ==== | ||
| - | <WRAP BOX> | + | Remove 4 screws (PH2) from the bottom side. |
| - | FIXME //Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, ...// | + | |
| - | </ | + | |
| ==== Serial ==== | ==== Serial ==== | ||
| -> [[docs: | -> [[docs: | ||
| - | How to connect | + | The Serial Port header is located next to the On-PCB-Antenna " |
| **Insert photo of PCB with markings for serial port** | **Insert photo of PCB with markings for serial port** | ||
| - | <WRAP BOX> | + | ^ PIN ^ ^ |
| - | FIXME //Replace EXAMPLE by real values.// | + | | 1 | VCC +3.3V (small circle silkscreened) |
| - | </ | + | | 2 | TX | |
| + | | 3 | RX | | ||
| + | | 4 | GND | | ||
| - | ^ Serial connection parameters\\ for ZyXEL NWA1121-NI | + | |
| + | ^ Serial connection parameters for ZyXEL NWA1121-NI | ||
| ==== JTAG ==== | ==== JTAG ==== | ||
| -> [[docs: | -> [[docs: | ||
| - | How to connect to the JTAG Port of this specific device:\\ | + | Does not exist or could not be identified. |
| - | **Insert photo of PCB with markings for JTAG port** | + | |
| ===== Bootlogs ===== | ===== Bootlogs ===== | ||
| ==== OEM bootlog ==== | ==== OEM bootlog ==== | ||
| <WRAP bootlog> | <WRAP bootlog> | ||
| - | < | + | < |
| + | |||
| + | U-Boot 1.1.4-dirty (Nov 2 2012 - 14:40:11) | ||
| + | |||
| + | U-boot MI124 | ||
| + | DRAM: Tap value selected = 0xf [0x0 - 0x1f] | ||
| + | Setting 0xb8116290 to 0x40802d0f | ||
| + | 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: | ||
| + | *** Warning *** : PCIe WLAN Module not found !!! | ||
| + | In: serial | ||
| + | Out: | ||
| + | Err: | ||
| + | Net: | ||
| + | Fetching MAC Address from 0x83fed7a8 | ||
| + | | ||
| + | WASP ----> F1 PHY * | ||
| + | : cfg1 0x80000000 cfg2 0x7114 | ||
| + | eth0: 00: | ||
| + | F1Phy reg init | ||
| + | ATHR_AUTONEG_ADVERT: | ||
| + | ATHR_1000BASET_CONTROL: | ||
| + | ATHR_PHY_CONTROL: | ||
| + | ATHRSF1_PHY: | ||
| + | ATHRSF1_PHY: | ||
| + | ethact=eth0 | ||
| + | |||
| + | ************ Post Result ******************* | ||
| + | POST memory PASSED | ||
| + | POST uart PASSED | ||
| + | POST ethernet PASSED | ||
| + | Hit any key to stop autoboot: | ||
| + | ## Booting image at 9f850000 ... | ||
| + | Image Name: Linux Kernel Image | ||
| + | | ||
| + | Image Type: MIPS Linux Kernel Image (lzma compressed) | ||
| + | Data Size: 941641 Bytes = 919.6 kB | ||
| + | Load Address: 80002000 | ||
| + | Entry Point: | ||
| + | | ||
| + | | ||
| + | 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 10:38:20 CST 2016 | ||
| + | flash_size passed from bootloader = 16 | ||
| + | arg 1: console=ttyS0, | ||
| + | arg 2: root=31: | ||
| + | arg 3: rootfstype=jffs2 | ||
| + | arg 4: init=/ | ||
| + | arg 5: mtdparts=ath-nor0: | ||
| + | arg 6: mem=64M | ||
| + | CPU revision is: 0001974c (MIPS 74Kc) | ||
| + | ath_sys_frequency: | ||
| + | Determined physical RAM map: | ||
| + | | ||
| + | User-defined physical RAM map: | ||
| + | | ||
| + | Initrd not found or empty - disabling initrd | ||
| + | Zone PFN ranges: | ||
| + | Normal | ||
| + | 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, | ||
| + | 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/ | ||
| + | NR_IRQS: | ||
| + | plat_time_init: | ||
| + | Calibrating delay loop... 279.55 BogoMIPS (lpj=559104) | ||
| + | Mount-cache hash table entries: 512 | ||
| + | |||
| + | ****************ALLOC*********************** | ||
| + | | ||
| + | ******************************************** | ||
| + | |||
| + | NET: Registered protocol family 16 | ||
| + | ath_pcibios_init: | ||
| + | ***** Warning PCIe 0 H/W not found !!! | ||
| + | registering PCI controller with io_map_base unset | ||
| + | bio: create slab < | ||
| + | SCSI subsystem initialized | ||
| + | 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/ | ||
| + | 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: | ||
| + | console [ttyS0] enabled | ||
| + | brd: module loaded | ||
| + | 8 cmdlinepart partitions found on MTD device ath-nor0 | ||
| + | Creating 8 MTD partitions on " | ||
| + | 0x000000000000-0x000000040000 : " | ||
| + | 0x000000040000-0x000000050000 : " | ||
| + | 0x000000050000-0x000000850000 : " | ||
| + | 0x000000850000-0x000000940000 : " | ||
| + | 0x000000940000-0x000000fa0000 : " | ||
| + | 0x000000fa0000-0x000000fe0000 : " | ||
| + | 0x000000fe0000-0x000000ff0000 : " | ||
| + | 0x000000ff0000-0x000001000000 : " | ||
| + | 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 < | ||
| + | All bugs added by David S. Miller < | ||
| + | arch/ | ||
| + | athwdt_init: | ||
| + | ath_otp_init: | ||
| + | ath_clksw_init: | ||
| + | VFS: Mounted root (squashfs filesystem) readonly on device 31:2. | ||
| + | Freeing unused kernel memory: 152k freed | ||
| + | init started: | ||
| + | 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: | ||
| + | ATHR_GMAC: 00: | ||
| + | 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 : | ||
| + | athr_gmac_ring_alloc Allocated 2048 at 0x83932800 | ||
| + | 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: | ||
| + | ATHR_1000BASET_CONTROL: | ||
| + | ATHR_PHY_CONTROL: | ||
| + | ATHRSF1_PHY: | ||
| + | ATHRSF1_PHY: | ||
| + | ADDRCONF(NETDEV_UP): | ||
| + | SIOCGIFFLAGS: | ||
| + | ATH_MAC_TIMER: | ||
| + | RGMii 1000Mbps full duplex | ||
| + | ATH_MAC_TIMER: | ||
| + | WASP ----> F1e PHY | ||
| + | Setting Drop CRC Errors, Pause Frames and Length Error frames | ||
| + | ADDRCONF(NETDEV_CHANGE): | ||
| + | device eth0 entered promiscuous mode | ||
| + | br0: port 1(eth0) entering forwarding state | ||
| + | apcfg: Skip default verifying. | ||
| + | apcfg: Skip default verifying. | ||
| + | Password changed. | ||
| + | tar: / | ||
| + | ip_tables: (C) 2000-2006 Netfilter Core Team | ||
| + | ip6_tables: (C) 2000-2006 Netfilter Core Team | ||
| + | apcfg: Skip default verifying. | ||
| + | SEC_MODE= | ||
| + | lo no wireless extensions. | ||
| + | |||
| + | sit0 no wireless extensions. | ||
| + | |||
| + | eth0 no wireless extensions. | ||
| + | |||
| + | br0 no wireless extensions. | ||
| + | |||
| + | Args: 1 | ||
| + | asf: module license ' | ||
| + | Disabling lock debugging due to kernel taint | ||
| + | ath_hal: 0.9.17.1 (AR5416, AR9380, REGOPS_FUNC, | ||
| + | ath_rate_atheros: | ||
| + | insmod: cannot open module `/ | ||
| + | ath_dfs: Version 2.0.0 | ||
| + | Copyright (c) 2005-2006 Atheros Communications, | ||
| + | ath_dev: Copyright (c) 2001-2007 Atheros Communications, | ||
| + | ath_ahb: 9.2.0_U11.14 (Atheros/ | ||
| + | __ath_attach: | ||
| + | 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: | ||
| + | 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, | ||
| + | ath_pci: 9.2.0_U11.14 (Atheros/ | ||
| + | insmod: cannot open module `/ | ||
| + | 756 | ||
| + | DFS min filter rssiThresh = 15 | ||
| + | DFS max pulse dur = 151 ticks | ||
| + | Creating ap for ZyXEL on | ||
| + | wlan_vap_create : enter. devhandle=0x83a602c0, | ||
| + | wlan_vap_create : exit. devhandle=0x83a602c0, | ||
| + | Added ath0 mode master | ||
| + | Interface doesn' | ||
| + | HALDbg (8BE0): Operation not permitted | ||
| + | Configuring RF . . . | ||
| + | WARNING: Fragmentation with HT mode NOT ALLOWED!! | ||
| + | Error for wireless request "Set Fragmentation Threshold" | ||
| + | SET failed on device ath0 ieee80211_ioctl_siwmode: | ||
| + | ; Invalid argument. | ||
| + | Created ath0 mode ap for ZyXEL | ||
| + | lo no wireless extensions. | ||
| + | |||
| + | sit0 no wireless extensions. | ||
| + | |||
| + | eth0 no wireless extensions. | ||
| + | |||
| + | br0 no wireless extensions. | ||
| + | |||
| + | wifi0 no wSetting Max Stations: | ||
| + | ireless extensions. | ||
| + | |||
| + | lo no wireless extensions. | ||
| + | |||
| + | sit0 no wireless extensions. | ||
| + | |||
| + | eth0 no wireless extensions. | ||
| + | |||
| + | br0 no wireless extensions. | ||
| + | |||
| + | wifi0 no wireless extensions. | ||
| + | |||
| + | device ath0 entered promiscuous mode | ||
| + | br0: port 2(ath0) entering forwarding state | ||
| + | ARPING to 192.168.1.2 from 192.168.1.2 via br0 | ||
| + | Sent 1 probes (1 broadcast(s)) | ||
| + | Received 0 reply | ||
| + | >>>>> | ||
| + | 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 eth0 entered promiscuous mode | ||
| + | br0: port 1(eth0) entering forwarding state | ||
| + | device ath0 entered promiscuous mode | ||
| + | br0: port 2(ath0) entering forwarding state | ||
| + | route: SIOC[ADD|DEL]RT: | ||
| + | ARPING to 192.168.1.2 from 192.168.1.2 via br0 | ||
| + | Sent 1 probes (1 broadcast(s)) | ||
| + | Received 0 reply | ||
| + | ip_tables: (C) 2000-2006 Netfilter Core Team | ||
| + | ip6_tables: (C) 2000-2006 Netfilter Core Team | ||
| + | CHH: System Configuration | ||
| + | Configuration file: / | ||
| + | | ||
| + | br0: port 2(ath0) entering disabled state | ||
| + | | ||
| + | Could not connec DEVICE IS DOWN ifname=ath0 | ||
| + | t to kernel driver. | ||
| + | Using interface ath0 with hwaddr cc: | ||
| + | br0: port 2(ath0) entering forwarding state | ||
| + | bind: Address already in use | ||
| + | mini_httpd: started as root without requesting chroot(), warning only | ||
| + | bind: Address already in use | ||
| + | mini_httpd: started as root without requesting chroot(), warning only | ||
| + | apcfg: Skip default verifying. | ||
| + | apcfg: Skip default verifying. | ||
| + | apcfg: Skip default verifying. | ||
| + | date: invalid date `00000.0' | ||
| + | ip_tables: (C) 2000-2006 Netfilter Core Team | ||
| + | ip6_tables: (C) 2000-2006 Netfilter Core Team | ||
| + | Ebtables v2.0 registered | ||
| + | Ebtables v2.0 unregistered | ||
| + | apcfg: Skip default verifying. | ||
| + | |||
| + | | ||
| + | NWA1121-NI login: ip_tables: (C) 2000-2006 Netfilter Core Team | ||
| + | ip6_tables: (C) 2000-2006 Netfilter Core Team | ||
| + | |||
| + | </ | ||
| </ | </ | ||
| Line 190: | Line 560: | ||
| ===== Tags ===== | ===== Tags ===== | ||
| [[meta: | [[meta: | ||
| - | {{tag>EXAMPLETAG | + | {{tag>AR9342 16Flash 64RAM 1port GigabitEthernet 802.11bgn ceiling PoE unsupported}} |