1 (edited by ldpinney 2012-04-30 02:49:45)

Topic: TP-Link TL-WDR4310 v1.0 First Steps

Got a new TP-Link TL-WDR4310 v1.0 today So... the first thing I did was to open the case.
Atheros AR9344 CPU Radio AR9580-AR1A and AR8327N Gigabit Switch
8 MB Flash Spansion Flash Memory FL064KIF
128 MB RAM Hynix DDR2 H5PS5162GFR (2 Chips)
Then added pins on the serial port header and booted :


U-Boot 1.1.4 (Mar  6 2012 - 20:37:39)

U-boot DB120


DRAM:  128 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 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:xx:xx:xx  <---EDIT
athrs17_reg_init: complete
eth0 up
eth0
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

Booting Atheros AR934x
Linux version 2.6.31--LSDK-9.2.0_U6.616 (root@localhost.localdomain) (gcc version 4.3.3 (GCC) ) #1 Tue Mar 6 20:40:37 PST 2012
Ram size passed from bootloader =128M
flash_size passed from bootloader = 8
CPU revision is: 0001974c (MIPS 74Kc)
ath_sys_frequency: cpu srif ddr srif cpu 560 ddr 450 ahb 225
Determined physical RAM map:
memory: 08000000 @ 00000000 (usable)
Zone PFN ranges:
  Normal   0x00000000 -> 0x00008000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00008000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ath-nor0:128k(u-boot),1024k(kernel),6912k(rootfs),64k(config),64k(ART) mem=128M
