OpenWrt Forum Archive

Topic: Support for TP-Link Archer C2600

The content of this topic has been archived between 29 Mar 2018 and 6 May 2018. Unfortunately there are posts – most likely complete pages – missing.

Heinz wrote:

No.
My LAN and 2,4 MAC: EC 08 6B 2C A0 4C
WAN: EC 08 6B 2C A0 4D
5G: EC 08 6B 2C A0 4B

Interesting. Thanks for the info.

So the default-mac is supposed to be the LAN/2.4GHz MAC, which makes the WLAN and the 5 GHz ones to the derived ones.

for stock:
LAN/2.4 GHz = default-mac value (which should match the MAC sticker on the bottom of the router)
WLAN = default-mac +1
5 GHz = default-mac -1

You would think that since WLAN is the only "real" important one since it potentially faces the outside world that they would want to make that the one stored in default-mac.

Is the current openWRT build putting that MAC as the WLAN one?

(Last edited by TeutonJon78 on 25 Apr 2016, 01:25)

Another oddity I noticed today.  The value of an associated stations' noise level is "unknown" for the 2.4GHz band.  A minor issue, but curious nonetheless.

Example iwinfo output:

2.4GHz:
archer-c2600 ~ # iwinfo wlan1 assoclist
00:80:92:89:FC:39  -43 dBm / unknown (SNR -43)  55280 ms ago

5.0GHz:
archer-c2600 ~ # iwinfo wlan0 assoclist
BC:E6:3F:28:68:DE  -66 dBm / -105 dBm (SNR 39)  430 ms ago

(Last edited by darryl on 25 Apr 2016, 18:13)

merc6.9 wrote:
A6ix wrote:

Firstly I wanted to say thank you for the firmware, unfortunately I cannot seem to find luci-app-sqm or luci-app-qos when I update lists.

I'm really after these two and would be truly greatful if you would be so kind as to hosts these files or share a way I can obtain these two add-ons.

Kind Regards.

Most welcome, I updated the packages. refresh your lists and you'll find both there.

Edit - since these are compiled afterwards (not with initial firmware), you will need to force install them.. don't worry about the "satisfy...etc" error, It'll work just fine.
For example to install luci-app-qos:
opkg update
opkg install --force-depends luci-app-qos

Followed as prompted and everything is working nicely, cannot thank you enough. smile

Seems the merge into main will take a while..
So I made a new build for my c2600. Sharing it here smile

Factory (stock > OWRT): http://benz.host.sk/c2600/trunk/openwrt … actory.bin
Sysupgrade (OWRT > OWRT): http://benz.host.sk/c2600/trunk/openwrt … pgrade.bin

Its:
- based on main openwrt trunk, cloned 26 Apr 2016.
- bare-bones, only has luci-ssl included with the firmware, but:
- All packages from the following feeds compiled at one go (ie no mismatch errors when installing): packages, luci, routing and management.

Like before, the firmware has a valid dist feed URL, so to access these packages, update your lists from LuCI (System > Software > Update Lists), or from cli: opkg update, then install whatever you need.
Installation from LuCI will work too since there won't be any mismatch errors..

I enabled hard float (ipq806x profile was set to use soft float but the SoC has an fpu). No idea how much of a difference this will make in performance but hey since its there.. why not wink
Finally, build also includes the patch for C2600 v1.1 flash chip.

PS - #4 fails to apply on current trunk (another ipq806x target was added). Manually applied for build above.


A6ix wrote:

Followed as prompted and everything is working nicely, cannot thank you enough. smile

Did you just flash? I wanted to post this earlier but the compile took ages on my 25watts econo CPU!

Note: After I uploaded this, I deleted the old build (c2600tmp5 branch) and all its packages from my host, I don't have much space (users of old build will no longer be able to update-lists/install packages, please upgrade to this newer build to enjoy a wealth of packages running on bleeding edge trunk without any "mismatch" errors!).

Thanks Merc6.9 for your build, very clean and slim. A lot less to get rid of especially when using the router simply as an Access Point like I do.

However, I had to rollback to: http://luci.subsignal.org/~trondah/c2600/r49166/ because of 2 major reasons:

On first update, only 2.4ghz was available, 5ghz would not work and settings were not possible (nothing in the dropdown menus). I factory resetted and then 2.4ghz was gone, couldn't even see it but 5ghz was there but even though I was able to configure it, I couldn't see it with my devices.

The other problem (reported by someone else as well earlier) was the transmit power. I couldn't go over 23dbm. I tried Canada, US, 00-World, nothing worked. I also tried a few other channels and I was still stuck at 23dbm (199mw). I don't know why but this used to be 30dbm (1000mw) with arokh's builds and it worked well. Also, after playing with the countries, the transmit power was even stuck lower at 20dbm (100mw) at some point and I couldn't find a way to bring it back to 23dbm.

I have a version 1.1 and no console, sorry. Btw, when I installed your version (sysupgrade as I was already running OpenWRT), I upgraded from http://luci.subsignal.org/~trondah/c2600/r49005/, not from stock.

Also, the reboot problem was still there, ie: issuing a reboot command would make the device unresponsive but it would not reboot.

For those interested, usually when I install arokh's build, here's the first thing I do to clean it up:

opkg --force-removal-of-dependent-packages remove tor strongswan transmission-daemon ppp ppp-mod-pppoe odhcpd miniupnpd iptables ip6tables dnsmasq-full firewall ddns-scripts openvpn openvpn-openssl dnscrypt-proxy odhcp6c

You need to run this twice to get rid of dependencies that were not removed the first time. Like I said, I run this device as an access point, not a router, that's why I do not need stuff like iptables, dnsmasq, etc, etc...

