Table of Contents

TP-Link Archer C5 AC1200 / TP-Link Archer C7 AC1750 / TP-Link TL-WDR7500

Dual Band (concurrent) and Gigabit Ethernet. Advertised as 1750 Mbps. It has simultaneous Triple-Stream (3x3) radios on both 2.4GHz and 5 GHz Bands. It supports 802.11n in 2.4GHz for 450Mbps throughput and IEEE 802.11ac (draft) for 1300Mbps throughput in 5GHz. Note: The editing history for this page is at Previous Archer C5/C7/WDR7500 page

The Archer C5 v1.x: available worldwide, has 3 internal (2.4GHz) and 3 external (5GHz) antennas.

The Archer C5 v2.0: available worldwide, has ?? internal (2.4GHz) and 2 external (5GHz) antennas.

The Archer C7: available worldwide, has 3 internal (2.4GHz) and 3 external (5GHz) antennas.

The Archer C7R (also called the TL-WDR7500): currently available in PRC only, has 6 external antennas.

TP-Link Archer C7 AC1750 TP-Link TL-WDR7500 - PRC only

Supported Versions

Version/Model S/N Release Date last seen (Shop) OpenWrt Version Supported Technical Data Model Specific Notes
Archer C5 v1.20 - ? BB Technical Data QCA9880-BR4A (v2). Same as C7 v2.0.
Archer C5 v2.x - ? no Technical Data 2.x is based on Broadcom chips rather than Atheros and not supported yet
Archer C7 v1.0 - 2013-01-15 BB (2.4GHz only) Technical Data QCA9880-AR1A (v1). wikidevi product page
Archer C7 v1.1 - 2013-??-?? BB (2.4GHz only) Technical Data QCA9880-AR1A (v1)
Archer C7 v2.0 - 2013-12-17 2017-1 BB 14.07, CC 15.05 Technical Data QCA9880-BR4A (v2). v2.0 printed on serial label on packaging. TP-Link support say "V2 has improved chipset which is DFS certificated. The flash capacity is 16MB compared to 8MB of V1. V2 also fixed a few bugs on V1". forum photos stock firmware wikidevi
Archer C7 v2.0 - December 2015 Trunk (r47588), builds of 15.05.1 (r49220) Technical Data In late 2015 the V2 changed to flash chip gd25q128, affected serial numbers start with 215C or higher. The chip is supported in trunk as of r47588 and 15.05.1 as of r49220
Archer C7 v3.0 - ?? ?? ?? mentioned in tp-link's downloads 2017-1
Archer C7 v4.0 - ?? ?? ?? mentioned in tp-link's downloads 2017-1
WDR7500 (Archer C7R) v2.0 - 2013-01-15 custom build with target support patch 2.4GHz only Technical Data QCA9880-AR1A (v1). Available only in PRC. WiP product page wikidevi aliexpress
WDR7500 (Archer C7R) v3.0 - 2015-11-02 trunk since r47344 Technical Data QCA9880-BR4A (v2). Currently available only in PRC photos
WDR7500 (Archer C7R) v4.0 - ????-??-?? maybe experimental Technical Data QCA9880-BR4A (v2). Manual available at http://service.tp-link.com.cn/list_download_technology_1_0_299.html
WDR7500 (Archer C7R) v5.0 - 2015-??-?? maybe experimental Technical Data QCA9880-BR4A (v2). Manual available at http://service.tp-link.com.cn/list_download_technology_1_0_299.html

For the Archer C7 v1.x and WDR7500 v2.x, the 5GHz 802.11a/n/ac functionality is not supported, and likely will never be, since support for the AR1A (v1) variant of QCA9880 chip is not included in the open source ath10k driver. The Archer C7 v2.x uses the BR4A (v2) variant which is supported in ath10k ath10k Linux

Notes: The 802.11ac WLAN↔LAN throughput of Archer C7 2.0 with OpenWrt Chaos Calmer RC3 was measured to be substantially lower than that of the native firmware. (450 to 500Mbps with OpenWrt vs. 750 to 800Mbps with native firmware, both measured under conditions close to ideal). See this thread for details.

Furthermore, please be aware that OpenWrt firmware does not support the hardware NAT capability of these routers. Hence, the throughput between WAN↔LAN will be slower than with stock firmware. This is only important for users with highspeed internet connections, like e.g. a 1G fibre connection. If your internet connection is ⇐200Mbps you don't need to worry about this (maybe even up to 300Mbps). But if you need faster NAT throughput, consider buying faster hardware.

Quick Start Guide

Newer versions of Archer C7 v2.0: The current stable release Chaos Calmer 15.05.1 provides full support for the original v2.0 version of the Archer C7 and has Luci (webUI) built-in. However, in late 2015, TP-Link changed the hardware configuration without bumping the hardware version number, v2.0 devices with serial numbers greater than 215C use a gd25q128 flash chip, which is supported in trunk as of r47588 and in custom compiles of 15.05.1 newer than r49220. Either of these options are confirmed to work, although the kmod-ath10k driver (for 5GHz Wi-Fi functionality) and LuCI (if desired) will need to be installed as packages after the firmware is flashed.

The current stable release Chaos Calmer 15.05.1 dated 15-Mar-2016 17:48 is r48532.

If these instructions don't work: Recent versions (late 2015 and newer) of TP-Link routers sold in the United States will not upgrade firmware through the OEM firmware web interface unless the header includes the US region code.

As of r49217 trunk now includes the necessary US region header in the v2 firmware file, currently other regions accept this firmware as only the US region firmware is locked. Once trunk is installed you can install any firmware. You can also flash any firmware image using the TFTP Recovery method to install OpenWrt.

Note: The Archer C7 V2.0's web interface does not accept the Chaos Calmer RC1 .bin file unless you rename it to something with less dots; like openwrtCC.bin.

Forum discussion/support thread: https://forum.openwrt.org/viewtopic.php?id=44201

Note: Factory default IP address range is 192.168.0.1 while OpenWrt uses 192.168.1.1 by default. If you have trouble accessing your router after initial flash, check that you have a 192.168.1.x IP address on your PC.

Hardware Highlights

SoC Ram Flash Network USB Serial JTag
Qualcomm QCA9558@720MHz 128MiB 8MiB/16MiB 4 x 1 Yes Yes Yes

Note: The SoC hardware used here and in other devices appears to only support USB 2.0 devices; the OHCI driver (USB 1.0/1.1) does not detect any applicable hardware. Use of older/slower USB devices such as keyboards, mice, and UPS may require a USB 2.0 hub as an intermediary. See OpenWrt Ticket #15194 and #16505 for further details.

Manufacturer's site: Archer C7 TL-WDR7500

Information about WDR-7500 Ver 6.0. China

Brand Model Versions SoC USB Serial JTag Aditional WIFI Chip Ethernet RAM Flash
TP-Link WDR-75006.0 (CN)QCA9563-AL3A NO Yes ? QCA9880-BR4A RTL8367S Gigabit Switch 1WAN + 4 LAN W9751G6KB-2525Q64CSIG (BH1621)

PCB http://oi66.tinypic.com/2uzsegy.jpg

QCA9563-AL3A MIPS CPU http://i66.tinypic.com/o70ft1.jpg

QCA9880-BR4A http://i65.tinypic.com/awt8hx.jpg

RTL8367S Gigabit Switch http://i67.tinypic.com/21eb5w6.jpg

One memory chip WinBond W9751G6KB-25 RAM http://i63.tinypic.com/wvqszb.jpg

Flash Chip 25Q64CSIG (BH1621) http://i65.tinypic.com/9asmqh.jpg

UART J1 http://i67.tinypic.com/s1tjlk.jpg

Here is Forum topic about it - https://forum.openwrt.org/viewtopic.php?pid=336271#p336271

Experimental Versions

v3

- This is a 15.05 for v3 by risk: Factory Sysupgrade
- Factory firmware is flashable over the webui, tested for this device

- !!! Warning !!! this is a clean 15.05 build, no special stuff, you'll have to opkg install kmod-ath10k by hand, like on c7 v2 - opkg needs release keys:

  wget -qO- http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/base/base-files_157-r46767_ar71xx.ipk | tar -xzO  ./data.tar.gz | tar -C / -xz ./etc/opkg/keys/

v4 v5