PID hash table entries: 512 (order: 9, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 113180k/131072k available (1637k kernel code, 17728k reserved, 399k data, 112k init, 0k highmem)
NR_IRQS:128
plat_time_init: plat time init done
Calibrating delay loop... 279.55 BogoMIPS (lpj=559104)
Mount-cache hash table entries: 512

****************ALLOC***********************
Packet mem: 8022d380 (0xe00000 bytes)
********************************************

NET: Registered protocol family 16
PCI init:ath_pcibios_init
ath_pcibios_init(294): PCI CMD write: 0x356
registering PCI controller with io_map_base unset
current_wifi_value == 0x0
bio: create slab <bio-0> at 0
pci 0000:00:00.0: PME# supported from D0 D1 D3hot
pci 0000:00:00.0: PME# disabled
Returning IRQ 64
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
ATH GPIOC major 0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
msgmni has been set to 221
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A
console [ttyS0] enabled
PPP generic driver version 2.4.2
NET: Registered protocol family 24
5 cmdlinepart partitions found on MTD device ath-nor0
Creating 5 MTD partitions on "ath-nor0":
0x000000000000-0x000000020000 : "u-boot"
0x000000020000-0x000000120000 : "kernel"
0x000000120000-0x0000007e0000 : "rootfs"
0x0000007e0000-0x0000007f0000 : "config"
0x0000007f0000-0x000000800000 : "ART"
->Oops: flash id 0xef4017 .
TCP cubic registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
athwdt_init: Registering WDT success
ath_otp_init: Registering OTP success
ath_clksw_init: Registering Clock Switch Interface success
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 112k freed
init started:  BusyBox v1.01 (2012.02.11-02:20+0000) multi-call binary
This Board use 2.6.31
xt_time: kernel timezone is -0000
nf_conntrack version 0.5.0 (2048 buckets, 5120 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
ip_tables: (C) 2000-2006 Netfilter Core Team
insmod: cannot open module `/lib/modules/2.6.31/kernel/iptable_raw.ko': No such file or directory
insmod: cannot open module `/lib/modules/2.6.31/kernel/flashid.ko': No such file or directory
PPPoL2TP kernel driver, V1.0
PPTP driver version 0.8.3
insmod: cannot open module `/lib/modules/2.6.31/kernel/harmony.ko': No such file or directory
Now flash open!

(none) mips #1 Tue Mar 6 20:40:37 PST 2012 (none)
(none) login: Now flash open!
ATHR_GMAC: Length per segment 1536
ATHR_GMAC: fifo cfg 3 01f00140
ATHR_GMAC: RX TASKLET - Pkts per Intr:100
ATHR_GMAC: Mac address for unit 0:bfff0000
ATHR_GMAC: ff:ff:ff:ff:ff:ff
ATHR_GMAC: Max segments per packet :   1
ATHR_GMAC: Max tx descriptor count :   128
ATHR_GMAC: Max rx descriptor count :   128
ATHR_GMAC: Mac capability flags    :   2381
athr_gmac_ring_alloc Allocated 2048 at 0x8784a000
athr_gmac_ring_alloc Allocated 2048 at 0x879de800
WASP  ----> S17 PHY *
Setting Drop CRC Errors, Pause Frames and Length Error frames
Hello, nat module!
thread: napt_ct_scan create success pid:95
netlink_kernel_create succeeded at tp_rule_nl_prot: [29]
isis_ip_intf_entry_add id[0] for vid[1]
isis_ip_intf_entry_add id[1] for vid[2]
Adding ACL rules for SSDP 18 - upnp_ssdp_add_acl_rules
Adding ACL rules for IGMP QUERY 19 - upnp_ssdp_add_acl_rules
Adding ACL rules for IPv4 IGMP Streaming Pass-Through 20 - upnp_ssdp_add_acl_rules
ACL is not yet enabled. Enabling...
ACL(Index 95) For packet From Wan Port and TTL is zero

######## S17 SSDK init succeeded! ########
athrs17_reg_init:done
Setting PHY...
configure the RGMII
Phy setup Complete
napt_ct_scan_thread: time: 4
napt_hash_init
set the age mode = 1
device eth0.1 entered promiscuous mode
device eth0 entered promiscuous mode
SET WAN MAC:8c-21-0a-xx-xx-xx  <---EDIT
isis_ip_intf_entry_add id[1] for vid[2]
Now flash open!
br0: port 1(eth0.1) entering forwarding state
ACL Rule(Index 94) For Packet From WAN to LAN Port And Dip is in lan net
nf_conntrack_rtsp v0.6.21 loading
nf_nat_rtsp v0.6.21 loading
asf: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
ath_hal: 0.9.17.1 (AR5416, AR9380, REGOPS_FUNC, WRITE_EEPROM, 11D)
ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
ath_dfs: Version 2.0.0
Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
ath_ahb: 9.2.0_U10.1020 (Atheros/multi-bss)
__ath_attach: Set global_scn[0]
ACBKMinfree = 48
ACBEMinfree = 32
ACVIMinfree = 16
ACVOMinfree = 0
CABMinfree = 48
UAPSDMinfree = 0
Restoring Cal data from Flash
dfs_attach: use DFS enhancements
DFS min filter rssiThresh = 18
DFS max pulse dur = 151 ticks
ath_get_caps[5105] rx chainmask mismatch actual 3 sc_chainmak 0
ath_get_caps[5080] tx chainmask mismatch actual 3 sc_chainmak 0
SC Callback Registration for wifi0
wifi0: Atheros 9340: mem=0xb8100000, irq=2
ath_pci: 9.2.0_U10.1020 (Atheros/multi-bss)
__ath_attach: Set global_scn[1]
ACBKMinfree = 48
ACBEMinfree = 32
ACVIMinfree = 16
ACVOMinfree = 0
CABMinfree = 48
UAPSDMinfree = 0
Restoring Cal data from Flash
dfs_attach: use DFS enhancements
DFS min filter rssiThresh = 18
DFS max pulse dur = 151 ticks
ath_get_caps[5105] rx chainmask mismatch actual 7 sc_chainmak 0
ath_get_caps[5080] tx chainmask mismatch actual 7 sc_chainmak 0
SC Callback Registration for wifi1
wifi1: Atheros 9580: mem=0x10000000, irq=64 hw_base=0xb0000000
dfs_init_radar_filters: Unknown dfs domain 0
wlan_vap_create : enter. devhandle=0x86db42c0, opmode=IEEE80211_M_HOSTAP, flags=0x1
wlan_vap_create : exit. devhandle=0x86db42c0, opmode=IEEE80211_M_HOSTAP, flags=0x1.
VAP device ath0 created

DES SSID SET=TP-LINK_2.4GHz_D99C97
ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1
device ath0 entered promiscuous mode
br0: port 2(ath0) entering forwarding state
ieee80211_ioctl_siwmode: imr.ifm_active=918144, new mode=3, valid=1
br0: port 2(ath0) entering disabled state

DES SSID SET=TP-LINK_2.4GHz_D99C97
br0: port 2(ath0) entering forwarding state
TP_RULE_SWITCH_WAN_TYPE
br0: port 2(ath0) entering disabled state
br0: starting userspace STP failed, starting kernel STP
br0: topology change detected, propagating
br0: port 2(ath0) entering forwarding state
dfs_init_radar_filters: Unknown dfs domain 0
wlan_vap_create : enter. devhandle=0x87bd82c0, opmode=IEEE80211_M_HOSTAP, flags=0x1
wlan_vap_create : exit. devhandle=0x87bd82c0, opmode=IEEE80211_M_HOSTAP, flags=0x1.
VAP device ath1 created

DES SSID SET=TP-LINK_5GHz_D99C98
ieee80211_ioctl_siwmode: imr.ifm_active=66176, new mode=3, valid=1
Found best 11na chan: 149
br0: port 1(eth0.1) entering disabled state
br0: topology change detected, propagating
br0: port 1(eth0.1) entering forwarding state
device ath1 entered promiscuous mode
br0: topology change detected, propagating
br0: port 3(ath1) entering forwarding state
ieee80211_ioctl_siwmode: imr.ifm_active=852608, new mode=3, valid=1
br0: port 3(ath1) entering disabled state

DES SSID SET=TP-LINK_5GHz_D99C98
br0: topology change detected, propagating
br0: port 3(ath1) entering forwarding state
br0: port 3(ath1) entering disabled state
br0: topology change detected, propagating
br0: port 3(ath1) entering forwarding state
fuse init (API version 7.12)
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Port Status 1c000004
ath-ehci ath-ehci.0: ATH EHCI
ath-ehci ath-ehci.0: new USB bus registered, assigned bus number 1
ehci_reset Intialize USB CONTROLLER in host mode: 13
ehci_reset Port Status 1c000000
ath-ehci ath-ehci.0: irq 3, io mem 0x1b000000
ehci_reset Intialize USB CONTROLLER in host mode: 13
ehci_reset Port Status 1c000000
ath-ehci ath-ehci.0: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
SCSI subsystem initialized
usb 1-1: new high speed USB device using ath-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
GPL NetUSB up!
kc   88 : run_telnetDBGDServer start
kc  225 : init_DebugD end
INFO16B9: NetUSB 1.161, 0002061F : Feb 29 2012 15:22:09
INFO16BB:  AUTH ISOC
INFO16BC:
usbcore: registered new interface driver KC NetUSB General Driver
INFO0076:  init proc : PAGE_SIZE 4096
INFO1715: Check mac address
INFO1575:  sleep to wait br0 to wake up
INFO02D0:  use dev Name br0
INFO157E:  sleep to wait br0 end.
INFO1597:  UDP_BROAD 7437 tcpPort:625868800
INFO02D0:  use dev Name br0
my server name : TL-WDR4310
INFO14CE: tcpConnector() started...
TP_RULE_NAT:enable hardware nat
INFO13AB: Bind to br0
TP_RULE_SWITCH_WAN_TYPE

TL-WDR4310 mips #1 Tue Mar 6 20:40:37 PST 2012 (none)
TL-WDR4310 login: root
Password: 5up <---EDIT
Jan  1 00:01:08 login[74]: root login  on `ttyS0'



BusyBox v1.01 (2012.02.11-02:20+0000) Built-in shell (msh)
Enter 'help' for a list of built-in commands.

cat /proc/cpuinfo
system type        : Atheros AR934x
processor        : 0
cpu model        : MIPS 74Kc V4.12
BogoMIPS        : 279.55
wait instruction    : yes
microsecond timers    : yes
tlb_entries        : 32
extra interrupt vector    : yes
hardware watchpoint    : yes, count: 4, address/irw mask: [0x0000, 0x0a40, 0x0640, 0x0158]
ASEs implemented    : mips16 dsp
shadow register sets    : 1
core            : 0
VCED exceptions        : not available
VCEI exceptions        : not available

cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00020000 00010000 "u-boot"
mtd1: 00100000 00010000 "kernel"
mtd2: 006c0000 00010000 "rootfs"
mtd3: 00010000 00010000 "config"
mtd4: 00010000 00010000 "ART"
# cat /proc/devices
Character devices:
  1 mem
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
10 misc
21 sg
77 ATH_GPIOC
90 mtd
108 ppp
128 ptm
136 pts
180 usb
189 usb_device
238 ar7240_gpio_chrdev
239 ar7240_flash_chrdev

Block devices:
259 blkext
  8 sd
31 mtdblock
65 sd
66 sd
67 sd
68 sd
69 sd
70 sd
71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd

cat /proc/meminfo
MemTotal:         113456 kB
MemFree:           87728 kB
Buffers:            3176 kB
Cached:            10508 kB
SwapCached:            0 kB
Active:             4992 kB
Inactive:          11020 kB
Active(anon):       2328 kB
Inactive(anon):        0 kB
Active(file):       2664 kB
Inactive(file):    11020 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:          2348 kB
Mapped:             2176 kB
Slab:               5408 kB
SReclaimable:        440 kB
SUnreclaim:         4968 kB
PageTables:          260 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:       56728 kB
Committed_AS:       7712 kB
VmallocTotal:    1048404 kB
VmallocUsed:         136 kB
VmallocChunk:    1039080 kB

cat /proc/iomem
00000000-07ffffff : System RAM
  00002000-0019b72f : Kernel code
  0019b730-001ff5ff : Kernel data
10000000-17ffffff : PCI memory space
  10000000-1001ffff : 0000:00:00.0
    10000000-1001ffff : ath
  10020000-1002ffff : 0000:00:00.0
18020000-18020fff : serial8250.0
18127000-18127dfe : ath-pciep.0
1b000000-1bffffff : ath-ehci.0
  1b000000-1bffffff : ehci_hcd
b8020000-b802001f : serial
# ps
  PID  Uid     VmSize Stat Command
    1 root        392 S   init       
    2 root            SW< [kthreadd]
    3 root            SW< [ksoftirqd/0]
    4 root            SW< [events/0]
    5 root            SW< [khelper]
    6 root            SW< [async/mgr]
    7 root            SW< [kblockd/0]
    8 root            SW  [pdflush]
    9 root            SW  [pdflush]
   10 root            SW< [kswapd0]
   17 root            SW< [mtdblockd]
   18 root            SW< [unlzma/0]
   71 root       2532 S   /usr/bin/httpd
   74 root        440 R   -sh
   75 root       2532 S   /usr/bin/httpd
   76 root       2532 S   /usr/bin/httpd
   79 root        792 S   ushare -d -x -f /tmp/ushare.conf
   80 root        364 S   /usr/bin/httpd
   86 root        344 S   syslogd -C -l 7
   90 root        288 S   klogd
   95 root            SW< [napt_ct_scan]
  246 root        352 S   /sbin/udhcpc -h TL-WDR4310 -i eth0.2 -p /tmp/wr841n/u
  247 root        212 S   /sbin/udhcpc -h TL-WDR4310 -i eth0.2 -p /tmp/wr841n/u
  251 root        332 S   /usr/sbin/udhcpd /tmp/wr841n/udhcpd.conf
  288 root       2532 S   /usr/bin/httpd
  309 root       2532 S   /usr/bin/httpd
  310 root       2532 S   /usr/bin/httpd
  416 root        616 S   hostapd /tmp/topology.conf
  417 root       2532 S   /usr/bin/httpd
  419 root       2532 S   /usr/bin/httpd
  420 root       2532 S   /usr/bin/httpd
  421 root       2532 S   /usr/bin/httpd
  427 root       2532 S   /usr/bin/httpd
  432 root       2532 R   /usr/bin/httpd
  441 root       2532 S   /usr/bin/httpd
  539 root        612 S   hostapd /tmp/topology_5G.conf
  542 root       2532 S   /usr/bin/httpd
  547 root       2532 S   /usr/bin/httpd
  554 root       2532 S   /usr/bin/httpd
  555 root       2532 S   /usr/bin/httpd
  558 root        204 S   /sbin/tphotplug -d
  559 root       2532 S   /usr/bin/httpd
  572 root            SW< [khubd]
  593 root            SW  [ telnetDBGD ]
  594 root            SW  [ acktelnetDBGD ]
  596 root            SW  [NU VM]
  597 root            SW  [NU UDP]
  598 root            SW  [NU TCP]
  599 root       2532 S   /usr/bin/httpd
  600 root       2532 R   /usr/bin/httpd
  601 root       2532 S   /usr/bin/httpd
  602 root       2532 S   /usr/bin/httpd
  605 root       2532 S   /usr/bin/httpd
  609 root        304 S   /usr/bin/lld2d br0 ath0
  612 root        792 S   ushare -d -x -f /tmp/ushare.conf
  613 root        792 S   ushare -d -x -f /tmp/ushare.conf
  615 root        792 S   ushare -d -x -f /tmp/ushare.conf
  616 root        792 S   ushare -d -x -f /tmp/ushare.conf
  617 root        792 S   ushare -d -x -f /tmp/ushare.conf
  619 root        792 S   ushare -d -x -f /tmp/ushare.conf
  620 root        792 S   ushare -d -x -f /tmp/ushare.conf
  630 root        396 R   ps

# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/mtdblock2            5248      5248         0 100% /

DIR-615 E3 : DIR-825 B1 : WNDR3700 V2 : WDR4310 V1.0 : Hardware Hacks  WR703n V1.6 : WR841n V8.0 : WR1041n V2.0 : Latest Toy : Kingston Mobilelite MLW221

Re: TP-Link TL-WDR4310 v1.0 First Steps

Accessing Das U-Boot

When Autobooting in 1 seconds appears
type tpl then enter

U-Boot 1.1.4 (Mar  6 2012 - 20:37:39)

U-boot DB120


DRAM:  128 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 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:XX:XX:XX  <--EDIT
athrs17_reg_init: complete
eth0 up
eth0
Autobooting in 1 seconds
db12x>
db12x> ?
?       - alias for 'help'
bootm   - boot application image from memory
cp      - memory copy
erase   - erase FLASH memory
help    - print online help
md      - memory display
mm      - memory modify (auto-incrementing)
mtest   - simple RAM test
mw      - memory write (fill)
nm      - memory modify (constant address)
ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
progmac - Set ethernet MAC addresses
reset   - Perform RESET of the CPU
setenv  - set environment variables
tftpboot- boot image via network using TFTP protocol
version - print monitor version
db12x> printenv
bootargs=console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),6336k(rootfs),1408k(uImage),64k(mib0),64k(ART)
bootcmd=bootm 0x9f020000
bootdelay=1
baudrate=115200
ethaddr=0xba:0xbe:0xfa:XXX:XXX:XXX <---EDIT
ipaddr=192.168.1.111
serverip=192.168.1.100
dir=
lu=tftp 0x80060000 ${dir}u-boot.bin&&erase 0x9f000000 +$filesize;cp.b $fileaddr 0x9f000000 $filesize
lf=tftp 0x80060000 ${dir}db12x${bc}-jffs2&&erase 0x9f050000 +0x630000;cp.b $fileaddr 0x9f050000 $filesize
lk=tftp 0x80060000 ${dir}vmlinux${bc}.lzma.uImage&&erase 0x9f680000 +$filesize;cp.b $fileaddr 0x9f680000 $filesize
stdin=serial
stdout=serial
stderr=serial
ethact=eth0

Environment size: 686/65532 bytes
db12x>

DIR-615 E3 : DIR-825 B1 : WNDR3700 V2 : WDR4310 V1.0 : Hardware Hacks  WR703n V1.6 : WR841n V8.0 : WR1041n V2.0 : Latest Toy : Kingston Mobilelite MLW221

Re: TP-Link TL-WDR4310 v1.0 First Steps

great! can't wait for it to be supported, and available in europe XD

Re: TP-Link TL-WDR4310 v1.0 First Steps

nebbia88 wrote:

great! can't wait for it to be supported, and available in europe XD

I picked it up at the "big toy store" in Shenzhen China....It should be in Europe soon likely to be known as the WDR4300
List price here is 450RMB or 72USD or 54 Euros
http://www.tp-link.com/en/products/details/?categoryid=2166&model=TL-WDR4300
Maybe they'll have usable firmware before shipping these out of China......LOL!

DIR-615 E3 : DIR-825 B1 : WNDR3700 V2 : WDR4310 V1.0 : Hardware Hacks  WR703n V1.6 : WR841n V8.0 : WR1041n V2.0 : Latest Toy : Kingston Mobilelite MLW221

5 (edited by alphasparc 2012-04-30 10:43:51)

Re: TP-Link TL-WDR4310 v1.0 First Steps

Damn! It is BGA RAM.
There goes my dream of upgrading the RAM...
128MB is NOT ENOUGH.

6 (edited by ldpinney 2012-05-01 13:42:23)

Re: TP-Link TL-WDR4310 v1.0 First Steps

Board Photos  : http://www.chiphell.com/thread-383664-1-1.html
In the second Photo to the right of the CPU is the Serial Port.
The bottom round hole is 3.3vdc next one up is ground (right next to J1) the upper most are Rx and Tx
115200 N,8,1

DIR-615 E3 : DIR-825 B1 : WNDR3700 V2 : WDR4310 V1.0 : Hardware Hacks  WR703n V1.6 : WR841n V8.0 : WR1041n V2.0 : Latest Toy : Kingston Mobilelite MLW221

Re: TP-Link TL-WDR4310 v1.0 First Steps

Hi ldpinney, have you made any progress on this router or you aren't a developer? I am thinking of buying one but not sure what the native firmware is like and it seems despite the buyers guide at http://skinflint.co.uk/?cat=wlanrout&xf=758_OpenWrt&sort=p saying this router has OpenWRT support its not functional yet?

Re: TP-Link TL-WDR4310 v1.0 First Steps

I'm not a developer....This thing is quite new and not supported yet. I think it will be supported....just don't know when smile

DIR-615 E3 : DIR-825 B1 : WNDR3700 V2 : WDR4310 V1.0 : Hardware Hacks  WR703n V1.6 : WR841n V8.0 : WR1041n V2.0 : Latest Toy : Kingston Mobilelite MLW221

Re: TP-Link TL-WDR4310 v1.0 First Steps

Support for TL-WDR4300 in trunk : https://dev.openwrt.org/changeset/32461

I'll try this on my WDR4310 as soon as I find the time.......

DIR-615 E3 : DIR-825 B1 : WNDR3700 V2 : WDR4310 V1.0 : Hardware Hacks  WR703n V1.6 : WR841n V8.0 : WR1041n V2.0 : Latest Toy : Kingston Mobilelite MLW221

Re: TP-Link TL-WDR4310 v1.0 First Steps

This is great news. Are you just going to compile a custom version from trunk?

How are you going to get the image onto the router?

11 (edited by DerUltrazauberer 2012-06-21 08:04:41)

Re: TP-Link TL-WDR4310 v1.0 First Steps

Very cool router! What's about the CPU speed in comparison of the Netgear WNDR3800 (Atheros @ 680MHz)? And has the switch the capability to handle vlans?

I'm asking because a brand new WNDR3800 is on my desk and I'm thinking to change this router for a TP-Link, because I made good experiences with the 1043ND. ;-)

