OpenWrt Forum Archive

Topic: Quallcomm qca9558/TP-Link WDR7500 support

The content of this topic has been archived between 1 May 2014 and 7 May 2018. Unfortunately there are posts – most likely complete pages – missing.

It's time to do a release for those of you who want to try out openwrt on your wdr7500.

Tested, working:

  • Ethernet

  • dual channel 2.4Ghz 802.11n wifi

  • Usb ports + mounting ext2 filesystem

  • System led lights (except for the 5ghz led)

  • ssh, telnet

  • Configuring the system using Luci

  • Samba

Tested, not working:

  • 5ghz 802.11n wifi and wireless ac. It should be possible to enable this once the ath10k driver gets into the kernel

  • tri-channel wireless, openwrt only supports dual channel right now.

Untested, may work:

  • Mounting ntfs and vfat filesystems

  • Wireless at >150mb/s. The best any of my computers can do is 150mb/s

  • WPS/QSS switch

  • Any wan connections other than dhcp e.g.PPPoE

So if you can give up 5ghz wireless n and wireless ac feel free to try out my firmware from here:
https://www.dropbox.com/sh/2ttawsgz669wvnd/Le0XrPvPXY

The only "supported by me" way of flashing this is to break into the bootloader with a serial cable tftpboot the factory image into ram, erase the nand from 0x20000 +0x7C0000 and write the factory image to 0x20000 +0x7C0000.

(Last edited by qca9558 on 29 May 2013, 01:46)

