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.

james04 wrote:

Hey all

Since no one replied, I take it the v1.1 firmware linked above still doesn't reboot the router?

Someone with v1.1 hardware pls let us know if reboot works or not..

I think I might go ahead and buy v1.1 next week and test for myself.. hope the devs will follow up and continue working on a fix though (if not already fixed).

If you do, consider buying a level shifter to solder in so that you can get a working console. I bet that would give a clue to what is going on.

jmomo wrote:

If you do, consider buying a level shifter to solder in so that you can get a working console. I bet that would give a clue to what is going on.

Actually @Heinz has console access and it didn't give any clue on what the problem is, there was simply nothing showing up on the console.

I read in a post somewhere (need to find it out again) that someone had a similar hardware and the problem was caused by something in the wireless hardware. It could be interesting to actually turn off all wireless and ideally unload the modules (if possible) and try a reboot. This may help isolate the issue if the wireless is indeed causing some locking issue during reboot.

Or maybe even make a build without wireless at all and see what happens during reboot.

Then again, the only thing that seems different between 1.0 and 1.1 is the flash so that'd be weird that it works.

Anyways, this is just a shot in the dark since we have no idea what's going on really regarding this reboot issue.

(Last edited by RedVortex on 30 Sep 2016, 13:41)

Hi,

Sorry for late reply. For people asking about the link I posted earlier, here's what I did.

Look at the flash definition here (cant post links, paste into browser):
git.lede-project.org/?p=source.git;a=blob;f=target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts;h=96c5c5d94e89959a5b026a495de3e0e77f39b4b6;hb=HEAD