EDIT: As I can see the internal switch has vlan support. Now it's the question if OpenWRT already supporting this switch? http://www.qca.qualcomm.com/technology/technology.php?nav1=48&product=102

Re: TP-Link TL-WDR4310 v1.0 First Steps

PhoenixMage wrote:

This is great news. Are you just going to compile a custom version from trunk?

How are you going to get the image onto the router?

Yes of course... I'll compile from trunk and then try for the "easy OEM web interface" upgrade...should that fail there are other options.
See this page http://wiki.openwrt.org/doc/howto/generic.flashing

DerUltrazauberer wrote:

Very cool router! What's about the CPU speed in comparison of the Netgear WNDR3800 (Atheros @ 680MHz)? And has the switch the capability to handle vlans?

I'm asking because a brand new WNDR3800 is on my desk and I'm thinking to change this router for a TP-Link, because I made good experiences with the 1043ND. ;-)

EDIT: As I can see the internal switch has vlan support. Now it's the question if OpenWRT already supporting this switch? http://www.qca.qualcomm.com/technology/technology.php?nav1=48&product=102

I'm not dumping my WNDR3700v2 just yet.....It's still a fine router....and the 3800 has more RAM

The CPU clock speed is less than the WNDR3800 560 vs. 680 ....but the power consumption seems to be lower...

