TP-Link Archer C20 v1
TP-Link Archer C20 v1 is a router with a 5-port FE switch and non-detachable antennas, based on MediaTek MT7620A + MT7610E. As compared to the newer models, only v1 of the device comes with a USB port.
OpenWrt support
Hardware highlights
Installation
WARNING ABOUT BRICKING YOUR DEVICE:
You need to use TFTP or DUMP to install. Do not flash from the stock UI because you will get an lzma kernel decompression error and you’ll have to use serial console to recover from soft-brick.
The reason why this router gets bricked so easily is because the bootloader (when doing a TFTP upload) always starts writing flash at address 0x0, overwriting the U-Boot partition as well in the process, thus serial console for recovery will not work and the only way to recover from this brick is by flashing the chip directly by SPI programmer. TFTP recovery method is fine when recovery firmware is official file since it contains boot partition, but OpenWrt does not.
→ Install OpenWrt (generic explanation)
Only TFTP or DUMP is supported at this moment.
Using TFTP method
To install OpenWrt on this device, you need to first extract uboot partition from stock firmware.
dd if=Archer_C20v1_0.9.1_4.0_up_boot(160427)_2016-04-27_13.53.59.bin of=uboot.bin bs=512 count=256 skip=1
Then merge the extracted uboot.bin with OpenWrt factory image into new file ArcherC20V1_tp_recovery.bin.
cat uboot.bin openwrt-19.07.6-ramips-mt7620-tplink_c20-v1-squashfs-factory.bin > ArcherC20V1_tp_recovery.bin
Now follow the instruction below and use the new file created in above step called “ArcherC20V1_tp_recovery.bin” (which contains uboot + 19.07.6 OpenWrt) to flash it on the device using TFTP.
Windows
Set your computer's IP to a static 192.168.0.66 address (subnet mask 255.255.255.0 and default gateway to 192.168.0.1). To flash the recovery image, start a TFTP server (such as https://pjo2.github.io/tftpd64/) from IP address 192.168.0.66 and serve the recovery image named 'ArcherC20V1_tp_recovery.bin'. Connect your device to the LAN port, then press the WPS/Reset button and power it up. Keep pressing the WPS/Reset button for 10 seconds The device will try to download the recovery image and flash it. This might take up to 20-25 minutes to finish. When done, the router will reboot itself. After reboot, you can access OpenWrt at 192.168.1.1. From here on out, you can simply use sysupgrade OpenWrt images to upgrade further.
Linux (ubuntu/debian)
Download https://www.dropbox.com/s/btto9v0xosw75vi/ArcherC20V1_tp_recovery.bin?dl=0
Connect to the router via Static IP mode, set your host ip to 192.168.0.66
sudo apt-get install tftpd-hpa tftp
sudo sudo cp ArcherC20V1_tp_recovery.bin /var/lib/tftpboot
Tip: The path where the file should be copied may differ based on your Linux version. Try running:
ps -ef | grep tftp root 2424 2286 ? 00:07:28 /usr/sbin/in.tftpd --listen --user tftp --address 0.0.0.0:69 --secure /srv/tftp
the directory after --secure is the actual directory where you should copy the file, eg. /srv/tftp
On the device hold the WPS button during startup. After 10 seconds the router will start trying to download a file ArcherC20V1_tp_recovery.bin via tftp from a server with the IP 192.168.0.66 for 10 more seconds. After finished a white LED will light up.
The ArcherC20V1_tp_recovery.bin provides the basic OpenWrt. If you want to also install the rest of the components like the LuCI GUI, after the above process completed and the router is now up and running, download the latest version of the “Firmware OpenWrt Upgrade” from Installation section above. Upload the file to the router in /tmp using scp (after first install the root user is allowed login without password) Router's default IP is for example 192.168.0.1, 192.168.1.1, etc.
scp /home/user/Downloads/openwrt-19.07.3-ramips-mt7620-tplink_c20-v1-squashfs-sysupgrade.bin root@<router_ip>:/tmp/
SSH into the router and run the system upgrade:
ssh root@<router_ip>
sysupgrade -v /tmp/openwrt-19.07.3-ramips-mt7620-tplink_c20-v1-squashfs-sysupgrade.bin
Wait for the process to finish, after reboot you should be able to login to the GUI using the router's default IP
Back to stock firmware
WARNING ABOUT BRICKING YOUR DEVICE:
To go back to official firmware, always use stripped firmware (without uboot partition), and flash it using OpenWrt itself. To make stripped firmware, use the below command.
dd if=Archer_C20v1_0.9.1_4.0_up_boot(160427)_2016-04-27_13.53.59.bin of=ArcherC20_v1_stripped.bin skip=257 bs=512
Flash output file ArcherC20_v1_stripped.bin using OpenWrt web interface.
Note: Never attempt TFTP install method to flash this stripped firmware, otherwise router will hard brick. You've been warned!
Hardware
Info
Architecture | MIPS |
---|---|
Vendor | MediaTek |
Bootloader | U-Boot |
System-On-Chip | MediaTek MT7620A - MIPS32 24K/E series |
CPU/Speed | 580 MHz |
Flash-Chip | Winbond W25Q64FV |
Flash size | 8 MiB |
RAM | 64 MiB |
Wireless 1 | MT7620A 2.4GHz (working) |
Wireless 2 | MT7610E 5GHz (works in 19.07) |
Ethernet | 10/100 Mbit/s w/ vlan support |
USB | 1x 2.0 |
Serial | Yes |
JTAG | No |
Flash Layout
dev | size | erasesize | name |
---|---|---|---|
mtd0 | 00020000 | 00001000 | “u-boot” |
mtd1 | 007a0000 | 00001000 | “firmware” |
mtd2 | 001eaddc | 00001000 | “kernel” |
mtd3 | 005b5224 | 00001000 | “rootfs” |
mtd4 | 00286000 | 00001000 | “rootfs_data” |
mtd5 | 00010000 | 00001000 | “config” |
mtd6 | 00010000 | 00001000 | “rom” |
mtd7 | 00010000 | 00001000 | “romfile” |
mtd8 | 00010000 | 00001000 | “radio” |
Photos
Opening the case
Remove two screws under the devices, then pop the black top off (needs some force to get it off)
Serial
→ port.serial general information about the serial port, serial port cable, etc.
There should be 4 pads (J2) looking from the front on the right side, where the square pad is vcc 3.3V.
To make a successful connection, you'll have to solder 0 Ohm resistors on slots R600 and R601 as shown below. If you don't have those, then you can simply put a solder blob over them to complete circuit.
Serial connection parameters for TP-Link Archer C20 v1 | 115200, 8N1 |
---|
Bootlogs
OEM bootlog
U-Boot 1.1.3 (Aug 26 2015 - 18:00:56) Board: Ralink APSoC DRAM: 64 MB relocate_code Pointer at: 83fb0000 enable ephy clock...done. rf reg 29 = 5 SSC disabled. ------------------ Archer C20 v1.0.0 ------------------ spi_wait_nsec: 29 spi device id: c8 40 17 c8 40 (4017c840) find flash: GD25Q64C ============================================ Ralink UBoot Version: 4.1.2.0 -------------------------------------------- ASIC 7620_MP (Port5<->None) DRAM component: 512 Mbits DDR, width 16 DRAM bus: 16 bit Total memory: 64 MBytes Flash component: SPI Flash Date:Aug 26 2015 Time:18:00:56 ============================================ icache: sets:512, ways:4, linesz:32 ,total:65536 dcache: sets:256, ways:4, linesz:32 ,total:32768 ##### The CPU freq = 580 MHZ #### estimate memory size =64 Mbytes continue to starting system. 0 disableEthForward(1158):disable switch forward... 3: System Boot system code via Flash.(0xbc020000) do_bootm:argc=2, addr=0xbc020000 ## Booting image at bc020000 ... Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 8000c150) ... ## Giving linux memsize in MB, 64 Starting kernel ... æàøfffø~ø~fxøøøææffææffLinux version 2.6.36 (root@localhost.localdomain) (gcc version 4.6.3 (Buildroot 2012.11.1) ) #88 Wed Apr 27 10:55:25 CST 2016 The CPU feqenuce set to 580 MHz MIPS CPU sleep mode enabled. PCIE: bypass PCIe DLL. PCIE: Elastic buffer control: Addr:0x68 -> 0xB4 disable all power about PCIe CPU revision is: 00019650 (MIPS 24Kc) Determined 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=ttyS1,115200 root=/dev/mtdblock2 rootfstype=squashfs init=/sbin/init PID hash table entries: 256 (order: -2, 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, PIPT, no aliases, linesize 32 bytes Writing ErrCtl register=000413a9 Readback ErrCtl register=000413a9 Memory: 61360k/65536k available (2711k kernel code, 4176k reserved, 566k data, 164k init, 0k highmem) NR_IRQS:128 MTK/Ralink System Tick Counter init... cd:80321f68, m:214748, s:32 console [ttyS1] enabled Calibrating delay loop... 386.04 BogoMIPS (lpj=772096) pid_max: default: 4096 minimum: 301 Mount-cache hash table entries: 512 NET: Registered protocol family 16 RALINK_GPIOMODE = 5ab11d RALINK_GPIOMODE = 58b11d PPLL_CFG1=0xe6c000 MT7620 PPLL lock PPLL_DRV =0x80080504 start PCIe register access RALINK_PCI_PCICFG_ADDR = 1000f0 *************** MT7620 PCIe RC mode ************* bio: create slab <bio-0> at 0 pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x201fffff] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff] pci 0000:00:00.0: BAR 1: set to [mem 0x20200000-0x2020ffff] (PCI address [0x20200000-0x2020ffff] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff] pci 0000:01:00.0: BAR 0: set to [mem 0x20000000-0x200fffff] (PCI address [0x20000000-0x200fffff] pci 0000:01:00.1: BAR 0: assigned [mem 0x20100000-0x201fffff] pci 0000:01:00.1: BAR 0: set to [mem 0x20100000-0x201fffff] (PCI address [0x20100000-0x201fffff] pci 0000:00:00.0: PCI bridge to [bus 01-01] pci 0000:00:00.0: bridge window [io disabled] pci 0000:00:00.0: bridge window [mem 0x20000000-0x201fffff] pci 0000:00:00.0: bridge window [mem pref disabled] BAR0 at slot 0 = 0 bus=0x0, slot = 0x0 res[0]->start = 0 res[0]->end = 0 res[1]->start = 20200000 res[1]->end = 2020ffff res[2]->start = 0 res[2]->end = 0 res[3]->start = 0 res[3]->end = 0 res[4]->start = 0 res[4]->end = 0 res[5]->start = 0 res[5]->end = 0 bus=0x1, slot = 0x0 res[0]->start = 20000000 res[0]->end = 200fffff res[1]->start = 0 res[1]->end = 0 res[2]->start = 0 res[2]->end = 0 res[3]->start = 0 res[3]->end = 0 res[4]->start = 0 res[4]->end = 0 res[5]->start = 0 res[5]->end = 0 bus=0x1, slot = 0x0 res[0]->start = 20100000 res[0]->end = 201fffff res[1]->start = 0 res[1]->end = 0 res[2]->start = 0 res[2]->end = 0 res[3]->start = 0 res[3]->end = 0 res[4]->start = 0 res[4]->end = 0 res[5]->start = 0 res[5]->end = 0 Switching to clocksource Ralink external timer 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 RT3xxx EHCI/OHCI init. squashfs: version 4.0 (2009/01/31) Phillip Lougher fuse init (API version 7.15) msgmni has been set to 119 io scheduler noop registered io scheduler deadline registered (default) Ralink gpio driver initialized Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled serial8250: ttyS0 at MMIO 0x10000500 (irq = 37) is a 16550A serial8250: ttyS1 at MMIO 0x10000c00 (irq = 12) is a 16550A loop: module loaded deice id : c8 40 17 c8 40 (4017c840) GD25Q64C(c8 4017c840) (8192 Kbytes) mtd .name = raspi, .size = 0x00800000 (0M) .erasesize = 0x00000008 (0K) .numeraseregions = 65536 spiflash_ioctl_read, Read from 0x00020000 length 0x1d0, ret 0, retlen 0x1d0 Creating 7 MTD partitions on "raspi": 0x000000000000-0x000000020000 : "boot" 0x000000020000-0x000000160000 : "kernel" 0x000000160000-0x0000007c0000 : "rootfs" mtd: partition "rootfs" set to be root filesystem 0x0000007c0000-0x0000007d0000 : "config" 0x0000007d0000-0x0000007e0000 : "romfile" 0x0000007e0000-0x0000007f0000 : "rom" 0x0000007f0000-0x000000800000 : "radio" Register flash device:flash0 PPP generic driver version 2.4.2 NET: Registered protocol family 24 Mirror/redirect action on u32 classifier Actions configured Netfilter messages via NETLINK v0.30. nf_conntrack version 0.5.0 (2874 buckets, 11496 max) ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone TCP cubic registered NET: Registered protocol family 10 ip6_tables: (C) 2000-2006 Netfilter Core Team IPv6 over IPv4 tunneling driver NET: Registered protocol family 17 Ebtables v2.0 registered 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com> All bugs added by David S. Miller <davem@redhat.com> VFS: Mounted root (squashfs filesystem) readonly on device 31:2. Freeing unused kernel memory: 164k freed starting pid 173, tty '': '/etc/init.d/rcS' rdm_major = 253 SCSI subsystem initialized spiflash_ioctl_read, Read from 0x007df100 length 0x6, ret 0, retlen 0x6 Read MAC from flash(0x7DF100) 18-ffffffd6-ffffffc7-ffffffa7-ffffffa2-ffffffd3 SMACCR1 -- : 0x000018d6 SMACCR0 -- : 0xc7a7a2d3 Ralink APSoC Ethernet Driver Initilization. v3.0 256 rx/tx descriptors allocated, mtu = 1500! spiflash_ioctl_read, Read from 0x007df100 length 0x6, ret 0, retlen 0x6 Read MAC from flash(0x7DF100) 18-ffffffd6-ffffffc7-ffffffa7-ffffffa2-ffffffd3 SMACCR1 -- : 0x000018d6 SMACCR0 -- : 0xc7a7a2d3 PROC INIT OK! usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver rt3xxx-ehci rt3xxx-ehci: Ralink EHCI Host Controller rt3xxx-ehci rt3xxx-ehci: new USB bus registered, assigned bus number 1 rt3xxx-ehci rt3xxx-ehci: irq 18, io mem 0x101c0000 rt3xxx-ehci rt3xxx-ehci: USB 0.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver rt3xxx-ohci rt3xxx-ohci: RT3xxx OHCI Controller rt3xxx-ohci rt3xxx-ohci: new USB bus registered, assigned bus number 2 rt3xxx-ohci rt3xxx-ohci: irq 18, io mem 0x101c1000 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. tp_domain init ok L2TP core driver, V2.0 PPPoL2TP kernel driver, V2.0 Please press Enter to activate this console. [ util_execSystem ] 135: ipt_init cmd is "/var/tmp/dconf/rc.router" [ dm_readFile ] 2042: can not open xml file /var/tmp/pc/reduced_data_model.xml!, about to open file /etc/reduced_data_model.xml spiflash_ioctl_read, Read from 0x007c0000 length 0x10000, ret 0, retlen 0x10000 spiflash_ioctl_read, Read from 0x007c0000 length 0x8091, ret 0, retlen 0x8091 spiflash_ioctl_read, Read from 0x007df100 length 0x6, ret 0, retlen 0x6 spiflash_ioctl_read, Read from 0x007df200 length 0x4, ret 0, retlen 0x4 spiflash_ioctl_read, Read from 0x007df300 length 0x4, ret 0, retlen 0x4 spiflash_ioctl_read, Read from 0x00020000 length 0x1d0, ret 0, retlen 0x1d0 spiflash_ioctl_read, Read from 0x007df100 length 0x6, ret 0, retlen 0x6 sendto: No such file or directory pid 251 send 2001 error [ util_execSystem ] 135: oal_startDynDns cmd is "dyndns /var/tmp/dconf/dyndns.conf" [ oal_sys_getOldTZInfo ] 336: Open TZ file error! [ util_execSystem ] 135: oal_sys_unsetTZ cmd is "echo "" > /etc/TZ" [ util_execSystem ] 135: oal_sys_unsetTZ cmd is "echo "" > /etc/TZ" [ util_execSystem ] 135: oal_startNoipDns cmd is "noipdns /var/tmp/dconf/noipdns.conf" [ util_execSystem ] 135: oal_startCmxDns cmd is "cmxdns /var/tmp/dconf/cmxdns.conf" ioctl: No such device [ util_execSystem ] 135: oal_br_addBridge cmd is "brctlspiflash_ioctl_read, Read from 0x007df100 length 0x6, ret 0, retlen 0x6 addbr br0;brctl setfd br0 0;brctl stp br0 off" [ util_execSystem ] 135: oal_ipt_addLanRules cmd is "iptables -t filter -A INPUT -i br+ -j ACCEPT " [ util_execSystem ] 135: oal_intf_setIntf cmd is "ifconfig br0 192.168.0.1 netmask 255.255.255.0 up" [ util_execSystem ] 135: oal_util_setProcLanAddr cmd is "echo "br0 16820416," > /proc/net/conntract_LoRaeth v3.0 (caWorkqueuelA) ddr" [ phy_tx_ring = 0x030d5000, tx_ring = 0xa30d5000 phy_rx_ring0 = 0x030d6000, rx_ring0 = 0xa30d6000 SMACCR1 -- : 0x000018d6 SMACCR0 -- : 0xc7a7a2d3 uESW: Link Status Changed - Port2 Link Down tiCDMA_CSG_CFG = 81000000 l_GDMA1_FWD_CFG = 20710000 execSystem ] 135: oal_intf_enableIntf cmd is "ifconfig eth0 up" [ rsl_getUnusedVlan ] 1002: GET UNUSED VLAN TAG 1 : [3] [ rsl_getUnusedVlan ] 1002: GET UNUSED VLAN TAG 2 : [4] [ rsl_getUnusedVlan ] 1002: GET UNUSED VLAN TAG 3 : [5] [ rsl_getUnusedVlan ] 1002: GET UNUSED VLAN TAG 4 : [6] [ util_execSystem ] 135: oal_addVlanTagIntf cmd is "vconfig add eth0 3" [ util_execSystem ] 135: oal_intf_enableIntf cmd is "ifconfig eth0.3 up" set if eth0.3 to *not wan dev [ util_execSystem ] 135: oal_addVlanTagIntf cmd is "vconfig add eth0 4" [ util_execSystem ] 135: oal_intf_enableIntf cmd is "ifconfig eth0.4 up" set if eth0.4 to *not wan dev [ util_execSystem ] 135: oal_addVlanTagIntf cmd is "vconfig add eth0 5" [ util_execSystem ] 135: oal_intf_enableIntf cmd is "ifconfig eth0.5 up" set if eth0.5 to *not wan dev [ util_execSystem ] 135: oal_addVlanTagIntf cmd is "vconfig add eth0 6" [ util_execSystem ] 135: oal_intf_enableIntf cmd is "ifconfig eth0.6 up" set if eth0.6 to *not wan dev [ util_execSystem ] 135: oal_addVlanTagIntf cmd is "vconfig add eth0 2" [ util_execSystem ] 135:device eth0.3 entered promiscuous mode device eth0 entered promiscuous mode oalbr0: port 1(eth0.3) entering forwarding state _ibr0: port 1(eth0.3) entering forwarding state ntf_enableIntf cmd is "ifconfig eth0.2 up" set if eth0.2 to wan dev [ vdevice eth0.4 entered promiscuous mode lanbr0: port 2(eth0.4) entering forwarding state _abr0: port 2(eth0.4) entering forwarding state ddLanPortsIntoBridge ] 500: add lan Port 255 from br0 [ util_execSystem device eth0.5 entered promiscuous mode ] 1br0: port 3(eth0.5) entering forwarding state 35br0: port 3(eth0.5) entering forwarding state : oal_br_addIntfIntoBridge cmd is "brctl addif br0 eth0.3" [ util_execdevice eth0.6 entered promiscuous mode Sysbr0: port 4(eth0.6) entering forwarding state tebr0: port 4(eth0.6) entering forwarding state m ] 135: oal_br_addIntfIntoBridge cmd is "brctl addif br0 eth0.4" [ util_execSystem ] 135: oal_br_addIntfIntoBridge cmd is "brctl addif br0 eth0.5" [ util_execSystem ] 135: oal_br_addIntfIntoBridge cmd is "brctl addif br0 eth0.6" [ util_execSystem ] 135: rsl_initIPv6CfgObj cmd is "echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6" [ util_execSystem ] 135: oal_eth_setIGMPSnoopParam cmd is "brctl setbrsnooping br0 0" [ util_execSystem ] 135: oal_wlan_ra_setCountryRegion cmd is "cp /etc/SingleSKU_CE.dat /var/Wireless/RT2860AP/SingleSKU.dat" [ util_execSystem ] 135: oal_wlan_ra_setCountryRegion cmd is "iwpriv ra0 set CountryRegion=1" ra0 no private ioctls. [ util_execSystem ] 135: oal_wlan_ra_loadDriver cmd is "insmod /lib/modules/kmdir/kernel/drivers/net/wireless/rt2860v2_ap/rt2860v2_ap.ko" ADDRCONF(NETDEV_CHANGE): eth0.4: link becomes ready ADDRCONF(NETDEV_CHANGE): eth0.5: link becomes ready ADDRCONF(NETDEV_CHANGE): eth0.6: link becomes ready ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready rt2860v2_ap: module license 'unspecified' taints kernel. Disabling lock debugging due to kernel taint === pAd = c09d7000, size = 969648 === <-- RTMPAllocTxRxRingMemory, Status=0 <-- RTMPAllocAdapterBlock, Status=0 AP Driver version-2.7.1.6_edcca_monitor_20131227 [ util_execSystem ] 135: oal_wlan_ra_initWlan cmd is "ifconfig ra0 up" RX DESC a3244000 size = 4096 RTMP_TimerListAdd: add timer obj c0a84930! RTMP_TimerListAdd: add timer obj c0a3c940! RTMP_TimerListAdd: add timer obj c0a3f194! RTMP_TimerListAdd: add timer obj c0a3f254! RTMP_TimerListAdd: add timer obj c0a3f314! RTMP_TimerListAdd: add timer obj c0a3f3d4! RTMP_TimerListAdd: add timer obj c0a3f494! RTMP_TimerListAdd: add timer obj c0a3f554! RTMP_TimerListAdd: add timer obj c0a3f614! RTMP_TimerListAdd: add timer obj c0a3f6d4! RTMP_TimerListAdd: add timer obj c0a3f794! RTMP_TimerListAdd: add timer obj c0a3f854! RTMP_TimerListAdd: add timer obj c0a3f914! RTMP_TimerListAdd: add timer obj c0a3f9d4! RTMP_TimerListAdd: add timer obj c0a3fa94! RTMP_TimerListAdd: add timer obj c0a3fb54! RTMP_TimerListAdd: add timer obj c0a3fc14! RTMP_TimerListAdd: add timer obj c0a3fcd4! RTMP_TimerListAdd: add timer obj c0a3c914! RTMP_TimerListAdd: add timer obj c0a3f168! RTMP_TimerListAdd: add timer obj c0a3f228! RTMP_TimerListAdd: add timer obj c0a3f2e8! RTMP_TimerListAdd: add timer obj c0a3f3a8! RTMP_TimerListAdd: add timer obj c0a3f468! RTMP_TimerListAdd: add timer obj c0a3f528! RTMP_TimerListAdd: add timer obj c0a3f5e8! RTMP_TimerListAdd: add timer obj c0a3f6a8! RTMP_TimerListAdd: add timer obj c0a3f768! RTMP_TimerListAdd: add timer obj c0a3f828! RTMP_TimerListAdd: add timer obj c0a3f8e8! RTMP_TimerListAdd: add timer obj c0a3f9a8! RTMP_TimerListAdd: add timer obj c0a3fa68! RTMP_TimerListAdd: add timer obj c0a3fb28! RTMP_TimerListAdd: add timer obj c0a3fbe8! RTMP_TimerListAdd: add timer obj c0a3fca8! RTMP_TimerListAdd: add timer obj c0a3c8e8! RTMP_TimerListAdd: add timer obj c0a3f1c0! RTMP_TimerListAdd: add timer obj c0a3f280! RTMP_TimerListAdd: add timer obj c0a3f340! RTMP_TimerListAdd: add timer obj c0a3f400! RTMP_TimerListAdd: add timer obj c0a3f4c0! RTMP_TimerListAdd: add timer obj c0a3f580! RTMP_TimerListAdd: add timer obj c0a3f640! RTMP_TimerListAdd: add timer obj c0a3f700! RTMP_TimerListAdd: add timer obj c0a3f7c0! RTMP_TimerListAdd: add timer obj c0a3f880! RTMP_TimerListAdd: add timer obj c0a3f940! RTMP_TimerListAdd: add timer obj c0a3fa00! RTMP_TimerListAdd: add timer obj c0a3fac0! RTMP_TimerListAdd: add timer obj c0a3fb80! RTMP_TimerListAdd: add timer obj c0a3fc40! RTMP_TimerListAdd: add timer obj c0a3fd00! RTMP_TimerListAdd: add timer obj c09e39b0! RTMP_TimerListAdd: add timer obj c09e35a4! RTMP_TimerListAdd: add timer obj c09e3980! RTMP_TimerListAdd: add timer obj c09e3d28! RTMP_TimerListAdd: add timer obj c09e3a78! RTMP_TimerListAdd: add timer obj c09e3aa8! RTMP_TimerListAdd: add timer obj c09e3c68! RTMP_TimerListAdd: add timer obj c09e3c98! RTMP_TimerListAdd: add timer obj c09e6be8! RTMP_TimerListAdd: add timer obj c09e67dc! RTMP_TimerListAdd: add timer obj c09e6bb8! RTMP_TimerListAdd: add timer obj c09e6f60! RTMP_TimerListAdd: add timer obj c09e6cb0! RTMP_TimerListAdd: add timer obj c09e6ce0! RTMP_TimerListAdd: add timer obj c09e6ea0! RTMP_TimerListAdd: add timer obj c09e6ed0! RTMP_TimerListAdd: add timer obj c09e9e20! RTMP_TimerListAdd: add timer obj c09e9a14! RTMP_TimerListAdd: add timer obj c09e9df0! RTMP_TimerListAdd: add timer obj c09ea198! RTMP_TimerListAdd: add timer obj c09e9ee8! RTMP_TimerListAdd: add timer obj c09e9f18! RTMP_TimerListAdd: add timer obj c09ea0d8! RTMP_TimerListAdd: add timer obj c09ea108! RTMP_TimerListAdd: add timer obj c09ed058! RTMP_TimerListAdd: add timer obj c09ecc4c! RTMP_TimerListAdd: add timer obj c09ed028! RTMP_TimerListAdd: add timer obj c09ed3d0! RTMP_TimerListAdd: add timer obj c09ed120! RTMP_TimerListAdd: add timer obj c09ed150! RTMP_TimerListAdd: add timer obj c09ed310! RTMP_TimerListAdd: add timer obj c09ed340! RTMP_TimerListAdd: add timer obj c09f0290! RTMP_TimerListAdd: add timer obj c09efe84! RTMP_TimerListAdd: add timer obj c09f0260! RTMP_TimerListAdd: add timer obj c09f0608! RTMP_TimerListAdd: add timer obj c09f0358! RTMP_TimerListAdd: add timer obj c09f0388! RTMP_TimerListAdd: add timer obj c09f0548! RTMP_TimerListAdd: add timer obj c09f0578! RTMP_TimerListAdd: add timer obj c09f34c8! RTMP_TimerListAdd: add timer obj c09f30bc! RTMP_TimerListAdd: add timer obj c09f3498! RTMP_TimerListAdd: add timer obj c09f3840! RTMP_TimerListAdd: add timer obj c09f3590! RTMP_TimerListAdd: add timer obj c09f35c0! RTMP_TimerListAdd: add timer obj c09f3780! RTMP_TimerListAdd: add timer obj c09f37b0! RTMP_TimerListAdd: add timer obj c09f6700! RTMP_TimerListAdd: add timer obj c09f62f4! RTMP_TimerListAdd: add timer obj c09f66d0! RTMP_TimerListAdd: add timer obj c09f6a78! RTMP_TimerListAdd: add timer obj c09f67c8! RTMP_TimerListAdd: add timer obj c09f67f8! RTMP_TimerListAdd: add timer obj c09f69b8! RTMP_TimerListAdd: add timer obj c09f69e8! RTMP_TimerListAdd: add timer obj c09f9938! RTMP_TimerListAdd: add timer obj c09f952c! RTMP_TimerListAdd: add timer obj c09f9908! RTMP_TimerListAdd: add timer obj c09f9cb0! RTMP_TimerListAdd: add timer obj c09f9a00! RTMP_TimerListAdd: add timer obj c09f9a30! RTMP_TimerListAdd: add timer obj c09f9bf0! RTMP_TimerListAdd: add timer obj c09f9c20! RTMP_TimerListAdd: add timer obj c0a3ed4c! RTMP_TimerListAdd: add timer obj c0a3e940! RTMP_TimerListAdd: add timer obj c0a3ed1c! RTMP_TimerListAdd: add timer obj c0a3f0c4! RTMP_TimerListAdd: add timer obj c0a3ee14! RTMP_TimerListAdd: add timer obj c0a3ee44! RTMP_TimerListAdd: add timer obj c0a3ed7c! RTMP_TimerListAdd: add timer obj c0a3edac! RTMP_TimerListAdd: add timer obj c0a3eddc! RTMP_TimerListAdd: add timer obj c0a5b29c! RTMP_TimerListAdd: add timer obj c0a5b3b8! RTMP_TimerListAdd: add timer obj c0a5b2c8! RTMP_TimerListAdd: add timer obj c0a40e84! RTMP_TimerListAdd: add timer obj c09e0e70! RTMP_TimerListAdd: add timer obj c09e40a8! RTMP_TimerListAdd: add timer obj c09e72e0! RTMP_TimerListAdd: add timer obj c09ea518! RTMP_TimerListAdd: add timer obj c09ed750! RTMP_TimerListAdd: add timer obj c09f0988! RTMP_TimerListAdd: add timer obj c09f3bc0! RTMP_TimerListAdd: add timer obj c09f6df8! RTMP_TimerListAdd: add timer obj c0a40b94! !!! use RTMP_RBUS_SUPPORT: AP_PROFILE_PATH_RBUS is /var/Wireless/RT2860AP/RT2860AP.dat APSDCapable[0]=0 APSDCapable[1]=0 APSDCapable[2]=0 APSDCapable[3]=0 APSDCapable[4]=0 APSDCapable[5]=0 APSDCapable[6]=0 APSDCapable[7]=0 APSDCapable[8]=0 APSDCapable[9]=0 APSDCapable[10]=0 APSDCapable[11]=0 APSDCapable[12]=0 APSDCapable[13]=0 APSDCapable[14]=0 APSDCapable[15]=0 default ApCliAPSDCapable[0]=0 Key1Str is Invalid key length(0) or Type(0) Key1Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) 1. Phy Mode = 9 2. Phy Mode = 9 exec! spiflash_ioctl_read, Read from 0x007f0000 length 0x200, ret 0, retlen 0x200 eeFlashId = 0x7620! E2PROM: D0 target power=0xff1e E2PROM: 40 MW Power Delta= 0 3. Phy Mode = 9 RTMP_TimerListAdd: add timer obj c09e0a68! AntCfgInit: primary/secondary ant 0/1 Initialize RF Central Registers for E2 !!! Initialize RF Central Registers for E3 !!! Initialize RF Channel Registers for E2 !!! Initialize RF Channel Registers for E3 !!! Initialize RF DCCal Registers for E2 !!! Initialize RF DCCal Registers for E3 !!! D1 = 0, D2 = 15, CalCode = 35 !!! RT6352_Temperature_Init : BBPR49 = 0x0 RT6352_Temperature_Init : TemperatureRef25C = 0xfffffff6 Current Temperature from BBP_R49=0xfffffff9 RT6352_TssiTableAdjust: upper_bound = 0x7F decimal: 127 RT6352_TssiTableAdjust: lower_bound = 0xFFFFFF80 decimal: -128 *** RT6352_TssiTableAdjust: G Tssi[-7 .. +7] = -128 -128 -128 -128 -128 -25 -12 - 0 - 12 28 127 127 127 127 127, offset=-10, tuning=1 RT6352_TssiTableAdjust: G Tssi[-7 .. +7] = -128 -128 -128 -128 -128 -35 -22 - -10 - 2 18 117 117 117 117 117, offset=-10, tuning=1 mp_temperature=0xfffffffc, step = +0 E2PROM: G Tssi[-7 .. +7] = -128 -128 -128 -128 -128 -35 -22 - -10 - 2 18 117 117 117 117 117, offset=-10, tuning=1 TX BW Filter Calibration !!! RX BW Filter Calibration !!! ESW: Link Status Changed - Port2 Link UP LOFT Calibration Done! IQCalibration Start! IQCalibration Done! CH = 0, (gain= f, phase= 2) IQCalibration Start! IQCalibration Done! CH = 1, (gain= f, phase=3e) TX IQ Calibration Done! RXIQ Sigma_i=908, Sigma_q=901, R_iq=-2580 RXIQ calibration FAIL Change as Normal Mode(0x48b71d) After Change, now GPIO_MODE value is 0x48b71d RT6352_Init_ExtPA_ExtLNA: Enable Ext-LNA. RT6352_Init_ExtPA_ExtLNA: Init Ext-LNA BBP. bAutoTxAgcG = 1 MCS Set = ff ff 00 00 01 SYNC - BBP R4 to 20MHz.l RTMP_TimerListAdd: add timer obj c0a4119c! The 4-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 4 @@@ ed_monitor_init : ===> @@@ ed_monitor_init : <=== Main bssid = 18:d6:c7:a7:a2:d3 <==== rt28xx_init, Status=0 0x1300 = 00064300 [ util_execSystem ] 135: oal_wlan_ra_initWlan cmd is "echo 1 > /proc/tplink/led_wlan_24G" [ util_execSdevice ra0 entered promiscuous mode ystbr0: port 5(ra0) entering forwarding state embr0: port 5(ra0) entering forwarding state ] 135: oal_br_addIntfIntoBridge cmd is "brctl addif br0 ra0" [ util_exdevice apcli0 entered promiscuous mode ecSystem ] 135: oal_br_addIntfIntoBridge cmd is "brctl addif br0 apcli0" device ra1 entered promiscuous mode [ util_execSystem ] 135: oal_br_addIntfIntoBridge cmd is "brctl addif br0 ra1" [ utspiflash_ioctl_read, Read from 0x007f0000 length 0x2, ret 0, retlen 0x2 il_execSystem ] 135: oal_wlan_ra_initEnd cmd is "wlNetlinkTool &" [ util_execSystem ] 135: oal_wlan_ra_initEnd cmd is "killall -q wscd" [ util_execSystem ] 135: oal_wlan_ra_initEnd cmd is "wscd -i ra0 -m 1 -w /var/tmp/wsc_upnp/ &" [ util_execSystem ] 135: oal_wlan_ra_setCountryRegion cmd is "cp /etc/SingleSKU_5G_CE.dat /var/Wireless/RT2860AP/SingleSKU_5G.dat" WLAN-Start wlNetlinkTool Waiting for Wireless Events from interfaces... swWlanChkAhbErr: netlink to do [ util_execSystem ] 135: oal_wlan_ra_setCountryRegion cmd is "iwpriv rai0 set CountryRegionABand=1" rai0 no private ioctls. [ util_execSystem ] 135: oal_wlan_ra_loadDriver cmd is "insmod /lib/modules/kmdir/kernel/drivers/net/wireless/MT7610_ap/MT7610_ap@@@ ed_status_read: pAd->false_cca_stat[3]=448, pAd->false_cca_threshold=250 !! .k@@@ ed_status_read: go to ed_monitor_exit()!! o"@@@ ed_monitor_exit : ===> @@@ ed_monitor_exit : <=== wscd: SSDP UDP PORT = 1900 === pAd = c0f82000, size = 1378792 === <-- RTMPAllocTxRxRingMemory, Status=0 <-- RTMPAllocAdapterBlock, Status=0 device_id =0x7650 spiflash_ioctl_read, Read from 0x007f8000 length 0x200, ret 0, retlen 0x200 eeFlashId = 0x7610! ==>MT76x0_WLAN_ChipOnOff(): OnOff:1, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002 MACVersion = 0x76502000 [ util_execSystem ] 135: oal_wlan_ra_initWlan cmd is "ifconfig raiMAC[Ver:Rev=0x76502000 : 0x76100002] 0 up" load fw spent 12ms RX DESC a2b02000 size = 4096 RX1 DESC a2b03000 size = 4096 cfg_mode=14 cfg_mode=14 wmode_band_equal(): Band Not Equal! 1. Phy Mode = 49 2. Phy Mode = 49 ERROR!!! E2PROM: WRONG VERSION 0x2, should be 1 ext_pa_current_setting = 1 MT76x0_TssiTableAdjust: upper_bound = 0x7F decimal: 127 MT76x0_TssiTableAdjust: lower_bound = 0xFFFFFF80 decimal: -128 *** MT76x0_TssiTableAdjust: A Tssi[-7 .. +7] = -128 -128 -128 -128 -14 -8 -4 * 0 * 3 14 16 127 127 127 127, offset=-4, tuning=1 MT76x0_TssiTableAdjust: A Tssi[-7 .. +7] = -128 -128 -128 -128 -18 -12 -8 * -4 * -1 10 12 123 123 123 123, offset=-4, tuning=1 mp_temperature=0xfffffffc, step = +0 MT76x0_TssiTableAdjust: upper_bound = 0x7F decimal: 127 MT76x0_TssiTableAdjust: lower_bound = 0xFFFFFF80 decimal: -128 *** MT76x0_TssiTableAdjust: A Tssi[-7 .. +7] = -128 -128 -128 -128 -18 -11 -6 * -4 * 4 15 20 127 127 127 127, offset=-4, tuning=1 MT76x0_TssiTableAdjust: A Tssi[-7 .. +7] = -128 -128 -128 -128 -22 -15 -10 * -4 * 0 11 16 123 123 123 123, offset=-4, tuning=1 mp_temperature=0xfffffffc, step = +0 3. Phy Mode = 49 AntCfgInit: primary/secondary ant 0/1 ChipStructAssign(): RALINK6590 hook ! bAutoTxAgcG = 1 MCS Set = ff 00 00 00 01 MT76x0_ChipBBPAdjust():rf_bw=2, ext_ch=1, PrimCh=36, HT-CentCh=38, VHT-CentCh=42 MT76x0_ChipSwitchChannel: DefaultTargetPwr = 0x1c 28 ==== 2C70 [0] ,RXBackup [0] RX Cal =0 , use RXBackup [0] to restore!! result [0]!! APStartUp(): AP Set CentralFreq at 42(Prim=36, HT-CentCh=38, VHT-CentCh=42, BBP_BW=2) @@@ ed_monitor_init : ===> @@@ ed_monitor_init : <=== Main bssid = 18:d6:c7:a7:a2:d2 <==== rt28xx_init, Status=0 MT76x0_Calibration - Channel = 42, bPowerOn = 1, bSaveCal = 1 MT76x0_ChipSwitchChannel: DefaultTargetPwr = 0x1c 28 ==== 2C70 [0] ,RXBackup [0] RX Cal =0 , use RXBackup [0] to restore!! result [0]!! FullCalibration - Channel = 42, param = 0x301, bSave = 1, CalibrationMode = 255 ==== 2C70 [0] ,RXBackup [0] RX Cal =0 , use RXBackup [0] to restore!! result [0]!! MT76x0_ChipSwitchChannel: DefaultTargetPwr = 0x1c 28 ==== 2C70 [0] ,RXBackup [0] RX Cal =0 , use RXBackup [0] to restore!! result [0]!! FullCalibration - Channel = 136, param = 0x401, bSave = 1, CalibrationMode = 255 ==== 2C70 [0] ,RXBackup [0] RX Cal =0 , use RXBackup [0] to restore!! result [0]!! MT76x0_ChipSwitchChannel: DefaultTargetPwr = 0x1c 28 ==== 2C70 [0] ,RXBackup [0] RX Cal =0 , use RXBackup [0] to restore!! result [0]!! FullCalibration - Channel = 155, param = 0x501, bSave = 1, CalibrationMode = 255 ==== 2C70 [6] ,RXBackup [0] 2C70 [6] not 0 , backup [6] MT76x0_ChipSwitchChannel: DefaultTargetPwr = 0x1c 28 ==== 2C70 [6] ,RXBackup [6] 2C70 [6] not 0 , backup [6] FullCalibration - Channel = 42, param = 0x701, bSave = 0, CalibrationMode = 255 ==== 2C70 [0] ,RXBackup [6] RX Cal =0 , use RXBackup [6] to restore!! result [6]!! MT76x0_Calibration - Channel = 36, bPowerOn = 0, bSaveCal = 0 FullCalibration - Channel = 36, param = 0x701, bSave = 0, CalibrationMode = 255 ==== 2C70 [0] ,RXBackup [6] RX Cal =0 , use RXBackup [6] to restore!! result [6]!! MT76x0_ChipSwitchChannel: DefaultTargetPwr = 0x1c 28 ==== 2C70 [6] ,RXBackup [6] 2C70 [6] not 0 , backup [6] MT76x0_Calibration - Channel = 40, bPowerOn = 0, bSaveCal = 0 FullCalibration - Channel = 40, param = 0x701, bSave = 0, CalibrationMode = 255 ==== 2C70 [0] ,RXBackup [6] RX Cal =0 , use RXBackup [6] to restore!! result [6]!! MT76x0_ChipSwitchChannel: DefaultTargetPwr = 0x1c 28 ==== 2C70 [6] ,RXBackup [6] 2C70 [6] not 0 , backup [6] MT76x0_Calibration - Channel = 44, bPowerOn = 0, bSaveCal = 0 FullCalibration - Channel = 44, param = 0x701, bSave = 0, CalibrationMode = 255 ==== 2C70 [0] ,RXBackup [6] RX Cal =0 , use RXBackup [6] to restore!! result [6]!! MT76x0_ChipSwitchChannel: DefaultTargetPwr = 0x1c 28 ==== 2C70 [6] ,RXBackup [6] 2C70 [6] not 0 , backup [6] MT76x0_Calibration - Channel = 48, bPowerOn = 0, bSaveCal = 0 FullCalibration - Channel = 48, param = 0x701, bSave = 0, CalibrationMode = 255 ==== 2C70 [0] ,RXBackup [6] RX Cal =0 , use RXBackup [6] to restore!! result [6]!! MT76x0_ChipSwitchChannel: DefaultTargetPwr = 0x1c 28 ==== 2C70 [6] ,RXBackup [6] 2C70 [6] not 0 , backup [6] MT76x0_Calibration - Channel = 52, bPowerOn = 0, bSaveCal = 0 FullCalibration - Channel = 52, param = 0x701, bSave = 0, CalibrationMode = 255 ==== 2C70 [0] ,RXBackup [6] RX Cal =0 , use RXBackup [6] to restore!! result [6]!! MT76x0_ChipSwitchChannel: DefaultTargetPwr = 0x1c 28 ==== 2C70 [6] ,RXBackup [6] 2C70 [6] not 0 , backup [6] MT76x0_Calibration - Channel = 56, bPowerOn = 0, bSaveCal = 0 FullCalibration - Channel = 56, param = 0x701, bSave = 0, CalibrationMode = 255 ==== 2C70 [0] ,RXBackup [6] RX Cal =0 , use RXBackup [6] to restore!! result [6]!! MT76x0_ChipSwitchChannel: DefaultTargetPwr = 0x1c 28 ==== 2C70 [6] ,RXBackup [6] 2C70 [6] not 0 , backup [6] MT76x0_Calibration - Channel = 60, bPowerOn = 0, bSaveCal = 0 FullCalibration - Channel = 60, param = 0x701, bSave = 0, CalibrationMode = 255 ==== 2C70 [0] ,RXBackup [6] RX Cal =0 , use RXBackup [6] to restore!! result [6]!! MT76x0_ChipSwitchChannel: DefaultTargetPwr = 0x1c 28 ==== 2C70 [6] ,RXBackup [6] 2C70 [6] not 0 , backup [6] MT76x0_Calibration - Channel = 64, bPowerOn = 0, bSaveCal = 0 FullCalibration - Channel = 64, param = 0x701, bSave = 0, CalibrationMode = 255 ==== 2C70 [0] ,RXBackup [6] RX Cal =0 , use RXBackup [6] to restore!! result [6]!! MT76x0_ChipSwitchChannel: DefaultTargetPwr = 0x1c 28 ==== 2C70 [6] ,RXBackup [6] 2C70 [6] not 0 , backup [6] MT76x0_Calibration - Channel = 100, bPowerOn = 0, bSaveCal = 0 FullCalibration - Channel = 100, param = 0x801, bSave = 0, CalibrationMode = 255 ==== 2C70 [0] ,RXBackup [6] RX Cal =0 , use RXBackup [6] to restore!! result [6]!! MT76x0_ChipSwitchChannel: DefaultTargetPwr = 0x1c 28 ==== 2C70 [6] ,RXBackup [6] 2C70 [6] not 0 , backup [6] MT76x0_Calibration - Channel = 104, bPowerOn = 0, bSaveCal = 0 FullCalibration - Channel = 104, param = 0x801, bSave = 0, CalibrationMode = 255 ==== 2C70 [0] ,RXBackup [6] RX Cal =0 , use RXBackup [6] to restore!! result [6]!! MT76x0_ChipSwitchChannel: DefaultTargetPwr = 0x1c 28 ==== 2C70 [6] ,RXBackup [6] 2C70 [6] not 0 , backup [6] MT76x0_Calibration - Channel = 108, bPowerOn = 0, bSaveCal = 0 FullCalibration - Channel = 108, param = 0x801, bSave = 0, CalibrationMode = 255 ==== 2C70 [0] ,RXBackup [6] RX Cal =0 , use RXBackup [6] to restore!! result [6]!! MT76x0_ChipSwitchChannel: DefaultTargetPwr = 0x1c 28 ==== 2C70 [6] ,RXBackup [6] 2C70 [6] not 0 , backup [6] MT76x0_Calibration - Channel = 112, bPowerOn = 0, bSaveCal = 0 FullCalibration - Channel = 112, param = 0x801, bSave = 0, CalibrationMode = 255 ==== 2C70 [0] ,RXBackup [6] RX Cal =0 , use RXBackup [6] to restore!! result [6]!! MT76x0_ChipSwitchChannel: DefaultTargetPwr = 0x1c 28 ==== 2C70 [6] ,RXBackup [6] 2C70 [6] not 0 , backup [6] MT76x0_Calibration - Channel = 116, bPowerOn = 0, bSaveCal = 0 FullCalibration - Channel = 116, param = 0x801, bSave = 0, CalibrationMode = 255 ==== 2C70 [0] ,RXBackup [6] RX Cal =0 , use RXBackup [6] to restore!! result [6]!! MT76x0_ChipSwitchChannel: DefaultTargetPwr = 0x1c 28 ==== 2C70 [6] ,RXBackup [6] 2C70 [6] not 0 , backup [6] MT76x0_Calibration - Channel = 120, bPowerOn = 0, bSaveCal = 0 FullCalibration - Channel = 120, param = 0x801, bSave = 0, CalibrationMode = 255 ==== 2C70 [0] ,RXBackup [6] RX Cal =0 , use RXBackup [6] to restore!! result [6]!! MT76x0_ChipSwitchChannel: DefaultTargetPwr = 0x1c 28 ==== 2C70 [6] ,RXBackup [6] 2C70 [6] not 0 , backup [6] MT76x0_Calibration - Channel = 124, bPowerOn = 0, bSaveCal = 0 FullCalibration - Channel = 124, param = 0x801, bSave = 0, CalibrationMode = 255 ==== 2C70 [0] ,RXBackup [6] RX Cal =0 , use RXBackup [6] to restore!! result [6]!! MT76x0_ChipSwitchChannel: DefaultTargetPwr = 0x1c 28 ==== 2C70 [6] ,RXBackup [6] 2C70 [6] not 0 , backup [6] MT76x0_Calibration - Channel = 128, bPowerOn = 0, bSaveCal = 0 FullCalibration - Channel = 128, param = 0x801, bSave = 0, CalibrationMode = 255 ==== 2C70 [0] ,RXBackup [6] RX Cal =0 , use RXBackup [6] to restore!! result [6]!! MT76x0_ChipSwitchChannel: DefaultTargetPwr = 0x1c 28 ==== 2C70 [6] ,RXBackup [6] 2C70 [6] not 0 , backup [6] MT76x0_Calibration - Channel = 132, bPowerOn = 0, bSaveCal = 0 FullCalibration - Channel = 132, param = 0x801, bSave = 0, CalibrationMode = 255 ==== 2C70 [0] ,RXBackup [6] RX Cal =0 , use RXBackup [6] to restore!! result [6]!! MT76x0_ChipSwitchChannel: DefaultTargetPwr = 0x1c 28 ==== 2C70 [6] ,RXBackup [6] 2C70 [6] not 0 , backup [6] MT76x0_Calibration - Channel = 136, bPowerOn = 0, bSaveCal = 0 FullCalibration - Channel = 136, param = 0x801, bSave = 0, CalibrationMode = 255 ==== 2C70 [0] ,RXBackup [6] RX Cal =0 , use RXBackup [6] to restore!! result [6]!! MT76x0_ChipSwitchChannel: DefaultTargetPwr = 0x1c 28 ==== 2C70 [6] ,RXBackup [6] 2C70 [6] not 0 , backup [6] MT76x0_Calibration - Channel = 140, bPowerOn = 0, bSaveCal = 0 FullCalibration - Channel = 140, param = 0x901, bSave = 0, CalibrationMode = 255 ==== 2C70 [6] ,RXBackup [6] 2C70 [6] not 0 , backup [6] MT76x0_ChipSwitchChannel: DefaultTargetPwr = 0x1c 28 ==== 2C70 [6] ,RXBackup [6] 2C70 [6] not 0 , backup [6] @@@ ed_monitor_exit : ===> @@@ ed_monitor_exit : <=== MT76x0_ChipBBPAdjust():rf_bw=2, ext_ch=1, PrimCh=44, HT-CentCh=46, VHT-CentCh=42 MT76x0_ChipSwitchChannel: DefaultTargetPwr = 0x1c 28 ==== 2C70 [6] ,RXBackup [6] 2C70 [6] not 0 , backup [6] APStartUp(): AP Set CentralFreq at 42(Prim=44, HT-CentCh=46, VHT-CentCh=42, BBP_BW=2) MT76x0_Calibration - Channel = 42, bPowerOn = 0, bSaveCal = 0 FullCalibration - Channel = 42, param = 0x701, bSave = 0, CalibrationMode = 255 ==== 2C70 [0] ,RXBackup [6] RX Cal =0 , use RXBackup [6] to restore!! result [6]!! @@@ ed_monitor_init : ===> @@@ ed_monitor_init : <=== 0x1300 = 00064300 RTMPDrvOpen(1):Check if PDMA is idle! RTMPDrvOpen(2):Check if PDMA is idle! [ util_execSystem ] 135: oal_wlan_ra_initWlan cmd is "echo 1 > /proc/tplink/led_wlan_5G" [ util_execSysdevice rai0 entered promiscuous mode tembr0: port 8(rai0) entering forwarding state ]br0: port 8(rai0) entering forwarding state 135: oal_br_addIntfIntoBridge cmd is "brctl addif br0 rai0" [ util_execdevice apclii0 entered promiscuous mode System ] 135: oal_br_addIntfIntoBridge cmd is "brctl addif br0 apclii0" [ device rai1 entered promiscuous mode util_execSystem ] 135: oal_br_addIntfIntoBspiflash_ioctl_read, Read from 0x007f8000 length 0x2, ret 0, retlen 0x2 ridge cmd is "brctl addif br0 rai1" wlNetlinkTool is already there. [ util_execSystem ] 135: oal_wlan_ra_initEnd cmd is "killall -q wscd_5G" [ util_execSystem ] 135: oal_wlan_ra_initEnd cmd is "wscd_5G -i rai0 -m 1 -w /var/tmp/wsc_upnp_5G/ &" wscd: SSDP UDP PORT = 1900 sendto: No such file or directory pid 251 send 2030 error sendto: No such file or directory pid 251 send 2004 error [ util_execSystem ] 135: oal_startDhcps cmd is "dhcpd /var/tmp/dconf/udhcpd.conf" [ util_execSystem ] 135: oal_lan6_startDhcp6s cmd is "dhcp6s -c /var/tmp/dconf/dhcp6s_br0.conf -P /var/run/dhcp6s_br0.pid br0 &" [ util_execSystem ] 135: oal_lan6_startRadvd cmd is "radvd -C /var/tmp/dconf/radvd_br0.conf -p /var/run/radvd_br0.pid &" [ util_execSystem ] 135: oal_br_delIntfFromBridge cmd is "brctl delif br0 eth0.2" mldProxy# file: src/mld_ifinfo.c;line: 102; error = No such file or directory mldProxy# Err: get LLA failed iptables: Bad rule (does a matching rule exist in that chain?). brctl: bridge br0: Invalid argument [ util_execSystem ] 135: oal_intf_setIfMac cmd is "ifconfig eth0.2 down" [ util_execSystem ] 135: oal_intf_setIfMac cmd is "ifconfig eth0.2 hw ether 18:D6:C7:A7:A2:D4 up" [ util_execSystem ] 135: oal_intf_enableIntf cmd is "ifconfig eth0.2 up" radvd starting [Jan 01 00:00:17] radvd: no linklocal address configured for br0 [Jan 01 00:00:17] radvd: error parsing or activating the config file: /var/tmp/dconf/radvd_br0.conf [ util_execSystem ] 135: prepareDropbear cmd is "dropbearkey -t rsa -f /var/tmp/dropbear/dropbear_rsa_host_key" Will output 1024 bit rsa secret key to '/var/tmp/dropbear/dropbear_rsa_host_key' Generating key, this may take a while... [ util_execSystem ] 135: oal_rip_updateConfig cmd is "rm -f /var/tmp/dconf/zebra.conf" [ util_execSystem ] 135: oal_rip_updateConfig cmd is "rm -f /var/tmp/dconf/ripd.conf" [ util_execSystem ] 135: removeAllRIPIpTableRule cmd is "iptables -L INPUT -v --line-numbers > /var/iptable" [ util_execSystem ] 135: prepareDropbear cmd is "dropbearkey -t dss -f /var/tmp/dropbear/dropbear_dss_host_key" Will output 1024 bit dss secret key to '/var/tmp/dropbear/dropbear_dss_host_key' Generating key, this may take a while... [ getPidFromPidFile ] 112: Cann't open file: /var/run/zebra.pid. [ util_execSystem ] 135: controlRipProcess cmd is "zebra -d -f /var/tmp/dconf/zebra.conf" [ getPidFromPidFile ] 112: Cann't open file: /var/run/ripd.pid. [ util_execSystem ] 135: oal_ipt_fwDdos cmd is "iptables -D FORWARD -j FIREWALL_DDOS " iptables: No chain/target/match by that name. [ util_execSystem ] 135: oal_ipt_forbidLanPing cmd is "iptables -t filter -D INPUT -i br+ -p icmp --icmp-type echo-request -j DROP iptables -t filter -D FORWARD -i br+ -p icmp --icmp-type echo-request -j DROP " iptables: Bad rule (does a matching rule exist in that chain?). iptables: Bad rule (does a matching rule exist in that chain?). [ util_execSystem ] 135: oal_ddos_delPingRule cmd is "iptables -t filter -D INPUT ! -i br+ -p icmp --icmp-type echo-request -j ACCEPT " iptables: Bad rule (does a matching rule exist in that chain?). [ util_execSystem ] 135: oal_ipt_setDDoSRules cmd is "iptables -F FIREWALL_DDOS" [ util_execSystem ] 135: ddos_clearAll cmd is "rm -f /var/tmp/dosHost" [ util_execSystem ] 135: oal_initFirewallObj cmd is "ebtables -N FIREWALL" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -F" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -X" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -P INPUT ACCEPT" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -P FORWARD DROP" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -P OUTPUT ACCEPT" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -N FIREWALL" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -N FWRULE" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -A INPUT -i lo -p ALL -j ACCEPT -m comment --comment "loop back"" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -A INPUT -i br+ -p tcp --dport 23 -j ACCEPT" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -A INPUT -p tcp --dport 23 -j DROP" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -A INPUT -i br+ -p icmpv6 --icmpv6-type echo-request -j ACCEPT" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -A INPUT -p icmpv6 --icmpv6-type echo-request -j DROP" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -A FORWARD -i br+ -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -A FORWARD -o br+ -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT" [ util_execSystem ] 135: prepareDropbear cmd is "dropbear -p 22 -r /var/tmp/dropbear/dropbear_rsa_host_key -d /var/tmp/dropbear/dropbear_dss_host_key -A /var/tmp/dropbear/dropbearpwd" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -A FORWARD -j FIREWALL" [ util_execSystem ] 135: oal_fw6_setFwEnabeld cmd is "ip6tables -D FIREWALL -j ACCEPT" ip6tables: Bad rule (does a matching rule exist in that chain?). [ util_execSystem ] 135: oal_fw6_setFwEnabeld cmd is "ip6tables -F FIREWALL" [ util_execSystem ] 135: oal_fw6_setFwEnabeld cmd is "ip6tables -A FIREWALL -j ACCEPT" [ rsl_setStorageServiceObj ] 1024: mountFlag is 3,We start usb server [ util_execSystem ] 135: oal_killDlnaMediaSeverProcess cmd is "killall ushare" killall: ushare: no process killed uShare (version 1.1a), a lightweight UPnP A/V and DLNA Media Server. Benjamin Zores (C) 2005-2007, for GeeXboX Team. See http://ushare.geexbox.org/ for updates. [ util_execSystem ] 135: oal_ipt_setWanPort cmd is "iptables -t filter -D INPUT -p tcp --dport 21 -j ACCEPT" iptables: Bad rule (does a matching rule exist in that chain?). [ util_execSystem ] 135: oal_ipt_setWanPort cmd is "iptables -t nat -D PREROUTING -p tcp --dport 21 -j ACCEPT" iptables: Bad rule (does a matching rule exist in that chain?). [ util_execSystem ] 135: oal_startPrintSrv cmd is "insmod /lib/modules/GPL_NetUSB.ko" [ util_execSystem ] 135: oal_sys_unsetTZ cmd is "echo "" > /etc/TZ" [ util_execSystem ] 135: oal_sys_unsetTZ cmd is "echo "" > /etc/TZ" kcg 333 :GPL NetUSB up! [ util_execSystem ] 135: oal_startPrintSrv cmd is "insmod /lib/modules/NetUSB.ko" kc 90 : run_telnetDBGDServer start kc 227 : init_DebugD end INFO186B: NetUSB 1.02.61, 00020624 : Dec 16 2014 15:38:41 INFO186D: 7437: Archer C20 :Archer C20 INFO186E: AUTH ISOC INFO186F: MOVE_HEAD filterAudio usbcore: registered new interface driver KC NetUSB General Driver INFO18C7: Reset device when disconnect INFO0145: init proc : PAGE_SIZE 4096 INFO1740: infomap c11f0c74 INFO1743: sleep to wait br0 to wake up INFO02CE: use dev Name br0 INFO174C: sleep to wait br0 end. INFO1765: UDP_BROAD 7437 tcpPort:20005 INFO02CE: use dev Name br0 [ util_execSystem ] 135: setupModulesINFO161F: tcpConnector() started... cmd is "insmod /lib/modules/kmdir/kernel/net/netfilter/nf_conntrack_ftp.ko" [ util_execSystem ] 135: setupModules cmd is "insmod /lib/modules/kmdir/kernel/net/ipv4/netfilter/nf_nat_ftp.ko" [ util_execSystem ] 135: oal_openAlg cmd is "iptables -D FORWARD_VPN_PASSTHROUGH -p udp --dport 500 -j DROP" iptables: Bad rule (does a matching rule exist in that chain?). [ util_execSystem ] 135: setupModules cmd is "insmod /lib/modules/kmdir/kernel/net/ipv4/netfilter/nf_nat_proto_gre.ko" [ util_execSystem ] 135: setupModules cmd is "insmod /lib/modules/kmdir/kernel/net/ipv4/netfilter/nf_nat_pptp.ko" [ util_execSystem ] 135: oal_openAlg cmd is "iptables -D FORWARD_VPN_PASSTHROUGH -p tcp --dport 1723 -j DROP" iptables: Bad rule (does a matching rule exist in that chain?). [ util_execSystem ] 135: oal_openAlg cmd is "iptables -D FORWARD_VPN_PASSTHROUGH -p udp --dport 1701 -j DROP" iptables: Bad rule (does a matching rule exist in that chain?). [ util_execSystem ] 135: setupModules cmd is "insmod /lib/modules/kmdir/kernel/net/netfilter/nf_conntrack_tftp.ko" [ util_execSystem ] 135: setupModules cmd is "insmod /lib/modules/kmdir/kernel/net/ipv4/netfilter/nf_nat_tftp.ko" [ util_execSystem ] 135: setupModules cmd is "insmod /lib/modules/kmdir/kernel/net/netfilter/nf_conntrack_h323.ko" [ util_execSystem ] 135: setupModules cmd is "insmod /lib/modules/kmdir/kernel/net/ipv4/netfilter/nf_nat_h323.ko" [ util_execSystem ] 135: setupModules cmd is "insmod /lib/modules/kmdir/kernel/net/netfilter/nf_conntrack_sip.ko" [ util_execSystem ] 135: setupModules cmd is "insmod /lib/modules/kmdir/kernel/net/ipv4/netfilter/nf_nat_sip.ko" [ util_execSystem ] 135: setupModules cmd is "insmod /lib/modules/kmdir/kernel/net/netfilter/nf_conntrack_rtsp.ko" [ util_execSystem ] 135: setupModules cmd is "insmod /lib/modules/kmdir/kernel/net/ipv4/netfilter/nf_nat_rtsp.ko" nf_nat_rtsp v0.6.21 loading [ util_execSystem ] 135: oal_wan_HWNat_enable cmd is "insmod /lib/modules/kmdir/kernel/net/nat/hw_nat/hw_nat.ko" Ralink HW NAT Module Enabled INFO14F8: Bind to br0
OpenWrt bootlog
U-Boot 1.1.3 (Aug 26 2015 - 18:00:56) Board: Ralink APSoC DRAM: 64 MB relocate_code Pointer at: 83fb0000 enable ephy clock...done. rf reg 29 = 5 SSC disabled. ------------------ Archer C20 v1.0.0 ------------------ spi_wait_nsec: 29 spi device id: c8 40 17 c8 40 (4017c840) find flash: GD25Q64C ============================================ Ralink UBoot Version: 4.1.2.0 -------------------------------------------- ASIC 7620_MP (Port5<->None) DRAM component: 512 Mbits DDR, width 16 DRAM bus: 16 bit Total memory: 64 MBytes Flash component: SPI Flash Date:Aug 26 2015 Time:18:00:56 ============================================ icache: sets:512, ways:4, linesz:32 ,total:65536 dcache: sets:256, ways:4, linesz:32 ,total:32768 ##### The CPU freq = 580 MHZ #### estimate memory size =64 Mbytes continue to starting system. 0 disableEthForward(1158):disable switch forward... 3: System Boot system code via Flash.(0xbc020000) do_bootm:argc=2, addr=0xbc020000 ## Booting image at bc020000 ... Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 80000000) ... ## Giving linux memsize in MB, 64 Starting kernel ... [ 0.000000] Linux version 4.4.14 (mariogrip@mariogrip-laptop) (gcc version 5.3.0 (OpenWrt GCC 5.3.0 50104) ) #6 Thu Mar 16 21:45:57 UTC 2017 [ 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 TP-Link Archer C50 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 04000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 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] 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] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 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=000613a9 [ 0.000000] Readback ErrCtl register=000613a9 [ 0.000000] Memory: 60956K/65536K available (3021K kernel code, 147K rwdata, 388K rodata, 148K init, 200K bss, 4580K 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.000011] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns [ 0.007572] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216) [ 0.070055] pid_max: default: 32768 minimum: 301 [ 0.074683] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.081052] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.094058] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.103658] pinctrl core: initialized pinctrl subsystem [ 0.109988] NET: Registered protocol family 16 [ 0.597033] PCI host bridge /pcie@10140000 ranges: [ 0.601639] MEM 0x0000000020000000..0x000000002fffffff [ 0.606691] IO 0x0000000010160000..0x000000001016ffff [ 0.624488] rt2880_gpio 10000600.gpio: registering 24 gpios [ 0.629878] rt2880_gpio 10000600.gpio: registering 24 irq handlers [ 0.636091] rt2880_gpio 10000660.gpio: registering 32 gpios [ 0.641472] rt2880_gpio 10000660.gpio: registering 32 irq handlers [ 0.647645] rt2880_gpio 10000688.gpio: registering 1 gpios [ 0.652927] rt2880_gpio 10000688.gpio: registering 1 irq handlers [ 0.659657] PCI host bridge to bus 0000:00 [ 0.663585] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff] [ 0.670295] pci_bus 0000:00: root bus resource [io 0xffffffff] [ 0.676001] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0] [ 0.682602] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 0.690791] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 0.699806] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000] [ 0.706170] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000] [ 0.712978] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x201fffff] [ 0.719526] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff] [ 0.726140] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff] [ 0.732715] pci 0000:01:00.1: BAR 0: assigned [mem 0x20100000-0x201fffff] [ 0.739318] pci 0000:00:00.0: PCI bridge to [bus 01] [ 0.744124] pci 0000:00:00.0: bridge window [mem 0x20000000-0x201fffff] [ 0.750743] pci 0000:00:00.0: card - bus=0x0, slot = 0x0 irq=0 [ 0.756382] pci 0000:01:00.0: card - bus=0x1, slot = 0x0 irq=4 [ 0.762066] pci 0000:01:00.1: card - bus=0x1, slot = 0x0 irq=4 [ 0.768551] clocksource: Switched to clocksource systick [ 0.774966] NET: Registered protocol family 2 [ 0.780222] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.786947] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.793166] TCP: Hash tables configured (established 1024 bind 1024) [ 0.799393] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.805017] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.811384] NET: Registered protocol family 1 [ 0.816071] rt-timer 10000100.timer: maximum frequency is 1220Hz [ 0.822749] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.849061] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.854666] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.866637] io scheduler noop registered [ 0.870450] io scheduler deadline registered (default) [ 0.875615] ralink-usb-phy usbphy: invalid resource [ 0.880977] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.890880] console [ttyS0] disabled [ 0.894324] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103 [ 0.904001] console [ttyS0] enabled [ 0.904001] console [ttyS0] enabled [ 0.911033] bootconsole [early0] disabled [ 0.911033] bootconsole [early0] disabled [ 0.925791] spi spi0.0: force spi mode3 [ 0.930316] m25p80 spi0.0: gd25q64 (8192 Kbytes) [ 0.935078] 6 ofpart partitions found on MTD device spi0.0 [ 0.940719] Creating 6 MTD partitions on "spi0.0": [ 0.945614] 0x000000000000-0x000000020000 : "u-boot" [ 0.952490] 0x000000020000-0x0000007c0000 : "firmware" [ 1.021331] 2 tplink-fw partitions found on MTD device firmware [ 1.027395] 0x000000020000-0x00000014e2b0 : "kernel" [ 1.034048] 0x00000014e2b0-0x0000007c0000 : "rootfs" [ 1.040955] mtd: device 3 (rootfs) set to be root filesystem [ 1.046884] 1 squashfs-split partitions found on MTD device rootfs [ 1.053262] 0x000000360000-0x0000007c0000 : "rootfs_data" [ 1.060610] 0x0000007c0000-0x0000007d0000 : "config" [ 1.067454] 0x0000007d0000-0x0000007e0000 : "rom" [ 1.074127] 0x0000007e0000-0x0000007f0000 : "romfile" [ 1.081195] 0x0000007f0000-0x000000800000 : "radio" [ 1.091754] gsw: setting port4 to ephy mode [ 1.096072] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): port 2 link up (100Mbps/Full duplex) [ 1.105628] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver [ 1.112519] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5 [ 1.121531] rt2880_wdt 10000120.watchdog: Initialized [ 1.128136] NET: Registered protocol family 10 [ 1.136370] NET: Registered protocol family 17 [ 1.141062] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. [ 1.153988] Bridge firewalling registered [ 1.158079] 8021q: 802.1Q VLAN Support v1.8 [ 1.174747] VFS: Mounted root (squashfs filesystem) readonly on device 31:3. [ 1.182823] Freeing unused kernel memory: 148K (8037b000 - 803a0000) [ 3.633390] init: Console is alive [ 3.637078] init: - watchdog - [ 5.363093] usbcore: registered new interface driver usbfs [ 5.368875] usbcore: registered new interface driver hub [ 5.374406] usbcore: registered new device driver usb [ 5.384912] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 5.393043] ehci-platform: EHCI generic platform driver [ 5.408779] phy phy-usbphy.0: remote usb device wakeup disabled [ 5.414829] phy phy-usbphy.0: UTMI 16bit 30MHz [ 5.419412] ehci-platform 101c0000.ehci: EHCI Host Controller [ 5.425310] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1 [ 5.433525] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000 [ 5.446414] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00 [ 5.453951] hub 1-0:1.0: USB hub found [ 5.458198] hub 1-0:1.0: 1 port detected [ 5.465018] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 5.472656] ohci-platform: OHCI generic platform driver [ 5.478343] ohci-platform 101c1000.ohci: Generic Platform OHCI controller [ 5.485301] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2 [ 5.493531] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000 [ 5.524327] hub 2-0:1.0: USB hub found [ 5.528502] hub 2-0:1.0: 1 port detected [ 5.539358] init: - preinit - [ 6.712807] 8021q: adding VLAN 0 to HW filter on device eth0 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[ 6.869245] random: procd urandom read with 11 bits of entropy available level [ 7.915180] jffs2: notice: (371) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. [ 7.933895] mount_root: switching to jffs2 overlay [ 7.970865] procd: - early - [ 7.975316] procd: - watchdog - [ 8.499468] procd: - ubus - [ 8.528433] procd: - init - Please press Enter to activate this console. [ 9.228632] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 9.246998] Loading modules backported from Linux version wt-2016-05-12-0-g7a54796 [ 9.254811] Backport generated by backports.git backports-20160216-0-ge3c56e4 [ 9.314535] ip_tables: (C) 2000-2006 Netfilter Core Team [ 9.330964] nf_conntrack version 0.5.0 (954 buckets, 3816 max) [ 9.382151] xt_time: kernel timezone is -0000 [ 9.399183] PPP generic driver version 2.4.2 [ 9.406363] NET: Registered protocol family 24 [ 9.428319] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0500 detected [ 9.436250] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected [ 17.010129] 8021q: adding VLAN 0 to HW filter on device eth0 [ 17.028909] device eth0.1 entered promiscuous mode [ 17.033817] device eth0 entered promiscuous mode [ 17.052167] br-lan: port 1(eth0.1) entered forwarding state [ 17.057966] br-lan: port 1(eth0.1) entered forwarding state [ 18.730965] br-lan: port 1(eth0.1) entered forwarding state