Namely:

 112                         spi4: spi@1a280000 {
 113                                 status = "ok";
 114                                 spi-max-frequency = <50000000>;
 115 
 116                                 pinctrl-0 = <&spi_pins>;
 117                                 pinctrl-names = "default";
 118 
 119                                 cs-gpios = <&qcom_pinmux 20 0>;
 120 
 121                                 flash: m25p80@0 {
 122                                         compatible = "s25fl256s1";
 123                                         #address-cells = <1>;
 124                                         #size-cells = <1>;
 125                                         spi-max-frequency = <50000000>;
 126                                         reg = <0>;

Since 1.1 works with this (even though the parameters are wrong for the macronix chip), I think it might be because of this that reboot fails (assuming 1.1 is identical apart from flash chip, as indicated by a few users in this thread).
In the build I linked earlier I tried adjusting some of those values, I found out later a datasheet:
macronix.com/Lists/Datasheet/Attachments/3601/MX25U25635F,%201.8V,%20256Mb,%20v1.4.pdf

But haven't had a chance to go through it and try again with another build.
I'm not certain, but since everyone is shooting darts in the dark, I figured I'd jump in. Have a go at it. Will try it again during the weekend.

Hi @ash
I tested Your build. Here is bootlog:

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 LEDE Linux-4.4.21
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2015866 Bytes = 1.9 MiB
   Load Address: 42208000
   Entry Point:  42208000
Automatic boot of image at addr 0x44000000 ...
   Image Name:   ARM LEDE Linux-4.4.21
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2015866 Bytes = 1.9 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.4.21 (ash@hurria) (gcc version 5.4.0 (LEDE GCC 5.4.0 r1659) ) #0 SMP PREEMPT Sun Sep 25 21:26:42 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 @ddc10000 s14912 r8192 d21952 u45056
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 121920
[    0.000000] Kernel command line:
[    0.000000] Bootloader command line (ignored): console=ttyHSL1,115200n8 root=mtd:rootfs rootfstype=squashfs
[    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: 480660K/491520K available (4102K kernel code, 240K rwdata, 1564K rodata, 196K init, 287K bss, 10860K 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 - 0xff800000   ( 528 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 - 0xc0790bc0   (5667 kB)
[    0.000000]       .init : 0xc0791000 - 0xc07c2000   ( 196 kB)
[    0.000000]       .data : 0xc07c2000 - 0xc07fe1f8   ( 241 kB)
[    0.000000]        .bss : 0xc0801000 - 0xc0848f34   ( 288 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.000025] Switching to timer-based delay loop, resolution 160ns
[    0.000202] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000223] pid_max: default: 32768 minimum: 301
[    0.000361] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000379] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001053] CPU: Testing write buffer coherency: ok
[    0.001371] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001483] Setting up static identity map for 0x42208280 - 0x422082d8
[    0.094467] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.094630] Brought up 2 CPUs
[    0.094655] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.094668] CPU: All CPU(s) started in SVC mode.
[    0.103875] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.104322] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.104493] pinctrl core: initialized pinctrl subsystem
[    0.106056] NET: Registered protocol family 16
[    0.106337] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.134898] cpuidle: using governor ladder
[    0.165913] cpuidle: using governor menu
[    0.181223] qcom_rpm 108000.rpm: RPM firmware 3.0.16777342
[    0.230144] pps_core: LinuxPPS API ver. 1 registered
[    0.230162] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.230214] PTP clock support registered
[    0.231432] clocksource: Switched to clocksource dg_timer
[    0.233439] NET: Registered protocol family 2
[    0.234248] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.234294] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.234352] TCP: Hash tables configured (established 4096 bind 4096)
[    0.234411] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.234440] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.234688] NET: Registered protocol family 1
[    0.236499] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.236632] No memory allocated for crashlog
[    0.245329] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.245363] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.248414] io scheduler noop registered
[    0.248440] io scheduler deadline registered (default)
[    0.249958] 1b500000.pci supply vdda not found, using dummy regulator
[    0.250069] 1b500000.pci supply vdda_phy not found, using dummy regulator
[    0.250164] 1b500000.pci supply vdda_refclk not found, using dummy regulator
[    0.250652] PCI host bridge /soc/pci@1b500000 ranges:
[    0.250697]    IO 0x0fe00000..0x0fefffff -> 0x0fe00000
[    0.250724]   MEM 0x08000000..0x0fdfffff -> 0x08000000
[    0.279981] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[    0.280009] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.280032] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfe00000-0xfefffff])
[    0.280049] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff]
[    0.280795] PCI: bus0: Fast back to back transfers disabled
[    0.283200] PCI: bus1: Fast back to back transfers disabled
[    0.283520] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.283548] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.283669] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.283694] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.284118] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[    0.284138] pci 0000:01:00.0: Signaling PME through PCIe PME interrupt
[    0.284855] 1b700000.pci supply vdda not found, using dummy regulator
[    0.284959] 1b700000.pci supply vdda_phy not found, using dummy regulator
[    0.285065] 1b700000.pci supply vdda_refclk not found, using dummy regulator
[    0.285534] PCI host bridge /soc/pci@1b700000 ranges:
[    0.285573]    IO 0x31e00000..0x31efffff -> 0x31e00000
[    0.285598]   MEM 0x2e000000..0x31dfffff -> 0x2e000000
[    0.314166] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[    0.314191] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.314208] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[    0.314886] PCI: bus0: Fast back to back transfers disabled
[    0.317025] PCI: bus1: Fast back to back transfers disabled
[    0.317473] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.317499] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    0.317614] pci 0001:00:00.0: PCI bridge to [bus 01]
[    0.317636] pci 0001:00:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.318015] pcieport 0001:00:00.0: Signaling PME through PCIe PME interrupt
[    0.318033] pci 0001:01:00.0: Signaling PME through PCIe PME interrupt
[    0.321650] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.323063] gsbi 1a200000.gsbi: GSBI port protocol: 3 crci: 0
[    0.324157] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.325323] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.325445] msm_serial 16340000.serial: uartclk = 1843200
[    0.325522] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 166, base_baud = 115200) is a MSM
[    0.325570] msm_serial: console setup on port #0
[    1.006240] console [ttyMSM0] enabled
[    1.011064] msm_serial: driver initialized
[    1.016166] spi_qup 1a280000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[    1.020278] libphy: Fixed MDIO Bus: probed
[    1.026092] libphy: GPIO Bitbanged MDIO: probed
[    1.054486] switch0: Atheros AR8337 rev. 2 switch registered on gpio-0
[    1.324016] stmmac - user ID: 0x10, Synopsys ID: 0x37
[    1.324044]  Ring mode enabled
[    1.328044]  DMA HW capability register supported
[    1.330995]  Enhanced/Alternate descriptors
[    1.335770]  Enabled extended descriptors
[    1.339762]  RX Checksum Offload Engine supported (type 2)
[    1.344024]  TX Checksum insertion supported
[    1.349309]  Wake-Up On Lan supported
[    1.353912]  Enable RX Mitigation via HW Watchdog Timer
[    1.358977] stmmac - user ID: 0x10, Synopsys ID: 0x37
[    1.362428]  Ring mode enabled
[    1.367538]  DMA HW capability register supported
[    1.370492]  Enhanced/Alternate descriptors
[    1.375264]  Enabled extended descriptors
[    1.379259]  RX Checksum Offload Engine supported (type 2)
[    1.383508]  TX Checksum insertion supported
[    1.388806]  Wake-Up On Lan supported
[    1.393391]  Enable RX Mitigation via HW Watchdog Timer
[    1.397616] i2c /dev entries driver
[    1.403284] Speed bin: 0
[    1.405298] PVS bin: 1
[    1.410545] L2 @ QSB rate. Forcing new rate.
[    1.410705] L2 @ 384000 KHz
[    1.414931] CPU0 @ 800000 KHz
[    1.417191] CPU1 @ QSB rate. Forcing new rate.
[    1.420399] CPU1 @ 384000 KHz
[    1.426304] NET: Registered protocol family 10
[    1.429336] NET: Registered protocol family 17
[    1.432236] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.436808] 8021q: 802.1Q VLAN Support v1.8
[    1.449428] Registering SWP/SWPB emulation handler
[    1.461789] hctosys: unable to open rtc device (rtc0)
[    1.469197] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    1.469225] Please append a correct "root=" boot option; here are the available partitions:
[    1.475730] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    1.483820] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.4.21 #0
[    1.492144] Hardware name: Qualcomm (Flattened Device Tree)
[    1.497981] [<c02217a0>] (unwind_backtrace) from [<c021e040>] (show_stack+0x14/0x20)
[    1.503534] [<c021e040>] (show_stack) from [<c03c5448>] (dump_stack+0x88/0x9c)
[    1.511516] [<c03c5448>] (dump_stack) from [<c0229a28>] (panic+0xa8/0x224)
[    1.518547] [<c0229a28>] (panic) from [<c079231c>] (mount_block_root+0x19c/0x260)
[    1.525400] [<c079231c>] (mount_block_root) from [<c079262c>] (prepare_namespace+0x160/0x19c)
[    1.532951] [<c079262c>] (prepare_namespace) from [<c0791f34>] (kernel_init_freeable+0x1e8/0x1f8)
[    1.541461] [<c0791f34>] (kernel_init_freeable) from [<c020e944>] (kernel_init+0x14/0x108)
[    1.550315] [<c020e944>] (kernel_init) from [<c0209d38>] (ret_from_fork+0x14/0x3c)
[    1.558474] CPU1: stopping
[    1.566014] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.4.21 #0
[    1.568708] Hardware name: Qualcomm (Flattened Device Tree)
[    1.574530] [<c02217a0>] (unwind_backtrace) from [<c021e040>] (show_stack+0x14/0x20)
[    1.580089] [<c021e040>] (show_stack) from [<c03c5448>] (dump_stack+0x88/0x9c)
[    1.588073] [<c03c5448>] (dump_stack) from [<c0220a68>] (handle_IPI+0x128/0x1e4)
[    1.595104] [<c0220a68>] (handle_IPI) from [<c02094b0>] (gic_handle_irq+0x90/0xbc)
[    1.602655] [<c02094b0>] (gic_handle_irq) from [<c020a614>] (__irq_svc+0x54/0x90)
[    1.610030] Exception stack(0xdd473f88 to 0xdd473fd0)
[    1.617587] 3f80:                   00000001 00000000 00000000 c020b520 dd472000 c07c4480
[    1.622630] 3fa0: c06d0b2c 00000000 00000000 c07be2e4 dd473fe0 c07c4488 ddc1b360 dd473fd8
[    1.630783] 3fc0: c021af1c c021af20 60000013 ffffffff
[    1.638937] [<c020a614>] (__irq_svc) from [<c021af20>] (arch_cpu_idle+0x38/0x5c)
[    1.643980] [<c021af20>] (arch_cpu_idle) from [<c02637d4>] (cpu_startup_entry+0x17c/0x250)
[    1.651442] [<c02637d4>] (cpu_startup_entry) from [<4220956c>] (0x4220956c)
[    1.659515] Rebooting in 1 seconds..
[    3.666705] BUG: scheduling while atomic: swapper/0/1/0x00000002
[    3.666730] Modules linked in:
[    3.674794] Preemption disabled at:[<  (null)>]   (null)
[    3.678182]
[    3.680094] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.4.21 #0
[    3.681747] Hardware name: Qualcomm (Flattened Device Tree)
[    3.687397] [<c02217a0>] (unwind_backtrace) from [<c021e040>] (show_stack+0x14/0x20)
[    3.692955] [<c021e040>] (show_stack) from [<c03c5448>] (dump_stack+0x88/0x9c)
[    3.700949] [<c03c5448>] (dump_stack) from [<c024a288>] (__schedule_bug+0xa8/0xc4)
[    3.707975] [<c024a288>] (__schedule_bug) from [<c02100a0>] (__schedule+0x94/0x490)
[    3.715526] [<c02100a0>] (__schedule) from [<c0210744>] (schedule+0x94/0xbc)
[    3.723078] [<c0210744>] (schedule) from [<c02134b8>] (schedule_timeout+0x1e0/0x220)
[    3.730373] [<c02134b8>] (schedule_timeout) from [<c027d8c0>] (msleep+0x2c/0x48)
[    3.738099] [<c027d8c0>] (msleep) from [<c04cf18c>] (qcom_wdt_restart+0x64/0x74)
[    3.745474] [<c04cf18c>] (qcom_wdt_restart) from [<c0246830>] (notifier_call_chain+0x38/0x90)
[    3.752852] [<c0246830>] (notifier_call_chain) from [<c0246ac8>] (atomic_notifier_call_chain+0x3c/0x5c)
[    3.761274] [<c0246ac8>] (atomic_notifier_call_chain) from [<c021c460>] (machine_restart+0x4c/0x84)
[    3.770475] [<c021c460>] (machine_restart) from [<c0229b34>] (panic+0x1b4/0x224)
[    3.779498] [<c0229b34>] (panic) from [<c079231c>] (mount_block_root+0x19c/0x260)
[    3.787136] [<c079231c>▒

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

without detect flash chip,  kernel panic reboot work OK.

Hi Heinz,

I'm compiling a new image now, will post links shortly. How many posts do I need to make before the forum allows me to paste links? smile

@Heinz

h??p://s000.tinyupload.com/index.php?file_id=56248510002355673760

12f00b09936586d522624f3fa4e6a87f  bin/targets/ipq806x/generic/lede-ipq806x-C2600-squashfs-sysupgrade.bin

nope. Still not working:

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.23 (ash@hurria) (gcc version 5.4.0 (LEDE GCC 5.                                                                                                                     4.0 r1730) ) #0 SMP PREEMPT Fri Sep 30 21:39:28 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 @ddc10000 s14912 r8192 d21952 u4505                                                                                                                     6
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pag                                                                                                                     es: 121920
[    0.000000] Kernel command line:
[    0.000000] Bootloader command line (ignored): console=ttyHSL1,115200n8 root=                                                                                                                     mtd:rootfs rootfstype=squashfs
[    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: 480652K/491520K available (4106K kernel code, 240K rwdata                                                                                                                     , 1568K rodata, 196K init, 287K bss, 10868K reserved, 0K cma-reserved, 0K highme                                                                                                                     m)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xde800000 - 0xff800000   ( 528 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 - 0xc0792c90   (5676 kB)
[    0.000000]       .init : 0xc0793000 - 0xc07c4000   ( 196 kB)
[    0.000000]       .data : 0xc07c4000 - 0xc08003b8   ( 241 kB)
[    0.000000]        .bss : 0xc0803000 - 0xc084afb8   ( 288 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, m                                                                                                                     ax_idle_ns: 305801671480 ns
[    0.000007] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 34359                                                                                                                     7383600ns
[    0.000023] Switching to timer-based delay loop, resolution 160ns
[    0.000202] Calibrating delay loop (skipped), value calculated using timer fr                                                                                                                     equency.. 12.50 BogoMIPS (lpj=62500)
[    0.000226] pid_max: default: 32768 minimum: 301
[    0.000368] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000385] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001064] CPU: Testing write buffer coherency: ok
[    0.001381] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001480] Setting up static identity map for 0x42208280 - 0x422082d8
[    0.094438] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.094606] Brought up 2 CPUs
[    0.094630] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.094642] CPU: All CPU(s) started in SVC mode.
[    0.104355] VFP support v0.3: implementor 51 architecture 64 part 4d variant                                                                                                                      2 rev 0
[    0.104805] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma                                                                                                                     x_idle_ns: 19112604462750000 ns
[    0.104959] pinctrl core: initialized pinctrl subsystem
[    0.106528] NET: Registered protocol family 16
[    0.106803] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.134900] cpuidle: using governor ladder
[    0.165916] cpuidle: using governor menu
[    0.181441] qcom_rpm 108000.rpm: RPM firmware 3.0.16777342
[    0.220136] pps_core: LinuxPPS API ver. 1 registered
[    0.220153] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome                                                                                                                     tti <giometti@linux.it>
[    0.220199] PTP clock support registered
[    0.221518] clocksource: Switched to clocksource dg_timer
[    0.223461] NET: Registered protocol family 2
[    0.224275] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.224320] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.224376] TCP: Hash tables configured (established 4096 bind 4096)
[    0.224434] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.224465] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.224715] NET: Registered protocol family 1
[    0.226584] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.226728] No memory allocated for crashlog
[    0.235503] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.235532] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT                                                                                                                     Y) (c) 2001-2006 Red Hat, Inc.
[    0.238661] io scheduler noop registered
[    0.238693] io scheduler deadline registered (default)
[    0.240226] 1b500000.pci supply vdda not found, using dummy regulator
[    0.240339] 1b500000.pci supply vdda_phy not found, using dummy regulator
[    0.240435] 1b500000.pci supply vdda_refclk not found, using dummy regulator
[    0.240943] PCI host bridge /soc/pci@1b500000 ranges:
[    0.240989]    IO 0x0fe00000..0x0fefffff -> 0x0fe00000
[    0.241017]   MEM 0x08000000..0x0fdfffff -> 0x08000000
[    0.270333] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[    0.270358] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.270378] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus addr                                                                                                                     ess [0xfe00000-0xfefffff])
[    0.270395] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff]
[    0.271144] PCI: bus0: Fast back to back transfers disabled
[    0.273560] PCI: bus1: Fast back to back transfers disabled
[    0.273878] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.273905] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bi                                                                                                                     t]
[    0.274024] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.274048] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.274477] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[    0.274498] pci 0000:01:00.0: Signaling PME through PCIe PME interrupt
[    0.275230] 1b700000.pci supply vdda not found, using dummy regulator
[    0.275336] 1b700000.pci supply vdda_phy not found, using dummy regulator
[    0.275445] 1b700000.pci supply vdda_refclk not found, using dummy regulator
[    0.275926] PCI host bridge /soc/pci@1b700000 ranges:
[    0.275968]    IO 0x31e00000..0x31efffff -> 0x31e00000
[    0.275991]   MEM 0x2e000000..0x31dfffff -> 0x2e000000
[    0.304260] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[    0.304282] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.304298] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[    0.304970] PCI: bus0: Fast back to back transfers disabled
[    0.307117] PCI: bus1: Fast back to back transfers disabled
[    0.307552] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.307577] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bi                                                                                                                     t]
[    0.307690] pci 0001:00:00.0: PCI bridge to [bus 01]
[    0.307712] pci 0001:00:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.308098] pcieport 0001:00:00.0: Signaling PME through PCIe PME interrupt
[    0.308116] pci 0001:01:00.0: Signaling PME through PCIe PME interrupt
[    0.311887] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.313229] gsbi 1a200000.gsbi: GSBI port protocol: 3 crci: 0
[    0.314329] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.315504] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.315623] msm_serial 16340000.serial: uartclk = 1843200
[    0.315696] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 166, base_baud                                                                                                                      = 115200) is a MSM
[    0.315745] msm_serial: console setup on port #0
[    0.996432] console [ttyMSM0] enabled
[    1.001234] msm_serial: driver initialized
[    1.006348] spi_qup 1a280000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[    1.010301] libphy: Fixed MDIO Bus: probed
[    1.016266] libphy: GPIO Bitbanged MDIO: probed
[    1.044457] switch0: Atheros AR8337 rev. 2 switch registered on gpio-0
[    1.313729] stmmac - user ID: 0x10, Synopsys ID: 0x37
[    1.313760]  Ring mode enabled
[    1.317757]  DMA HW capability register supported
[    1.320711]  Enhanced/Alternate descriptors
[    1.325527]  Enabled extended descriptors
[    1.329478]  RX Checksum Offload Engine supported (type 2)
[    1.333796]  TX Checksum insertion supported
[    1.339024]  Wake-Up On Lan supported
[    1.343666]  Enable RX Mitigation via HW Watchdog Timer
[    1.348840] stmmac - user ID: 0x10, Synopsys ID: 0x37
[    1.352194]  Ring mode enabled
[    1.357251]  DMA HW capability register supported
[    1.360205]  Enhanced/Alternate descriptors
[    1.365010]  Enabled extended descriptors
[    1.368972]  RX Checksum Offload Engine supported (type 2)
[    1.373275]  TX Checksum insertion supported
[    1.378522]  Wake-Up On Lan supported
[    1.383144]  Enable RX Mitigation via HW Watchdog Timer
[    1.387321] i2c /dev entries driver
[    1.393031] Speed bin: 0
[    1.395012] PVS bin: 1
[    1.400260] L2 @ QSB rate. Forcing new rate.
[    1.400420] L2 @ 384000 KHz
[    1.404702] CPU0 @ 800000 KHz
[    1.406907] CPU1 @ QSB rate. Forcing new rate.
[    1.410113] CPU1 @ 384000 KHz
[    1.416284] NET: Registered protocol family 10
[    1.419197] NET: Registered protocol family 17
[    1.421995] bridge: automatic filtering via arp/ip/ip6tables has been depreca                                                                                                                     ted. Update your scripts to load br_netfilter if you need this.
[    1.426497] 8021q: 802.1Q VLAN Support v1.8
[    1.439102] Registering SWP/SWPB emulation handler
[    1.462133] hctosys: unable to open rtc device (rtc0)
[    1.469533] VFS: Cannot open root device "(null)" or unknown-block(0,0): erro                                                                                                                     r -6
[    1.469561] Please append a correct "root=" boot option; here are the availab                                                                                                                     le partitions:
[    1.476138] Kernel panic - not syncing: VFS: Unable to mount root fs on unkno                                                                                                                     wn-block(0,0)
[    1.484155] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.4.23 #0
[    1.492482] Hardware name: Qualcomm (Flattened Device Tree)
[    1.498319] [<c0221788>] (unwind_backtrace) from [<c021e028>] (show_stack+0x1                                                                                                                     4/0x20)
[    1.503873] [<c021e028>] (show_stack) from [<c03c54d0>] (dump_stack+0x88/0x9c                                                                                                                     )
[    1.511855] [<c03c54d0>] (dump_stack) from [<c0229a78>] (panic+0xa8/0x224)
[    1.518889] [<c0229a78>] (panic) from [<c079431c>] (mount_block_root+0x19c/0x                                                                                                                     260)
[    1.525739] [<c079431c>] (mount_block_root) from [<c079462c>] (prepare_namesp                                                                                                                     ace+0x160/0x19c)
[    1.533292] [<c079462c>] (prepare_namespace) from [<c0793f34>] (kernel_init_f                                                                                                                     reeable+0x1e8/0x1f8)
[    1.541799] [<c0793f34>] (kernel_init_freeable) from [<c020e92c>] (kernel_ini                                                                                                                     t+0x14/0x108)
[    1.550653] [<c020e92c>] (kernel_init) from [<c0209d38>] (ret_from_fork+0x14/                                                                                                                     0x3c)
[    1.558815] CPU1: stopping
[    1.566350] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.4.23 #0
[    1.569044] Hardware name: Qualcomm (Flattened Device Tree)
[    1.574868] [<c0221788>] (unwind_backtrace) from [<c021e028>] (show_stack+0x1                                                                                                                     4/0x20)
[    1.580425] [<c021e028>] (show_stack) from [<c03c54d0>] (dump_stack+0x88/0x9c                                                                                                                     )
[    1.588410] [<c03c54d0>] (dump_stack) from [<c0220a50>] (handle_IPI+0x128/0x1                                                                                                                     e4)
[    1.595440] [<c0220a50>] (handle_IPI) from [<c02094b0>] (gic_handle_irq+0x90/                                                                                                                     0xbc)
[    1.602992] [<c02094b0>] (gic_handle_irq) from [<c020a614>] (__irq_svc+0x54/0                                                                                                                     x90)
[    1.610368] Exception stack(0xdd473f88 to 0xdd473fd0)
[    1.617924] 3f80:                   00000001 00000000 00000000 c020b520 dd472                                                                                                                     000 c07c6480
[    1.622966] 3fa0: c06d23d0 00000000 00000000 c07c02e4 dd473fe0 c07c6488 de804                                                                                                                     00c dd473fd8
[    1.631120] 3fc0: c021af04 c021af08 60000013 ffffffff
[    1.639273] [<c020a614>] (__irq_svc) from [<c021af08>] (arch_cpu_idle+0x38/0x                                                                                                                     5c)
[    1.644316] [<c021af08>] (arch_cpu_idle) from [<c026382c>] (cpu_startup_entry                                                                                                                     +0x17c/0x250)
[    1.651781] [<c026382c>] (cpu_startup_entry) from [<4220956c>] (0x4220956c)
[    1.659852] Rebooting in 1 seconds..
[    3.666713] BUG: scheduling while atomic: swapper/0/1/0x00000002
[    3.666738] Modules linked in:
[    3.674801] Preemption disabled at:[<  (null)>]   (null)
[    3.678190]
[    3.680100] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.4.23 #0
[    3.681754] Hardware name: Qualcomm (Flattened Device Tree)
[    3.687407] [<c0221788>] (unwind_backtrace) from [<c021e028>] (show_stack+0x1                                                                                                                     4/0x20)
[    3.692963] [<c021e028>] (show_stack) from [<c03c54d0>] (dump_stack+0x88/0x9c                                                                                                                     )
[    3.700956] [<c03c54d0>] (dump_stack) from [<c024a2d8>] (__schedule_bug+0xa8/                                                                                                                     0xc4)
[    3.707984] [<c024a2d8>] (__schedule_bug) from [<c0210088>] (__schedule+0x94/                                                                                                                     0x490)
[    3.715532] [<c0210088>] (__schedule) from [<c021072c>] (schedule+0x94/0xbc)
[    3.723086] [<c021072c>] (schedule) from [<c02134a0>] (schedule_timeout+0x1e0                                                                                                                     /0x220)
[    3.730381] [<c02134a0>] (schedule_timeout) from [<c027d918>] (msleep+0x2c/0x                                                                                                                     48)
[    3.738108] [<c027d918>] (msleep) from [<c04cf13c>] (qcom_wdt_restart+0x64/0x                                                                                                                     74)
[    3.745482] [<c04cf13c>] (qcom_wdt_restart) from [<c0246880>] (notifier_call_                                                                                                                     chain+0x38/0x90)
[    3.752860] [<c0246880>] (notifier_call_chain) from [<c0246b18>] (atomic_noti                                                                                                                     fier_call_chain+0x3c/0x5c)
[    3.761280] [<c0246b18>] (atomic_notifier_call_chain) from [<c021c448>] (mach                                                                                                                     ine_restart+0x4c/0x84)
[    3.770481] [<c021c448>] (machine_restart) from [<c0229b84>] (panic+0x1b4/0x2                                                                                                                     24)
[    3.779508] [<c0229b84>] (panic) from [<c079431c>] (mount_block_root+0x19c/0x                                                                                                                     260)
[    3.787146] [<c079431c>

@Heinz,

Are you on IRC? chat me up there if possible so we can communicate easily.

Here's another build: h??p://s000.tinyupload.com/index.php?file_id=00414054534130857389

Firmware work, but reboot still not work.

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.23 (ash@hurria) (gcc version 5.4.0 (LEDE GCC 5.4.0 r1730) ) #0 SMP PREEMPT Fri Sep 30 21:39:28 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 @ddc10000 s14912 r8192 d21952 u45056
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 121920
[    0.000000] Kernel command line:
[    0.000000] Bootloader command line (ignored): console=ttyHSL1,115200n8 root=mtd:rootfs rootfstype=squashfs
[    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: 480652K/491520K available (4106K kernel code, 240K rwdata, 1568K rodata, 196K init, 287K bss, 10868K 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 - 0xff800000   ( 528 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 - 0xc0792c90   (5676 kB)
[    0.000000]       .init : 0xc0793000 - 0xc07c4000   ( 196 kB)
[    0.000000]       .data : 0xc07c4000 - 0xc08003b8   ( 241 kB)
[    0.000000]        .bss : 0xc0803000 - 0xc084afb8   ( 288 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.000007] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[    0.000023] Switching to timer-based delay loop, resolution 160ns
[    0.000205] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000229] pid_max: default: 32768 minimum: 301
[    0.000370] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000388] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001064] CPU: Testing write buffer coherency: ok
[    0.001382] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001481] Setting up static identity map for 0x42208280 - 0x422082d8
[    0.094376] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.094543] Brought up 2 CPUs
[    0.094567] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.094579] CPU: All CPU(s) started in SVC mode.
[    0.104288] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.104743] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.104893] pinctrl core: initialized pinctrl subsystem
[    0.106464] NET: Registered protocol family 16
[    0.106740] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.134837] cpuidle: using governor ladder
[    0.165853] cpuidle: using governor menu
[    0.181410] qcom_rpm 108000.rpm: RPM firmware 3.0.16777342
[    0.220050] pps_core: LinuxPPS API ver. 1 registered
[    0.220068] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.220113] PTP clock support registered
[    0.221429] clocksource: Switched to clocksource dg_timer
[    0.223376] NET: Registered protocol family 2
[    0.224188] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.224234] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.224289] TCP: Hash tables configured (established 4096 bind 4096)
[    0.224350] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.224381] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.224633] NET: Registered protocol family 1
[    0.226500] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.226643] No memory allocated for crashlog
[    0.235441] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.235471] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.238605] io scheduler noop registered
[    0.238636] io scheduler deadline registered (default)
[    0.240181] 1b500000.pci supply vdda not found, using dummy regulator
[    0.240292] 1b500000.pci supply vdda_phy not found, using dummy regulator
[    0.240388] 1b500000.pci supply vdda_refclk not found, using dummy regulator
[    0.240894] PCI host bridge /soc/pci@1b500000 ranges:
[    0.240938]    IO 0x0fe00000..0x0fefffff -> 0x0fe00000
[    0.240967]   MEM 0x08000000..0x0fdfffff -> 0x08000000
[    0.270273] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[    0.270298] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.270317] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfe00000-0xfefffff])
[    0.270335] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff]
[    0.271087] PCI: bus0: Fast back to back transfers disabled
[    0.273506] PCI: bus1: Fast back to back transfers disabled
[    0.273822] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.273849] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.273968] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.273991] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.274426] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[    0.274444] pci 0000:01:00.0: Signaling PME through PCIe PME interrupt
[    0.275178] 1b700000.pci supply vdda not found, using dummy regulator
[    0.275283] 1b700000.pci supply vdda_phy not found, using dummy regulator
[    0.275392] 1b700000.pci supply vdda_refclk not found, using dummy regulator
[    0.275873] PCI host bridge /soc/pci@1b700000 ranges:
[    0.275916]    IO 0x31e00000..0x31efffff -> 0x31e00000
[    0.275939]   MEM 0x2e000000..0x31dfffff -> 0x2e000000
[    0.304166] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[    0.304189] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.304205] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[    0.304879] PCI: bus0: Fast back to back transfers disabled
[    0.307025] PCI: bus1: Fast back to back transfers disabled
[    0.307463] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.307488] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    0.307601] pci 0001:00:00.0: PCI bridge to [bus 01]
[    0.307623] pci 0001:00:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.308014] pcieport 0001:00:00.0: Signaling PME through PCIe PME interrupt
[    0.308031] pci 0001:01:00.0: Signaling PME through PCIe PME interrupt
[    0.311804] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.313135] gsbi 1a200000.gsbi: GSBI port protocol: 3 crci: 0
[    0.314236] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.315418] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.315537] msm_serial 16340000.serial: uartclk = 1843200
[    0.315610] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 166, base_baud = 115200) is a MSM
[    0.315658] msm_serial: console setup on port #0
[    0.996338] console [ttyMSM0] enabled
[    1.001147] msm_serial: driver initialized
[    1.006266] spi_qup 1a280000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[    1.009907] m25p80 spi32766.0: mx25u25635f (32768 Kbytes)
[    1.015912] 25 ofpart partitions found on MTD device spi32766.0
[    1.020942] Creating 25 MTD partitions on "spi32766.0":
[    1.026751] 0x000000000000-0x000000020000 : "SBL1"
[    1.033591] 0x000000020000-0x000000040000 : "MIBIB"
[    1.038220] 0x000000040000-0x000000060000 : "SBL2"
[    1.042951] 0x000000060000-0x000000090000 : "SBL3"
[    1.047738] 0x000000090000-0x0000000a0000 : "DDRCONFIG"
[    1.052600] 0x0000000a0000-0x0000000b0000 : "SSD"
[    1.068266] 0x0000000b0000-0x0000000e0000 : "TZ"
[    1.080083] 0x0000000e0000-0x000000100000 : "RPM"
[    1.091959] 0x000000100000-0x000000170000 : "fs-uboot"
[    1.103703] 0x000000170000-0x0000001b0000 : "uboot-env"
[    1.115474] 0x0000001b0000-0x0000001f0000 : "radio"
[    1.127259] 0x0000001f0000-0x0000003f0000 : "os-image"
[    1.139068] 0x0000003f0000-0x000001ef0000 : "rootfs"
[    1.150828] mtd: device 12 (rootfs) set to be root filesystem
[    1.151121] 1 squashfs-split partitions found on MTD device rootfs
[    1.155651] 0x000000690000-0x000001ef0000 : "rootfs_data"
[    1.173629] 0x000001ef0000-0x000001ef0200 : "default-mac"
[    1.185472] 0x000001ef0200-0x000001ef0400 : "pin"
[    1.197295] 0x000001ef0400-0x000001f00000 : "product-info"
[    1.209069] 0x000001f00000-0x000001f10000 : "partition-table"
[    1.220829] 0x000001f10000-0x000001f20000 : "soft-version"
[    1.232568] 0x000001f20000-0x000001f30000 : "support-list"
[    1.234076] 0x000001f30000-0x000001f40000 : "profile"
[    1.248760] 0x000001f40000-0x000001f50000 : "default-config"
[    1.260586] 0x000001f50000-0x000001f90000 : "user-config"
[    1.272397] 0x000001f90000-0x000001fd0000 : "qos-db"
[    1.273911] 0x000001fd0000-0x000001fe0000 : "usb-config"
[    1.288184] 0x000001fe0000-0x000002000000 : "log"
[    1.300805] libphy: Fixed MDIO Bus: probed
[    1.301382] libphy: GPIO Bitbanged MDIO: probed
[    1.328762] switch0: Atheros AR8337 rev. 2 switch registered on gpio-0
[    1.593596] stmmac - user ID: 0x10, Synopsys ID: 0x37
[    1.593625]  Ring mode enabled
[    1.597623]  DMA HW capability register supported
[    1.600575]  Enhanced/Alternate descriptors
[    1.605352]  Enabled extended descriptors
[    1.609345]  RX Checksum Offload Engine supported (type 2)
[    1.613594]  TX Checksum insertion supported
[    1.618889]  Wake-Up On Lan supported
[    1.623493]  Enable RX Mitigation via HW Watchdog Timer
[    1.628726] stmmac - user ID: 0x10, Synopsys ID: 0x37
[    1.632002]  Ring mode enabled
[    1.637116]  DMA HW capability register supported
[    1.640074]  Enhanced/Alternate descriptors
[    1.644846]  Enabled extended descriptors
[    1.648840]  RX Checksum Offload Engine supported (type 2)
[    1.653080]  TX Checksum insertion supported
[    1.658387]  Wake-Up On Lan supported
[    1.662970]  Enable RX Mitigation via HW Watchdog Timer
[    1.667170] i2c /dev entries driver
[    1.672869] Speed bin: 0
[    1.674878] PVS bin: 1
[    1.680168] L2 @ QSB rate. Forcing new rate.
[    1.680324] L2 @ 384000 KHz
[    1.684499] CPU0 @ 800000 KHz
[    1.686772] CPU1 @ QSB rate. Forcing new rate.
[    1.689979] CPU1 @ 384000 KHz
[    1.696089] NET: Registered protocol family 10
[    1.698918] NET: Registered protocol family 17
[    1.701806] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.706368] 8021q: 802.1Q VLAN Support v1.8
[    1.719011] Registering SWP/SWPB emulation handler
[    1.731457] hctosys: unable to open rtc device (rtc0)
[    1.744511] VFS: Mounted root (squashfs filesystem) readonly on device 31:12.
[    1.744704] Freeing unused kernel memory: 196K (c0793000 - c07c4000)
[    1.926144] random: nonblocking pool is initialized
[    3.093824] init: Console is alive
[    3.093971] init: - watchdog -
[    4.511243] usbcore: registered new interface driver usbfs
[    4.511316] usbcore: registered new interface driver hub
[    4.515854] usbcore: registered new device driver usb
[    4.525895] SCSI subsystem initialized
[    4.542886] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.543350] ehci-platform: EHCI generic platform driver
[    4.551190] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.554061] ohci-platform: OHCI generic platform driver
[    5.049810] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    5.049859] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    5.054511] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f065 hci version 0x100 quirks 0x00010010
[    5.061904] xhci-hcd xhci-hcd.0.auto: irq 168, io mem 0x11000000
[    5.071064] hub 1-0:1.0: USB hub found
[    5.076816] hub 1-0:1.0: 1 port detected
[    5.080584] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    5.084383] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    5.089683] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.097736] hub 2-0:1.0: USB hub found
[    5.105585] hub 2-0:1.0: 1 port detected
[    5.109419] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    5.113191] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[    5.118581] xhci-hcd xhci-hcd.1.auto: hcc params 0x0228f065 hci version 0x100 quirks 0x00010010
[    5.126080] xhci-hcd xhci-hcd.1.auto: irq 169, io mem 0x10000000
[    5.135225] hub 3-0:1.0: USB hub found
[    5.140926] hub 3-0:1.0: 1 port detected
[    5.144817] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    5.148548] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[    5.153985] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.161974] hub 4-0:1.0: USB hub found
[    5.169742] hub 4-0:1.0: 1 port detected
[    5.183547] init: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    8.122118] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[    8.277497] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[    8.281355] urandom-seed: Seed file not found (/etc/urandom.seed)
[    8.321247] procd: - early -
[    8.321320] procd: - watchdog -
[    8.927981] procd: - ubus -
[    8.980219] procd: - init -
Please press Enter to activate this console.
[    9.088604] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    9.093375] Loading modules backported from Linux version wt-2016-06-20-0-gbc17424
[    9.093401] Backport generated by backports.git backports-20160216-7-g5735958
[    9.137754] ath10k_pci 0000:01:00.0: enabling device (0140 -> 0142)
[    9.138309] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[    9.273791] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:01:00.0.bin failed with error -2
[    9.273822] ath10k_pci 0000:01:00.0: Falling back to user helper
[    9.299625] firmware ath10k!pre-cal-pci-0000:01:00.0.bin: firmware_loading_store: map pages failed
[    9.299867] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/cal-pci-0000:01:00.0.bin failed with error -2
[    9.307579] ath10k_pci 0000:01:00.0: Falling back to user helper
[   13.972856] ath10k_pci 0000:01:00.0: qca99x0 hw2.0 target 0x01000000 chip_id 0x003b01ff sub 168c:0002
[   13.972894] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   13.982589] ath10k_pci 0000:01:00.0: firmware ver 10.4.1.00030-1 api 5 features no-p2p crc32 d2901e01
[   13.989509] ath10k_pci 0000:01:00.0: failed to fetch board data for bus=pci,vendor=168c,device=0040,subsystem-vendor=168c,subsystem-device=0002 from ath10k/QCA99X0/hw2.0/board-2.bin
[   13.998737] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 7e56fd07
[   15.182889] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal file max-sta 512 raw 0 hwcrypto 1
[   15.260045] ath10k_pci 0001:01:00.0: enabling device (0140 -> 0142)
[   15.260608] ath10k_pci 0001:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   15.393216] ath10k_pci 0001:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0001:01:00.0.bin failed with error -2
[   15.393252] ath10k_pci 0001:01:00.0: Falling back to user helper
[   15.419019] firmware ath10k!pre-cal-pci-0001:01:00.0.bin: firmware_loading_store: map pages failed
[   15.419256] ath10k_pci 0001:01:00.0: Direct firmware load for ath10k/cal-pci-0001:01:00.0.bin failed with error -2
[   15.427412] ath10k_pci 0001:01:00.0: Falling back to user helper
[   21.081100] ath10k_pci 0001:01:00.0: qca99x0 hw2.0 target 0x01000000 chip_id 0x003b01ff sub 168c:0002
[   21.081139] ath10k_pci 0001:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   21.091020] ath10k_pci 0001:01:00.0: firmware ver 10.4.1.00030-1 api 5 features no-p2p crc32 d2901e01
[   21.098186] ath10k_pci 0001:01:00.0: failed to fetch board data for bus=pci,vendor=168c,device=0040,subsystem-vendor=168c,subsystem-device=0002 from ath10k/QCA99X0/hw2.0/board-2.bin
[   21.106877] ath10k_pci 0001:01:00.0: board_file api 1 bmi_id N/A crc32 7e56fd07
[   22.291705] ath10k_pci 0001:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal file max-sta 512 raw 0 hwcrypto 1
[   22.360808] ip_tables: (C) 2000-2006 Netfilter Core Team
[   22.364313] nf_conntrack version 0.5.0 (7513 buckets, 30052 max)
[   22.468792] xt_time: kernel timezone is -0000
[   22.472434] PPP generic driver version 2.4.2
[   22.473072] NET: Registered protocol family 24
[   25.409368] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   25.409428] jffs2_build_filesystem(): unlocking the mtd device... done.
[   25.440329] jffs2_build_filesystem(): erasing all blocks after the end marker...
[   25.946176] device eth1 entered promiscuous mode
[   25.948443] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready



BusyBox v1.25.0 () built-in shell (ash)

     _________
    /        /\      _    ___ ___  ___
   /  LE    /  \    | |  | __|   \| __|
  /    DE  /    \   | |__| _|| |) | _|
 /________/  LE  \  |____|___|___/|___|                      lede-project.org
 \        \   DE /
  \    LE  \    /  -----------------------------------------------------------
   \  DE    \  /    Reboot (HEAD, r1730)
    \________\/    -----------------------------------------------------------

=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@lede:/# reboot
root@lede:/# [  378.715568] br-lan: port 2(wlan1) entered disabled state
[  378.715637] br-lan: port 1(eth1) entered disabled state
[  378.728040] device eth1 left promiscuous mode
[  378.728124] br-lan: port 1(eth1) entered disabled state
[  378.737939] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[  378.739419] device wlan1 left promiscuous mode
[  378.742735] br-lan: port 2(wlan1) entered disabled state
[  383.081260] reboot: Restarting system
[  384.081467] ------------[ cut here ]------------
[  384.081499] WARNING: CPU: 0 PID: 66 at kernel/workqueue.c:2013 process_one_work+0x78/0x3e0()
[  384.085147] Modules linked in: pppoe ppp_async iptable_nat pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_raw iptable_mangle iptable_filter ip_tables crc_ccitt ath10k_pci ath10k_core ath mac80211 cfg80211 compat ledtrig_usbdev ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform ehci_hcd sd_mod ahci_platform libahci_platform libahci libata scsi_mod gpio_button_hotplug usbcore nls_base usb_common
[  384.173680] CPU: 0 PID: 66 Comm: kworker/1:2 Not tainted 4.4.23 #0
[  384.173945] Hardware name: Qualcomm (Flattened Device Tree)
[  384.180044] [<c0221788>] (unwind_backtrace) from [<c021e028>] (show_stack+0x14/0x20)
[  384.185509] [<c021e028>] (show_stack) from [<c03c54d0>] (dump_stack+0x88/0x9c)
[  384.193490] [<c03c54d0>] (dump_stack) from [<c0229e3c>] (warn_slowpath_common+0xa4/0xd0)
[  384.200517] [<c0229e3c>] (wa

The log above is the first that doesn't show the mismatched type error I saw in all previous 1.1 logs, it detects the right chip:

[    1.006266] spi_qup 1a280000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[    1.009907] m25p80 spi32766.0: mx25u25635f (32768 Kbytes)
[    1.015912] 25 ofpart partitions found on MTD device spi32766.0
[    1.020942] Creating 25 MTD partitions on "spi32766.0":

I hope the reboot bug is indeed caused by that.. the log above *could* indicate its not related

Keep going guys almost there big_smile

There is an issue on ipq806x boards that I found out: CXO, PXO and watchdog timer clocks are incorrectly set to 25mhz, but correct clocks are CXO - 19,2 MHz, PXO - 27 MHz, WDT - 27 MHz - 32,768 kHz.
This resolves some issues and improves performance by about 8%

dissent wrote:

There is an issue on ipq806x boards that I found out: CXO, PXO and watchdog timer clocks are incorrectly set to 25mhz, but correct clocks are CXO - 19,2 MHz, PXO - 27 MHz, WDT - 27 MHz - 32,768 kHz.
This resolves some issues and improves performance by about 8%

Pls send a PR or patch to LEDE! 8%? yes pls!

Any updates on reboot guys?

I'm more excited for the "make wifi fast" changes that should be coming relatively soon. Of course, then I'll have to ditch stock again and figure out how to make it work well with Android and IPv6. sad

There is an issue on ipq806x boards that I found out: CXO, PXO and watchdog timer clocks are incorrectly set to 25mhz, but correct clocks are CXO - 19,2 MHz, PXO - 27 MHz, WDT - 27 MHz - 32,768 kHz.
This resolves some issues and improves performance by about 8%

Hey @dissend I used Your patch to R7800 and add this to 8064.dtsi Now i have much faster router when it booting and preparing jffs2 file system. Normal takes ~280 sec, now its 210 sec.

Openssl:

root@lede:/# openssl speed sha256
Doing sha256 for 3s on 16 size blocks: 3127420 sha256's in 2.99s
Doing sha256 for 3s on 64 size blocks: 2114860 sha256's in 3.00s
Doing sha256 for 3s on 256 size blocks: 1019274 sha256's in 3.00s
Doing sha256 for 3s on 1024 size blocks: 333124 sha256's in 3.00s
Doing sha256 for 3s on 8192 size blocks: 45754 sha256's in 3.00s
OpenSSL 1.0.2j  26 Sep 2016
built on: reproducible build, date unspecified
options:bn(64,32) rc4(ptr,char) des(idx,cisc,2,long) aes(partial) blowfish(ptr)
compiler: ccache_cc -I. -I.. -I../include  -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -I/mnt/build-dir/lede/arm_cortex-a15_neon-vfpv4/build/sdk/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.15_eabi/usr/include -I/mnt/build-dir/lede/arm_cortex-a15_neon-vfpv4/build/sdk/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.15_eabi/include -I/mnt/build-dir/lede/arm_cortex-a15_neon-vfpv4/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl-1.1.15_eabi/usr/include -I/mnt/build-dir/lede/arm_cortex-a15_neon-vfpv4/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl-1.1.15_eabi/include/fortify -I/mnt/build-dir/lede/arm_cortex-a15_neon-vfpv4/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl-1.1.15_eabi/include -znow -zrelro -DOPENSSL_SMALL_FOOTPRINT -DOPENSSL_NO_ERR -DTERMIOS -Os -pipe -mcpu=cortex-a15 -mfpu=neon-vfpv4 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -iremap /mnt/build-dir/lede/arm_cortex-a15_neon-vfpv4/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.15_eabi/openssl-1.0.2j:openssl-1.0.2j -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -I/mnt/build-dir/lede/arm_cortex-a15_neon-vfpv4/build/sdk/feeds/base/package/libs/openssl/include -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -DBSAES_ASM -DGHASH_ASM
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
sha256           16735.36k    45117.01k    86978.05k   113706.33k   124938.92k
Heinz wrote:

On my C2600v1.1:
root@lede:/# openssl speed sha256

# openssl speed sha256
Doing sha256 for 3s on 16 size blocks: 2956625 sha256's in 2.99s
Doing sha256 for 3s on 64 size blocks: 1946051 sha256's in 3.00s
Doing sha256 for 3s on 256 size blocks: 942628 sha256's in 3.00s
Doing sha256 for 3s on 1024 size blocks: 309156 sha256's in 3.00s
Doing sha256 for 3s on 8192 size blocks: 42525 sha256's in 3.00s
OpenSSL 1.0.2h  3 May 2016
built on: reproducible build, date unspecified
options:bn(64,32) rc4(ptr,char) des(idx,cisc,2,long) aes(partial) blowfish(ptr)
compiler: arm-openwrt-linux-muslgnueabi-gcc -I. -I.. -I../include  -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -I/home/hyniu/2600/source/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.15_eabi/usr/include -I/home/hyniu/2600/source/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.15_eabi/include -I/home/hyniu/2600/source/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl-1.1.15_eabi/usr/include -I/home/hyniu/2600/source/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl-1.1.15_eabi/include/fortify -I/home/hyniu/2600/source/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl-1.1.15_eabi/include -znow -zrelro -DOPENSSL_SMALL_FOOTPRINT -DOPENSSL_NO_ERR -DTERMIOS -Os -pipe -mcpu=cortex-a15 -mfpu=neon-vfpv4 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -iremap /home/hyniu/2600/source/build_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.15_eabi/openssl-1.0.2h:openssl-1.0.2h -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -I/home/hyniu/2600/source/package/libs/openssl/include -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -DBSAES_ASM -DGHASH_ASM
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
sha256           15821.40k    41515.75k    80437.59k   105525.25k   116121.60k

WiFi speed rise from ~430 to 550Mbit/s:

D:\jperf-2.0.2\bin>iperf -c 192.168.1.1
------------------------------------------------------------
Client connecting to 192.168.1.1, TCP port 5001
TCP window size: 64.0 KByte (default)
------------------------------------------------------------
[276] local 192.168.1.148 port 8396 connected with 192.168.1.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[276]  0.0-10.0 sec   657 MBytes   550 Mbits/sec

D:\jperf-2.0.2\bin>iperf -c 192.168.1.1
------------------------------------------------------------
Client connecting to 192.168.1.1, TCP port 5001
TCP window size: 64.0 KByte (default)
------------------------------------------------------------
[276] local 192.168.1.148 port 8397 connected with 192.168.1.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[276]  0.0-10.0 sec   652 MBytes   545 Mbits/sec

D:\jperf-2.0.2\bin>iperf -c 192.168.1.1
------------------------------------------------------------
Client connecting to 192.168.1.1, TCP port 5001
TCP window size: 64.0 KByte (default)
------------------------------------------------------------
[276] local 192.168.1.148 port 8398 connected with 192.168.1.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[276]  0.0-10.0 sec   652 MBytes   545 Mbits/sec

Very nice!
@Heinz: do you have an updated version of your famous firmware available?

I'm starting to getting worried, that's a huge difference, wait for other devs to confirm

Heinz wrote:

Hey @dissend I used Your patch to R7800 and add this to 8064.dtsi Now i have much faster router when it booting and preparing jffs2 file system. Normal takes ~280 sec, now its 210 sec.

What??? 280-210 seconds sounds horrible! Are other C2600 owners seeing similar boot times? What about other ipq806x devices? Is this entirely because of jffs2 assembly time?

My tew827dru takes 32 seconds to fully boot, and that's with five seconds in u-boot, the UBI for NAND, etc.

jmomo wrote:
Heinz wrote:

Hey @dissend I used Your patch to R7800 and add this to 8064.dtsi Now i have much faster router when it booting and preparing jffs2 file system. Normal takes ~280 sec, now its 210 sec.

What??? 280-210 seconds sounds horrible! Are other C2600 owners seeing similar boot times? What about other ipq806x devices? Is this entirely because of jffs2 assembly time?

My tew827dru takes 32 seconds to fully boot, and that's with five seconds in u-boot, the UBI for NAND, etc.

Takes that long on my C2600, easily 5-6x longer than my ar71xx and mvebu devices.

(Last edited by listerwrt on 5 Oct 2016, 00:52)

My C2600 v1.0 takes under 60 seconds to boot (from power down) and less from a simple reboot.

Mine also is under a minute (reboot or cold boot).. Mine is 1.0
Pls state the HW rev when mentioning the reboot times.

Btw I saw discussion between devs in IRC channel regarding reboot issue, they concluded its not related to flash..
Reboot did not work on AP148 on 3.x kernels (reference IPQ806x design from QCA), which a core dev seems to have.. and it had the reboot issue until QCA released the 4.4 patchset which fixed it

They devs don't know what exactly fixed it and it seems its a lot of code to look into to try figure it out..

I hope one of you guys finds it.. or maybe when LTS kernel 4.9 is out QCA release a new patchset.. I hope we wont have to wait that long

Meanwhile, @Heinz, @dissent, please push those changes/pulls/patches/etc lets squeeze all we can outta this! smile

@jmomo i mean first boot after firmware upgrade when preparing filesystem and system led stop blinking.
Normal boot takes 19sec. (Without uboot booting).

Heinz wrote:

@jmomo i mean first boot after firmware upgrade when preparing filesystem and system led stop blinking.
Normal boot takes 19sec. (Without uboot booting).

Okay, that makes much more sense! My bad. I misunderstood.

(Last edited by jmomo on 5 Oct 2016, 09:19)

Erm, what's that jffs preparation stage? I have never met this. The boot time of my device is equal all the time no matter what  upgrade/reflash/flash from stock - around 25 secs full sequence.

Videopac wrote:

Very nice!
@Heinz: do you have an updated version of your famous firmware available?

Dear Heinz,

Can you upload your patch files of your build to ftp too?
Thanks in advance!

Bye, Fifi

Sorry, posts 926 to 925 are missing from our archive.