I've already got some help with the Wiki Page I started for the WDR4300 only two days ago...now it has pictures smile
http://wiki.openwrt.org/toh/tp-link/tl-wdr4300

Can't say about the switch yet.....but I recall seeing the code for the AR8327 somewhere in OpenWrt.....maybe a patch file.....dunno

DIR-615 E3 : DIR-825 B1 : WNDR3700 V2 : WDR4310 V1.0 : Hardware Hacks  WR703n V1.6 : WR841n V8.0 : WR1041n V2.0 : Latest Toy : Kingston Mobilelite MLW221

Re: TP-Link TL-WDR4310 v1.0 First Steps

ldpinney wrote:

The CPU clock speed is less than the WNDR3800 560 vs. 680 ....but the power consumption seems to be lower...

You can't compare it like that.
It is MIPS24Kc vs MIPS74K

Re: TP-Link TL-WDR4310 v1.0 First Steps

alphasparc wrote:
ldpinney wrote:

The CPU clock speed is less than the WNDR3800 560 vs. 680 ....but the power consumption seems to be lower...

You can't compare it like that.
It is MIPS24Kc vs MIPS74K

Well I did.....From Wikipedia :
The clock rate of a CPU is most useful for providing comparisons between CPUs in the same family.

Perhaps you would rather compare the BogoMips? It would be 279.55 vs. 452.19

