Disclaimer

I am not responsible if your devices send you back in time, explodes, implodes, bricks or flies into space from the use of any software I put up.

Search

Tuesday, May 20, 2014

Overclock TP-Link WR1043ND

This post is about overclocking TP-Link WR1043ND and I just made it easier for you!

I do not take any responsibility for what you do to your router!

If you do not want a possible brick please do not read or attempt the following on your router!

Please Remember to equip your Router with a Proper heatsink before proceeding!

Perform the following using Ethernet Cable with all Wireless on the PC and the Router Disabled

Basically this is what you should be getting if you are successful:
root@openwrt:~# cat /proc/cpuinfo
system type        : Atheros AR9132 rev 2
machine            : TP-LINK TL-WR1043ND
processor        : 0
cpu model        : MIPS 24Kc V7.4
BogoMIPS        : 278.45
wait instruction    : yes
microsecond timers    : yes
tlb_entries        : 16
extra interrupt vector    : yes
hardware watchpoint    : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
ASEs implemented    : mips16
shadow register sets    : 1
kscratch registers    : 0
core            : 0
VCED exceptions        : not available
VCEI exceptions        : not available
root@openwrt:~# dmesg | grep CPU
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] Clocks: CPU:420.000MHz, DDR:420.000MHz, AHB:210.000MHz, Ref:5.000MHz
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
 The default clocks for TP-Link WR1043ND is CPU:400 MHZ DDR: 400MHZ AHB: 200MHZ.

New Procedure

Backup your old uboot and art partitions

root@openwrt:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00020000 00010000 "u-boot"
mtd1: 000e2000 00010000 "kernel"
mtd2: 006ee000 00010000 "rootfs"
mtd3: 00140000 00010000 "rootfs_data"
mtd4: 00010000 00010000 "art"
mtd5: 007d0000 00010000 "firmware"

1) SSH into your Router. ( ssh root@192.168.1.1 ) * You need to enable SSH, telnet cannot be used

2) Backup your uboot into /tmp/ directory ( dd if=/dev/mtd0 of=/tmp/uboot.backup )

3) Backup your art partition into /tmp/directory ( dd if=/dev/mtd4 of=/tmp/art.backup )

4) Log out from the Router and copy the backups to your PC ( scp root@192.168.1.1:/tmp/*.backup . )

5) You should be able to see all your backups on your PC ( ls . )

Revert to Factory TP-Link (If you are already using Default TP-Link you can skip this)

6) Download wr1043nd_sysupgrade_back_to_factory.bin

7) Open LuCI or use SSH and sysupgrade from /tmp directory and wait to complete

8) Download
  • wr1043nv1_en_3_13_15_up_boot(140319)_oc_420.bin for overclock to 420MHZ
  • wr1043nv1_en_3_13_15_up_boot(140319)_oc_430.bin for overclock to 430MHZ
9) Login to TP-Link Interface and flash it with the file and wait to complete(if it does not reboot automatically wait for 10 mins before pulling the power)

10) Login to TP-Link Interface and flash it back to OpenWRT using OpenWRT Factory Image

Edit: Remove 440MHZ as it crashes occasionally

Summary

To Overclock:
  1. Flash back to factory to TP-Link Firmware using wr1043nd_sysupgrade_back_to_factory.bin
  2. Flash again using the overclock firmware eg to overclock to 420MHZ use wr1043nv1_en_3_13_15_up_boot(140319)_oc_420.bin
  3. Flash back to OpenWrt (if you want) using OpenWrt factory firmware
 To undo overclock 
  1. Flash back to factory to TP-Link Firmware using wr1043nd_sysupgrade_back_to_factory.bin
  2. Flash again using the overclock firmware eg to overclock to 420MHZ use wr1043nv1_en_3_13_15_up_boot(140319)_no_oc_400.bin
  3. Flash back to OpenWrt (if you want) using OpenWrt factory firmware
 

Thursday, May 8, 2014

OpenWrt Attitude Adjustment 12.09.1 Updates

I have rebased the buildroot over upstream meaning it is easy to pull updates from upstream.
Features:
  • Linaro GCC 4.8 and Linaro Binutil 2.23.2 
  • Tweak Build Flags optimized for MIPS24Kc
  • Upstream WiFi Patches
  • Brought all the changes of the previous Attitude Adjustment over to this buildroot
Source Repository is here
Binaries are available here