I then delete all the following interfaces: TOR Wifi, OVPNTCP, OVPNUDP, TOR, WAN, WAN6, USB and finish configuring my LAN and set a default gateway that points to my pfSense router.

I really look forward to a super clean, very trimmed down image I could use but I don't mind using arokh's builds for now, they are very easy to clean up and are very stable so far.

The only things that are still a problem with those build is the non-working reboot and a lot of continuous messages like this but they so far don't create any issue it seems:

Tue Apr 26 23:11:01 2016 kern.warn kernel: [ 1074.451255] ath10k_pci 0001:01:00.0: Unknown eventid: 36898
Tue Apr 26 23:23:08 2016 kern.warn kernel: [ 1800.803483] ath10k_pci 0001:01:00.0: Unknown eventid: 36898
Tue Apr 26 23:23:10 2016 kern.warn kernel: [ 1802.866982] ath10k_pci 0001:01:00.0: Unknown eventid: 36898
Tue Apr 26 23:23:48 2016 kern.warn kernel: [ 1840.764646] ath10k_pci 0001:01:00.0: Unknown eventid: 36898
Tue Apr 26 23:27:46 2016 kern.warn kernel: [ 2079.374736] ath10k_pci 0000:01:00.0: Unknown eventid: 36898

Thanks guys for all the work you're doing to properly support this device. It is worth it and very much appreciated.

(Last edited by RedVortex on 27 Apr 2016, 04:35)

RedVortex

When you sysupgrade you flush all previous config right? If no then try with a clean config:
- if from luci, untick keep settings
- if shell:

sysupgrade -n <firmware_file>

Alternatively, wipe your wifi config and start clean:

wifi detect > /etc/config/wireless; wifi

Then go back to luci and enable/adjust wifi. Both radios (2.4 and 5ghz) work fine on mine.

About the 1000mw thing, thats a modification to the default, see https://forum.openwrt.org/viewtopic.php … 86#p320686
In other words, if things were clean and stock it would show a max of 100mw. Btw, when you set it to 1000mw, do you actually see a difference in range? (ie is the hardware actually broadcasting at 1w?) wink

Heinz posted the log for a v1.1 reboot capture.. no idea why it won't reboot (my v1.0 powercycles fine).

I tried flushing and resetting configs but I still had wifi issues, I will try again later on this week most likely when I get some free time.

As for the transmit power, this router, when in a FCC domain, can push 30dbm on both 2.4 and 5ghz according to their specs

http://www.tp-link.com/en/products/deta … ifications

Transmission Power
CE: <20dBm(2.4GHz)
       <23dBm(5GHz)
FCC: <30dBm

I did not test those powers myself for range though so I can't say if it really makes a difference but I don't see why they would advertise 30dbm and only push 20 or 23.

As for the reboot, Heinz actually confirmed that reboot wasn't working from what I read, he said something like reboot then nothing... halt would work though and reboot on stock firmware also worked.

(Last edited by RedVortex on 27 Apr 2016, 05:08)

oh.. interesting. I didn't know it could do 1w. Will try to test when I have time.

About reboot, yes I said "no idea why it won't reboot > referring to v1.1", it does reboot fine on mine (ie v1.0). So I didn't deny your finding I just said its limited to v1.1 HW smile

Probably the remaining issues with the wifi MAC addresses and also the not-fully-reliable initialization of wifi on first boot can be solved by merging with the improved handling of the ath10k calibration data that @ianchi is working on for the EA8500.

I had hoped to have at least the initial c2600 support merged into trunk before doing that, since otherwise this becomes a moving target.

ianchi wrote:

I started using tha same method to extract caldata.
And it also worked for extraction in EA8500.
But the problem I found was when you tried to change the MAC address as that method doesn't recalculate the checksum for the new data accordingly. Then on boot the driver would complain and ended with a crash.
Thus the new package, it adds the checksum recalc.

Today I corrected the place where the script was being called, as previously it was called after the driver loaded, so on first boot it didn't have caldata and so no wifi (on reboot it had the files from previous boot, so eventually it worked).

What specific problem are you having with wifi MAC address? (I haven't followed c2600's thread)

By the way, today I did the first try submitting the patches for inclusion in Trunk.

darryl wrote:

OK thanks guys.  I'll start with the above and go from there.  Thanks for the prompt replies!

I'm used to the process of submitting patches and it can be overly time consuming. tongue


Thanks for submitting the patches!
Hopefully they will be accepted soon.

Maybe I missed it, but did you include the v1.1 patch
in the submitted patches?


Regards,

thargoid

@thargoid0815

No the patch set I submitted included only bendavid's work.

I have a patch which adds the new flash chip used in v1.1 hardware but haven't submitted it.  I will do that later today.

Heinz wrote:

I can test kernel 4.4.

http://benz.host.sk/c2600/heinz/openwrt … actory.bin
http://benz.host.sk/c2600/heinz/openwrt … pgrade.bin
Heinz, those are with 4.1, there's no ipq806x patchset for any newer kernel.
Thanks smile

I read through some older posts in this thread, I hope people submitting patches are using git's send-email? This will automate all the "strict rules" for naming/format/etc that openwrt requires
https://www.kernel.org/pub/software/scm … email.html

smile

Hi. Flash not supported. Add v1.1 patch.

[    0.970737] m25p80 spi32766.0: unrecognized JEDEC id bytes: c2, 25, 39