alphasparc wrote:

Damn! It is BGA RAM.
There goes my dream of upgrading the RAM...
128MB is NOT ENOUGH.

BGA RAM can be upgraded...But I don't know if the AR9344 can handle more than 128

DIR-615 E3 : DIR-825 B1 : WNDR3700 V2 : WDR4310 V1.0 : Hardware Hacks  WR703n V1.6 : WR841n V8.0 : WR1041n V2.0 : Latest Toy : Kingston Mobilelite MLW221

15 (edited by rviktor 2012-06-21 23:34:44)

Re: TP-Link TL-WDR4310 v1.0 First Steps

ldpinney wrote:

(...)Perhaps you would rather compare the BogoMips? It would be 279.55 vs. 452.19(...)

According to mips.com the 74K's performance is about 25% greater per MHz. ("2,03DMIPS/Mhz" vs "1,6DMIPS/MHz"). But in Coremark they get 2,57/MHz vs 2,46/MHz respectively.

Re: TP-Link TL-WDR4310 v1.0 First Steps

ldpinney wrote:

BGA RAM can be upgraded...But I don't know if the AR9344 can handle more than 128

I can't hand solder BGA no equipment...I can only do SMT...

Re: TP-Link TL-WDR4310 v1.0 First Steps

ldpinney wrote:
PhoenixMage wrote:

This is great news. Are you just going to compile a custom version from trunk?

How are you going to get the image onto the router?

Yes of course... I'll compile from trunk and then try for the "easy OEM web interface" upgrade...should that fail there are other options.
See this page http://wiki.openwrt.org/doc/howto/generic.flashing

Let me know how you go. I am compiling an image atm and will give it a try later tonight.

Re: TP-Link TL-WDR4310 v1.0 First Steps

Hello, I live in china and just buy a new TL-WDR4310 (chinese version of the TL-WDR4300). Can I change the language from Chinese to English ?
I try to update the firmware using the firmware of TL-WDR4300 (world version) without success sad
Thank you.

19 (edited by ldpinney 2012-06-22 06:12:07)

Re: TP-Link TL-WDR4310 v1.0 First Steps

I not sure about the TP-Link Firmware...but it likely has some sort of "checking" to prevent users from flashing incorrect firmware.
If you want OpenWrt and your choice of several languages on it I think it would be wise to wait until someone else reports success.

DIR-615 E3 : DIR-825 B1 : WNDR3700 V2 : WDR4310 V1.0 : Hardware Hacks  WR703n V1.6 : WR841n V8.0 : WR1041n V2.0 : Latest Toy : Kingston Mobilelite MLW221

Re: TP-Link TL-WDR4310 v1.0 First Steps

