OpenWrt Forum Archive

Topic: TP-Link TL-WDR3600 (AR9344) overclocking

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

Huh... it took me a lot of work to investigate how clocks for CPU, RAM and AHB are set in TP-Link sources for TL-WDR3600 but I finally found it. It needs more tests (for now, USB sometimes crash and RAM isn't 100% stable) to find the best configuration smile

Please, don't ask me how to do it in kernel... I know how to do it in low level initialization, in U-Boot. I will publish more results and more information in near future.

U-Boot 1.1.4 (May  6 2013 - 02:40:21)

U-boot DB120


DRAM:  128 MB
id read 0x100000ff
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag934x_enet_initialize...
No valid address in Flash. Using fixed address
 wasp  reset mask:c03300
WASP  ----> S17 PHY *
: cfg1 0x7 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
athrs17_reg_init: complete
eth0 up
eth0
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.3.8 (cezary@eko.one.pl) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #67 Sat Apr 27 09:13:45 CEST 2013
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001974c (MIPS 74Kc)
[    0.000000] SoC: Atheros AR9344 rev 2
[    0.000000] Clocks: CPU:800.000MHz, DDR:500.000MHz, AHB:250.000MHz, Ref:40.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00008000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00008000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line:  board=TL-WDR4300 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 126440k/131072k available (2227k kernel code, 4632k reserved, 421k data, 216k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Calibrating delay loop... 398.13 BogoMIPS (lpj=1990656)
[    0.060000] pid_max: default: 32768 minimum: 301
[    0.060000] Mount-cache hash table entries: 512
[    0.070000] NET: Registered protocol family 16
[    0.070000] gpiochip_add: registered GPIOs 0 to 22 on device: ath79
[    0.080000] MIPS: machine is TP-LINK TL-WDR3600/4300/4310

http://www.tech-blog.pl/wordpress/wp-content/uploads/2013/05/tp-link_tl-wdr3600_overclocking.jpg

Awesome! Looking forward to the updates!

OK, first day of tests and some results. I'm going to make more test in next days.

Stable configurations (tested with "stress", "memtester" and USB - upload and download 1 GB file and 1 GB packet files by FTP):

CPU/RAM/AHB [MHz]:
600/450/225
700/450/225
750/450/225
780/450/225
780/480/240

Everything is working at these frequencies, WAN, LAN, 2,4 and 5,0 GHz radios, and of course USB.

Here are some benchmark results (thanks to obsy from our forum for that):

mem  pi     e   float  Device CPU CPU Freq
2.8s  8.1s  8.0s 0.5s  TP-Link TL-WR1043ND Atheros AR9132 rev 2 400MHz
1.8s  4.8s  4.7s 0.4s  Ubiquiti RouterStation PRO Atheros AR7161 rev 2@720MHz
2.1s  5.3s  4.4s 0.3s  TP-Link TL-WDR3600  Atheros AR9344 rev 2 560MHz
1.7s  3.9s  3.2s 0.2s  TP-Link TL-WDR3600  Atheros AR9344 rev 2 CPU:780.000MHz, DDR:480.000MHz, AHB:240.000MHz

(Last edited by pepe2k on 6 May 2013, 23:08)

Is it possible for you to investigate overclocking AR9132?

alphasparc wrote:

Is it possible for you to investigate overclocking AR9132?

I already did it, but I didn't have time to post about it.

pepe2k wrote:
alphasparc wrote:

Is it possible for you to investigate overclocking AR9132?

I already did it, but I didn't have time to post about it.


hi is there any news about your new uboot for WDR3600? you have done an awesome job for wr703

kuaner wrote:

hi is there any news about your new uboot for WDR3600? you have done an awesome job for wr703

I'm still working on it.

Hi pepe2k thanks for the great work so far!
What is the stable overclock for AR9132?

alphasparc wrote:

What is the stable overclock for AR9132?

I don't know, I haven't made stability tests yet. I found how to change frequencies only smile

I've got some overclocked uboots from Chinese websites.But it is not working in trunk and lately AA for 6 month.Have you mod the kernel to accept uboot overclocking?

(Last edited by ranfish on 25 May 2013, 02:55)

ranfish wrote:

I've got some overclocked uboots from Chinese websites.But it is not working in trunk and lately AA for 6 month.Have you mod the kernel to accept uboot overclocking?

I don't understand. There is no need to modifying anything more than U-Boot code if you want to change CPU/RAM/AHB frequencies...

Hi,

I am all very very new to this but i have had this router for 2 months now and would love to overclock it if it helps things. How do i got about flashing it with WRT and the max OC?

nice information for users plz keep it up.

How is the overclock affecting temperature, is it a big difference?

I haven't made any test yet but IMHO adding a small heatsink is highly recommended.

Here are some test results from OpenSSL Benchmark:
http://imageshack.us/a/img5/6561/daneq.png

First row: default frequencies (560/450/225 MHz)
Second row: 780/480/240 MHz
Last row: (second row / first row) * 100%

Highest recorded temperature on heatsink: ~50*C.

(Last edited by pepe2k on 31 May 2013, 10:51)

pepe2k, I'm looking forward to test your "creation".

Me too been waiting patiently.

pepe2k wrote:

Here are some test results from OpenSSL Benchmark:
http://imageshack.us/a/img5/6561/daneq.png

First row: default frequencies (560/450/225 MHz)
Second row: 780/480/240 MHz
Last row: (second row / first row) * 100%

Highest recorded temperature on heatsink: ~50*C.

Great stuff! I have just ordered a TP-Link WR7600 from China for $99. It will be interesting to see what I can do with that SOC, hopefully it is overclockable as well. How about sharing some info on the procedure? wink

pepe2k wrote:

Here are some test results from OpenSSL Benchmark:
http://imageshack.us/a/img5/6561/daneq.png

First row: default frequencies (560/450/225 MHz)
Second row: 780/480/240 MHz
Last row: (second row / first row) * 100%

Highest recorded temperature on heatsink: ~50*C.

Compared to the improvement of bogomips,I found that usb speed is significantly drop after overclocking.

(Last edited by ranfish on 4 Jun 2013, 04:31)

ranfish wrote:

Compared to the improvement of bogomips,I found that usb speed is significantly drop after overclocking.

Did you change AHB clock? smile

Looking forward to the updates!

[    0.000000] Clocks: CPU:880.000MHz, DDR:800.000MHz, AHB:400.000MHz, Ref:40.000MHz
| 1.0.1c |  57214630 |  18880170 |  12612610 |  7112360 |  8181040 |  2914120 |  14725800 |  12820140 |  11415540 |  8.7 |  295.2 |  29.5 |  23.8 |
luckissy wrote:
[    0.000000] Clocks: CPU:880.000MHz, DDR:800.000MHz, AHB:400.000MHz, Ref:40.000MHz
| 1.0.1c |  57214630 |  18880170 |  12612610 |  7112360 |  8181040 |  2914120 |  14725800 |  12820140 |  11415540 |  8.7 |  295.2 |  29.5 |  23.8 |

?

Hi,

Where did you get the source code for U-boot for the AR9344 ?

I would like to recompile it myself.

Cheers,

Neil

Sorry, posts 26 to 25 are missing from our archive.