upgrade firmware...
true
reboot...
[  205.502374] INFO167B:  tcpconnecter accept error : -512
[  205.502811] kc  136 : dbgd accept fail : -512
[  205.502842] kc  162 : dbgd server close  dde16c00
[  205.502842] kc  167 : dbgd run_telnetDBGDServer end
[  205.502936] kc  209 : dbgd acktelnetDBGDServer thread exit time 1420099388
[  205.503030] INFO1614: udpAnnounce thread exit
[  205.533770] INFO16A2: tcpConnector thread exit
[  207.496188] Restarting system.
[  207.498250] Going down for restart now


U-Boot 2012.07 [Standard IPQ806X.LN,unknown] (Aug 28 2015 - 19:57:21)

smem ram ptable found: ver: 0 len: 5
DRAM:  491 MiB
PCI0 Link Intialized
PCI1 Link Intialized
SF: Detected MX25U25635F with page size 4 KiB, total 32 MiB
  00:01.0     - 17cb:0101 - Bridge device
   01:00.0    - 168c:0040 - Network controller
  02:01.0     - 17cb:0101 - Bridge device
   03:00.0    - 168c:0040 - Network controller
NAND:  ipq_nand: unknown NAND device manufacturer: 0 device: 0
ipq_nand: failed to identify device
SF: Detected MX25U25635F with page size 4 KiB, total 32 MiB
ipq_spi: page_size: 0x100, sector_size: 0x1000, size: 0x2000000
32 MiB
MMC:
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   MAC1 addr:0:3:7f:ba:db:1
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init  done
MAC2 addr:0:3:7f:ba:db:2
eth0, eth1
boot in 2 seconds
FirmwareRecovery: Now doing bootipq
MMC Device 0 not found
MMC Device 0 not found

Loading from nand1, offset 0x1f0000
   Image Name:   ARM OpenWrt Linux-4.1.20
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1893363 Bytes = 1.8 MiB
   Load Address: 42208000
   Entry Point:  42208000
Automatic boot of image at addr 0x44000000 ...
   Image Name:   ARM OpenWrt Linux-4.1.20
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1893363 Bytes = 1.8 MiB
   Load Address: 42208000
   Entry Point:  42208000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