can somebody share the u-boot file? and whole flash please, thanks

21 (edited by slh 2012-06-25 22:44:25)

Re: TP-Link TL-WDR4310 v1.0 First Steps

uniondigital wrote:

Hello, I live in china and just buy a new TL-WDR4310 (chinese version of the TL-WDR4300). Can I change the language from Chinese to English ?
I try to update the firmware using the firmware of TL-WDR4300 (world version) without success sad
Thank you.

If you compare the official firmwares for TL-WDR4300 and TL-WDR4310, you'll see that the headers differ between both models.

TL-WDR4300:

00000040  43 00 00 01 00 00 00 01  00 00 00 00 76 fb 83 40  |C...........v..@|

TL-WDR4310:

00000040  43 10 00 01 00 00 00 01  00 00 00 00 38 2b 50 6c  |C...........8+Pl|

You most likely have to adapt the image generation accordingly from

$(call Image/Build/Template/$(fs_64kraw)/$(1),TPLINK-LZMA,tl-wdr4300-v1,$(tlwdr4300_cmdline),0x43000001,1,8Mlzma)

to

$(call Image/Build/Template/$(fs_64kraw)/$(1),TPLINK-LZMA,tl-wdr4300-v1,$(tlwdr4300_cmdline),0x43100001,1,8Mlzma)

