Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
inbox:toh:zyxel:nwa1121-ni [2021/05/14 21:30] – [Tags] add initial Tags krtzbrtzinbox:toh:zyxel:nwa1121-ni [2021/05/16 22:42] – [OEM bootlog] s_2
Line 154: Line 154:
 Here, we merely name the buttons, so we can use them in the above Howto. Here, we merely name the buttons, so we can use them in the above Howto.
  
-The ZyXEL NWA1123-NI has the following buttons:+The ZyXEL NWA1121-NI has the following buttons:
  
 ^ BUTTON                Event  ^  GPIO  ^  Polarity    ^ ^ BUTTON                Event  ^  GPIO  ^  Polarity    ^
Line 173: Line 173:
 Two flash partitions are concatenated to a "firmware" partition Two flash partitions are concatenated to a "firmware" partition
  
-^  ZyXEL NWA1123-NI  Flash Layout  (OpenWrt)  ^^^^^^^^^+^  ZyXEL NWA1121-NI  Flash Layout  (OpenWrt)  ^^^^^^^^^
 ^ Layer0        raw NOR flash memory chip (m25p80 [[wp>Serial Peripheral Interface Bus|spi]]0.0: mx25l12805d) 16384 KiB  |||||||| ^ Layer0        raw NOR flash memory chip (m25p80 [[wp>Serial Peripheral Interface Bus|spi]]0.0: mx25l12805d) 16384 KiB  ||||||||
 ^ Layer1        mtd0  |  mtd1  |  mtd2  |  mtd3  |  mtd4  |  mtd5  |  mtd6  |  mtd7  | ^ Layer1        mtd0  |  mtd1  |  mtd2  |  mtd3  |  mtd4  |  mtd5  |  mtd6  |  mtd7  |
Line 196: Line 196:
 === Stock Firmware === === Stock Firmware ===
  
-^   ZyXEL NWA1123-NI  Flash Layout  (stock firmware)  ^^^^^^^^^+^   ZyXEL NWA1121-NI  Flash Layout  (stock firmware)  ^^^^^^^^^
 ^ Layer0        raw NOR flash memory chip (Macronix MX25L12845E)  16384 KiB  |||||||| ^ Layer0        raw NOR flash memory chip (Macronix MX25L12845E)  16384 KiB  ||||||||
 ^ Layer1        mtd0  |  mtd1  |  mtd2  |  mtd3  |  mtd4  |  mtd5  |  mtd6  |  mtd7  | ^ Layer1        mtd0  |  mtd1  |  mtd2  |  mtd3  |  mtd4  |  mtd5  |  mtd6  |  mtd7  |
Line 246: Line 246:
 ==== OEM bootlog ==== ==== OEM bootlog ====
 <WRAP bootlog> <WRAP bootlog>
-<nowiki>COPY HERE THE BOOTLOG WITH THE ORIGINAL FIRMWARE</nowiki>+<nowiki> 
 + 
 +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: PCIe PLL not set for 40MHz refclk 
 +*** Warning *** : PCIe WLAN Module not found !!! 
 +In:    serial 
 +Out:   serial 
 +Err:   serial 
 +Net:   ag934x_enet_initialize... 
 +Fetching MAC Address from 0x83fed7a8 
 + 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: 
 +## Booting image at 9f850000 ... 
 +   Image Name:   Linux Kernel Image 
 +   Created:      2016-10-05   6:28:25 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 10:38:20 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 
 +***** Warning PCIe 0 H/W not found !!! 
 +registering PCI controller with io_map_base unset 
 +bio: create slab <bio-0> at 0 
 +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/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:
 +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.05-06:27+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 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: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 
 +device eth0 entered promiscuous mode 
 +br0: port 1(eth0) entering forwarding state 
 +apcfg: Skip default verifying. 
 +apcfg: Skip default verifying. 
 +Password changed. 
 +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 
 +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 '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 
 +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) 
 +insmod: cannot open module `/lib/modules/2.6.31/wlan_me.ko': No such file or directory 
 +756 
 +DFS min filter rssiThresh = 15 
 +DFS max pulse dur = 151 ticks 
 +Creating ap for ZyXEL on 
 +wlan_vap_create : enter. devhandle=0x83a602c0, opmode=IEEE80211_M_HOSTAP, flags=0x1 
 +wlan_vap_create : exit. devhandle=0x83a602c0, opmode=IEEE80211_M_HOSTAP, flags=0x1. 
 +Added ath0 mode master 
 +Interface doesn't accept private ioctl... 
 +HALDbg (8BE0): Operation not permitted 
 +Configuring RF . . . 
 +WARNING: Fragmentation with HT mode NOT ALLOWED!! 
 +Error for wireless request "Set Fragmentation Threshold" (8B24) : 
 +    SET failed on device ath0 ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1 
 + ; 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:64 
 +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 
 +>>>>> WPS MODE, 
 +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: No such process 
 +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: /tmp/apath0 
 + ieee80211_ioctl_siwmode: imr.ifm_active=393856, new mode=3, valid=1 
 +br0: port 2(ath0) 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 cc:5d:4e:67:bf:cd and ssid 'ZyXEL' 
 +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 mips #1 Thu Sep 29 10:38:20 CST 2016 (none) 
 +NWA1121-NI login: ip_tables: (C) 2000-2006 Netfilter Core Team 
 +ip6_tables: (C) 2000-2006 Netfilter Core Team 
 + 
 +</nowiki>
 </WRAP>\\ </WRAP>\\
  
  • Last modified: 2024/02/11 21:58
  • by 127.0.0.1