info: "mtdparts" not set
Using machid 0x1260 from environment

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.1.20 (ash@builder) (gcc version 5.3.0 (OpenWrt GCC 5.3.0 r49223) ) #1 SMP PREEMPT Sat Apr 30 16:49:37 UTC 2016
[    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine model: TP-Link Archer C2600
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] PERCPU: Embedded 11 pages/cpu @ddc11000 s12480 r8192 d24384 u45056
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 121920
[    0.000000] Kernel command line:
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 481260K/491520K available (3617K kernel code, 229K rwdata, 1492K rodata, 176K init, 283K bss, 10260K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xde800000 - 0xff000000   ( 520 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xde000000   ( 480 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0208000 - 0xc0705938   (5111 kB)
[    0.000000]       .init : 0xc0706000 - 0xc0732000   ( 176 kB)
[    0.000000]       .data : 0xc0732000 - 0xc076b65c   ( 230 kB)
[    0.000000]        .bss : 0xc076e000 - 0xc07b4e68   ( 284 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[    0.000008] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[    0.000026] Switching to timer-based delay loop, resolution 160ns
[    0.000188] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000214] pid_max: default: 32768 minimum: 301
[    0.000363] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000383] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000983] CPU: Testing write buffer coherency: ok
[    0.001272] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001369] Setting up static identity map for 0x42208280 - 0x422082d8
[    0.084160] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.084284] Brought up 2 CPUs
[    0.084308] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.084321] CPU: All CPU(s) started in SVC mode.
[    0.092859] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.093380] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.093537] pinctrl core: initialized pinctrl subsystem
[    0.095067] NET: Registered protocol family 16
[    0.095331] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.124206] cpuidle: using governor ladder
[    0.155221] cpuidle: using governor menu
[    0.169720] qcom_rpm 108000.rpm: RPM firmware 3.0.16777342
[    0.169828] qcom_rpm 108000.rpm: failed to mark ack irq as wakeup
[    0.169967] qcom_rpm 108000.rpm: failed to mark wakeup irq as wakeup
[    0.198467] pps_core: LinuxPPS API ver. 1 registered
[    0.198488] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.198536] PTP clock support registered
[    0.199714] Switched to clocksource dg_timer
[    0.201709] NET: Registered protocol family 2
[    0.202505] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.202550] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.202607] TCP: Hash tables configured (established 4096 bind 4096)
[    0.202667] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.202698] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.202952] NET: Registered protocol family 1
[    0.204697] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.213679] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.213711] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.217728] io scheduler noop registered
[    0.217756] io scheduler deadline registered (default)
[    0.219072] 1b500000.pci supply vdda not found, using dummy regulator
[    0.219173] 1b500000.pci supply vdda_phy not found, using dummy regulator
[    0.219262] 1b500000.pci supply vdda_refclk not found, using dummy regulator
[    0.249237] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[    0.249266] pci_bus 0000:00: root bus resource [io  0xfe00000-0xfffff] (bus address [0x1fc00000-0xfefffff])
[    0.249287] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff]
[    0.249308] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.250386] PCI: bus0: Fast back to back transfers disabled
[    0.252454] PCI: bus1: Fast back to back transfers disabled
[    0.252777] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.252804] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.252923] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.252949] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.253359] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[    0.253378] pci 0000:01:00.0: Signaling PME through PCIe PME interrupt
[    0.254127] 1b700000.pci supply vdda not found, using dummy regulator
[    0.254224] 1b700000.pci supply vdda_phy not found, using dummy regulator
[    0.254310] 1b700000.pci supply vdda_refclk not found, using dummy regulator
[    0.287892] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[    0.287918] pci_bus 0001:00: root bus resource [io  0x31e10000-0xfffff] (bus address [0x63c00000-0x31eeffff])
[    0.287937] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[    0.287956] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.288629] PCI: bus0: Fast back to back transfers disabled
[    0.290764] PCI: bus1: Fast back to back transfers disabled
[    0.291228] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.291254] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    0.291367] pci 0001:00:00.0: PCI bridge to [bus 01]
[    0.291390] pci 0001:00:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.291755] pcieport 0001:00:00.0: Signaling PME through PCIe PME interrupt
[    0.291773] pci 0001:01:00.0: Signaling PME through PCIe PME interrupt
[    0.295489] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.296804] gsbi 1a200000.gsbi: GSBI port protocol: 3 crci: 0
[    0.297901] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.299104] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.299228] msm_serial 16340000.serial: uartclk = 1843200
[    0.299309] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 166, base_baud = 115200) is a MSM
[    0.299353] msm_serial: console setup on port #0
[    0.957623] console [ttyMSM0] enabled
[    0.962554] msm_serial: driver initialized
[    0.967447] spi_qup 1a280000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[    0.970737] m25p80 spi32766.0: unrecognized JEDEC id bytes: c2, 25, 39
[    0.977684] libphy: Fixed MDIO Bus: probed
[    0.983855] libphy: GPIO Bitbanged MDIO: probed
[    1.012852] switch0: Atheros AR8337 rev. 2 switch registered on gpio-0
[    1.286371] stmmac - user ID: 0x10, Synopsys ID: 0x37
[    1.286401]  Ring mode enabled
[    1.290505]  DMA HW capability register supported
[    1.293355]  Enhanced/Alternate descriptors
[    1.298127]  Enabled extended descriptors
[    1.302196]  RX Checksum Offload Engine supported (type 2)
[    1.306288]  TX Checksum insertion supported
[    1.311778]  Wake-Up On Lan supported
[    1.316162]  Enable RX Mitigation via HW Watchdog Timer
[    1.321426] stmmac - user ID: 0x10, Synopsys ID: 0x37
[    1.324690]  Ring mode enabled
[    1.329893]  DMA HW capability register supported
[    1.332964]  Enhanced/Alternate descriptors
[    1.337620]  Enabled extended descriptors
[    1.341705]  RX Checksum Offload Engine supported (type 2)
[    1.345783]  TX Checksum insertion supported
[    1.351236]  Wake-Up On Lan supported
[    1.355660]  Enable RX Mitigation via HW Watchdog Timer
[    1.360100] i2c /dev entries driver
[    1.365432] Speed bin: 0
[    1.367654] PVS bin: 1
[    1.370875] deviceless supply smb208-s1a not found, using dummy regulator
[    1.374702] L2 @ QSB rate. Forcing new rate.
[    1.379584] L2 @ 384000 KHz
[    1.384038] CPU0 @ 800000 KHz
[    1.386320] CPU1 @ QSB rate. Forcing new rate.
[    1.389532] CPU1 @ 384000 KHz
[    1.395313] NET: Registered protocol family 10
[    1.398386] NET: Registered protocol family 17
[    1.401334] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.405626] 8021q: 802.1Q VLAN Support v1.8
[    1.418556] Registering SWP/SWPB emulation handler
[    1.424675] deviceless supply smb208-s1a not found, using dummy regulator
[    1.427771] hctosys: unable to open rtc device (rtc0)
[    1.449095] UBIFS error (pid: 1): cannot open "ubi0:rootfs", error -19VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    1.454612] Please append a correct "root=" boot option; here are the available partitions:
[    1.460629] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    1.468763] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.1.20 #1
[    1.477087] Hardware name: Qualcomm (Flattened Device Tree)
[    1.482935] [<c021f614>] (unwind_backtrace) from [<c021c340>] (show_stack+0x10/0x14)
[    1.488476] [<c021c340>] (show_stack) from [<c0390198>] (dump_stack+0x88/0x9c)
[    1.496467] [<c0390198>] (dump_stack) from [<c0226e2c>] (panic+0xa8/0x220)
[    1.503501] [<c0226e2c>] (panic) from [<c070722c>] (mount_block_root+0x1a0/0x260)
[    1.510347] [<c070722c>] (mount_block_root) from [<c0707508>] (prepare_namespace+0x160/0x198)
[    1.517900] [<c0707508>] (prepare_namespace) from [<c0706eac>] (kernel_init_freeable+0x1d8/0x1e8)
[    1.526421] [<c0706eac>] (kernel_init_freeable) from [<c020e698>] (kernel_init+0x8/0xfc)
[    1.535263] [<c020e698>] (kernel_init) from [<c0209c28>] (ret_from_fork+0x14/0x2c)
[    1.543425] CPU1: stopping
[    1.550792] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.1.20 #1
[    1.553479] Hardware name: Qualcomm (Flattened Device Tree)
[    1.559332] [<c021f614>] (unwind_backtrace) from [<c021c340>] (show_stack+0x10/0x14)
[    1.564874] [<c021c340>] (show_stack) from [<c0390198>] (dump_stack+0x88/0x9c)
[    1.572860] [<c0390198>] (dump_stack) from [<c021e96c>] (handle_IPI+0xf8/0x18c)
[    1.579889] [<c021e96c>] (handle_IPI) from [<c02093cc>] (gic_handle_irq+0x58/0x5c)
[    1.587091] [<c02093cc>] (gic_handle_irq) from [<c020a480>] (__irq_svc+0x40/0x74)
[    1.594717] Exception stack(0xdd471f78 to 0xdd471fc0)
[    1.602271] 1f60:                                                       00000001 00000000
[    1.607315] 1f80: 00000000 c020b2a0 dd470000 c07344c0 00000000 00000000 00000001 512f04d0
[    1.615474] 1fa0: dd471fc8 c064cf9c 01000000 dd471fc0 c0219d08 c0219d0c 60000013 ffffffff
[    1.623640] [<c020a480>] (__irq_svc) from [<c0219d0c>] (arch_cpu_idle+0x34/0x50)
[    1.631800] [<c0219d0c>] (arch_cpu_idle) from [<c0255fa8>] (cpu_startup_entry+0x2e8/0x310)
[    1.639262] [<c0255fa8>] (cpu_startup_entry) from [<4220946c>] (0x4220946c)
[    1.647330] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