in trunk/target/linux/ar71xx/image/Makefile.

Likewise you probably also need to change trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh from

    "430000"*)
        model="TP-Link TL-WDR4300"
        ;;

to

    "430000"*|"431000"*)
        model="TP-Link TL-WDR4300"
        ;;

or add a new dedicated profile for the TL-WDR4310.

Disclaimer: Untested and just extrapolated from observing the header differences in the official firmware, use at your own risk.

Re: TP-Link TL-WDR4310 v1.0 First Steps

2 questions:

1. Did/can someone measure the WAN-LAN, LAN-WAN and simultaneous throughput of the router?
2. Is the trunk version somewhat okay for everyday usage with this model? (meaning is it somewhat stable and is the switch working correctly?)

23 (edited by astralstorm 2012-06-25 11:57:05)

Re: TP-Link TL-WDR4310 v1.0 First Steps

Hi all,
i need TP-Link TL-WDR4300 and TL-WDR4310 u-boot, can somebody share it? thanks

Re: TP-Link TL-WDR4310 v1.0 First Steps

it's already in the trunk:
factory http://downloads.openwrt.org/snapshots/ … actory.bin
sysupgrade http://downloads.openwrt.org/snapshots/ … pgrade.bin
! noob warning ! - no web gui and wifi off by default !

25 (edited by slh 2012-06-25 22:45:22)

Re: TP-Link TL-WDR4310 v1.0 First Steps

rviktor wrote:

2. Is the trunk version somewhat okay for everyday usage with this model? (meaning is it somewhat stable and is the switch working correctly?)

Talking about the TL-WDR4300 v1.1, yes perfectly. Ethernet, switch and wlan are fully functional - EEPROM regdomain is US.

maurer wrote:

! noob warning ! - no web gui and wifi off by default !

The same as with all prebuilt trunk images, you can download/install LuCI (or build an image including it), install kmod-ath9k and configure your wlan.