Look for risk (irc://freenode.net/openwrt) if you have information on these devices or these devices, and can test. Versions v3, v4 and v5 should have identical hardware, and only difference should be different software versions.

Hardware Highlights

ModelVersionSoCCPU MHzFlash MBRAM MBWLAN HardwareWLAN2.4WLAN5.0100M portsGbit portsModemUSB
Archer C5 AC12001.20Qualcomm Atheros QCA955872016128QCA9558 + QCA9880-BR4Ab/g/na/n/ac-5No2x 2.0
Archer C5 AC12002.0Broadcom BCM4708180016128¿b/g/na/n/ac-5No2x 2.0
Archer C7 AC17501.0, 1.1Qualcomm Atheros QCA95587208128QCA9558 + QCA9880-AR1Ab/g/na/n/ac-5No2x 2.0
Archer C7 AC17502.0Qualcomm Atheros QCA955872016128QCA9558 + QCA9880-BR4Ab/g/na/n/ac-5No2x 2.0
Archer C7R WDR7500v4.0 (CN)Qualcomm Atheros QCA98807208128¿b/g/na/n/ac-5No¿
Archer C7R WDR7500v5.0 (CN)Qualcomm Atheros QCA9880720¿¿¿b/g/na/n/ac-5No¿
Archer C7R WDR75002.0 (CN)Qualcomm Atheros QCA95587208128QCA9558 + QCA9880-AR1Ab/g/na/n/ac-5No2x 2.0
Archer C7R WDR75003.0 (CN)Qualcomm Atheros QCA95587208128Qualcomm Atheros QCA9558, QCA9880-BR4Ab/g/na/n/ac-5No2x 2.0

Installation

*For the Archer C7 V2 please see "Installation of TP-Link Archer C7 V2" below.

(Updated and tested on March 2017 by orenr)

TP-Link are checking for the file signature in order to verify it. Once trying to flash OpenWrt you will encounter the following error:

Error code: 18005 
Upgrade unsuccessfully because the version of the upgraded file was incorrect. Please check the file name.

For TP-Link Archer C7 v2.1 it is enough just to rename the factory image to something like factory.bin, then just upload it like a firmware upgrade.

Use the following workaround (based on https://www.gargoyle-router.com/phpbb/viewtopic.php?f=8&t=8210)

1.Download appropriate modified version of DDWRT that passes the TP-Link verification:

(Based on http://www.dd-wrt.com/phpBB2/viewtopic.php?p=998919&sid=9bd1c67b9e96384f914718a843aa2ea4)

The most recent version is available in the DDWRT download section: http://dd-wrt.com/site/support/other-downloads betas2017 → most recent version like "09-27-2017-r33413" → tplink_archer-c7-v2. In this directory, select the factory-to-ddwrt appropriate for your country. There are three different versions - US version, General international and an Israeli version. Download the version suitable for your device. Flash the DD-WRT firmware. Please note that TP-Link defaults to 192.168.0.1, but DD-WRT defaults to 192.168.1.1, so make sure to reconnect the Ethernet cable if your DHCP client cannot figure it out.

2.Flash TP-Link reverted FW:

Now you need to flash an older version of the vendor firmware, which doesn't check the file signatures.

The router is back on 192.168.0.1 now.

3.Flash OpenWrt FW:

Before flashing, rename the downloaded file to make it shorter and remove all dots except one, e.g. firmware.bin

5G Wifi Problems / 5GHz network controller not identified

When OpenWrt Designated Driver 50104 was installed, for example, No 5GHz network controller has been identified. (/etc/config/wireless does not contain the 5GHz radio controller).

Be sure you have installed the firmware package for ath10k . ath10k-firmware-qca988x_*.ipk The files are in /lib/firmware

View with dmesg about kernel firmware loading. There should not be warnings like: cant load firmware-*.bin

To fix that (Archer C7 v2)

opkg update opkg install kmod-ath10k opkg install ath10k-firmware-qca988x rm /etc/config/wireless && wifi detect > /etc/config/wireless cat /etc/config/wireless reboot

Reference - Archer C7 missing ath10 firmware - https://dev.openwrt.org/ticket/21527

Hardware

Info

Table does not describe TL-WDR7500 v3.x or Archer C5 v2.x

Version: TL-WDR7500 v2.x (Archer C7R) Archer C7 v1.x Archer C7 v2.x / C5 TL-WDR7500 v4.x (Archer C7R)
Instruction set: MIPS
Vendor: Qualcomm Atheros
Bootloader: U-Boot (press tpl to enter U-Boot console on OEM firmware)
System-On-Chip: QCA9558 (QCA9558-AT4A) 3x3 a/b/g/n (b/g/n, in this instance)
CPU/Speed: MIPS74Kc@720 MHz
Flash Chip: cFeon Q64-104HIP Winbond W25Q128FV Winbond W25Q64FV
Flash Specs: 8 MiB SPI 16 MiB SPI (14.3MHz) 8MiB SPI
RAM Chip: Hynix H5PS5162GFR-Y5C x 2 Winbond W9751G6KB-25 x 2
RAM Specs: 128 MiB
Wireless No1: Integrated: QCA9558 3x3 b/g/n
Wireless No2: MiniPCIe: QCA9880-AR1A (v1) 3x3 a/n/ac PCIe radio MiniPCIe: QCA9880-BR4A (v2) 3x3 a/n/ac PCIe radio QCA9880-BR4A (v2) 3x3 a/n/ac
Switch: GbE AR8327N-AL1A GbE AR8327N-BL1A
USB: 2 x USB 2.0
Power: External 12V 2.5A External 12V 2.0A
Serial: Yes
JTAG: Yes

Flash backup

I need to remove the Flashchip from the mainboard to connect it to a spi-programmer. I used flashrom ( https://flashrom.org ) to read out the flash chip. Dont forget to connect the /WP and /RESET Pin to VCC!
flashrom -p ft2232_spi:type=openmoko,divisor=2 -r flash-chip-backup.img
Read it two times with different divisors. Then compare both files with diff. The newest Version of flashrom supports both 16M flash chips.

Is some one have a solution to read it in place over jtag? The VCC connection seem to be direct to the power supply. The programmer need to powers all 3.3V components. But then the cpu could start working…

Power Consumption

The included power supply is rated at 2.5A at 12V (30W), but the router does not draw anywhere near the 30 Watts deliverable by that supply. The extra capacity is useful for powering USB devices, however. The following are power measurements taken of an Archer C7 AC1750 V2.0 measuring current over the DC wires. The AC/DC adapter outputs 12.2V loaded. A Kill-A-Watt power meter was used to confirm the measurements and showed the AC/DC adapter was fairly efficient.

Configuration

Port Map

Switch Ports:

0 eth1
1 WAN
2 LAN1
3 LAN2
4 LAN3
5 LAN4
6 eth0

VLAN Tagging for WAN

Note that the WAN port is port #1 and connected to eth0.
To tag the WAN port create the VLAN ID under "Network ⇒ Switch" and assign it to "Port #1" and "Port #6". Under "Network ⇒ Interface" edit the "WAN" interface and for its "Physical Settings" use eth0.<VLAN ID>
Example: VLAN ID 7 for German Telekom VDSL would be eth0.7

Flash Layout

8MB Flash Chip
0x000000000000-0x000000020000 "u-boot"
0x000000020000-0x000000120000 "kernel"
0x000000120000-0x0000007e0000 "rootfs"
0x0000007e0000-0x0000007f0000 "config"
0x0000007f0000-0x000000800000 "ART"
16MB Flash Chip (Archer C7 V2)
0x000000000000-0x000000020000 "u-boot"
0x000000020000-0x000000120000 "kernel"
0x000000120000-0x000000fa0000 "rootfs"
0x000000fa0000-0x000000ff0000 "config"
0x000000ff0000-0x000001000000 "ART"

Entering Failsafe Mode on Archer C5

To enter Failsafe-Mode press the WPS/Reset Button rapidly after starting the router. Stop when the second LED (from left) starts flashing very rapidly. Continue here and here when already logged in in failsafe mode.

Return to Factory Firmware

If you have accidentally flashed your V1 or V1.1 before realizing that the 5GHz network card will not be supported, and want to return it to factory firmware, you can follow the following instructions (tested on V1.1, harvested from other tp-link device wikis)

The following instruction also works on V2

generic.uninstall

Warning!
This section describes actions that might damage your device or firmware. Proceed with care!

Obtain the factory firmware from the OEM: http://www.tplink.com/en/support/download/?model=Archer+C7

An example of an image file with the word "boot" in it is ArcherC7v1_en_3_13_33_up_boot(130729).bin.

Cut the first 0x20200 (that is 131,584 = 257*512) Bytes from original firmware (1*512 Vendor-info + 256*512 U-Boot):

dd if=orig.bin of=tplink.bin skip=257 bs=512

You should transfer the firmeware image to the /tmp folder and revert back to original firmware (if available you can flash the firmware via the webinterface as well):

Via the safer method using sysupgrade:

sysupgrade /tmp/tplink.bin

Or alternatively you can use the mtd method:

mtd -r write /tmp/tplink.bin firmware

TFTP Recovery (De-Bricking)

The serial-less TFTP recovery method for the TP-Link TL-WDR4300 also works for the Archer C7 (confirmed on v1.1 and v2) and the Archer C5 (v1.20).

For firmware revisions before 3.14.1 (140929), the router looks for an IP address of 192.168.1.66 and a file named ArcherC7v2_tp_recovery.bin. Firmware 3.14.1 updates the bootloader to look for an IP address of 192.168.0.66 and a file named ArcherC7v3_tp_recovery.bin even on hardware v2 units, but may also load ArcherC7v2_tp_recovery.bin. Some v1.1 units may also look for ArcherC7v1_tp_recovery.bin. The model Archer C5 looks for the file ArcherC5v1_tp_recovery.bin.

To activate TFTP Recovery press and hold WPS/Reset Button during powering on until WPS LED turns on. Setup your computer to 192.168.0.66 (SubnetMask /24 = 255.255.255.0) and connect it to LAN1. Start TFTP server and provide recovery file with it.

For de-bricking with an OpenWrt image use the factory.bin image. :!: In case you are flashing back original firmware, make sure original firmware image name does not contain word bootreturn_to_factory_firmware.

Note: the TFTP flashing process requires that the product hardware id and version in the new image header match those in the existing image in flash, otherwise the new image is rejected, flashing is cancelled and the bootloader proceeds to boot the old image. When this happens, the following output is seen on the serial console:

original_product_id = ffffffff
 original_product_ver = ffffffff
 recovery_product_id = c7000002
 recovery_product_ver = 01
 auto update firmware: product id verify fail!
Autobooting in 1 seconds

While this would be a fine safety feature in another context, it means the recovery process can reject a valid new image if the image in flash is corrupted. Unfortunately, such corruption can easily occur if the flashing process is interrupted: when an image is accepted, the flashing process first erases the whole space, which takes a while, and then writes the new image. If this process is interrupted during the erasure phase, the in flash header will appear as all 0xFF, and further recovery attempts will therefore fail because the header hardware id and version values will no longer match. If this happens, you'll need to try either a serial connection, or building an image with the header values overridden (in tp-link.mk set TPLINK_HWREV and TPLINK_HWID to 0xffffffff).

Recovery using serial connection

Connect to your router via serial (TX, RX and GND .. VCC not needed), power it up, then type "tpl" until the boot process is halted and you should be at the console. (Each "tpl" you type must be followed by carriage-return/linefeed. If you're running C-Kermit in an Emacs shell buffer under Linux, the carriage-return character is a control-M.) If you're having problems getting 'tpl' to work, you may need a pull-up resistor inline on the TX side of the connection, see https://goo.gl/7KFvfb for details.

The TX pullup is most likely needed in version 2 models of revision B (serial beginning with 215B…), 16MB flash memory. If you find three 220 Ohms resistors and one 150 Ohms resistor in your drawer they will do the trick when put in series. Additionally, if you are puzzled after reading the linked forum post above, this circuit may help:

                        R (~800 Ohms)      -------------
                     /---\/\/\/`--- 3.3V --| USB FTDI  |
  -----------        |                     | 3.3V      |
  |Archer V2|-- RX --+--------------- TX --|           | --> to PC (minicom, screen, C-Kermit, ...)
  |serial   |-- TX ------------------ RX --|           |
  |         |-- GND ---------------- GND --|           |
  -----------                              -------------

Set up a TFTP server with your firmware at 192.168.1.100, then run the following commands:

For 8MB Flash (UNCONFIRMED):

tftp 0x81000000 [name of your firmware file].bin
erase 0x9f020000 +7c0000
cp.b 0x81000000 0x9f020000 0x7c0000
reset

For 16MB Flash:

tftp 0x81000000 [name of your firmware file].bin
erase 0x9f020000 +f80000
cp.b 0x81000000 0x9f020000 0xf80000
reset

Benchmarks

Archer C7 USB benchmark results

Using a Lexar L19 USB3.0 Stick (rated >40MB/s read/write). Encrypted transfers reduce performance heavily.

Photos

WDR7500 v2

TP-Link TL-WDR7500 QCA9880-AR1A over MiniPCIe

WDR7500 v3

Serial

WDR7500 v2 / Archer C7 v2

WDR7500 v3

Warning!
The labels in the image look wrong (did not actually confirm with real hardware). It should be either VCC, GND, TX, RX or VCC, GND, RX, TX. The second pin has four connections to the surrounding mass, so is GND. The first pin has a condensator, which points to the fact that it is VCC.

You can use an inexpensive PL2303 USB to UART adapter to connect to this router.

Note: The adapter linked is not officially compatible with Windows 8 and above. You will need an older driver (1.5) for it to work with newer versions of Windows. Be sure to disable automatic driver updates, or else Windows will use the newer, incompatible driver.

It is recommended that you solder a serial header for the most reliable connection, but in case you don't want to solder or you're just trying to quickly unbrick your router without making it obvious that you voided your warranty, male-to-male jumper wires will work.

Configure your favorite terminal with the following settings: 115200 baud, 8 bit, no parity, 1 stop bit, no flow control.

Archer C7 v4.0 (US)

I don't know what to really call this. I've been told on IRC that it is more like the WDR-7500. See the label pic and decide for yourself:

Here is a full board pic:

And zoomed in on the chips so they're readable:

In the lower right is the serial header. The first through hole is TX, second RX and third GROUND. There were two missing resistors at R27 and R24. I placed a 10K on R27 and a 1K on R24 (total shot in the dark based on some reading I had done, but it works). The RX through hole didn't seem to be connected to the right side of the R24 pad so it's got a solder bridge. Use 115200, 8N1, no flow control.

(FYI: from TP-Link engineering, R24 = 220R, R27 = 1K)

JTAG

Bootlogs

OEM bootlog

U-Boot 1.1.4 (Jan 26 2013 - 13:35:40) ap135 - Scorpion 1.0DRAM: sri Scorpion 1.0 ath_ddr_initial_config(178): (32bit) ddr2 init tap = 0x00000003 Tap (low, high) = (0x3, 0x1f) Tap values = (0x11, 0x11, 0x11, 0x11) 128 MB Flash Manuf Id 0x1c, DeviceId0 0x30, DeviceId1 0x17 flash size 8MB, sector count = 128 Flash: 8 MB Using default environment *** Warning *** : PCIe WLAN Module not found !!! In: serial Out: serial Err: serial Net: ath_gmac_enet_initialize... athrs_sgmii_res_cal: cal value = 0xe No valid address in Flash. Using fixed address No valid address in Flash. Using fixed address ath_gmac_enet_initialize: reset mask:c02200 Scorpion ----> S17 PHY * Vlan config... TEST: FINAL REG VAL after TX Calibration - 0x46000000 TEST: FINAL XMII VAL after RX Calibration - 0x56000000 TEST: FINAL ETH_CFG VAL after RX Calibration - 0x00028001 athrs17_reg_init: complete : cfg1 0x80000000 cfg2 0x7335 eth0: ba:be:fa:ce:08:41 eth0 up athrs17_reg_init_wan done SGMII in forced mode athr_gmac_sgmii_setup SGMII done : cfg1 0x800c0000 cfg2 0x7214 eth1: ba:be:fa:ce:08:41 eth1 up eth0, eth1 Setting 0x18116290 to 0x54a9214f Autobooting in 1 seconds ## Booting image at 9f020000 ... Uncompressing Kernel Image ... OK Starting kernel ... Booting QCA955x \00 Linux version 2.6.31--LSDK-9.2.0_U6.616 (root@localhost.localdomain) (gcc version 4.3.3 (GCC) ) #1 Sat Jan 26 13:40:17 CST 2013 Ram size passed from bootloader =128M flash_size passed from bootloader = 8 CPU revision is: 00019750 (MIPS 74Kc) cpu apb ddr apb ath_sys_frequency: cpu 720 ddr 600 ahb 200 Determined physical RAM map: memory: 08000000 @ 00000000 (usable) Zone PFN ranges: Normal 0x00000000 -> 0x00008000 Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0x00000000 -> 0x00008000 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 Kernel command line: console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ath-nor0:128k(u-boot),1024k(kernel),6912k(rootfs),64k(config),64k(ART) mem=128M PID hash table entries: 512 (order: 9, 2048 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes Writing ErrCtl register=00000000 Readback ErrCtl register=00000000 Memory: 112868k/131072k available (1889k kernel code, 18028k reserved, 435k data, 120k init, 0k highmem) NR_IRQS:128 plat_time_init: plat time init done Calibrating delay loop... 359.42 BogoMIPS (lpj=718848) Mount-cache hash table entries: 512 ****************ALLOC*********************** Packet mem: 802774e0 (0xe00000 bytes) ******************************************** NET: Registered protocol family 16 ath_pcibios_init: bus 0 ***** Warning PCIe 0 H/W not found !!! registering PCI controller with io_map_base unset ath_pcibios_init: bus 1 ath_pcibios_init(232): PCI 1 CMD write: 0x356 registering PCI controller with io_map_base unset Reset button pressed. bio: create slab <bio-0> at 0 pcibios_map_irq: IRQ 76 for bus 1 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered NET: Registered protocol family 1 ATH GPIOC major 0 squashfs: version 4.0 (2009/01/31) Phillip Lougher msgmni has been set to 220 Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered io scheduler deadline registered (default) Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A console [ttyS0] enabled PPP generic driver version 2.4.2 NET: Registered protocol family 24 5 cmdlinepart partitions found on MTD device ath-nor0 Creating 5 MTD partitions on "ath-nor0": 0x000000000000-0x000000020000 : "u-boot" 0x000000020000-0x000000120000 : "kernel" 0x000000120000-0x0000007e0000 : "rootfs" 0x0000007e0000-0x0000007f0000 : "config" 0x0000007f0000-0x000000800000 : "ART" ->Oops: flash id 0x1c3017 . TCP cubic registered NET: Registered protocol family 10 NET: Registered protocol family 17 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com> All bugs added by David S. Miller <davem@redhat.com> athwdt_init: Registering WDT success ath_otp_init: Registering OTP success VFS: Mounted root (squashfs filesystem) readonly on device 31:2. Freeing unused kernel memory: 120k freed init started: BusyBox v1.01 (2012.11.27-00:48+0000) multi-call binary This Board use 2.6.31 xt_time: kernel timezone is -0000 nf_conntrack version 0.5.0 (2048 buckets, 8192 max) CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or sysctl net.netfilter.nf_conntrack_acct=1 to enable it. ip_tables: (C) 2000-2006 Netfilter Core Team insmod: cannot open module `/lib/modules/2.6.31/kernel/iptable_raw.ko': No such file or directory insmod: cannot open module `/lib/modules/2.6.31/kernel/flashid.ko': No such file or directory PPPoL2TP kernel driver, V1.0 PPTP driver version 0.8.3 insmod: cannot open module `/lib/modules/2.6.31/kernel/harmony.ko': No such file or directory (none) mips #1 Sat Jan 26 13:40:17 CST 2013 (none) (none) login: qca955x_GMAC: Length per segment 1536 955x_GMAC: qca955x_gmac_attach 955x_GMAC: qca955x_set_gmac_caps Currently in polling mode unit1 mac:1 Registering S17.... qca955x_GMAC: RX TASKLET - Pkts per Intr:200 qca955x_GMAC: Max segments per packet : 1 qca955x_GMAC: Max tx descriptor count : 220 qca955x_GMAC: Max rx descriptor count : 220 qca955x_GMAC: Mac capability flags : 12002200 955x_GMAC: qca955x_gmac_attach 955x_GMAC: qca955x_set_gmac_caps Currently in polling mode unit0 mac:0 Registering S17.... qca955x_GMAC: RX TASKLET - Pkts per Intr:200 qca955x_GMAC: Max segments per packet : 1 qca955x_GMAC: Max tx descriptor count : 220 qca955x_GMAC: Max rx descriptor count : 220 qca955x_GMAC: Mac capability flags : 10002A00 955x_GMAC: Serdes PLL is locked value 0x1f038116 athr_gmac_ring_alloc Allocated 3520 at 0x87950000 athr_gmac_ring_alloc Allocated 3520 at 0x87a8e000 955x_GMAC: eth1 in SGMII MODE Scorpion -----> S17 PHY ACL is not yet enabled. Enabling... Hello, nat helper module for 1.08! netlink_kernel_create succeeded at tp_rule_nl_prot: [29] ######## S17 SSDK init succeeded! ######## _athrs17_mac0_intf SGMII done athrs17_reg_init:done 955x_SGMII::athr_gmac_sgmii_setup Done Setting Drop CRC Errors, Pause Frames and Length Error frames Setting PHY... Phy setup Complete ADDRCONF(NETDEV_UP): eth0: link is not ready device eth0.1 entered promiscuous mode device eth0 entered promiscuous mode SET INTF MAC 0:1c-fa-68-fe-32-f4 SET INTF MAC 1:1c-fa-68-fe-32-f5 br0: port 1(eth0.1) entering forwarding state nf_conntrack_rtsp v0.6.21 loading nf_nat_rtsp v0.6.21 loading adf: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint ath_hal: 0.9.17.1 (AR5416, AR9380, REGOPS_FUNC, WRITE_EEPROM, 11D) ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved ath_dfs: Version 2.0.0 Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved ath_ahb: 10.0.107 (Atheros/multi-bss) check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. Enterprise mode: 0x43fc0000 Restoring Cal data from Flash check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. ath_get_caps[5863] rx chainmask mismatch actual 7 sc_chainmak 0 ath_get_caps[5838] tx chainmask mismatch actual 7 sc_chainmak 0 check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. SC Callback Registration for wifi0 wifi0: Atheros ???: mem=0xb8100000, irq=2 ath_pci: 10.0.107 (Atheros/multi-bss) ath_pci_probe ath_pci 0000:01:00.0: ath DEBUG: sc=0x87aa7ce0 ol_ath_pci_configure : num_desired MSI set to 0 Using PCI Legacy Interrupt __ol_ath_attach: ath_attach TODO ol_ath_attach() BMI inited. ol_ath_attach() BMI Get Target Info. ol_ath_attach() TARGET TYPE: 7 Vers 0x4000002c NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0 ol_ath_attach() configure Target . ol_transfer_bin_file: flash cal data len 65535 doesn't equal to 2116 ol_transfer_bin_file: Board data file AR9888v1 ol_transfer_bin_file 1535: Download Board data len 2116 ol_ath_download_firmware: Using 0x1234 for the remainder of init ol_transfer_bin_file 1527: Download OTP data len 3572 ol_transfer_bin_file 1553: Download Firmware data len 183920 ol_ath_attach() Download FW. ol_ath_attach() HT Create . ol_ath_attach() HIF Claim. ol_ath_attach() BMI Done. ol_ath_attach() WMI attached. wmi_handle 86ce0000 +HWT -HWT HTC Service:0x0300 ep:1 TX flow control disabled TXRX: Created pdev 86df3a00 wmi_service_ready_event_rx: WMI UNIFIED SERVICE READY event num_rf_chain : 00000003 ht_cap_info: : 0000085b vht_cap_info : 338001b2 vht_supp_mcs : 0000ffea wmi_ready_event_rx: WMI UNIFIED READY event ol_ath_connect_htc() WMI is ready ol_ath_set_host_app_area TODO ol_ath_attach() connect HTC. target uses HTT version 2.0; host uses 2.0 ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0. ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080 ol_ath_phyerr_attach: called OL Resmgr Init-ed ol_if_dfs_setup: called ol_if_dfs_attach: called; ptr=87af3974, radar_info=87addb98 ol_ath_rtt_meas_report_attach: called ol_ath_attach() UMAC attach . __ol_ath_attach: init tx/rx TODO __ol_ath_attach: hard_header_len reservation 58 __ol_ath_attach: dev name wifi1 SC Callback Registration for wifi1 check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. VAP device ath0 created DES SSID SET=<redacted> ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1 check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. Invoking ACS module for Best channel selection check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. Channel 1 average beacon RSSI 25 noisefloor -107 ieee80211_acs_find_best_11ng_centerchan chan: 1 beacon RSSI + weighted noisefloor: -189 Channel 6 average beacon RSSI 8 noisefloor -107 ieee80211_acs_find_best_11ng_centerchan chan: 6 beacon RSSI + weighted noisefloor: -206 Channel 6 average beacon RSSI 8 noisefloor -107 ieee80211_acs_find_best_11ng_centerchan chan: 6 beacon RSSI + weighted noisefloor: -206 Channel 11 average beacon RSSI 9 noisefloor -107 ieee80211_acs_find_best_11ng_centerchan chan: 11 beacon RSSI + weighted noisefloor: -205 ieee80211_acs_find_best_11ng_centerchan found best 11ng center chan: 6 rssi: -206 check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. ieee80211_dfs_cac_start[267] ===NON DFS chan === 2437 check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. ieee80211_dfs_cac_start[267] ===NON DFS chan === 2437 check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. athr_gmac_ring_alloc Allocated 3520 at 0x86dfd000 athr_gmac_ring_alloc Allocated 3520 at 0x87ae4000 955x_GMAC: eth0 in RGMII MODE Scorpion -----> S17 PHY athrs17_reg_init_wan done Setting Drop CRC Errors, Pause Frames and Length Error frames Setting PHY... ADDRCONF(NETDEV_UP): eth1: link is not ready device eth1 entered promiscuous mode check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. ieee80211_dfs_cac_start[267] ===NON DFS chan === 2437 device ath0 entered promiscuous mode br1: port 2(ath0) entering forwarding state ieee80211_ioctl_siwmode: imr.ifm_active=918144, new mode=3, valid=1 check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. br1: port 2(ath0) entering disabled state DEVICE IS DOWN ifname=ath0 DEVICE IS DOWN ifname=ath0 check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. ieee80211_dfs_cac_start[267] ===NON DFS chan === 2437 br1: port 2(ath0) entering forwarding state check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. br1: port 2(ath0) entering disabled state br1: starting userspace STP failed, starting kernel STP check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. check DDR Activity - HIGH ar9300_set_reset: Scorpion SoC RTC reset done. ieee80211_dfs_cac_start[267] ===NON DFS chan === 2437 br1: topology change detected, propagating br1: port 2(ath0) entering forwarding state isCountryCodeValid: EEPROM regdomain 0x52 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080 ath_ioctl: SIOC80211IFCREATE CALLED wmi_unified_vdev_create_send: ID = 0 VAP Addr = 1c:fa:68:fe:32:f2: TXRX: Created vdev 86f6ee00 (1c:fa:68:fe:32:f2) VAP device ath1 created TXRX: ol_txrx_peer_find_add_id: peer 86f60400 ID 129 TXRX: ol_txrx_peer_find_add_id: peer 86f60400 ID 145 Setting vdev param = f, value = 1 ol_ath_vap_set_param: VAP param unsupported param:80 value:1 ol_ath_vap_set_param: VAP param unsupported param:35 value:0 DES SSID SET=<redacted> ieee80211_ioctl_siwmode: imr.ifm_active=66176, new mode=3, valid=1 OL vap_stop + wmi_unified_vdev_stop_send OL vap_stop - STOPPED EVENT for vap 0 Setting vdev param = 1a, value = 1 Setting vdev param = 3, value = 100 Setting vdev param = d, value = 1 Setting vdev param = 12, value = 1 Setting vdev param = 1e, value = 1 OL vap_stop + wmi_unified_vdev_stop_send OL vap_stop - STOPPED EVENT for vap 0 OL vap_start + OL vap_start - ol_vdev_start_resp_ev ol_ath_vap_join: join operation is only for STA/IBSS mode set channel freq 5745 WMI channel freq=5745, mode=a band_center_freq1=5775 ol_if_dfs_configure: called ol_if_dfs_disable: called ol_ath_wmm_update: ieee80211_dfs_cac_start[267] ===NON DFS chan === 5745 Setting vdev param = 3, value = 100 Notification to UMAC VAP layer FIRMWARE:75 C ,5401 M 1f 5775 2f 9744 408 device ath1 entered promiscuous mode br1: topology change detected, propagating br1: port 3(ath1) entering forwarding state ieee80211_ioctl_siwmode: imr.ifm_active=131738, new mode=3, valid=1 wmi_unified_vdev_stop_send STOPPED EVENT for vap 0 br1: port 3(ath1) entering disabled state ol_ath_vap_set_param: VAP param unsupported param:32 value:0 ol_ath_vap_set_param: VAP param unsupported param:121 value:1 DEVICE IS DOWN ifname=ath1 DEVICE IS DOWN ifname=ath1 ol_ath_vap_set_param: VAP param unsupported param:32 value:0 ol_ath_vap_set_param: VAP param unsupported param:32 value:0 ol_ath_vap_set_param: VAP param unsupported param:32 value:1 ol_ath_vap_set_param: VAP param unsupported param:74 value:1 Group Keyidx set=1 wmi_unified_vdev_install_key_send Setting Key for Macaddress:0xf232fe68fa1c Keyix=1 Keylen=16 Keyflags=1 Cipher=4 Keydata=0x71 0xdd 0x9c 0x85 0x11 0x96 0x2a 0xd5 0x2d 0x82 0xfa 0xac 0x1a 0x96 0xa7 0x3d ol_ath_vap_set_param: VAP param unsupported param:74 value:0 TXRX: ol_txrx_peer_find_add_id: peer 86f60400 ID 114 TXRX: sec spec for peer 86f60400 (1c:fa:68:fe:32:f2): mcast key of type 6 Setting vdev param = 1f, value = 1 OL vap_stop + wmi_unified_vdev_stop_send OL vap_stop - STOPPED EVENT for vap 0 OL vap_start + OL vap_start - ol_vdev_start_resp_ev ol_ath_vap_join: join operation is only for STA/IBSS mode set channel freq 5745 WMI channel freq=5745, mode=a band_center_freq1=5775 ol_if_dfs_configure: called ol_if_dfs_disable: called ol_ath_wmm_update: ieee80211_dfs_cac_start[267] ===NON DFS chan === 5745 Setting vdev param = 3, value = 100 Notification to UMAC VAP layer FIRMWARE:75 C ,5401 M 1f 5775 2f 8624 238 br1: topology change detected, propagating br1: port 3(ath1) entering forwarding state FWLOG: [32170] WAL_DBGID_SECURITY_ENCR_EN ( ) FWLOG: [32170] WAL_DBGID_SECURITY_MCAST_KEY_SET ( 0x1 ) wmi_unified_vdev_stop_send STOPPED EVENT for vap 0 br1: port 3(ath1) entering disabled state OL vap_stop + wmi_unified_vdev_stop_send OL vap_stop - STOPPED EVENT for vap 0 OL vap_start + OL vap_start - ol_vdev_start_resp_ev ol_ath_vap_join: join operation is only for STA/IBSS mode set channel freq 5745 WMI channel freq=5745, mode=a band_center_freq1=5775 ol_if_dfs_configure: called ol_if_dfs_disable: called ol_ath_wmm_update: ieee80211_dfs_cac_start[267] ===NON DFS chan === 5745 Setting vdev param = 3, value = 100 Notification to UMAC VAP layer FIRMWARE:75 C ,5401 M 1f 5775 2f 8624 238 br1: topology change detected, propagating br1: port 3(ath1) entering forwarding state fuse init (API version 7.12) 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 Port Status 1c000004 ath-ehci ath-ehci.0: ATH EHCI ath-ehci ath-ehci.0: new USB bus registered, assigned bus number 1 ehci_reset Intialize USB CONTROLLER in host mode: 13 ehci_reset Port Status 1c000000 ath-ehci ath-ehci.0: irq 3, io mem 0x1b000000 ehci_reset Intialize USB CONTROLLER in host mode: 13 ehci_reset Port Status 1c000000 ath-ehci ath-ehci.0: USB 2.0 started, EHCI 1.00 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected Port Status 1c000000 ath-ehci1 ath-ehci1.1: ATH EHCI ath-ehci1 ath-ehci1.1: new USB bus registered, assigned bus number 2 ehci_reset Intialize USB CONTROLLER in host mode: 13 ehci_reset Port Status 1c000000 ath-ehci1 ath-ehci1.1: irq 3, io mem 0x1b400000 ehci_reset Intialize USB CONTROLLER in host mode: 13 ehci_reset Port Status 1c000000 ath-ehci1 ath-ehci1.1: USB 2.0 started, EHCI 1.00 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected SCSI subsystem initialized Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. GPL NetUSB up! kc 86 : run_telnetDBGDServer start kc 223 : init_DebugD end INFO1758: NetUSB 1.184, 0002061F : May 7 2012 10:35:23 INFO175A: AUTH ISOC INFO175B: usbcore: registered new interface driver KC NetUSB General Driver INFO0076: init proc : PAGE_SIZE 4096 INFO17B4: Check mac address INFO162C: infomap 8668c220 INFO162F: sleep to wait br0 to wake up INFO02D0: use dev Name br0 INFO1638: sleep to wait br0 end. INFO1651: UDP_BROAD 7437 tcpPort:625868800 INFO02D0: use dev Name br0 INFO1538: tcpConnector() started... 955x_GMAC: qca955x_soc_gmac_set_mac_duplex 955x_GMAC: qca955x_soc_gmac_set_link Done ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready br1: topology change detected, propagating br1: port 1(eth1) entering forwarding state Enet:1 port1 up 955x_GMAC: enet unit:1 is up... eth1 SGMII 1000Mbps full duplex 955x_GMAC: qca955x_soc_gmac_set_mac_duplex 955x_GMAC: qca955x_soc_gmac_set_link Done 955x_GMAC: done cfg2 0x7215 ifctl 0x0 miictrl ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready INFO1415: Bind to br0


WDR7500 v3 2015-04-23

U-Boot 1.1.4 (Apr 23 2015 - 13:39:44) ap135 - Scorpion 1.0DRAM: sri Scorpion 1.0 ath_ddr_initial_config(178): (32bit) ddr2 init tap = 0x00000003 Tap (low, high) = (0x2, 0x1b) Tap values = (0xe, 0xe, 0xe, 0xe) 128 MB Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x17 flash size 8MB, sector count = 128 Flash: 8 MB Using default environment *** Warning *** : PCIe WLAN Module not found !!! In: serial Out: serial Err: serial Net: ath_gmac_enet_initialize... athrs_sgmii_res_cal: cal value = 0xe No valid address in Flash. Using fixed address No valid address in Flash. Using fixed address ath_gmac_enet_initialize: reset mask:c02200 Scorpion ----> S17 PHY * athrs17_reg_init: complete : cfg1 0x80000000 cfg2 0x7114 eth0: ba:be:fa:ce:08:41 eth0 up athrs17_reg_init_wan done SGMII in forced mode athr_gmac_sgmii_setup SGMII done : cfg1 0x800c0000 cfg2 0x7214 eth1: ba:be:fa:ce:08:41 eth1 up eth0, eth1 Setting 0x18116290 to 0x50a1214f Autobooting in 1 seconds ## Booting image at 9f020000 ... Uncompressing Kernel Image ... OK Starting kernel ... Booting QCA955x Linux version 2.6.31--LSDK-9.2.0_U6.616 (tplink@localhost.localdomain) (gcc version 4.3.3 (GCC) ) #1 Thu Apr 23 13:43:15 CST 2015 Ram size passed from bootloader =128M flash_size passed from bootloader = 8 CPU revision is: 00019750 (MIPS 74Kc) cpu apb ddr apb ath_sys_frequency: cpu 720 ddr 600 ahb 200 Determined physical RAM map: memory: 08000000 @ 00000000 (usable) Zone PFN ranges: Normal 0x00000000 -> 0x00008000 Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0x00000000 -> 0x00008000 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 Kernel command line: console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ath-nor0:128k(u-boot),1024k(kernel),6912k(rootfs),64k(config),64k(ART) mem=128M PID hash table entries: 512 (order: 9, 2048 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes Writing ErrCtl register=00000000 Readback ErrCtl register=00000000 Memory: 112868k/131072k available (1891k kernel code, 18036k reserved, 441k data, 120k init, 0k highmem) NR_IRQS:128 plat_time_init: plat time init done Calibrating delay loop... 359.42 BogoMIPS (lpj=718848) Mount-cache hash table entries: 512 ****************ALLOC*********************** Packet mem: 802794e0 (0xe00000 bytes) ******************************************** NET: Registered protocol family 16 ath_pcibios_init: bus 0 ***** Warning PCIe 0 H/W not found !!! registering PCI controller with io_map_base unset ath_pcibios_init: bus 1 ath_pcibios_init(232): PCI 1 CMD write: 0x356 registering PCI controller with io_map_base unset ===@@@@@@@@@@@=>use GPIO13 as wifi button control! bio: create slab <bio-0> at 0 pcibios_map_irq: IRQ 76 for bus 1 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered NET: Registered protocol family 1 ATH GPIOC major 0 squashfs: version 4.0 (2009/01/31) Phillip Lougher msgmni has been set to 220 Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered io scheduler deadline registered (default) Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A console [ttyS0] enabled PPP generic driver version 2.4.2 NET: Registered protocol family 24 5 cmdlinepart partitions found on MTD device ath-nor0 Creating 5 MTD partitions on "ath-nor0": 0x000000000000-0x000000020000 : "u-boot" 0x000000020000-0x000000120000 : "kernel" 0x000000120000-0x0000007e0000 : "rootfs" 0x0000007e0000-0x0000007f0000 : "config" 0x0000007f0000-0x000000800000 : "ART" ->Oops: flash id 0xef4017 . Ooops, why the devices couldn't been initialed? TCP cubic registered NET: Registered protocol family 10 NET: Registered protocol family 17 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com> All bugs added by David S. Miller <davem@redhat.com> athwdt_init: Registering WDT success ath_otp_init: Registering OTP success VFS: Mounted root (squashfs filesystem) readonly on device 31:2. Freeing unused kernel memory: 120k freed init started: BusyBox v1.01 (2015.04.23-05:49+0000) multi-call binary This Board use 2.6.31 xt_time: kernel timezone is -0000 nf_conntrack version 0.5.0 (2048 buckets, 81920 max) CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or sysctl net.netfilter.nf_conntrack_acct=1 to enable it. ip_tables: (C) 2000-2006 Netfilter Core Team insmod: cannot open module `/lib/modules/2.6.31/kernel/iptable_raw.ko': No such file or directory insmod: cannot open module `/lib/modules/2.6.31/kernel/flashid.ko': No such file or directory PPPoL2TP kernel driver, V1.0 PPTP driver version 0.8.3 insmod: cannot open module `/lib/modules/2.6.31/kernel/harmony.ko': No such file or directory (none) mips #1 Thu Apr 23 13:43:15 CST 2015 (none) (none) login: qca955x_GMAC: Length per segment 1536 955x_GMAC: qca955x_gmac_attach 955x_GMAC: qca955x_set_gmac_caps Currently in polling mode unit1 mac:1 Registering S17.... qca955x_GMAC: RX TASKLET - Pkts per Intr:200 qca955x_GMAC: Max segments per packet : 1 qca955x_GMAC: Max tx descriptor count : 220 qca955x_GMAC: Max rx descriptor count : 220 qca955x_GMAC: Mac capability flags : 12002200 955x_GMAC: qca955x_gmac_attach 955x_GMAC: qca955x_set_gmac_caps Currently in polling mode unit0 mac:0 Registering S17.... qca955x_GMAC: RX TASKLET - Pkts per Intr:200 qca955x_GMAC: Max segments per packet : 1 qca955x_GMAC: Max tx descriptor count : 220 qca955x_GMAC: Max rx descriptor count : 220 qca955x_GMAC: Mac capability flags : 10002A00 955x_GMAC: Serdes PLL is locked value 0x1f038116 athr_gmac_ring_alloc Allocated 3520 at 0x87950000 athr_gmac_ring_alloc Allocated 3520 at 0x87a99000 955x_GMAC: eth1 in SGMII MODE Scorpion -----> S17 PHY ttl zero adding rule #0 ACL is not yet enabled. Enabling... ttl one adding rule #1 UDP checksum 0 adding rule #3 Hello, nat helper module for 1.08! netlink_kernel_create succeeded at tp_rule_nl_prot: [29] ######## S17 SSDK init succeeded! ######## _athrs17_mac0_intf SGMII done athrs17_reg_init:done 955x_SGMII::athr_gmac_sgmii_setup Done Setting Drop CRC Errors, Pause Frames and Length Error frames Setting PHY... Phy setup Complete ADDRCONF(NETDEV_UP): eth0: link is not ready device eth0.1 entered promiscuous mode device eth0 entered promiscuous mode SET INTF MAC 0:ec-26-ca-f0-0e-c8 SET INTF MAC 1:ec-26-ca-f0-0e-c9 br0: port 1(eth0.1) entering forwarding state Adding ACL rules 2 - wan to lan, dst ip is lan net nf_conntrack_rtsp v0.6.21 loading nf_nat_rtsp v0.6.21 loading adf: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint ath_hal: 0.9.17.1 (AR5416, AR9380, REGOPS_FUNC, WRITE_EEPROM, 11D) ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved ath_dfs: Version 2.0.0 Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved ath_ahb: 10.1.467 (Atheros/multi-bss) __ath_attach: Set global_scn[0] Enterprise mode: 0x43fc0000 Restoring Cal data from Flash Green-AP : Green-AP : Attached ath_get_caps[5956] rx chainmask mismatch actual 7 sc_chainmak 0 ath_get_caps[5931] tx chainmask mismatch actual 7 sc_chainmak 0 ath_attach_dfs[11935] dfsdomain 1 SC Callback Registration for wifi0 wifi0: Atheros ???: mem=0xb8100000, irq=2 ath_pci: 10.1.467 (Atheros/multi-bss) ath_pci_probe PCI device id is 003c :003c ath_pci 0000:01:00.0: ath DEBUG: sc=0x86ebbe00 ol_ath_pci_configure : num_desired MSI set to 0 Using PCI Legacy Interrupt __ol_ath_attach: ath_attach TODO ol_ath_attach() BMI inited. ol_ath_attach() BMI Get Target Info. ol_ath_attach() TARGET TYPE: 7 Vers 0x4100016c NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0 ol_ath_attach() configure Target . qc98xx_verify_checksum: flash checksum passed: 0xb25f ol_transfer_bin_file 1688: Download Flash data len 2116 ol_transfer_bin_file 1635: Download Firmware data len 190448 ol_ath_attach() Download FW. ol_ath_attach() HT Create . ol_ath_attach() HIF Claim. ol_ath_attach() BMI Done. ol_ath_attach() WMI attached. wmi_handle 86e30000 +HWT CE_recv_buf_enqueue 457 Populate last entry 512 for CE 5 CE_recv_buf_enqueue 466 CE 5 wi 511 dest_ptr 0x5eb500 nbytes 0 recv_ctxt 0x86c34800 -HWT HTC Service:0x0300 ep:1 TX flow control disabled CE_pkt_dl_len_set CE 4 Pkt download length 42 TXRX: Created pdev 86ebb800 wmi_service_ready_event_rx: WMI UNIFIED SERVICE READY event num_rf_chain : 00000003 ht_cap_info: : 0000085b vht_cap_info : 338001b2 vht_supp_mcs : 0000ffea LARGE_AP enabled. num_peers 144, num_vdevs 16, num_tids 256 idx 0 req 1 num_units 0 num_unit_info 2 unit size 404 actual units 145 chunk 0 len 58580 requested ,ptr 0x6f20000 FIRMWARE:P 145 V 16 T 443 wmi_ready_event_rx: WMI UNIFIED READY event ol_ath_connect_htc() WMI is ready ol_ath_set_host_app_area TODO target uses HTT version 2.1; host uses 2.1 ol_ath_attach() connect HTC. ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0. ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080 Skipping VHT80 channel 5825 ol_ath_phyerr_attach: called OL Resmgr Init-ed Green-AP : Green-AP : Attached Green-AP : Attached ol_if_dfs_setup: called ol_if_dfs_attach: called; ptr=86f09974, radar_info=87bd7be8 ol_ath_rtt_meas_report_attach: called ol_ath_attach() UMAC attach . ol_if_dfs_configure: called ol_if_dfs_configure: FCC domain ol_if_dfs_disable: called ol_ath_attach: Calling ol_if_dfs_configure __ol_ath_attach: init tx/rx TODO __ol_ath_attach: hard_header_len reservation 58 __ol_ath_attach: dev name wifi1 SC Callback Registration for wifi1 ath_attach_dfs[11935] dfsdomain 1 VAP device ath0 created DES SSID SET=TP-LINK_0EC7 ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1 Invoking ACS module for Best channel selection Channel 1 average beacon RSSI 37 noisefloor -107 ieee80211_acs_find_best_11ng_centerchan chan: 1 beacon RSSI + weighted noisefloor: -177 Channel 6 average beacon RSSI 13 noisefloor -106 ieee80211_acs_find_best_11ng_centerchan chan: 6 beacon RSSI + weighted noisefloor: -199 Channel 6 average beacon RSSI 13 noisefloor -106 ieee80211_acs_find_best_11ng_centerchan chan: 6 beacon RSSI + weighted noisefloor: -199 Channel 11 average beacon RSSI 13 noisefloor -107 ieee80211_acs_find_best_11ng_centerchan chan: 11 beacon RSSI + weighted noisefloor: -201 ieee80211_acs_find_best_11ng_centerchan found best 11ng center chan: 11 rssi: -201 athr_gmac_ring_alloc Allocated 3520 at 0x86f07000 athr_gmac_ring_alloc Allocated 3520 at 0x87a36000 955x_GMAC: eth0 in RGMII MODE Scorpion -----> S17 PHY athrs17_reg_init_wan done Setting Drop CRC Errors, Pause Frames and Length Error frames Setting PHY... ADDRCONF(NETDEV_UP): eth1: link is not ready device eth1 entered promiscuous mode device ath0 entered promiscuous mode br1: port 2(ath0) entering forwarding state ieee80211_ioctl_siwmode: imr.ifm_active=1442432, new mode=3, valid=1 br1: port 2(ath0) entering disabled state DEVICE IS DOWN ifname=ath0 DEVICE IS DOWN ifname=ath0 br1: port 2(ath0) entering forwarding state Enet:1 port1 up 955x_GMAC: enet unit:1 is up... eth1 SGMII 1000Mbps full duplex 955x_GMAC: qca955x_soc_gmac_set_mac_duplex 955x_GMAC: qca955x_soc_gmac_set_link Done 955x_GMAC: done cfg2 0x7215 ifctl 0x0 miictrl ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready 955x_GMAC: qca955x_soc_gmac_set_mac_duplex 955x_GMAC: qca955x_soc_gmac_set_link Done ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready br1: port 1(eth1) entering forwarding state eth1: received packet with own address as source address br1: port 2(ath0) entering disabled state br1: port 2(ath0) entering forwarding state isCountryCodeValid: EEPROM regdomain 0x0 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080 Skipping VHT80 channel 5825 ath_ioctl: SIOC80211IFCREATE CALLED wmi_unified_vdev_create_send: ID = 0 VAP Addr = ec:26:ca:f0:0e:c6: TXRX: Created vdev 86ff1b00 (ec:26:ca:f0:0e:c6) Setting vdev param = 26, value = 147 Setting vdev param = 27, value = 295 Setting vdev param = 28, value = 300 VAP device ath1 created TXRX: ol_txrx_peer_find_add_id: peer 8660b000 ID 401 TXRX: ol_txrx_peer_find_add_id: peer 8660b000 ID 385 eth1: received packet with own address as source address Setting vdev param = f, value = 1 ol_ath_vap_set_param: VAP param unsupported param:80 value:1 ol_ath_vap_set_param: VAP param unsupported param:35 value:0 DES SSID SET=TP-LINK_5G_0EC6 ieee80211_ioctl_siwmode: imr.ifm_active=66176, new mode=3, valid=1 OL vap_stop + wmi_unified_vdev_stop_send OL vap_stop - STOPPED EVENT for vap 0 Setting vdev param = 2a, value = 2 ol_ath_vap_set_param: VAP param is now supported param:62 value:2 OL vap_stop + wmi_unified_vdev_stop_send OL vap_stop - STOPPED EVENT for vap 0 OL vap_stop + wmi_unified_vdev_stop_send OL vap_stop - STOPPED EVENT for vap 0 FWLOG: [29837] WHAL_ERROR_RECV_STOPPCU ( 0x110298a, 0x3 ) FWLOG: [29837] WHAL_ERROR_RESET_PM ( ) Invoking ACS module for Best channel selection Function ieee80211_acs_find_best_11na_centerchan best 5G channel is 161 OL vap_start + OL vap_start - ol_vdev_start_resp_ev ol_ath_vap_join: join operation is only for STA/IBSS mode ol_ath_wmm_update: Setting vdev param = 3, value = 100 Notification to UMAC VAP layer eth1: received packet with own address as source address wmi_unified_vdev_stop_send STOPPED EVENT for vap 0 Setting vdev param = 1a, value = 1 Setting vdev param = 3, value = 100 Setting vdev param = d, value = 1 Setting vdev param = 12, value = 1 Setting vdev param = 1e, value = 1 OL vap_stop + wmi_unified_vdev_stop_send OL vap_stop - STOPPED EVENT for vap 0 OL vap_start + OL vap_start - ol_vdev_start_resp_ev ol_ath_vap_join: join operation is only for STA/IBSS mode ol_ath_wmm_update: Setting vdev param = 3, value = 100 Notification to UMAC VAP layer device ath1 entered promiscuous mode br1: port 3(ath1) entering forwarding state ieee80211_ioctl_siwmode: imr.ifm_active=131738, new mode=3, valid=1 wmi_unified_vdev_stop_send STOPPED EVENT for vap 0 br1: port 3(ath1) entering disabled state ol_ath_vap_set_param: VAP param unsupported param:32 value:0 ol_ath_vap_set_param: VAP param unsupported param:121 value:1 DEVICE IS DOWN ifname=ath1 DEVICE IS DOWN ifname=ath1 ol_ath_vap_set_param: VAP param unsupported param:32 value:0 ol_ath_vap_set_param: VAP param unsupported param:32 value:0 ol_ath_vap_set_param: VAP param unsupported param:17 value:1 OL vap_stop + wmi_unified_vdev_stop_send OL vap_stop - STOPPED EVENT for vap 0 OL vap_start + OL vap_start - ol_vdev_start_resp_ev ol_ath_vap_join: join operation is only for STA/IBSS mode ol_ath_wmm_update: Setting vdev param = 3, value = 100 Notification to UMAC VAP layer br1: port 3(ath1) entering forwarding state FWLOG: [36702] WAL_DBGID_BB_WDOG_TRIGGERED ( 0x8f5e, 0x200008a, 0x0, 0x5 ) eth1: received packet with own address as source address wmi_unified_vdev_stop_send STOPPED EVENT for vap 0 br1: port 3(ath1) entering disabled state ol_ath_vap_set_param: VAP param unsupported param:17 value:1 OL vap_stop + wmi_unified_vdev_stop_send OL vap_stop - STOPPED EVENT for vap 0 OL vap_start + OL vap_start - ol_vdev_start_resp_ev ol_ath_vap_join: join operation is only for STA/IBSS mode ol_ath_wmm_update: Setting vdev param = 3, value = 100 Notification to UMAC VAP layer br1: port 3(ath1) entering forwarding state fuse init (API version 7.12) 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 Port Status 1c000004 ath-ehci ath-ehci.0: ATH EHCI ath-ehci ath-ehci.0: new USB bus registered, assigned bus number 1 ehci_reset Intialize USB CONTROLLER in host mode: 13 ehci_reset Port Status 1c000000 ath-ehci ath-ehci.0: irq 3, io mem 0x1b000000 ehci_reset Intialize USB CONTROLLER in host mode: 13 ehci_reset Port Status 1c000000 ath-ehci ath-ehci.0: USB 2.0 started, EHCI 1.00 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected Port Status 1c000000 ath-ehci1 ath-ehci1.1: ATH EHCI ath-ehci1 ath-ehci1.1: new USB bus registered, assigned bus number 2 ehci_reset Intialize USB CONTROLLER in host mode: 13 ehci_reset Port Status 1c000000 ath-ehci1 ath-ehci1.1: irq 3, io mem 0x1b400000 ehci_reset Intialize USB CONTROLLER in host mode: 13 ehci_reset Port Status 1c000000 ath-ehci1 ath-ehci1.1: USB 2.0 started, EHCI 1.00 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected SCSI subsystem initialized Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. GPL NetUSB up! kc 86 : run_telnetDBGDServer start kc 223 : init_DebugD end INFO1758: NetUSB 1.184, 0002061F : May 7 2012 10:35:23 INFO175A: AUTH ISOC INFO175B: usbcore: registered new interface driver KC NetUSB General Driver INFO0076: init proc : PAGE_SIZE 4096 INFO17B4: Check mac address INFO162C: infomap 8678c220 INFO162F: sleep to wait br0 to wake up INFO02D0: use dev Name br0 INFO1638: sleep to wait br0 end. INFO1651: UDP_BROAD 7437 tcpPort:625868800 INFO02D0: use dev Name br0 INFO1538: tcpConnector() started... INFO1415: Bind to br0


U-Boot environment

ap135> printenv
bootargs=console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),6336k(rootfs),1408k(uImage),64k(mib0),64k(ART)
bootcmd=bootm 0x9f020000
bootdelay=1
baudrate=115200
ethaddr=0xba:0xbe:0xfa:0xce:0x08:0x41
ipaddr=192.168.1.111
serverip=192.168.1.100
dir=
lu=tftp 0x80060000 ${dir}u-boot.bin&&erase 0x9f000000 +$filesize&&cp.b $fileaddr 0x9f000000 $filesize
lf=tftp 0x80060000 ${dir}ap135${bc}-jffs2&&erase 0x9f050000 +0x630000&&cp.b $fileaddr 0x9f050000 $filesize
lk=tftp 0x80060000 ${dir}vmlinux${bc}.lzma.uImage&&erase 0x9f680000 +$filesize&&cp.b $fileaddr 0x9f680000 $filesize
stdin=serial
stdout=serial
stderr=serial
ethact=eth0

Environment size: 686/65532 bytes

OpenWrt bootlog

U-Boot 1.1.4 (Jan 26 2013 - 13:35:40) ap135 - Scorpion 1.0DRAM: sri Scorpion 1.0 ath_ddr_initial_config(178): (32bit) ddr2 init tap = 0x00000003 Tap (low, high) = (0x4, 0x1f) Tap values = (0x11, 0x11, 0x11, 0x11) 128 MB Flash Manuf Id 0x1c, DeviceId0 0x30, DeviceId1 0x17 flash size 8MB, sector count = 128 Flash: 8 MB Using default environment *** Warning *** : PCIe WLAN Module not found !!! In: serial Out: serial Err: serial Net: ath_gmac_enet_initialize... athrs_sgmii_res_cal: cal value = 0xe No valid address in Flash. Using fixed address No valid address in Flash. Using fixed address ath_gmac_enet_initialize: reset mask:c02200 Scorpion ----> S17 PHY * Vlan config... TEST: FINAL REG VAL after TX Calibration - 0x46000000 TEST: FINAL XMII VAL after RX Calibration - 0x56000000 TEST: FINAL ETH_CFG VAL after RX Calibration - 0x00028001 athrs17_reg_init: complete : cfg1 0x80000000 cfg2 0x7335 eth0: ba:be:fa:ce:08:41 eth0 up athrs17_reg_init_wan done SGMII in forced mode athr_gmac_sgmii_setup SGMII done : cfg1 0x800c0000 cfg2 0x7214 eth1: ba:be:fa:ce:08:41 eth1 up eth0, eth1 Setting 0x18116290 to 0x50a1214f Autobooting in 1 seconds ## Booting image at 9f020000 ... Uncompressing Kernel Image ... OK Starting kernel ... [ 0.000000] Linux version 3.10.13 (nosferatu@work.g0x.ru) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r38284) ) #1 3 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU revision is: 00019750 (MIPS 74Kc) [ 0.000000] SoC: Qualcomm Atheros QCA9558 rev 0 [ 0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz [ 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] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: board=ARCHER-C7 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd [ 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=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] Memory: 126312k/131072k available (2196k kernel code, 4760k reserved, 588k data, 220k init, 0k highmem) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:51 [ 0.000000] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048) [ 0.060000] pid_max: default: 32768 minimum: 301 [ 0.060000] Mount-cache hash table entries: 512 [ 0.070000] NET: Registered protocol family 16 [ 0.070000] MIPS: machine is TP-LINK Archer C7 [ 0.080000] ar724x-pci ar724x-pci.0: PCIe link is down [ 0.080000] registering PCI controller with io_map_base unset [ 0.090000] registering PCI controller with io_map_base unset [ 0.500000] bio: create slab <bio-0> at 0 [ 0.500000] PCI host bridge to bus 0000:00 [ 0.510000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff] [ 0.510000] pci_bus 0000:00: root bus resource [io 0x0000] [ 0.520000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 0.520000] PCI host bridge to bus 0000:01 [ 0.530000] pci_bus 0000:01: root bus resource [mem 0x12000000-0x13ffffff] [ 0.530000] pci_bus 0000:01: root bus resource [io 0x0001] [ 0.540000] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff] [ 0.540000] pci 0000:01:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit] [ 0.550000] pci 0000:01:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref] [ 0.550000] pci 0000:01:00.0: using irq 41 for pin 1 [ 0.560000] Switching to clocksource MIPS [ 0.560000] NET: Registered protocol family 2 [ 0.570000] TCP established hash table entries: 1024 (order: 1, 8192 bytes) [ 0.570000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.570000] TCP: Hash tables configured (established 1024 bind 1024) [ 0.580000] TCP: reno registered [ 0.580000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.590000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.600000] NET: Registered protocol family 1 [ 0.610000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.620000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.630000] msgmni has been set to 246 [ 0.630000] io scheduler noop registered [ 0.630000] io scheduler deadline registered (default) [ 0.640000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 0.670000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A [ 0.670000] console [ttyS0] enabled, bootconsole disabled [ 0.670000] console [ttyS0] enabled, bootconsole disabled [ 0.690000] ath79-spi ath79-spi: master is unqueued, this is deprecated [ 0.690000] m25p80 spi0.0: found en25q64, expected m25p80 [ 0.700000] m25p80 spi0.0: en25q64 (8192 Kbytes) [ 0.700000] 5 tp-link partitions found on MTD device spi0.0 [ 0.710000] Creating 5 MTD partitions on "spi0.0": [ 0.710000] 0x000000000000-0x000000020000 : "u-boot" [ 0.720000] 0x000000020000-0x000000118d48 : "kernel" [ 0.730000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- y [ 0.740000] 0x000000118d48-0x0000007f0000 : "rootfs" [ 0.740000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- y [ 0.760000] mtd: partition "rootfs" set to be root filesystem [ 0.760000] 1 squashfs-split partitions found on MTD device rootfs [ 0.770000] 0x000000330000-0x0000007f0000 : "rootfs_data" [ 0.780000] 0x0000007f0000-0x000000800000 : "art" [ 0.780000] 0x000000020000-0x0000007f0000 : "firmware" [ 0.820000] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0 [ 2.080000] libphy: ag71xx_mdio: probed [ 2.080000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII [ 2.640000] ag71xx ag71xx.0 eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316] [ 2.650000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:SGMII [ 3.210000] TCP: cubic registered [ 3.210000] NET: Registered protocol family 17 [ 3.220000] 8021q: 802.1Q VLAN Support v1.8 [ 3.230000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2. [ 3.230000] Freeing unused kernel memory: 220K (80319000 - 80350000) Console is alive procd: Console is alive - watchdog - procd: - watchdog - [ 5.390000] usbcore: registered new interface driver usbfs [ 5.400000] usbcore: registered new interface driver hub [ 5.400000] usbcore: registered new device driver usb [ 5.410000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 5.420000] ehci-platform: EHCI generic platform driver [ 5.420000] ehci-platform ehci-platform.0: EHCI Host Controller [ 5.430000] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1 [ 5.440000] ehci-platform ehci-platform.0: TX-TX IDP fix enabled [ 5.440000] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000 [ 5.470000] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00 [ 5.470000] hub 1-0:1.0: USB hub found [ 5.480000] hub 1-0:1.0: 1 port detected [ 5.480000] ehci-platform ehci-platform.1: EHCI Host Controller [ 5.490000] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2 [ 5.500000] ehci-platform ehci-platform.1: TX-TX IDP fix enabled [ 5.500000] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000 [ 5.530000] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00 [ 5.530000] hub 2-0:1.0: USB hub found [ 5.540000] hub 2-0:1.0: 1 port detected kmod: ran 19 iterations - preinit - procd: - preinit - Press the [f] key and hit [enter] to enter failsafe mode [ 7.660000] eth0: link up (1000Mbps/Full duplex) mount_root: jffs2 is not ready - marker found [ 8.820000] eth0: link down - early - procd: - early - - watchdog - procd: - watchdog - - init - procd: - init - Please press Enter to activate this console. [ 10.340000] NET: Registered protocol family 10 [ 10.350000] nf_conntrack version 0.5.0 (1977 buckets, 7908 max) [ 10.360000] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 10.380000] Loading modules backported from Linux version master-2013-06-27-0-gdcfa6d5 [ 10.390000] Backport generated by backports.git backports-20130617-4-ge3220f5 [ 10.400000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 10.430000] xt_time: kernel timezone is -0000 [ 10.460000] cfg80211: Calling CRDA to update world regulatory domain [ 10.460000] cfg80211: World regulatory domain updated: [ 10.470000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 10.480000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 10.480000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 10.490000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 10.500000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 10.510000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 10.540000] PPP generic driver version 2.4.2 [ 10.550000] NET: Registered protocol family 24 [ 10.600000] cfg80211: Calling CRDA for country: US [ 10.600000] cfg80211: Regulatory domain changed to country: US [ 10.610000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 10.620000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) [ 10.630000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm) [ 10.630000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 10.640000] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 10.650000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 10.660000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm) [ 10.670000] ieee80211 phy0: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47 [ 15.540000] eth1: link up (1000Mbps/Full duplex) [ 15.540000] device eth1 entered promiscuous mode [ 15.570000] br-lan: port 1(eth1) entered forwarding state [ 15.570000] br-lan: port 1(eth1) entered forwarding state [ 15.600000] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready [ 15.610000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 16.790000] eth0: link up (1000Mbps/Full duplex) [ 16.810000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 17.570000] br-lan: port 1(eth1) entered forwarding state [ 20.600000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0 [ 20.610000] jffs2_build_filesystem(): unlocking the mtd device... done. [ 20.610000] jffs2_build_filesystem(): erasing all blocks after the end marker... done. [ 40.270000] jffs2: notice: (946) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked,. procd: - init complete - BusyBox v1.19.4 (2013-10-02 19:00:12 MSK) built-in shell (ash) Enter 'help' for a list of built-in commands. _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- BARRIER BREAKER (Bleeding Edge, r38284) ----------------------------------------------------- * 1/2 oz Galliano Pour all ingredients into * 4 oz cold Coffee an irish coffee mug filled * 1 1/2 oz Dark Rum with crushed ice. Stir. * 2 tsp. Creme de Cacao ----------------------------------------------------- root@OpenWrt:/#


Tags