ZBT APE522ii
Outdoor dual-band highly directional WiFi-AC access point with dual antenna and 802.2af PoE. Clearly a knock-off from the Ubiqity NanoStation series, though those were never made in dual 2.4GHz/5.2GHz models.
There are at least 2 variants of this router:
- Rounded corners case, only 64M/8M, as visible on ZBT product page, and original support by OpenWrt
- (Case similar to older non-M series 'Ubiquity NanoStation')
- More square case, 128M/16M product
- (Case similar to 'Ubiquity NanoStation M2' series of which I have a dozen)
USE EXPERIENCE
After using mine for a few days, I found that: * The 5GHz is quite good. Above 50Mbps up/down in my shed 70 meters away over open field and one wooden wall. Maybe more, but my router limits to 50Mbps per connection. * The 2.4GHz does not exist. When sitting right next to it, it works, but from even 3 meters away it is gone. I suspect either there is no antenna, or it is not connected.
Supported Versions
Hardware Highlights
Installation
My installation notes
The newer 128MB/16MB device I bought was ambiguously listed as a both ZBT and Cioswi brands. It was listed as model APE522 but in the factory OpenWRT instead was given model AWF-5G. This OpenWRT was a fork without proper versioning: “OpenWrt Barrier Breaker unknown / LuCI Trunk (svn-r10457)”. I do not have this version on file and overwrote the firmware.
The factory OpenWRT seemed to work (casually checking), except the WiFi 802.11ac was broken. It reported weird channels in Luci: channel 36 and up, but with frequency 2.5xxGHz, so neither 2.4GHz nor 5GHz. Also I could only select protocol an, not ac. Upgrade was simple through the normal Luci or SHH 'sysupgrade' method, I simply upgraded to “openwrt-18.06.5-ramips-mt7620-zbt-ape522ii-squashfs-sysupgrade.bin”. (Well, after carefully checking if the chips in the bootlog at least all seemed OK, and still feeling slightly stressed, but it all worked)
Before, with factory forked OpenWRT, the 802.1af PoE port in the middle is the WAN port. After going to official APE522 OpenWRT that becomes the LAN port. So the LAN and WAN seem to swap. Indeed the switch configuration seemed to have changed. The switch is fully configurable though using OpenWRT.
Installing
As I simply used sysupgrade, I did not try below. So following was copied from another ZBT/OpenWRT device page, untested on this device, but probably works
Installation using the webinterface:
- Plug a computer to any lan port of the device.
- Hold the reset button.
- Power on the device while holding the reset button for at least 15 seconds.
- Set you computers ipv4 settings to 192.168.1.2 for the ip, and 255.255.255.0 for the subnet mask.
- Open 192.168.1.1 in your web browser and upload your firmware using the webinterface.
- Do not disconnect the device now! Doing so could eventually brick it.
- Wait 90 Seconds for the device to finish the flashing procedure, it will automatically restart.
- You can now reload the web page and start configuring OpenWrt.
Hardware
Info
Architecture | MIPS |
---|---|
Vendor | MediaTek (Ralink) |
System-On-Chip | Mediatek MT7620A ver:2 eco:6 |
CPU | MIPS 24KEc V5.0 |
CPU Speed | 580 MHz |
Flash | 16 MB Winbond 25Q128 |
RAM | 128 MB |
Wireless | SoC |
Ethernet | 2x 10/100 |
one with 802.2af PoE | |
USB | No |
SD | No |
e-PCI | No |
SIM-slot | No |
Serial | Yes (internal TLL) |
Power
Power is officially possible with a 12V barrel plug or 802.2af PoE, but not passive PoE.
The barrel plug is officially 12V, but is switched stepped down to 5V and 3.3V with all components rated to 18V (AP6502 chip) so probably all is fine from 9V up to 18V. This means you can easily hook up to a external passive PoE splitter for 12V, 15V or 18V systems (I tried to 22V with scope, indeed step down waveform broke down at 20V).
Only one ETH socket is PoE, the 2nd ETH socket is completely not connected for power. The 802.2af socket is connected both mid-span (pairs 45/78) and end-span (pairs 12/36) to the PoE transformer. It also has a small ceramic lightning arrestor on each pair. As always, these will never survive a full strike, but with luck can mitigate induction in the lines caused by nearly strikes.
Easy Power modifications
Sending passive power (I tried up to 30V) does not turn on the device, probably the PoE protocol chip does not recognise it is powered and does not drive the transformer.
However internally it is quite easy to bridge two solder joints next to the barrel plug to connect the mid-span pairs of the POE socket to the barrel plug. Seems like these were designed for this purpose, though possibly in this case the active PoE circuitry would not be populated. So a fairly easy conversion to internal passive PoE is possible, and with the lightning arrestors, the need for water-resistance, this may be a better option then an external splitter.
Alternatively, one could connect the completely unconnected pair 45/78 of the 2nd ETH port, to pass through the passive power to a next device. By doing this with the 12V output of the active PoE, one could use 48V for the long distance line, and then pass lower 12V passively into the next device.
Also one could easily replace the protection diode of the barrel plug with a fuse or jumper, so power can flow out instead of in, thus using the barrel plug to power said next device in with the stepped down 12V.
Photos
TODO
Opening the case
- Unscrew small screw under sticker, which allows to slide out bracket with entire PCB.
- The sticker is quite thick, you may need to pry a litte deeper then you would think.
- Lift bracket a little while sliding, to ease it past two small indents
Serial
There is a serial header available on this board, labeled J1, with the following pinout:
Pin | Designation |
---|---|
1 | prob RX, has square island |
2 | prob TX |
3 | GND |
Serial connection parameters | 115200 8N1 |
---|
Once you are on the console, it is possible to control the UBoot bootloader.
Please choose the operation: 1: Load system code to SDRAM via TFTP. 2: Load system code then write to Flash via TFTP. 3: Boot system code via Flash (default). 4: Entr boot command line interface. 7: Load Boot Loader code then write to Flash via Serial. 9: Load Boot Loader code then write to Flash via TFTP. 0 3: System Boot system code via Flash.
To engage any of those options hold that key down while applying power. Note the default is “3”.
Debricking
HTTP method
- Disconnect power
- Set your computer's IP address to 192.168.1.22 or something else in that network except 192.168.1.1
- Connect power and after lights have changed the first time, hold down reset button (don't know how long it needs)
- And try to open 192.168.1.1 with your browser. (You might need to clear cache first)
- You might find this easier, by pinging 192.168.1.1 first continuously.
- After page opens, you may release reset button. Use web-interface which opened to browser to upload new image.
UBOOT Method
- connect a serial port (requires soldering)
- apply power to the board, choose “2: Load system code then write to Flash via TFTP.” by holding the 2 key down as power is applied.
- Enter the routers IP address at the “Input device IP” prompt.
- Enter the TFTP server IP address at the “Input server IP” prompt.
- Enter the image name you wish to load at the “Input Linux Kernel filename” prompt. Sysupgrade format worked for me, which is more than just a kernel.
It will look like this:
Please choose the operation: 1: Load system code to SDRAM via TFTP. 2: Load system code then write to Flash via TFTP. 3: Boot system code via Flash (default). 4: Entr boot command line interface. 7: Load Boot Loader code then write to Flash via Serial. 9: Load Boot Loader code then write to Flash via TFTP. You choosed 2 0 2: System Load Linux Kernel then write to Flash via TFTP. Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N) Please Input new ones /or Ctrl-C to discard Input device IP (192.168.1.1) ==:192.168.1.1 Input server IP (192.168.1.222) ==:192.168.1.222 Input Linux Kernel filename (openwrt-ramips-mt7620-uImage.bin) ==:openwrt-ramips-mt7620-zbt-we826-squashfs-sysupgrade.bin
Bootlogs
Factory OpenWrt bootlog
Taken from factory original OpenWRT fork reporting “AWF-5G” model
root@OpenWrt:/etc/config# dmesg [ 0.000000] Linux version 3.10.44 (zbt123@zbt-server) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 unknown) ) #15 Sat May 7 10:06:43 CST 2016 [ 0.000000] Board has DDR2 [ 0.000000] Analog PMU set to hw control [ 0.000000] Digital PMU set to hw control [ 0.000000] SoC Type: Ralink MT7620A ver:2 eco:6 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU revision is: 00019650 (MIPS 24KEc) [ 0.000000] MIPS: machine is AWF-5G [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 08000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00000000-0x07ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x07ffffff] [ 0.000000] On node 0 totalpages: 32768 [ 0.000000] free_area_init_node: node 0, pgdat 802eca60, node_mem_map 81005b20 [ 0.000000] Normal zone: 256 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 32768 pages, LIFO batch:7 [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Writing ErrCtl register=0003a617 [ 0.000000] Readback ErrCtl register=0003a617 [ 0.000000] Memory: 126424k/131072k available (2483k kernel code, 4648k reserved, 601k data, 176k init, 0k highmem) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:256 [ 0.000000] CPU Clock: 580MHz [ 0.050000] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216) [ 0.060000] pid_max: default: 32768 minimum: 301 [ 0.060000] Mount-cache hash table entries: 512 [ 0.070000] pinctrl core: initialized pinctrl subsystem [ 0.070000] NET: Registered protocol family 16 [ 0.080000] rt2880-pinmux pinctrl.1: try to register 73 pins ... [ 0.080000] pinctrl core: registered pin 0 (io0) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 1 (io1) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 2 (io2) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 3 (io3) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 4 (io4) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 5 (io5) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 6 (io6) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 7 (io7) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 8 (io8) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 9 (io9) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 10 (io10) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 11 (io11) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 12 (io12) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 13 (io13) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 14 (io14) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 15 (io15) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 16 (io16) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 17 (io17) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 18 (io18) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 19 (io19) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 20 (io20) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 21 (io21) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 22 (io22) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 23 (io23) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 24 (io24) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 25 (io25) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 26 (io26) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 27 (io27) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 28 (io28) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 29 (io29) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 30 (io30) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 31 (io31) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 32 (io32) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 33 (io33) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 34 (io34) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 35 (io35) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 36 (io36) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 37 (io37) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 38 (io38) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 39 (io39) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 40 (io40) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 41 (io41) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 42 (io42) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 43 (io43) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 44 (io44) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 45 (io45) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 46 (io46) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 47 (io47) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 48 (io48) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 49 (io49) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 50 (io50) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 51 (io51) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 52 (io52) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 53 (io53) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 54 (io54) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 55 (io55) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 56 (io56) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 57 (io57) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 58 (io58) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 59 (io59) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 60 (io60) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 61 (io61) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 62 (io62) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 63 (io63) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 64 (io64) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 65 (io65) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 66 (io66) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 67 (io67) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 68 (io68) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 69 (io69) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 70 (io70) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 71 (io71) on rt2880-pinmux [ 0.080000] pinctrl core: registered pin 72 (io72) on rt2880-pinmux [ 0.080000] pinctrl core: add 5 pinmux maps [ 0.080000] rt2880-pinmux pinctrl.1: found group selector 0 for i2c [ 0.080000] rt2880-pinmux pinctrl.1: found group selector 1 for uartf [ 0.080000] rt2880-pinmux pinctrl.1: found group selector 11 for wled [ 0.080000] rt2880-pinmux pinctrl.1: found group selector 7 for spi refclk [ 0.080000] rt2880-pinmux pinctrl.1: found group selector 13 for pa [ 0.080000] rt2880-pinmux pinctrl.1: request pin 1 (io1) for pinctrl.1 [ 0.080000] rt2880-pinmux pinctrl.1: request pin 2 (io2) for pinctrl.1 [ 0.080000] rt2880-pinmux pinctrl.1: request pin 7 (io7) for pinctrl.1 [ 0.080000] rt2880-pinmux pinctrl.1: request pin 8 (io8) for pinctrl.1 [ 0.080000] rt2880-pinmux pinctrl.1: request pin 9 (io9) for pinctrl.1 [ 0.080000] rt2880-pinmux pinctrl.1: request pin 10 (io10) for pinctrl.1 [ 0.080000] rt2880-pinmux pinctrl.1: request pin 11 (io11) for pinctrl.1 [ 0.080000] rt2880-pinmux pinctrl.1: request pin 12 (io12) for pinctrl.1 [ 0.080000] rt2880-pinmux pinctrl.1: request pin 13 (io13) for pinctrl.1 [ 0.080000] rt2880-pinmux pinctrl.1: request pin 14 (io14) for pinctrl.1 [ 0.080000] rt2880-pinmux pinctrl.1: request pin 72 (io72) for pinctrl.1 [ 0.080000] rt2880-pinmux pinctrl.1: request pin 37 (io37) for pinctrl.1 [ 0.080000] rt2880-pinmux pinctrl.1: request pin 38 (io38) for pinctrl.1 [ 0.080000] rt2880-pinmux pinctrl.1: request pin 39 (io39) for pinctrl.1 [ 0.080000] rt2880-pinmux pinctrl.1: request pin 18 (io18) for pinctrl.1 [ 0.080000] rt2880-pinmux pinctrl.1: request pin 19 (io19) for pinctrl.1 [ 0.080000] rt2880-pinmux pinctrl.1: request pin 20 (io20) for pinctrl.1 [ 0.080000] rt2880-pinmux pinctrl.1: request pin 21 (io21) for pinctrl.1 [ 0.080000] rt2880-pinmux pinctrl.1: failed to lookup the sleep state [ 0.500000] bio: create slab <bio-0> at 0 [ 0.510000] rt2880_gpio 10000600.gpio: registering 24 gpios [ 0.510000] rt2880_gpio 10000600.gpio: registering 24 irq handlers [ 0.520000] rt2880_gpio 10000638.gpio: registering 16 gpios [ 0.520000] rt2880_gpio 10000638.gpio: registering 16 irq handlers [ 0.530000] rt2880_gpio 10000688.gpio: registering 1 gpios [ 0.530000] rt2880_gpio 10000688.gpio: registering 1 irq handlers [ 0.540000] PCI host bridge to bus 0000:00 [ 0.540000] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff] [ 0.550000] pci_bus 0000:00: root bus resource [io 0x10160000-0x1016ffff] [ 0.550000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 0.560000] pci 0000:00:00.0: [1814:0802] type 01 class 0x060400 [ 0.560000] pci 0000:00:00.0: reg 14: [mem 0x00000000-0x0000ffff] [ 0.560000] pci 0000:00:00.0: supports D1 [ 0.560000] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 0.560000] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 0.560000] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000 [ 0.560000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x000fffff 64bit] [ 0.560000] pci 0000:01:00.0: reg 30: [mem 0x00000000-0x0000ffff pref] [ 0.560000] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold [ 0.560000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 0.560000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01 [ 0.560000] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x200fffff] [ 0.570000] pci 0000:00:00.0: BAR 9: assigned [mem 0x20100000-0x201fffff pref] [ 0.570000] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff] [ 0.580000] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit] [ 0.580000] pci 0000:01:00.0: BAR 6: assigned [mem 0x20100000-0x2010ffff pref] [ 0.590000] pci 0000:00:00.0: PCI bridge to [bus 01] [ 0.590000] pci 0000:00:00.0: bridge window [mem 0x20000000-0x200fffff] [ 0.600000] pci 0000:00:00.0: bridge window [mem 0x20100000-0x201fffff pref] [ 0.600000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002) [ 0.610000] Switching to clocksource MIPS [ 0.610000] NET: Registered protocol family 2 [ 0.620000] TCP established hash table entries: 1024 (order: 1, 8192 bytes) [ 0.620000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.630000] TCP: Hash tables configured (established 1024 bind 1024) [ 0.630000] TCP: reno registered [ 0.640000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.640000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.650000] NET: Registered protocol family 1 [ 0.650000] PCI: CLS 80 bytes, default 32 [ 0.650000] rt-timer 10000100.timer: maximum frequncy is 2441Hz [ 0.660000] alarmtimer alarmtimer: no of_node; not parsing pinctrl DT [ 0.680000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.680000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.690000] msgmni has been set to 246 [ 0.700000] io scheduler noop registered [ 0.700000] io scheduler deadline registered (default) [ 0.710000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 0.710000] serial8250 serial8250: no of_node; not parsing pinctrl DT [ 0.710000] pinctrl core: add 1 pinmux maps [ 0.710000] rt2880-pinmux pinctrl.1: found group selector 3 for uartlite [ 0.710000] rt2880-pinmux pinctrl.1: request pin 15 (io15) for 10000c00.uartlite [ 0.710000] rt2880-pinmux pinctrl.1: request pin 16 (io16) for 10000c00.uartlite [ 0.710000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20) is a 16550A [ 0.720000] console [ttyS0] enabled, bootconsole disabled [ 0.740000] pinctrl core: add 1 pinmux maps [ 0.740000] rt2880-pinmux pinctrl.1: found group selector 2 for spi [ 0.740000] rt2880-pinmux pinctrl.1: request pin 3 (io3) for 10000b00.spi [ 0.740000] rt2880-pinmux pinctrl.1: request pin 4 (io4) for 10000b00.spi [ 0.740000] rt2880-pinmux pinctrl.1: request pin 5 (io5) for 10000b00.spi [ 0.740000] rt2880-pinmux pinctrl.1: request pin 6 (io6) for 10000b00.spi [ 0.740000] m25p80 spi32766.0: found w25q128, expected w25q256 [ 0.740000] m25p80 spi32766.0: w25q128 (16384 Kbytes) [ 0.750000] 4 ofpart partitions found on MTD device spi32766.0 [ 0.750000] Creating 4 MTD partitions on "spi32766.0": [ 0.760000] 0x000000000000-0x000000030000 : "u-boot" [ 0.770000] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.770000] 0x000000040000-0x000000050000 : "factory" [ 0.780000] 0x000000050000-0x000001000000 : "firmware" [ 0.790000] 0x00000015da8c-0x000001000000 : "rootfs" [ 0.790000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 0.810000] mtd: device 4 (rootfs) set to be root filesystem [ 0.810000] mtd: partition "rootfs_data" created automatically, ofs=0x6d0000, len=0x930000 [ 0.820000] 0x0000006d0000-0x000001000000 : "rootfs_data" [ 0.830000] ralink_soc_eth 10100000.ethernet: Enabling TSO [ 0.840000] gsw: setting port4 to ephy mode [ 0.840000] (unregistered net_device): port 0 link up (100Mbps/Full duplex) [ 0.850000] ralink_soc_eth 10100000.ethernet: loaded mt7530 driver [ 0.860000] eth0: done loading [ 0.860000] rt3xxx-usbphy ubsphy.3: loaded [ 0.870000] rt2880_wdt 10000120.watchdog: Initialized [ 0.870000] TCP: cubic registered [ 0.870000] NET: Registered protocol family 17 [ 0.880000] 8021q: 802.1Q VLAN Support v1.8 [ 0.900000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4. [ 0.900000] Freeing unused kernel memory: 176K (80304000 - 80330000) [ 6.180000] usbcore: registered new interface driver usbfs [ 6.180000] usbcore: registered new interface driver hub [ 6.190000] usbcore: registered new device driver usb [ 6.200000] Button Hotplug driver version 0.4.1 [ 6.200000] rt2880-pinmux pinctrl.1: request pin 2 (io2) for pio:2 [ 6.210000] SCSI subsystem initialized [ 6.220000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 6.230000] ehci-platform: EHCI generic platform driver [ 6.440000] rt3xxx-usbphy ubsphy.3: remote usb device wakeup disabled [ 6.440000] rt3xxx-usbphy ubsphy.3: UTMI 16bit 30MHz [ 6.450000] ehci-platform 101c0000.ehci: EHCI Host Controller [ 6.450000] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1 [ 6.460000] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000 [ 6.490000] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00 [ 6.490000] usb usb1: no of_node; not parsing pinctrl DT [ 6.490000] hub 1-0:1.0: no of_node; not parsing pinctrl DT [ 6.490000] hub 1-0:1.0: USB hub found [ 6.500000] hub 1-0:1.0: 1 port detected [ 6.500000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 6.510000] ohci-platform 101c1000.ohci: Generic Platform OHCI Controller [ 6.520000] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2 [ 6.520000] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000 [ 6.590000] usb usb2: no of_node; not parsing pinctrl DT [ 6.590000] hub 2-0:1.0: no of_node; not parsing pinctrl DT [ 6.590000] hub 2-0:1.0: USB hub found [ 6.590000] hub 2-0:1.0: 1 port detected [ 6.610000] leds-gpio gpio-leds.4: pins are not configured from the driver [ 6.610000] rt2880-pinmux pinctrl.1: request pin 11 (io11) for pio:11 [ 6.610000] rt2880-pinmux pinctrl.1: request pin 38 (io38) for pio:38 [ 6.610000] rt2880-pinmux pinctrl.1: request pin 72 (io72) for pio:72 [ 6.610000] rt2880-pinmux pinctrl.1: request pin 39 (io39) for pio:39 [ 6.620000] sdhci: Secure Digital Host Controller Interface driver [ 6.630000] sdhci: Copyright(c) Pierre Ossman [ 6.640000] MTK MSDC device init. [ 6.680000] mtk-sd: MediaTek MT6575 MSDC Driver [ 6.680000] sdhci-pltfm: SDHCI platform and OF driver helper [ 6.690000] usbcore: registered new interface driver usb-storage [ 6.700000] Error: Driver 'gpio-keys-polled' is already registered, aborting... [ 6.710000] Error: Driver 'gpio-keys-polled' is already registered, aborting... [ 10.380000] Error: Driver 'gpio-keys-polled' is already registered, aborting... [ 11.210000] jffs2: notice: (332) jffs2_build_xattr_subsystem: complete building xattr subsystem, 6 of xdatum (1 unchecked, 5 orphan) and 80 of xref (0 dead, 68 orphan) found. [ 11.450000] jffs2: notice: (327) jffs2_build_xattr_subsystem: complete building xattr subsystem, 6 of xdatum (1 unchecked, 5 orphan) and 80 of xref (0 dead, 68 orphan) found. [ 13.730000] NET: Registered protocol family 10 [ 13.750000] NET: Registered protocol family 8 [ 13.750000] NET: Registered protocol family 20 [ 13.770000] NTFS driver 2.1.30 [Flags: R/O MODULE]. [ 13.790000] Initializing XFRM netlink socket [ 13.800000] NET: Registered protocol family 15 [ 13.800000] tun: Universal TUN/TAP device driver, 1.6 [ 13.810000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [ 13.850000] l2tp_core: L2TP core driver, V2.0 [ 13.850000] l2tp_netlink: L2TP netlink interface [ 13.860000] gre: GRE over IPv4 demultiplexor driver [ 13.860000] ip_gre: GRE over IPv4 tunneling driver [ 13.880000] PPP generic driver version 2.4.2 [ 13.910000] nf_conntrack version 0.5.0 (1978 buckets, 7912 max) [ 13.950000] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 14.560000] rt2860v2_ap: module license 'unspecified' taints kernel. [ 14.570000] Disabling lock debugging due to kernel taint [ 14.620000] [ 14.620000] [ 14.620000] === pAd = c05bc000, size = 821168 === [ 14.620000] [ 14.630000] <-- RTMPAllocTxRxRingMemory, Status=0 [ 14.640000] <-- RTMPAllocAdapterBlock, Status=0 [ 14.640000] AP Driver version-2.7.2.0 [ 15.370000] register rt2860 [ 15.370000] rt2860 0000:01:00.0: no of_node; not parsing pinctrl DT [ 15.380000] [ 15.380000] [ 15.380000] === pAd = c0981000, size = 2020512 === [ 15.380000] [ 15.390000] <-- RTMPAllocTxRxRingMemory, Status=0 [ 15.400000] <-- RTMPAllocAdapterBlock, Status=0 [ 15.410000] pAd->CSRBaseAddress =0xc0880000, csr_addr=0xc0880000! [ 15.410000] device_id =0x7662 [ 15.410000] ==>rlt_wlan_chip_onoff(): OnOff:1, Reset= 1, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0x20a [ 15.430000] E2pAccessMode=2 [ 15.430000] cfg_mode=14 [ 15.440000] cfg_mode=14 [ 15.440000] wmode_band_equal(): Band Not Equal! [ 15.450000] APSDCapable[0]=0 [ 15.450000] APSDCapable[1]=0 [ 15.450000] APSDCapable[2]=0 [ 15.460000] APSDCapable[3]=0 [ 15.460000] APSDCapable[4]=0 [ 15.460000] APSDCapable[5]=0 [ 15.460000] APSDCapable[6]=0 [ 15.470000] APSDCapable[7]=0 [ 15.470000] APSDCapable[8]=0 [ 15.470000] APSDCapable[9]=0 [ 15.480000] APSDCapable[10]=0 [ 15.480000] APSDCapable[11]=0 [ 15.480000] APSDCapable[12]=0 [ 15.490000] APSDCapable[13]=0 [ 15.490000] APSDCapable[14]=0 [ 15.490000] APSDCapable[15]=0 [ 15.490000] default ApCliAPSDCapable[0]=0 [ 15.500000] Key1Str is Invalid key length(0) or Type(0) [ 15.510000] Key2Str is Invalid key length(0) or Type(0) [ 15.510000] Key3Str is Invalid key length(0) or Type(0) [ 15.520000] Key4Str is Invalid key length(0) or Type(0) [ 15.560000] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5 [ 15.560000] NVM is FLASH mode (pAd->flash_offset = 0x48000) [ 15.570000] get_dev_name_prefix(): dev_idx = 1, dev_name_prefix=rai [ 15.600000] Error: Driver 'gpio-keys' is already registered, aborting... [ 15.620000] Error: Driver 'gpio-keys-polled' is already registered, aborting... [ 15.640000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 15.670000] PPP MPPE Compression module registered [ 15.680000] NET: Registered protocol family 24 [ 15.680000] PPTP driver version 0.8.5 [ 15.700000] usbcore: registered new interface driver usbserial [ 15.710000] usbcore: registered new interface driver usbserial_generic [ 15.710000] usbserial: USB Serial support registered for generic [ 15.760000] xt_time: kernel timezone is -0000 [ 15.760000] Error: Driver 'gpio-keys' is already registered, aborting... [ 15.770000] Error: Driver 'gpio-keys-polled' is already registered, aborting... [ 15.790000] l2tp_ppp: PPPoL2TP kernel driver, V2.0 [ 15.810000] Error: Driver 'gpio-keys' is already registered, aborting... [ 15.820000] Error: Driver 'gpio-keys-polled' is already registered, aborting... [ 15.830000] usbcore: registered new interface driver option [ 15.840000] usbserial: USB Serial support registered for GSM modem (1-port) [ 15.850000] Error: Driver 'gpio-keys' is already registered, aborting... [ 15.860000] Error: Driver 'gpio-keys-polled' is already registered, aborting... [ 26.170000] device eth0.1 entered promiscuous mode [ 26.170000] device eth0 entered promiscuous mode [ 26.210000] br-lan: port 1(eth0.1) entered forwarding state [ 26.210000] br-lan: port 1(eth0.1) entered forwarding state [ 26.880000] RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra0! [ 27.240000] [ 27.240000] [ 27.240000] === pAd = c0f9a000, size = 821168 === [ 27.240000] [ 27.250000] <-- RTMPAllocTxRxRingMemory, Status=0 [ 27.260000] <-- RTMPAllocAdapterBlock, Status=0 [ 27.260000] AP Driver version-2.7.2.0 [ 27.390000] RX DESC a6723000 size = 1024 [ 27.530000] APSDCapable[0]=0 [ 27.540000] APSDCapable[1]=0 [ 27.540000] APSDCapable[2]=0 [ 27.540000] APSDCapable[3]=0 [ 27.550000] APSDCapable[4]=0 [ 27.550000] APSDCapable[5]=0 [ 27.550000] APSDCapable[6]=0 [ 27.560000] APSDCapable[7]=0 [ 27.560000] APSDCapable[8]=0 [ 27.560000] APSDCapable[9]=0 [ 27.560000] APSDCapable[10]=0 [ 27.570000] APSDCapable[11]=0 [ 27.570000] APSDCapable[12]=0 [ 27.570000] APSDCapable[13]=0 [ 27.580000] APSDCapable[14]=0 [ 27.580000] APSDCapable[15]=0 [ 27.580000] default ApCliAPSDCapable[0]=0 [ 27.590000] Key1Str is Invalid key length(0) or Type(0) [ 27.590000] Key2Str is Invalid key length(0) or Type(0) [ 27.600000] Key3Str is Invalid key length(0) or Type(0) [ 27.610000] Key4Str is Invalid key length(0) or Type(0) [ 27.620000] 1. Phy Mode = 9 [ 27.630000] 2. Phy Mode = 9 [ 27.660000] E2PROM: D0 target power=0xff20 [ 27.670000] E2PROM: 40 MW Power Delta= 0 [ 27.670000] 3. Phy Mode = 9 [ 27.680000] AntCfgInit: primary/secondary ant 0/1 [ 27.680000] Initialize RF Central Registers for E2 !!! [ 27.690000] Initialize RF Central Registers for E3 !!! [ 27.690000] Initialize RF Channel Registers for E2 !!! [ 27.700000] Initialize RF Channel Registers for E3 !!! [ 27.700000] Initialize RF DCCal Registers for E2 !!! [ 27.710000] Initialize RF DCCal Registers for E3 !!! [ 27.710000] Change as GPIO Mode(0x14311d) [ 27.720000] D1 = -2, D2 = 1, CalCode = 7 !!! [ 27.720000] RT6352_Temperature_Init : BBPR49 = 0xfffffffe [ 27.730000] RT6352_Temperature_Init : TemperatureRef25C = 0xfffffff4 [ 27.740000] Current Temperature from BBP_R49=0xfffffff0 [ 27.750000] TX BW Filter Calibration !!! [ 27.890000] RX BW Filter Calibration !!! [ 28.150000] LOFT Calibration Done! [ 28.160000] IQCalibration Start! [ 28.180000] IQCalibration Done! CH = 0, (gain= 2, phase=3d) [ 28.190000] IQCalibration Start! [ 28.200000] IQCalibration Done! CH = 1, (gain= 2, phase= 2) [ 28.210000] br-lan: port 1(eth0.1) entered forwarding state [ 28.210000] TX IQ Calibration Done! [ 28.220000] Change as Normal Mode(0x4311d) [ 28.220000] After Change, now GPIO_MODE value is 0x4311d [ 28.230000] RT6352_Init_ExtPA_ExtLNA: Enable Ext-PA. init MAC [ 28.240000] RT6352_Init_ExtPA_ExtLNA: Enable Ext-LNA. [ 28.240000] RT6352_Init_ExtPA_ExtLNA: Enable Ext-PA. [ 28.250000] RT6352_Init_ExtPA_ExtLNA: Init Ext-LNA BBP. [ 28.250000] RT6352_Init_ExtPA_ExtLNA: Init Ext-PA MAC. [ 28.260000] MCS Set = ff ff 00 00 01 [ 28.260000] SYNC - BBP R4 to 20MHz.l [ 30.650000] usbserial: USB Serial deregistering driver GSM modem (1-port) [ 30.650000] usbcore: deregistering interface driver option [ 30.680000] usbserial: USB Serial deregistering driver generic [ 30.680000] usbcore: deregistering interface driver usbserial_generic [ 30.690000] usbcore: deregistering interface driver usbserial [ 30.710000] usbserial: `0x' invalid for parameter `vendor' [ 31.800000] The 2-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 2 [ 31.810000] Main bssid = 78:a3:51:34:9b:0f [ 31.810000] <==== rt28xx_init, Status=0 [ 31.830000] 0x1300 = 00064320 [ 31.980000] The 2-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 2 [ 33.530000] device ra0 entered promiscuous mode [ 33.540000] br-lan: port 2(ra0) entered forwarding state [ 33.540000] br-lan: port 2(ra0) entered forwarding state [ 33.650000] The 2-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 2 [ 34.270000] build time = [ 34.270000] 20141115060606a [ 34.280000] rom patch for E3 IC [ 34.280000] [ 34.280000] platform = [ 34.280000] ALPS [ 34.290000] hw/sw version = [ 34.290000] ▒▒ [ 34.290000] patch version = [ 34.290000] [ 34.310000] FW Version:0.0.00 Build:1 [ 34.310000] Build Time:201410061140____ [ 34.310000] fw for E3 IC [ 34.340000] RX[0] DESC a6f41000 size = 4096 [ 34.350000] RX[1] DESC a6f42000 size = 4096 [ 34.410000] E2pAccessMode=2 [ 34.420000] cfg_mode=14 [ 34.420000] cfg_mode=14 [ 34.420000] wmode_band_equal(): Band Not Equal! [ 34.430000] APSDCapable[0]=0 [ 34.430000] APSDCapable[1]=0 [ 34.440000] APSDCapable[2]=0 [ 34.440000] APSDCapable[3]=0 [ 34.440000] APSDCapable[4]=0 [ 34.450000] APSDCapable[5]=0 [ 34.450000] APSDCapable[6]=0 [ 34.450000] APSDCapable[7]=0 [ 34.450000] APSDCapable[8]=0 [ 34.460000] APSDCapable[9]=0 [ 34.460000] APSDCapable[10]=0 [ 34.460000] APSDCapable[11]=0 [ 34.470000] APSDCapable[12]=0 [ 34.470000] APSDCapable[13]=0 [ 34.470000] APSDCapable[14]=0 [ 34.480000] APSDCapable[15]=0 [ 34.480000] default ApCliAPSDCapable[0]=0 [ 34.490000] Key1Str is Invalid key length(0) or Type(0) [ 34.490000] Key2Str is Invalid key length(0) or Type(0) [ 34.500000] Key3Str is Invalid key length(0) or Type(0) [ 34.510000] Key4Str is Invalid key length(0) or Type(0) [ 34.540000] 1. Phy Mode = 49 [ 34.920000] get_chl_grp:illegal channel (167) [ 34.920000] get_chl_grp:illegal channel (167) [ 34.920000] get_chl_grp:illegal channel (169) [ 34.930000] get_chl_grp:illegal channel (169) [ 34.930000] get_chl_grp:illegal channel (171) [ 34.940000] get_chl_grp:illegal channel (171) [ 34.940000] get_chl_grp:illegal channel (173) [ 34.950000] get_chl_grp:illegal channel (173) [ 34.950000] Country Region from e2p = ffff [ 34.960000] mt76x2_read_temp_info_from_eeprom:: is_temp_tx_alc=0, temp_tx_alc_enable=0 [ 34.960000] mt76x2_read_tx_alc_info_from_eeprom:: is_ePA_mode=1, ePA_type=1 [ 34.970000] mt76x2_read_tx_alc_info_from_eeprom:: [5G band] high_temp_slope=15, low_temp_slope=9 [ 34.980000] mt76x2_read_tx_alc_info_from_eeprom:: [2G band] high_temp_slope=0, low_temp_slope=0 [ 34.990000] mt76x2_read_tx_alc_info_from_eeprom:: [5G band] tc_lower_bound=-7, tc_upper_bound=4 [ 35.000000] mt76x2_read_tx_alc_info_from_eeprom:: [2G band] tc_lower_bound=0, tc_upper_bound=0 [ 35.010000] mt76x2_get_external_lna_gain::LNA type=0x1, BLNAGain=0xffffff8c, ALNAGain0=0xffffff8c, ALNAGain1=0xffffff8c, ALNAGain2=0xffffff8c [ 35.020000] 2. Phy Mode = 49 [ 35.020000] 3. Phy Mode = 49 [ 35.030000] andes_pci_fw_init [ 35.030000] 0x1300 = 00073200 [ 35.060000] AntCfgInit: primary/secondary ant 0/1 [ 35.060000] andes_load_cr:cr_type(2) [ 35.080000] ChipStructAssign(): MT76x2 hook ! [ 35.080000] RTMPSetPhyMode: channel is out of range, use first channel=0 [ 35.090000] MCS Set = ff ff 00 00 01 [ 35.540000] br-lan: port 2(ra0) entered forwarding state [ 40.920000] get_chl_grp:illegal channel (169) [ 40.920000] get_chl_grp:illegal channel (169) [ 40.920000] get_low_mid_hi_index:illegal channel(169) [ 40.930000] get_chl_grp:illegal channel (169) [ 40.930000] get_chl_grp:illegal channel (169) [ 40.940000] get_low_mid_hi_index:illegal channel(169) [ 41.190000] get_chl_grp:illegal channel (173) [ 41.190000] get_chl_grp:illegal channel (173) [ 41.190000] get_low_mid_hi_index:illegal channel(173) [ 41.200000] get_chl_grp:illegal channel (173) [ 41.200000] get_chl_grp:illegal channel (173) [ 41.210000] get_low_mid_hi_index:illegal channel(173) [ 41.460000] mt76x2_bbp_adjust():rf_bw=1, ext_ch=1, PrimCh=36, HT-CentCh=38, VHT-CentCh=36 [ 41.510000] APStartUp(): AP Set CentralFreq at 38(Prim=36, HT-CentCh=38, VHT-CentCh=36, BBP_BW=1) [ 41.530000] mt76x2_calibration(channel = 38) [ 41.900000] The 2-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 2 [ 41.910000] Main bssid = 78:a3:51:34:9b:11 [ 41.920000] mt76x2_reinit_agc_gain:original agc_vga0 = 0x48, agc_vga1 = 0x48 [ 41.920000] mt76x2_reinit_agc_gain:updated agc_vga0 = 0x48, agc_vga1 = 0x48 [ 41.930000] mt76x2_reinit_hi_lna_gain:original hi_lna0 = 0x33, hi_lna1 = 0x33 [ 41.940000] mt76x2_reinit_hi_lna_gain:updated hi_lna0 = 0x33, hi_lna1 = 0x33 [ 41.950000] original vga value(chain0) = 48 [ 41.950000] original vga value(chain1) = 48 [ 41.950000] <==== rt28xx_init, Status=0 [ 41.960000] get_dev_name_prefix(): dev_idx = 1, dev_name_prefix=apclii [ 41.980000] RTMPDrvOpen(1):Check if PDMA is idle! [ 41.980000] RTMPDrvOpen(2):Check if PDMA is idle! [ 43.550000] device rai0 entered promiscuous mode [ 43.560000] br-lan: port 3(rai0) entered forwarding state [ 43.560000] br-lan: port 3(rai0) entered forwarding state [ 45.560000] br-lan: port 3(rai0) entered forwarding state root@OpenWrt:/etc/config#
OpenWrt bootlog
Taken after model APE522ii install with “sysupgrade openwrt-18.06.5-ramips-mt7620-zbt-ape522ii-squashfs-sysupgrade.bin”
BusyBox v1.28.4 () built-in shell (ash) _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- OpenWrt 18.06.5, r7897-9d401013fc ----------------------------------------------------- root@OpenWrt:~# dmesg [ 0.000000] Linux version 4.14.151 (buildbot@a6cb27977ad2) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7897-9d401013fc)) #0 Tue Nov 5 14:12:18 2019 [ 0.000000] Board has DDR2 [ 0.000000] Analog PMU set to hw control [ 0.000000] Digital PMU set to hw control [ 0.000000] SoC Type: MediaTek MT7620A ver:2 eco:6 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc) [ 0.000000] MIPS: machine is ZBT-APE522II [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 08000000 @ 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, PIPT, no aliases, linesize 32 bytes [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] On node 0 totalpages: 32768 [ 0.000000] free_area_init_node: node 0, pgdat 80425620, node_mem_map 81000040 [ 0.000000] Normal zone: 256 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 32768 pages, LIFO batch:7 [ 0.000000] random: get_random_bytes called from 0x80428730 with crng_init=0 [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Writing ErrCtl register=0001a61c [ 0.000000] Readback ErrCtl register=0001a61c [ 0.000000] Memory: 125192K/131072K available (3601K kernel code, 183K rwdata, 464K rodata, 160K init, 214K bss, 5880K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS: 256 [ 0.000000] CPU Clock: 580MHz [ 0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns [ 0.000000] systick: enable autosleep mode [ 0.000000] systick: running - mult: 214748, shift: 32 [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns [ 0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns [ 0.007596] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216) [ 0.073554] pid_max: default: 32768 minimum: 301 [ 0.078291] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.084668] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.097645] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.107191] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.113177] pinctrl core: initialized pinctrl subsystem [ 0.119558] NET: Registered protocol family 16 [ 0.381993] PCI host bridge /pcie@10140000 ranges: [ 0.386595] MEM 0x0000000020000000..0x000000002fffffff [ 0.391670] IO 0x0000000010160000..0x000000001016ffff [ 0.414545] rt2880_gpio 10000600.gpio: registering 24 gpios [ 0.419942] rt2880_gpio 10000600.gpio: registering 24 irq handlers [ 0.426340] rt2880_gpio 10000638.gpio: registering 16 gpios [ 0.431710] rt2880_gpio 10000638.gpio: registering 16 irq handlers [ 0.438103] rt2880_gpio 10000660.gpio: registering 32 gpios [ 0.443476] rt2880_gpio 10000660.gpio: registering 32 irq handlers [ 0.449851] rt2880_gpio 10000688.gpio: registering 1 gpios [ 0.455137] rt2880_gpio 10000688.gpio: registering 1 irq handlers [ 0.461970] PCI host bridge to bus 0000:00 [ 0.465895] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff] [ 0.472612] pci_bus 0000:00: root bus resource [io 0xffffffff] [ 0.478313] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0] [ 0.484918] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 0.492639] pci 0000:00:00.0: [1814:0802] type 01 class 0x060400 [ 0.492683] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 0.492700] pci 0000:00:00.0: reg 0x14: [mem 0x20200000-0x2020ffff] [ 0.492783] pci 0000:00:00.0: supports D1 [ 0.492794] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 0.493264] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000 [ 0.493331] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit] [ 0.493385] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref] [ 0.493494] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold [ 0.493736] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 0.493758] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01 [ 0.493809] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000] [ 0.500222] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000] [ 0.506938] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x200fffff] [ 0.513544] pci 0000:00:00.0: BAR 9: assigned [mem 0x20100000-0x201fffff pref] [ 0.520544] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff] [ 0.527162] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit] [ 0.534255] pci 0000:01:00.0: BAR 6: assigned [mem 0x20100000-0x2010ffff pref] [ 0.541264] pci 0000:00:00.0: PCI bridge to [bus 01] [ 0.546074] pci 0000:00:00.0: bridge window [mem 0x20000000-0x200fffff] [ 0.552677] pci 0000:00:00.0: bridge window [mem 0x20100000-0x201fffff pref] [ 0.565054] clocksource: Switched to clocksource systick [ 0.571356] NET: Registered protocol family 2 [ 0.576618] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.583343] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.589568] TCP: Hash tables configured (established 1024 bind 1024) [ 0.595830] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.601454] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.607826] NET: Registered protocol family 1 [ 0.612058] PCI: CLS 80 bytes, default 32 [ 0.614781] rt-timer 10000100.timer: maximum frequency is 1220Hz [ 0.621499] Crashlog allocated RAM at address 0x3f00000 [ 0.628339] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.640628] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.646271] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.666178] io scheduler noop registered [ 0.669925] io scheduler deadline registered (default) [ 0.675953] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.685103] console [ttyS0] disabled [ 0.688551] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103 [ 0.698187] console [ttyS0] enabled [ 0.705238] bootconsole [early0] disabled [ 0.721433] spi spi0.0: force spi mode3 [ 0.736568] m25p80 spi0.0: w25q128 (16384 Kbytes) [ 0.741425] 4 fixed-partitions partitions found on MTD device spi0.0 [ 0.747928] Creating 4 MTD partitions on "spi0.0": [ 0.752825] 0x000000000000-0x000000030000 : "u-boot" [ 0.758833] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.765175] 0x000000040000-0x000000050000 : "factory" [ 0.771202] 0x000000050000-0x000000fd0000 : "firmware" [ 2.575044] random: fast init done [ 2.659148] 2 uimage-fw partitions found on MTD device firmware [ 2.665226] 0x000000050000-0x0000001b00d8 : "kernel" [ 2.671205] 0x0000001b00d8-0x000000fd0000 : "rootfs" [ 2.677167] mtd: device 5 (rootfs) set to be root filesystem [ 2.684507] 1 squashfs-split partitions found on MTD device rootfs [ 2.690896] 0x0000003f5000-0x000000fd0000 : "rootfs_data" [ 2.698060] libphy: Fixed MDIO Bus: probed [ 2.705821] gsw: setting port4 to ephy mode [ 2.710142] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): port 0 link up (100Mbps/Full duplex) [ 2.721092] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver [ 2.727893] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5 [ 2.736877] rt2880_wdt 10000120.watchdog: Initialized [ 2.743429] NET: Registered protocol family 10 [ 2.752102] Segment Routing with IPv6 [ 2.756037] NET: Registered protocol family 17 [ 2.760639] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 2.773879] 8021q: 802.1Q VLAN Support v1.8 [ 2.793972] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 2.802113] Freeing unused kernel memory: 160K [ 2.806683] This architecture does not have kernel memory protection. [ 4.326138] init: Console is alive [ 4.329849] init: - watchdog - [ 5.925953] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 6.243372] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 6.254881] init: - preinit - [ 7.967648] 8021q: adding VLAN 0 to HW filter on device eth0 [ 9.202796] mount_root: jffs2 not ready yet, using temporary tmpfs overlay [ 9.245314] urandom-seed: Seed file not found (/etc/urandom.seed) [ 9.510589] procd: - early - [ 9.513656] procd: - watchdog - [ 9.838872] procd: - watchdog - [ 9.842464] procd: - ubus - [ 10.065187] random: ubusd: uninitialized urandom read (4 bytes read) [ 10.169459] random: ubusd: uninitialized urandom read (4 bytes read) [ 10.176585] random: ubusd: uninitialized urandom read (4 bytes read) [ 10.184161] procd: - init - [ 10.619611] kmodloader: loading kernel modules from /etc/modules.d/* [ 10.726480] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 10.744294] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180 [ 10.752546] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d [ 10.763772] ip_tables: (C) 2000-2006 Netfilter Core Team [ 10.778196] nf_conntrack version 0.5.0 (2048 buckets, 8192 max) [ 10.852262] xt_time: kernel timezone is -0000 [ 10.929530] mt76x2e 0000:01:00.0: card - bus=0x1, slot = 0x0 irq=4 [ 10.936126] mt76x2e 0000:01:00.0: ASIC revision: 76120044 [ 11.162983] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a [ 11.175039] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00 [ 11.180707] mt76x2e 0000:01:00.0: Build: 1 [ 11.184888] mt76x2e 0000:01:00.0: Build Time: 201507311614____ [ 11.199722] mt76x2e 0000:01:00.0: Firmware running! [ 11.205775] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 11.290326] PPP generic driver version 2.4.2 [ 11.297601] NET: Registered protocol family 24 [ 11.332366] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory" [ 11.339839] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected [ 11.347758] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 7620 detected [ 11.355499] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht' [ 11.370023] kmodloader: done loading kernel modules from /etc/modules.d/* [ 12.929681] urandom_read: 5 callbacks suppressed [ 12.929692] random: jshn: uninitialized urandom read (4 bytes read) [ 13.086871] random: jshn: uninitialized urandom read (4 bytes read) [ 27.574810] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0 [ 27.600802] jffs2_build_filesystem(): unlocking the mtd device... [ 27.600877] done. [ 27.609153] jffs2_build_filesystem(): erasing all blocks after the end marker... [ 28.355057] 8021q: adding VLAN 0 to HW filter on device eth0 [ 28.431881] br-lan: port 1(eth0.1) entered blocking state [ 28.437468] br-lan: port 1(eth0.1) entered disabled state [ 28.443555] device eth0.1 entered promiscuous mode [ 28.448455] device eth0 entered promiscuous mode [ 28.558712] br-lan: port 1(eth0.1) entered blocking state [ 28.564297] br-lan: port 1(eth0.1) entered forwarding state [ 28.570207] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 29.429946] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready root@gateway:/#