(Last edited by Heinz on 1 May 2016, 08:13)

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.1.20 (ash@builder) (gcc version 5.3.0 (OpenWrt GCC 5.3.0 r49223) ) #1 SMP PREEMPT Sun May 1 09:17:24 UTC 2016
[    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine model: TP-Link Archer C2600
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] PERCPU: Embedded 11 pages/cpu @ddc11000 s12480 r8192 d24384 u45056
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 121920
[    0.000000] Kernel command line:
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 481256K/491520K available (3617K kernel code, 229K rwdata, 1492K rodata, 176K init, 283K bss, 10264K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xde800000 - 0xff000000   ( 520 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xde000000   ( 480 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0208000 - 0xc0705938   (5111 kB)
[    0.000000]       .init : 0xc0706000 - 0xc0732000   ( 176 kB)
[    0.000000]       .data : 0xc0732000 - 0xc076b65c   ( 230 kB)
[    0.000000]        .bss : 0xc076e000 - 0xc07b4e68   ( 284 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[    0.000009] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[    0.000024] Switching to timer-based delay loop, resolution 160ns
[    0.000187] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000212] pid_max: default: 32768 minimum: 301
[    0.000359] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000379] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000984] CPU: Testing write buffer coherency: ok
[    0.001276] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001373] Setting up static identity map for 0x42208280 - 0x422082d8
[    0.084159] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.084277] Brought up 2 CPUs
[    0.084299] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.084313] CPU: All CPU(s) started in SVC mode.
[    0.092840] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.093359] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.093515] pinctrl core: initialized pinctrl subsystem
[    0.095046] NET: Registered protocol family 16
[    0.095311] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.124208] cpuidle: using governor ladder
[    0.155223] cpuidle: using governor menu
[    0.169735] qcom_rpm 108000.rpm: RPM firmware 3.0.16777342
[    0.169843] qcom_rpm 108000.rpm: failed to mark ack irq as wakeup
[    0.169980] qcom_rpm 108000.rpm: failed to mark wakeup irq as wakeup
[    0.198448] pps_core: LinuxPPS API ver. 1 registered
[    0.198467] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.198515] PTP clock support registered
[    0.199691] Switched to clocksource dg_timer
[    0.201673] NET: Registered protocol family 2
[    0.202473] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.202518] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.202573] TCP: Hash tables configured (established 4096 bind 4096)
[    0.202633] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.202664] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.202916] NET: Registered protocol family 1
[    0.204665] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.213649] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.213678] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.217670] io scheduler noop registered
[    0.217696] io scheduler deadline registered (default)
[    0.219027] 1b500000.pci supply vdda not found, using dummy regulator
[    0.219129] 1b500000.pci supply vdda_phy not found, using dummy regulator
[    0.219219] 1b500000.pci supply vdda_refclk not found, using dummy regulator
[    0.249200] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[    0.249230] pci_bus 0000:00: root bus resource [io  0xfe00000-0xfffff] (bus address [0x1fc00000-0xfefffff])
[    0.249251] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff]
[    0.249272] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.250359] PCI: bus0: Fast back to back transfers disabled
[    0.252427] PCI: bus1: Fast back to back transfers disabled
[    0.252749] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.252776] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.252893] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.252921] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.253329] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[    0.253349] pci 0000:01:00.0: Signaling PME through PCIe PME interrupt
[    0.254107] 1b700000.pci supply vdda not found, using dummy regulator
[    0.254205] 1b700000.pci supply vdda_phy not found, using dummy regulator
[    0.254292] 1b700000.pci supply vdda_refclk not found, using dummy regulator
[    0.287858] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[    0.287883] pci_bus 0001:00: root bus resource [io  0x31e10000-0xfffff] (bus address [0x63c00000-0x31eeffff])
[    0.287902] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[    0.287923] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.288594] PCI: bus0: Fast back to back transfers disabled
[    0.290736] PCI: bus1: Fast back to back transfers disabled
[    0.291195] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.291221] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    0.291335] pci 0001:00:00.0: PCI bridge to [bus 01]
[    0.291358] pci 0001:00:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.291726] pcieport 0001:00:00.0: Signaling PME through PCIe PME interrupt
[    0.291744] pci 0001:01:00.0: Signaling PME through PCIe PME interrupt
[    0.295448] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.296765] gsbi 1a200000.gsbi: GSBI port protocol: 3 crci: 0
[    0.297865] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.299062] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.299188] msm_serial 16340000.serial: uartclk = 1843200
[    0.299272] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 166, base_baud = 115200) is a MSM
[    0.299316] msm_serial: console setup on port #0
[    0.957500] console [ttyMSM0] enabled
[    0.962431] msm_serial: driver initialized
[    0.967332] spi_qup 1a280000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[    0.970580] m25p80 spi32766.0: found mx25u25635f, expected s25fl256s1
[    0.976957] m25p80 spi32766.0: mx25u25635f (32768 Kbytes)
[    0.983470] 25 ofpart partitions found on MTD device spi32766.0
[    0.988539] Creating 25 MTD partitions on "spi32766.0":
[    0.994357] 0x000000000000-0x000000020000 : "SBL1"
[    1.000743] 0x000000020000-0x000000040000 : "MIBIB"
[    1.005396] 0x000000040000-0x000000060000 : "SBL2"
[    1.010298] 0x000000060000-0x000000090000 : "SBL3"
[    1.015079] 0x000000090000-0x0000000a0000 : "DDRCONFIG"
[    1.019857] 0x0000000a0000-0x0000000b0000 : "SSD"
[    1.025083] 0x0000000b0000-0x0000000e0000 : "TZ"
[    1.029828] 0x0000000e0000-0x000000100000 : "RPM"
[    1.034607] 0x000000100000-0x000000170000 : "fs-uboot"
[    1.039117] 0x000000170000-0x0000001b0000 : "uboot-env"
[    1.044246] 0x0000001b0000-0x0000001f0000 : "radio"
[    1.049252] 0x0000001f0000-0x0000003f0000 : "os-image"
[    1.054268] 0x0000003f0000-0x000001ef0000 : "rootfs"
[    1.059313] mtd: device 12 (rootfs) set to be root filesystem
[    1.063715] 1 squashfs-split partitions found on MTD device rootfs
[    1.069013] 0x000000680000-0x000001ef0000 : "rootfs_data"
[    1.076308] 0x000001ef0000-0x000001ef0200 : "default-mac"
[    1.081743] 0x000001ef0200-0x000001ef0400 : "pin"
[    1.087036] 0x000001ef0400-0x000001f00000 : "product-info"
[    1.091812] 0x000001f00000-0x000001f10000 : "partition-table"
[    1.097083] 0x000001f10000-0x000001f20000 : "soft-version"
[    1.102989] 0x000001f20000-0x000001f30000 : "support-list"
[    1.108281] 0x000001f30000-0x000001f40000 : "profile"
[    1.113842] 0x000001f40000-0x000001f50000 : "default-config"
[    1.118890] 0x000001f50000-0x000001f90000 : "user-config"
[    1.124726] 0x000001f90000-0x000001fd0000 : "qos-db"
[    1.129914] 0x000001fd0000-0x000001fe0000 : "usb-config"
[    1.134976] 0x000001fe0000-0x000002000000 : "log"
[    1.141225] libphy: Fixed MDIO Bus: probed
[    1.144290] libphy: GPIO Bitbanged MDIO: probed
[    1.172863] switch0: Atheros AR8337 rev. 2 switch registered on gpio-0
[    1.444111] stmmac - user ID: 0x10, Synopsys ID: 0x37
[    1.444141]  Ring mode enabled
[    1.448138]  DMA HW capability register supported
[    1.451181]  Enhanced/Alternate descriptors
[    1.455865]  Enabled extended descriptors
[    1.459860]  RX Checksum Offload Engine supported (type 2)
[    1.464110]  TX Checksum insertion supported
[    1.469405]  Wake-Up On Lan supported
[    1.474022]  Enable RX Mitigation via HW Watchdog Timer
[    1.479209] stmmac - user ID: 0x10, Synopsys ID: 0x37
[    1.482539]  Ring mode enabled
[    1.487632]  DMA HW capability register supported
[    1.490687]  Enhanced/Alternate descriptors
[    1.495360]  Enabled extended descriptors
[    1.499354]  RX Checksum Offload Engine supported (type 2)
[    1.503592]  TX Checksum insertion supported
[    1.508902]  Wake-Up On Lan supported
[    1.513503]  Enable RX Mitigation via HW Watchdog Timer
[    1.517716] i2c /dev entries driver
[    1.523244] Speed bin: 0
[    1.525393] PVS bin: 1
[    1.528484] deviceless supply smb208-s1a not found, using dummy regulator
[    1.532574] L2 @ QSB rate. Forcing new rate.
[    1.537320] L2 @ 384000 KHz
[    1.541797] CPU0 @ 800000 KHz
[    1.544058] CPU1 @ QSB rate. Forcing new rate.
[    1.547271] CPU1 @ 384000 KHz
[    1.553060] NET: Registered protocol family 10
[    1.556142] NET: Registered protocol family 17
[    1.558979] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.563504] 8021q: 802.1Q VLAN Support v1.8
[    1.576257] Registering SWP/SWPB emulation handler
[    1.582460] deviceless supply smb208-s1a not found, using dummy regulator
[    1.585501] hctosys: unable to open rtc device (rtc0)
[    1.606833] UBIFS error (pid: 1): cannot open "ubi0:rootfs", error -19
[    1.621128] VFS: Mounted root (squashfs filesystem) readonly on device 31:12.
[    1.621467] Freeing unused kernel memory: 176K (c0706000 - c0732000)
[    1.652252] spi_qup 1a280000.spi: OUTPUT_OVER_RUN
[    1.652381] m25p80 spi32766.0: SPI transfer failed: -5
[    1.656008] spi_master spi32766: failed to transfer one message from queue
[    1.661147] blk_update_request: I/O error, dev mtdblock12, sector 322
[    1.667936] SQUASHFS error: squashfs_read_data failed to read block 0x287b6
[    1.674549] SQUASHFS error: Unable to read fragment cache entry [287b6]
[    1.681198] SQUASHFS error: Unable to read page, block 287b6, size 12994
[    1.687732] SQUASHFS error: Unable to read fragment cache entry [287b6]
[    1.694754] SQUASHFS error: Unable to read page, block 287b6, size 12994
[    1.701171] Starting init: /etc/preinit exists but couldn't execute it (error -5)
[    2.685239] m25p80 spi32766.0: SPI transfer failed: -110
[    2.685315] spi_master spi32766: failed to transfer one message from queue
[    2.689644] blk_update_request: I/O error, dev mtdblock12, sector 324
[    2.696935] spi_qup 1a280000.spi: OUTPUT_OVER_RUN
[    3.715903] m25p80 spi32766.0: SPI transfer failed: -110
[    3.716000] spi_master spi32766: failed to transfer one message from queue
[    3.720403] blk_update_request: I/O error, dev mtdblock12, sector 326
[    3.727415] spi_qup 1a280000.spi: OUTPUT_OVER_RUN
[    4.745107] m25p80 spi32766.0: SPI transfer failed: -110
[    4.745207] spi_master spi32766: failed to transfer one message from queue
[    4.749508] blk_update_request: I/O error, dev mtdblock12, sector 328
[    4.756712] spi_qup 1a280000.spi: OUTPUT_OVER_RUN
[    4.762894] spi_qup 1a280000.spi: INPUT_UNDER_RUN
[    4.767534] m25p80 spi32766.0: SPI transfer failed: -5
[    4.772198] spi_master spi32766: failed to transfer one message from queue
[    4.777111] blk_update_request: I/O error, dev mtdblock12, sector 330
[    4.784481] spi_qup 1a280000.spi: OUTPUT_OVER_RUN
[    5.813637] m25p80 spi32766.0: SPI transfer failed: -110
[    5.813733] spi_master spi32766: failed to transfer one message from queue
[    5.818037] blk_update_request: I/O error, dev mtdblock12, sector 332
[    5.825242] spi_qup 1a280000.spi: OUTPUT_OVER_RUN
[    6.849056] m25p80 spi32766.0: SPI transfer failed: -110
[    6.849156] spi_master spi32766: failed to transfer one message from queue
[    6.853553] blk_update_request: I/O error, dev mtdblock12, sector 334
[    6.860660] spi_qup 1a280000.spi: OUTPUT_OVER_RUN
[    7.883506] m25p80 spi32766.0: SPI transfer failed: -110
[    7.883599] spi_master spi32766: failed to transfer one message from queue
[    7.887905] blk_update_request: I/O error, dev mtdblock12, sector 336
[....]
[  146.070616] m25p80 spi32766.0: SPI transfer failed: -110
[  146.070713] spi_master spi32766: failed to transfer one message from queue
[  146.075015] blk_update_request: I/O error, dev mtdblock12, sector 214
[  146.082223] spi_qup 1a280000.spi: OUTPUT_OVER_RUN
[  147.080854] m25p80 spi32766.0: SPI transfer failed: -110
[  147.080951] spi_master spi32766: failed to transfer one message from queue
[  147.085254] blk_update_request: I/O error, dev mtdblock12, sector 2
[  147.092098] SQUASHFS error: squashfs_read_data failed to read block 0x6e
[  147.098263] Starting init: /bin/sh exists but couldn't execute it (error -5)
[  147.105250] Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[  147.112092] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.1.20 #1
[  147.125001] Hardware name: Qualcomm (Flattened Device Tree)
[  147.130866] [<c021f614>] (unwind_backtrace) from [<c021c340>] (show_stack+0x10/0x14)
[  147.136398] [<c021c340>] (show_stack) from [<c0390198>] (dump_stack+0x88/0x9c)
[  147.144388] [<c0390198>] (dump_stack) from [<c0226e2c>] (panic+0xa8/0x220)
[  147.151427] [<c0226e2c>] (panic) from [<c020e784>] (kernel_init+0xf4/0xfc)
[  147.158269] [<c020e784>] (kernel_init) from [<c0209c28>] (ret_from_fork+0x14/0x2c)
[  147.165124] CPU0: stopping
[  147.172649] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.1.20 #1
[  147.175340] Hardware name: Qualcomm (Flattened Device Tree)
[  147.181174] [<c021f614>] (unwind_backtrace) from [<c021c340>] (show_stack+0x10/0x14)
[  147.186725] [<c021c340>] (show_stack) from [<c0390198>] (dump_stack+0x88/0x9c)
[  147.194710] [<c0390198>] (dump_stack) from [<c021e96c>] (handle_IPI+0xf8/0x18c)
[  147.201743] [<c021e96c>] (handle_IPI) from [<c02093cc>] (gic_handle_irq+0x58/0x5c)
[  147.208947] [<c02093cc>] (gic_handle_irq) from [<c020a480>] (__irq_svc+0x40/0x74)
[  147.216578] Exception stack(0xc0733f40 to 0xc0733f88)
[  147.224134] 3f40: 00000001 00000000 00000000 c020b2a0 c0732000 c07344c0 00000000 00000000
[  147.229171] 3f60: 00000001 c0729530 c0733f90 c064cf9c 01000000 c0733f88 c0219d08 c0219d0c
[  147.237325] 3f80: 60000013 ffffffff
[  147.245487] [<c020a480>] (__irq_svc) from [<c0219d0c>] (arch_cpu_idle+0x34/0x50)
[  147.248793] [<c0219d0c>] (arch_cpu_idle) from [<c0255fa8>] (cpu_startup_entry+0x2e8/0x310)
[  147.256445] [<c0255fa8>] (cpu_startup_entry) from [<c0706cc8>] (start_kernel+0x3e0/0x3ec)
[  147.264520] ---[ end Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.

I reckon this is due to two patches missing in 4.x (found in patches/platform in ipq806x-kernel 3.x), these:
002-v3-spi-qup-Fix-incorrect-block-transfers.patch
003-spi-qup-Ensure-done-detection.patch

An additional patch (001-spi-qup-Add-DMA-capabilities.patch) seems to have been upstreamed in 4.x kernels already.

The target file (spi-qup.c) has many changes between 3.x and 4.x, I tried applying the patches manually but couldn't after about an hour..

Should I contact the original author? Seems to be a QCA employee.
Or perhaps one of you can attempt porting the patch?

Just wanted to say I am very much looking forward to getting OpenWRT on my C2600. I am hoping I will somehow be able to implement LACP in it as right now the ethernet port seems to be the bottleneck. My PC alone is getting ~900Mb to fileshares on my NAS over wireless which is great for the wireless side of things but with only one port going out to my network its a bit of a pain and is causing issues sharing with all the other wireless devices in the house.

I'm not sure if the underlying switch chip (QCA8337) supports this or not.  If so, it should be possible to implement at least in principle.

From the description of your issue I assume that you already have a separate switch with LACP support.

Since the CPU has two independent gigabit links to the switch, another thing you could try is to configure two switch ports on separate untagged vlans connected to independent cpu links.  (You might need to vlan tag on the CPU side if you want to keep the wan functionality working at the same time).  Then you could add both interfaces to the br-lan device and try to set up LACP within the kernel bridge.  Not sure how much cpu load this would imply or whether 2gbps throughput is possible in that case.

It's also not clear how much of a difference this would really make, given that the throughput of 802.11ac isn't going to be much more than a gigabit even in really ideal conditions.

I'm still having stability issues. I used darryl's patches on current trunk and if I have ipsec traffic via strongswan with about 25mbit/s (my internet connection isn't faster) after at least 5 minutes the router restarts while cpu load is still quite low. Anyone an idea how to track down what's happening there? Unfortunetly I have no serial console up and running.

Maybe someone else can try to reproduce this? Even though I have two v1.0 devices here which behave exactly the same.

(Last edited by derpat on 7 May 2016, 12:37)

derpat wrote:

Anyone an idea how to track down what's happening there? Unfortunetly I have no serial console up and running.

One thing you can try is enable remote logging.  You will require another computer/virtual machine running with syslog configured to accept external connections.

For example, add the following to a Linux host running rsyslog:

# /etc/rsyslog.conf

# Provides UDP syslog reception
$ModLoad imudp
$UDPServerRun 514

Restart the rsyslog daemon and then on your archer-c2600, add the following to "config system":

# /etc/config/system

option log_ip '192.168.242.1'

Not sure if you need to restart the router, but if you don't see any messages being logged, restart it.  Now when the router crashes, there *might* be something logged.  Depending on how it panics, you may not see anything at all, in which case you'd need a serial connection.

Hello All,

I assume you all know by now than some/many devs have created a new fork/project.
They have also merged the C2600 patches in their trunk.

What is the view/opinion of our C2600 devs for this new fork?
I am worried that instead of having a slow moving project we will en up with 2 VERY VERY SLOW moving projects.
Big companies are consolidating/merging to save resources and OSS project are splitting.

One of the stated motivations of the LEDE team in creating the fork as far as I understand is that they felt too few people had commit access to openwrt svn, and that this was slowing down the handling of (in particular community-submitted) patches to an unacceptable level.

The C2600 patches are probably a concrete example of this.  (Ok, to be fair for the initial round of submissions I was also slow iterating on requested changes and don't much like email-based patch submission.)

Where do you see the C2600 patches merged in lede trunk though?  So far as far as I can tell they have been submitted to the lede-dev list by Ash Benz, and there is currently some iterating on minor changes.  (ok, this is already a much faster response than on the openwrt list, so good sign for that at least.)

As for whether one prefers a big consolidated company or smaller independent ones, well that depends on how the big consolidated company is run smile

As I don't have insights of how thing are run at the OpenWRT project so I just wanted your feedback.
And I do agree that it all depends on how things are run. And your answer I believe sheds some light on the issues.

But there is also the saying "Divide and conquer" and the ones that get divided are the ones that loose power.
And in our case both projects are now weaker.
I am wishing to both project the best of luck and hope they both pick up steam.
But I still believe that the more mature thing would be to solve the differences.
And I mean talking and not sword fights with people screaming "There can be only one".

An I know realize that I probably shouldn't be posting my thoughts about this issue in this thread ...
So let me make my post more relevant smile

Thank you for your great job bendavid ... this thread is the reason I decided to buy the C2600.
Thank you to also to the other devs that are helping out.
I wish I had the knowledge and time to help out myself.

Hi,

Having some fun with this router, but I have a few questions.

First, I can't seem to get it into failsafe mode.  The LEDs do not show any sort of useful blink patterns, so I tried the packet capture approach "tcpdump -Ani eth0 port 4919 and udp".  There are no such packets.

I've had success with this on other router models, so I don't know what's up with this one.  Any ideas?

Also, the buttons show no evidence of working.  Nothing shows up in dmesg.  Is there some other way to test this?

Thanks,

Charles
TP-Link Archer C2600 v1.1, r49166 with updates (r49324 is displayed)

(Last edited by cthulhu5000 on 12 May 2016, 14:37)

cthulhu5000 wrote:

Hi,

Having some fun with this router, but I have a few questions.

First, I can't seem to get it into failsafe mode.  The LEDs do not show any sort of useful blink patterns, so I tried the packet capture approach "tcpdump -Ani eth0 port 4919 and udp".  There are no such packets.

I've had success with this on other router models, so I don't know what's up with this one.  Any ideas?

Also, the buttons show no evidence of working.  Nothing shows up in dmesg.  Is there some other way to test this?

Thanks,

Charles
TP-Link Archer C2600 v1.1, r49166 with updates (r49324 is displayed)

If you had read through the recent pages, you'd see that the known issues are the LEDs don't work, and neither do the HW buttons. (along with default Wireless MACs).