Hi,qca9588.
I've flashed your firmware on my new bought wdr7500 v2.Booting is not ok.Notice that I changed flash to a 16m mx25l12805d.

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, 0x1e)
Tap values = (0x11, 0x11, 0x11, 0x11)
128 MB
Flash Manuf Id 0xc2, DeviceId0 0x20, DeviceId1 0x18
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 = 0x1
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 0x458b214f
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.8.13 (leslie@leslie-chisholm) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2012.12 r36748) ) #1 Wed May 29 09:01:33 NZST 2013
[    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=TL-WDR7500 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] __ex_table already sorted, skipping sort
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 126316k/131072k available (2188k kernel code, 4756k reserved, 585k data, 232k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, 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 TL-WDR7500
[    0.480000] ar724x-pci ar724x-pci.0: PCIe link is down
[    0.480000] registering PCI controller with io_map_base unset
[    0.490000] 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.680000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[    0.690000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.700000] m25p80 spi0.0: mx25l12805d (16384 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-0x0000001185c0 : "kernel"
[    0.730000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.740000] 0x0000001185c0-0x000000ff0000 : "rootfs"
[    0.740000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.760000] mtd: partition "rootfs" set to be root filesystem
[    0.760000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=CB0000 
[    0.770000] 0x000000340000-0x000000ff0000 : "rootfs_data"
[    0.780000] 0x000000ff0000-0x000001000000 : "art"
[    0.780000] 0x000000020000-0x000000ff0000 : "firmware"
[    0.820000] switch0: Atheros AR8327 switch registered on ag71xx-mdio.0
[    2.070000] libphy: ag71xx_mdio: probed
[    2.070000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[    2.630000] ag71xx ag71xx.0 eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[    2.640000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:SGMII
[    3.200000] TCP: cubic registered
[    3.200000] NET: Registered protocol family 17
[    3.200000] 8021q: 802.1Q VLAN Support v1.8
[    3.220000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    3.220000] Freeing unused kernel memory: 232k freed
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
[    6.630000] eth0: link up (1000Mbps/Full duplex)
- regular preinit -
jffs2 not ready yet; using ramdisk
- init -
[    8.460000] eth0: link down
[    9.220000] compat-drivers backport release: compat-drivers-2013-03-28-5
[    9.230000] Backport based on wireless-testing.git master-2013-04-16
[    9.240000] compat.git: wireless-testing.git
[    9.360000] cfg80211: Calling CRDA to update world regulatory domain
[    9.360000] cfg80211: World regulatory domain updated:
[    9.370000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    9.380000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.390000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    9.390000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    9.400000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.410000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.620000] NET: Registered protocol family 10
[    9.800000] SCSI subsystem initialized
[    9.990000] usbcore: registered new interface driver usbfs
[   10.000000] usbcore: registered new interface driver hub
[   10.000000] usbcore: registered new device driver usb
[   10.480000] Data bus error, epc == 8718410c, ra == 8718410c
[   10.480000] Oops[#1]:
[   10.480000] Cpu 0
[   10.480000] $ 0   : 00000000 00000000 deadc0de 00000000
[   10.480000] $ 4   : b8115f18 00015f18 00000007 00000004
[   10.480000] $ 8   : 00000001 7c7c3c7c 7c7c7c7c 7c7c7c7c
[   10.480000] $12   : 7c7c3c7c 00000001 00000000 7c7c7c3c
[   10.480000] $16   : 87be8010 00015f18 00000000 00000007
[   10.480000] $20   : 00000004 00000064 00000004 87ad9bd4
[   10.480000] $24   : 00000000 871ec98c                  
[   10.480000] $28   : 87ad8000 87ad9ab0 871d1050 8718410c
[   10.480000] Hi    : 00000000
[   10.480000] Lo    : 00000064
[   10.480000] epc   : 8718410c ath9k_hw_wait+0x58/0xb0 [ath9k_hw]
[   10.480000]     Tainted: G           O
[   10.480000] ra    : 8718410c ath9k_hw_wait+0x58/0xb0 [ath9k_hw]
[   10.480000] Status: 1000fc03    KERNEL EXL IE 
[   10.480000] Cause : 4080801c
[   10.480000] PrId  : 00019750 (MIPS 74Kc)
[   10.480000] Modules linked in: ath9k(O+) ath9k_common(O) ath9k_hw(O) ath(O) mac80211(O) usbcore usb_common scsi_mod nls_base crc16 crc_ccitt ipv6 cfg80211(O) compat(O) sha256_generic md5 md4 hmac ecb des_generic arc4 crypto_blkcipher aead crypto_hash ledtrig_timer ledtrig_default_on leds_gpio gpio_button_hotplug(O)
[   10.480000] Process insmod (pid: 563, threadinfo=87ad8000, task=87bbedb8, tls=771b6440)
[   10.480000] Stack : 00000000 00000000 802fe870 001240d0 00000028 87be8010 87ad9b18 000003ff
        87ad9b50 00000004 00000003 871a0264 802fe870 802fee38 fffffffc 00000004
        000003e8 00000000 802fe870 00000000 87be8010 871a0310 00000000 00000008
        00000001 80096908 ffff40d0 802fee38 871a0000 87be8010 000001ff 87b61800
        99999999 871a036c 87be8bb8 8719e764 87ad9c2c 87be8010 00007000 00007000
        ...
[   10.480000] Call Trace:
[   10.480000] [<8718410c>] ath9k_hw_wait+0x58/0xb0 [ath9k_hw]
[   10.480000] [<871a0264>] ath9k_hw_setup_statusring+0x1b54/0x212c [ath9k_hw]
[   10.480000] 
[   10.480000] 
Code: 0000a812  0040f809  00000000 <00531024> 1054000b  24020001  0c05d46a  2404000a  26520001 
[   10.680000] ---[ end trace cd8e784390331798 ]---
[   11.140000] RPC: Registered named UNIX socket transport module.
[   11.140000] RPC: Registered udp transport module.
[   11.150000] RPC: Registered tcp transport module.
[   11.150000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   11.280000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[   11.530000] PPP generic driver version 2.4.2
[   11.820000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.900000] xt_time: kernel timezone is -0000
[   11.970000] NET: Registered protocol family 24
[   12.040000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   12.060000] ehci-platform: EHCI generic platform driver

(Last edited by ranfish on 29 May 2013, 08:28)

ranfish wrote:

Hi,qca9588.
I've flashed your firmware on my new bought wdr7500 v2.Booting is not ok.Notice that I changed flash to a 16m mx25l12805d.

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, 0x1e)
Tap values = (0x11, 0x11, 0x11, 0x11)
128 MB
Flash Manuf Id 0xc2, DeviceId0 0x20, DeviceId1 0x18
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 = 0x1
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 0x458b214f
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.8.13 (leslie@leslie-chisholm) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2012.12 r36748) ) #1 Wed May 29 09:01:33 NZST 2013
[    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=TL-WDR7500 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] __ex_table already sorted, skipping sort
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 126316k/131072k available (2188k kernel code, 4756k reserved, 585k data, 232k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, 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 TL-WDR7500
[    0.480000] ar724x-pci ar724x-pci.0: PCIe link is down
[    0.480000] registering PCI controller with io_map_base unset
[    0.490000] 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.680000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[    0.690000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.700000] m25p80 spi0.0: mx25l12805d (16384 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-0x0000001185c0 : "kernel"
[    0.730000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.740000] 0x0000001185c0-0x000000ff0000 : "rootfs"
[    0.740000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.760000] mtd: partition "rootfs" set to be root filesystem
[    0.760000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=CB0000 
[    0.770000] 0x000000340000-0x000000ff0000 : "rootfs_data"
[    0.780000] 0x000000ff0000-0x000001000000 : "art"
[    0.780000] 0x000000020000-0x000000ff0000 : "firmware"
[    0.820000] switch0: Atheros AR8327 switch registered on ag71xx-mdio.0
[    2.070000] libphy: ag71xx_mdio: probed
[    2.070000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[    2.630000] ag71xx ag71xx.0 eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[    2.640000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:SGMII
[    3.200000] TCP: cubic registered
[    3.200000] NET: Registered protocol family 17
[    3.200000] 8021q: 802.1Q VLAN Support v1.8
[    3.220000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    3.220000] Freeing unused kernel memory: 232k freed
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
[    6.630000] eth0: link up (1000Mbps/Full duplex)
- regular preinit -
jffs2 not ready yet; using ramdisk
- init -
[    8.460000] eth0: link down
[    9.220000] compat-drivers backport release: compat-drivers-2013-03-28-5
[    9.230000] Backport based on wireless-testing.git master-2013-04-16
[    9.240000] compat.git: wireless-testing.git
[    9.360000] cfg80211: Calling CRDA to update world regulatory domain
[    9.360000] cfg80211: World regulatory domain updated:
[    9.370000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    9.380000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.390000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    9.390000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    9.400000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.410000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.620000] NET: Registered protocol family 10
[    9.800000] SCSI subsystem initialized
[    9.990000] usbcore: registered new interface driver usbfs
[   10.000000] usbcore: registered new interface driver hub
[   10.000000] usbcore: registered new device driver usb
[   10.480000] Data bus error, epc == 8718410c, ra == 8718410c
[   10.480000] Oops[#1]:
[   10.480000] Cpu 0
[   10.480000] $ 0   : 00000000 00000000 deadc0de 00000000
[   10.480000] $ 4   : b8115f18 00015f18 00000007 00000004
[   10.480000] $ 8   : 00000001 7c7c3c7c 7c7c7c7c 7c7c7c7c
[   10.480000] $12   : 7c7c3c7c 00000001 00000000 7c7c7c3c
[   10.480000] $16   : 87be8010 00015f18 00000000 00000007
[   10.480000] $20   : 00000004 00000064 00000004 87ad9bd4
[   10.480000] $24   : 00000000 871ec98c                  
[   10.480000] $28   : 87ad8000 87ad9ab0 871d1050 8718410c
[   10.480000] Hi    : 00000000
[   10.480000] Lo    : 00000064
[   10.480000] epc   : 8718410c ath9k_hw_wait+0x58/0xb0 [ath9k_hw]
[   10.480000]     Tainted: G           O
[   10.480000] ra    : 8718410c ath9k_hw_wait+0x58/0xb0 [ath9k_hw]
[   10.480000] Status: 1000fc03    KERNEL EXL IE 
[   10.480000] Cause : 4080801c
[   10.480000] PrId  : 00019750 (MIPS 74Kc)
[   10.480000] Modules linked in: ath9k(O+) ath9k_common(O) ath9k_hw(O) ath(O) mac80211(O) usbcore usb_common scsi_mod nls_base crc16 crc_ccitt ipv6 cfg80211(O) compat(O) sha256_generic md5 md4 hmac ecb des_generic arc4 crypto_blkcipher aead crypto_hash ledtrig_timer ledtrig_default_on leds_gpio gpio_button_hotplug(O)
[   10.480000] Process insmod (pid: 563, threadinfo=87ad8000, task=87bbedb8, tls=771b6440)
[   10.480000] Stack : 00000000 00000000 802fe870 001240d0 00000028 87be8010 87ad9b18 000003ff
        87ad9b50 00000004 00000003 871a0264 802fe870 802fee38 fffffffc 00000004
        000003e8 00000000 802fe870 00000000 87be8010 871a0310 00000000 00000008
        00000001 80096908 ffff40d0 802fee38 871a0000 87be8010 000001ff 87b61800
        99999999 871a036c 87be8bb8 8719e764 87ad9c2c 87be8010 00007000 00007000
        ...
[   10.480000] Call Trace:
[   10.480000] [<8718410c>] ath9k_hw_wait+0x58/0xb0 [ath9k_hw]
[   10.480000] [<871a0264>] ath9k_hw_setup_statusring+0x1b54/0x212c [ath9k_hw]
[   10.480000] 
[   10.480000] 
Code: 0000a812  0040f809  00000000 <00531024> 1054000b  24020001  0c05d46a  2404000a  26520001 
[   10.680000] ---[ end trace cd8e784390331798 ]---
[   11.140000] RPC: Registered named UNIX socket transport module.
[   11.140000] RPC: Registered udp transport module.
[   11.150000] RPC: Registered tcp transport module.
[   11.150000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   11.280000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[   11.530000] PPP generic driver version 2.4.2
[   11.820000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.900000] xt_time: kernel timezone is -0000
[   11.970000] NET: Registered protocol family 24
[   12.040000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   12.060000] ehci-platform: EHCI generic platform driver

Wow did you solder the chip on yourself? How did you get the uboot code onto the flash?

Here is what the boot sequence looks like on my board if you want a reference:

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 ...

[    0.000000] Linux version 3.8.13 (leslie@leslie-lappy) (gcc version 4.6.4 (Op                                                                                        enWrt/Linaro GCC 4.6-2012.12 r36730) ) #1 Wed May 29 06:34:47 NZST 2013
[    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.00                                                                                        0MHz
[    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 pag                                                                                        es: 32512
[    0.000000] Kernel command line:  board=TL-WDR7500 console=ttyS0,115200 rootf                                                                                        stype=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] __ex_table already sorted, skipping sort
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 126312k/131072k available (2188k kernel code, 4760k reser                                                                                        ved, 585k data, 232k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, No                                                                                        des=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 TL-WDR7500
[    0.480000] ar724x-pci ar724x-pci.0: PCIe link is down
[    0.490000] registering PCI controller with io_map_base unset
[    0.490000] registering PCI controller with io_map_base unset
[    0.500000] bio: create slab <bio-0> at 0
[    0.510000] PCI host bridge to bus 0000:00
[    0.510000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
[    0.520000] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.520000] pci_bus 0000:00: No busn resource found for root bus, will use [b                                                                                        us 00-ff]
[    0.530000] PCI host bridge to bus 0000:01
[    0.530000] pci_bus 0000:01: root bus resource [mem 0x12000000-0x13ffffff]
[    0.540000] pci_bus 0000:01: root bus resource [io  0x0001]
[    0.540000] pci_bus 0000:01: No busn resource found for root bus, will use [b                                                                                        us 01-ff]
[    0.550000] pci 0000:01:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bi                                                                                        t]
[    0.550000] pci 0000:01:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref                                                                                        ]
[    0.560000] pci 0000:01:00.0: using irq 41 for pin 1
[    0.560000] Switching to clocksource MIPS
[    0.570000] 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_PRIORIT                                                                                        Y) (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.680000] 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-0x000000118500 : "kernel"
[    0.730000] mtd: partition "kernel" must either start or end on erase block b                                                                                        oundary or be smaller than an erase block -- forcing read-only
[    0.740000] 0x000000118500-0x0000007f0000 : "rootfs"
[    0.740000] mtd: partition "rootfs" must either start or end on erase block b                                                                                        oundary or be smaller than an erase block -- forcing read-only
[    0.760000] mtd: partition "rootfs" set to be root filesystem
[    0.760000] mtd: partition "rootfs_data" created automatically, ofs=310000, l                                                                                        en=4E0000
[    0.770000] 0x000000310000-0x0000007f0000 : "rootfs_data"
[    0.780000] 0x0000007f0000-0x000000800000 : "art"
[    0.780000] 0x000000020000-0x0000007f0000 : "firmware"
[    0.820000] switch0: Atheros AR8327 switch registered on ag71xx-mdio.0
[    2.070000] libphy: ag71xx_mdio: probed
[    2.070000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[    2.630000] ag71xx ag71xx.0 eth0: connected to PHY at ag71xx-mdio.0:00 [uid=0                                                                                        04dd034, driver=Atheros AR8216/AR8236/AR8316]
[    2.640000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:SGMII
[    3.200000] TCP: cubic registered
[    3.200000] NET: Registered protocol family 17
[    3.200000] 8021q: 802.1Q VLAN Support v1.8
[    3.210000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    3.220000] Freeing unused kernel memory: 232k freed
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
[    6.650000] eth0: link up (1000Mbps/Full duplex)
- regular preinit -
[    8.500000] jffs2: notice: (496) jffs2_build_xattr_subsystem: complete buildi                                                                                        ng xattr subsystem, 17 of xdatum (1 unchecked, 16 orphan) and 26 of xref (0 dead                                                                                        , 16 orphan) found.
switching to jffs2
- init -
[    8.580000] eth0: link down

Please press Enter to activate this console. [    9.720000] compat-drivers backp                                                                                        ort release: compat-drivers-2013-03-28-5
[    9.730000] Backport based on wireless-testing.git master-2013-04-16
[    9.730000] compat.git: wireless-testing.git
[    9.750000] cfg80211: Calling CRDA to update world regulatory domain
[    9.760000] cfg80211: World regulatory domain updated:
[    9.770000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gai                                                                                        n, max_eirp)
[    9.770000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 20                                                                                        00 mBm)
[    9.780000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 20                                                                                        00 mBm)
[    9.790000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 20                                                                                        00 mBm)
[    9.800000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 20                                                                                        00 mBm)
[    9.800000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 20                                                                                        00 mBm)
[   10.020000] NET: Registered protocol family 10
[   10.220000] SCSI subsystem initialized
[   10.310000] usbcore: registered new interface driver usbfs
[   10.310000] usbcore: registered new interface driver hub
[   10.320000] usbcore: registered new device driver usb
[   10.800000] ieee80211 phy0: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
[   10.810000] cfg80211: Calling CRDA for country: US
[   10.820000] cfg80211: Regulatory domain changed to country: US
[   10.820000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   10.830000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   10.840000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   10.850000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.860000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.860000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.870000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   11.290000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[   11.550000] PPP generic driver version 2.4.2
[   11.750000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.830000] xt_time: kernel timezone is -0000
[   11.910000] NET: Registered protocol family 24
[   11.990000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   12.000000] ehci-platform: EHCI generic platform driver
[   12.010000] ehci-platform ehci-platform.0: EHCI Host Controller
[   12.010000] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[   12.020000] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
[   12.050000] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[   12.050000] hub 1-0:1.0: USB hub found
[   12.060000] hub 1-0:1.0: 1 port detected
[   12.060000] ehci-platform ehci-platform.1: EHCI Host Controller
[   12.070000] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
[   12.070000] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
[   12.100000] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
[   12.100000] hub 2-0:1.0: USB hub found
[   12.110000] hub 2-0:1.0: 1 port detected
[   12.170000] nf_conntrack version 0.5.0 (1977 buckets, 7908 max)
[   12.650000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   12.840000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   12.990000] Initializing USB Mass Storage driver...
[   12.990000] usbcore: registered new interface driver usb-storage
[   13.000000] USB Mass Storage support registered.
[   16.210000] eth1: link up (1000Mbps/Full duplex)
[   16.210000] device eth1 entered promiscuous mode
[   16.220000] br-lan: port 1(eth1) entered forwarding state
[   16.220000] br-lan: port 1(eth1) entered forwarding state
[   16.230000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   16.700000] eth0: link up (1000Mbps/Full duplex)
[   16.710000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   17.210000] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   18.220000] br-lan: port 1(eth1) entered forwarding state
[   22.210000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   22.240000] device wlan0 entered promiscuous mode
[   22.250000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   22.420000] br-lan: port 2(wlan0) entered forwarding state
[   22.430000] br-lan: port 2(wlan0) entered forwarding state
[   22.430000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   24.430000] br-lan: port 2(wlan0) entered forwarding state

You also said your board is a v2? Is that a chinese imported one like mine? I didn't know there was a v2 out. The only board I know of like the wdr7500 is the Archer C7 which is the rest of world version of the wdr7500.

We must have the same model.Mine is bought from jd.com as this:
http://wikidevi.com/wiki/TP-LINK_TL-WDR7500
I soldered mx25l12805d because original 8m flash is not enough for me.But the factory firmware run nicely on this chip.I will try to resolder en25q64 back home to see if it is the flash chips compatibility issue.
By the way,your repo on git doesn't produce a workable firmware like openwrt-ar71xx-generic-tl-wdr7500-squashfs-factory.bin.

(Last edited by ranfish on 29 May 2013, 11:23)

If it's the same model it should be alright. With the original chip I expect it to work like mine.

Did you do a backup of the original flash memory? I think I may have messed up my art partition and would be interested in seeing what a normal one looks like. My wifi mac is coming up as 00:02:03:04:05.

How did you make the 16M flash chip? You will have to change the partition layout if you want it to work correcty. The Art and config partitions will have to be moved to the last 128k of the flash memory and you'll have to edit the kernel driver and the script that builds the images.

ranfish wrote:

By the way,your repo on git doesn't produce a workable firmware like openwrt-ar71xx-generic-tl-wdr7500-squashfs-factory.bin.

How did you set up your .config file? Did you only target the wdr7500? For some reason if you want images to be built you have to select all image targets, I haven't figured out why yet.

(Last edited by qca9558 on 29 May 2013, 12:50)

Update:I've resoldered en25q64 and flashed your firmware.This time booting is pretty smooth.I do a copy test through ftp and got 15m/s(ext4) which seems not bad.  But when I try to start wifi,ttl said:

[ 1405.130000] scsi 1:0:0:0: Direct-Access     ADATA    USB Flash Drive  1.00 PQ: 0 ANSI: 6
[ 1405.140000] sd 1:0:0:0: [sdb] 30869504 512-byte logical blocks: (15.8 GB/14.7 GiB)
[ 1405.140000] sd 1:0:0:0: [sdb] Write Protect is off
[ 1405.150000] sd 1:0:0:0: [sdb] Write cache: disabled, read cache: disabled, doesn't support DPO or FUA
[ 1405.170000]  sdb: sdb1
[ 1405.170000] sd 1:0:0:0: [sdb] Attached SCSI removable disk

root@OpenWrt:/# mkdir /mnt/sdb1
root@OpenWrt:/# mount /dev/sdb1 /mnt/sdb1
[ 1429.390000] EXT4-fs (sdb1): couldn't mount as ext3 due to feature incompatibilities
[ 1429.400000] EXT4-fs (sdb1): couldn't mount as ext2 due to feature incompatibilities
[ 1429.530000] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
root@OpenWrt:/# wifi up
'radio0' is disabled
'radio0' is disabled
root@OpenWrt:/# [ 1756.030000] CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 870123a4, ra == 8021e9f4
[ 1756.040000] Oops[#1]:
[ 1756.040000] Cpu 0
[ 1756.040000] $ 0   : 00000000 00ad7ad4 ffffffff 00000006
[ 1756.040000] $ 4   : 00000000 00000001 84513bcc 00000000
[ 1756.040000] $ 8   : 00000010 80064880 51a5e08d 000009b0
[ 1756.040000] $12   : 06000000 8452d124 00000000 00080003
[ 1756.040000] $16   : 87bbd400 86fa1000 00000000 00000002
[ 1756.040000] $20   : 86e253c0 86fa13c8 871f8000 8757d000
[ 1756.040000] $24   : 00000000 77699990                  
[ 1756.040000] $28   : 84512000 84513b58 00000024 8021e9f4
[ 1756.040000] Hi    : 00000000
[ 1756.040000] Lo    : 00000068
[ 1756.040000] epc   : 870123a4 cfg80211_notify_new_peer_candidate+0x690/0x13f0 [cfg80211]
[ 1756.040000]     Tainted: G           O
[ 1756.040000] ra    : 8021e9f4 genl_rcv_msg+0x1ec/0x234
[ 1756.040000] Status: 1000fc03    KERNEL EXL IE 
[ 1756.040000] Cause : 00800008
[ 1756.040000] BadVA : 00000000
[ 1756.040000] PrId  : 00019750 (MIPS 74Kc)
[ 1756.040000] Modules linked in: usb_storage ath79_wdt ohci_hcd ledtrig_usbdev ledtrig_netdev ip6t_REJECT ip6t_rt ip6t_hbh ip6t_mh ip6t_ipv6header ip6t_frag ip6t_eui64 ip6t_ah ip6table_raw ip6table_mangle ip6table_filter ip6_tables nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_irc nf_nat_ftp nf_conntrack_irc nf_conntrack_ftp xt_REDIRECT ipt_MASQUERADE iptable_nat xt_nat nf_nat_ipv4 nf_nat pppoe xt_conntrack xt_CT iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack ehci_platform ehci_hcd sd_mod pppox xt_mark xt_time ipt_REJECT xt_TCPMSS xt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables nfs msdos ppp_async ppp_generic slhc vfat fat ntfs lockd sunrpc ext4 jbd2 mbcache cifs ath9k(O) ath9k_common(O) ath9k_hw(O) ath(O) mac80211(O) usbcore usb_common scsi_mod nls_base crc16 crc_ccitt ipv6 cfg80211(O) compat(O) sha256_generic md5 md4 hmac ecb des_generic arc4 crypto_blkcipher aead crypto_hash ledtrig_timer ledtrig_default_on leds_gpio gpio_button_hotplug(O)
[ 1756.040000] Process hostapd (pid: 2480, threadinfo=84512000, task=838094c8, tls=7775c440)
[ 1756.040000] Stack : 000000b3 00000005 ffff3fff 8018ae5c 00000001 00000018 801f5ab8 ffffffff
        00000000 00000000 00000000 870274d8 8452d114 870273d0 86e253c0 00000000
        00000004 8021e9f4 86f73480 77757128 77755000 8021b398 87021da8 8021d5e0
        0021e614 00000000 8452d000 84451e00 86e253c0 51a5e08d 000009b0 8452d100
        8452d110 8452d114 87bbd400 871f8000 86fa1000 87802880 86e253c0 8452d100
        ...
[ 1756.040000] Call Trace:
[ 1756.040000] [<870123a4>] cfg80211_notify_new_peer_candidate+0x690/0x13f0 [cfg80211]
[ 1756.040000] [<8021e9f4>] genl_rcv_msg+0x1ec/0x234
[ 1756.040000] [<8021de5c>] netlink_rcv_skb+0x6c/0xe4
[ 1756.040000] [<8021e7f8>] genl_rcv+0x24/0x34
[ 1756.040000] [<8021d788>] netlink_unicast+0x164/0x248
[ 1756.040000] [<8021dc14>] netlink_sendmsg+0x2cc/0x358
[ 1756.040000] [<801eaf9c>] sock_sendmsg+0x80/0xa8
[ 1756.040000] [<801ebbf0>] __sys_sendmsg+0x1a0/0x240
[ 1756.040000] [<801eda84>] sys_sendmsg+0x48/0x7c
[ 1756.040000] [<80062564>] stack_done+0x20/0x40
[ 1756.040000] 
[ 1756.040000] 
Code: 09c048e9  27a70018  00003821 <8ce20000> 30420006  10400005  00000000  8ec30948  7c630440 
[ 1756.330000] ---[ end trace d98e72f9da18003a ]---

Good to hear you got it working using the old chip! I set up wifi on my router using the luci interface and didn't see that error happening.

root@OpenWrt:/# wifi up
'radio0' is disabled
'radio0' is disabled

Maybe it only happens when you try to turn wifi on when it is disabled?

Looks like a null pointer reference coming from the kernel. I never said there wouldn't be any bugs tongue

Looks like since r36787-r36790 this device is now supported in trunk.

eximido wrote:

Looks like since r36787-r36790 this device is now supported in trunk.

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Starting kernel ...

[    0.000000] Linux version 3.8.13 (ranfish@sea) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2012.12 r36718) ) #1 Sun Jun 2 08:32:55 CST 2013
[    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] __ex_table already sorted, skipping sort
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 126316k/131072k available (2189k kernel code, 4756k reserved, 585k data, 232k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, 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.680000] 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] spi0.0: no TP-Link header found
[    0.740000] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0
[    2.000000] libphy: ag71xx_mdio: probed
[    2.000000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[    2.560000] ag71xx ag71xx.0 eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[    2.570000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:SGMII
[    3.130000] TCP: cubic registered
[    3.130000] NET: Registered protocol family 17
[    3.130000] 8021q: 802.1Q VLAN Support v1.8
[    3.140000] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    3.150000] Please append a correct "root=" boot option; here are the available partitions:
[    3.160000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

(Last edited by ranfish on 2 Jun 2013, 03:57)

I haven't tried flashing the Archer C7 firmware onto my wdr7500 yet but I think you've flashed the firmware incorrectly ranfish. This part of your dump suggests that the image wasn't generated and/or flashed properly.

[    0.700000] spi0.0: no TP-Link header found

what are the HW differences between the 2 boards?

nebbia88 wrote:

what are the HW differences between the 2 boards?

That changes that I know of are that the wdr7500 has 6 external antennas vs 3 and no rfkill switch.

I managed to flash the Archer-C7 firmware onto my wdr7500 with only one slight problem. The same issue I was seeing before where the wan port is on the 4th lan port instead of the lan port. An easy fix by changing /etc/config/network to:

config switch_vlan
      option device 'switch0'
      option vlan '1'
      option ports '0 2 3 4 5'

config switch_vlan
      option device 'switch0'
      option vlan '2'
      option ports '1 6'

Archer C7's port sequence is the same as wdr7500 v2.Openwrt dev should fix it.
http://www.hkepc.com/9324

Any news on ath10k?qca9588:)

Last I heard about ath10k was on the linux-wireless mailing list http://marc.info/?l=linux-wireless& … 09&w=2 I don't have any wireless ac devices yet so I'm not planning on backporting it to linux 3.8. Better to wait for linux 3.11/12 that should have stable support for it.

Hey, i set up my 2 new archer c7 with openwrt trunk version from 10th july.... Was surprised how quick the device was supported... but i notice a bad behaviour in failsafe... I misconfigured the switch and wanted to boot to failsafe. led is blinking fast, computer has ip 192.168.1.2, but the router keep beeing unreachable... even with tcpdump there is no output at all "sudo tcpdump -Ani p6p1 port 4919 and udp"

Any ideas how to debrick it? unfortunatly i have no jtag....

no jtag necessary.. you just need a ttl serial adapter..

It looks like the most recent version of compat-wireless that just went into openwrt mainline has ath10k support. So as long as it's being compiled into the kernel and the firmware is present on your openwrt-7500/archer-c7 wireless ac + 5ghz should all work!

What's the ticket good for? Either the devs have the hardware and the time or they don't.

Does anybody have the answer to my other question: how can the Archer C7 run with the above source-code. The linux kernel is 2.6.31

I managed to flash the Archer-C7 firmware onto my wdr7500 with only one slight problem. The same issue I was seeing before where the wan port is on the 4th lan port instead of the lan port. An easy fix by changing /etc/config/network to:

Archer C7's port sequence is the same as wdr7500 v2

I'm quite confused.... so may I just flash the Archer C7 V1 firmware on the TL-WDR7500 router? Will there be a problem of LAN/WAN ports?

It seems in the WDR7500 firmware interface (in Chinese) the hardware version is shown as v2.0.

BTW qca9558, may you share how to change the /etc/config/network file? I'm totally new here...

All I'm looking for is to change the Chinese interface to English...

Thank you all very much~~~ smile

oh, BTW, does the DDNS like Dyndns in the Archer C7 firmware works on the WDR7500?

(Last edited by oneuser on 1 Jul 2013, 11:27)

I got me one WDR7500 today but I seem to have gotten a faulty unit. When using serial and booting into uboot I cannot get any functional network communication. I have tried all of them but cannot ping or upload new firmware. The leds are blinking when sending ping but no success otherwise. What LAN port is default in uboot and is there any configuration to be done?

(Last edited by Lennong on 1 Jul 2013, 19:19)

oneuser wrote:

I'm quite confused.... so may I just flash the Archer C7 V1 firmware on the TL-WDR7500 router? Will there be a problem of LAN/WAN ports?

I don't know, I meant to say flashing the openwrt build of Archer C7 firmware onto the TL-WDR7500 worked fine. This isn't the right place to be talking about using tp-links firmware.

oneuser wrote:

It seems in the WDR7500 firmware interface (in Chinese) the hardware version is shown as v2.0.

BTW qca9558, may you share how to change the /etc/config/network file? I'm totally new here...

Learn how to use vi or install nano and edit the file so port 1 and 6 are on vlan2 and 0 2 3 4 5 are on vlan1

Lennong wrote:

I got me one WDR7500 today but I seem to have gotten a faulty unit. When using serial and booting into uboot I cannot get any functional network communication. I have tried all of them but cannot ping or upload new firmware. The leds are blinking when sending ping but no success otherwise. What LAN port is default in uboot and is there any configuration to be done?

I could tftp using any of the yellow ports I think. Make sure you set hostip and serverip before tftping e.g.

set ipaddr 192.168.1.100 
set serverip 192.168.1.101; 
tftp <imagefile>

Make sure serverip corresponds to the computer you're running tftp on.