Re: TP Link WR1043ND 11n gigabit router

Schugy wrote:

Anybody who knows the state if the WAN/Port1-4 LEDs are blinking all 3 seconds? Any chance to recover?

Hi,
I had the same problem. I recovered by connecting the serial cable to the jtag port as described in the thread and in the wiki.

Good luck

302

Re: TP Link WR1043ND 11n gigabit router

Hello,
Did anyone took a look at http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/ar71xx/default ?

There's a openwrt-ar71xx-tl-wr1043nd-v1-squashfs-universal.bin there. Is there anyone with a serial cable willing to test that version and let us (the ones without a serial cable!) know if it worth loading....? smile

best regards,
rdb


note: full link: http://downloads.x-wrt.org/xwrt/kamikaz … versal.bin

Re: TP Link WR1043ND 11n gigabit router

Schugy wrote:

I have a PL2303 usb2serial cable - hope this can be useful

usb2serial to me implies USB<->RS232. That would not be good, since most routers UART's operate at 3.3V TTL.
This is a pretty good 3.3V serial compendium: http://www.nslu2-linux.org/wiki/HowTo/AddASerialPort

304 (edited by KillaB 2010-02-23 21:20:59)

Re: TP Link WR1043ND 11n gigabit router

rdbpt wrote:

Hello,
There's a openwrt-ar71xx-tl-wr1043nd-v1-squashfs-universal.bin there. Is there anyone with a serial cable willing to test that version and let us (the ones without a serial cable!) know if it worth loading....? smile

Until there are proper switch drivers in trunk, I don't see the point in trying any pre-compiled images.

There is also no default "/etc/config/network" file in trunk:
https://dev.openwrt.org/changeset/19217 … l-wr1043nd

You can follow along with changes here:
https://dev.openwrt.org/timeline

305 (edited by FiReSTaRT 2010-02-23 21:30:29)

Re: TP Link WR1043ND 11n gigabit router

Hey guys,
For starters, I wanted to thank all of you for your great work. We absolutely NEED the firmware to be running on source code that's under 2 days old for mlppp functionality (https://dev.openwrt.org/changeset/19811). I have spent hours trying to set up the compiling environment and had major difficulties in applying the vlan patch. It looks like I'll be learning a hell of a lot more than I ever wanted to learn about compiling stuff from source (for SOHO use). That's why I wanted to prevail on either shibby or obsy to please do me a HUGE favour and compile a patched version based on the latest trunk. Ideally it would have:
1) vlan patch
2) a fully functional GUI (whichever's easier to use, probably x-wrt)
3) doesn't brick the router big_smile
Yes, I'm aware that I'll have to screw around with the CLI and manually edit config files (I'm comfortable with that), but just getting this whole shabang to compile has been nasty and even if I did manage to compile it, I'd be worried about bricking the router before my cable arrives.
Thanks in advance!

Edit: I guess I can install the print server package once the binary gets put on the router?

Re: TP Link WR1043ND 11n gigabit router

Schugy wrote:

You mean this?

not Flashing this firmware  sad Error

Re: TP Link WR1043ND 11n gigabit router

I know. My router needs resurrection. Well, now I have my PL2303 and a RS232toSmallLumberg cable.
I know I can't solder very well. Is there another way to connect to the pins?

Re: TP Link WR1043ND 11n gigabit router

Schugy wrote:

I know. My router needs resurrection. Well, now I have my PL2303 and a RS232toSmallLumberg cable.
I know I can't solder very well. Is there another way to connect to the pins?

Hi,
I was having problems actually soldering the GND pin. Most probably because the heat of the itron was being dissipated/lost. I then used my multimeter to find another GND point. I ended up using one of the other parallel jtag GND pins.

I am letting you know just in case you encounter the same issue.

If you do it right you should not have any problems.

Re: TP Link WR1043ND 11n gigabit router

Another question related to this device.. Would these binaries work hardware version 1.4? The wiki says that it works on 1.1 but I'm not sure if there are any actual differences and if anyone has tried. Since this forum software doesn't have a thread search function it would be a bit of a hassle to go through 300+ posts looking for that one bit of info.

310 (edited by andrewt12 2010-02-24 04:16:01)

Re: TP Link WR1043ND 11n gigabit router

Hi,
Been away from this thread for a while but I have been working on a new driver.

Check here for a new patch https://dev.openwrt.org/ticket/6644#

Its based on the rtl8366s driver already in trunk so works with swconfig smile

If you guys could test, esp the LED and MIB functions.

See here for swconfig usage: https://forum.openwrt.org/viewtopic.php?pid=100150#p100150
replace eth0 with rtl8366rb

I will work on getting it submitted into trunk.

Oh, I noticed ddwrt have picked up the static vlan driver.

Andrew

Re: TP Link WR1043ND 11n gigabit router

FiReSTaRT wrote:

Another question related to this device.. Would these binaries work hardware version 1.4? The wiki says that it works on 1.1 but I'm not sure if there are any actual differences and if anyone has tried. Since this forum software doesn't have a thread search function it would be a bit of a hassle to go through 300+ posts looking for that one bit of info.

It would be good if you could take some close up pics of the board and add to the wr1043nd wiki entry. I bet they have changed to 4mb flash chip.

Re: TP Link WR1043ND 11n gigabit router

Will do tomorrow. I'll hope that you're wrong wink

313 (edited by KillaB 2010-02-24 09:32:40)

Re: TP Link WR1043ND 11n gigabit router

Thanks for all the hard work andrewt12!!

I wish I could test more, but I just installed r19826 and for some reason mini_fo isn't working as it should. Changes are made in the /jffs directory but do not survive a reboot. The SYS LED keeps flashing constantly. I also had to manually start dnsmasq since it didn't start automatically.

The last thing I noticed is that you can no longer scan for wireless networks in LuCI. The following ticket might be related, since I'm pretty sure you could scan in r19573.
https://dev.openwrt.org/ticket/6712

I'm quite sure your patch has nothing to do with these problems, I just wanted to see if anyone else is having issues with r19826.

Re: TP Link WR1043ND 11n gigabit router

Hi KillaB,

jffs and mini_fo is working ok for me and surviving a reboot on r19826, also dnsmasq is starting at start up ok.

I cant comment on scanning within LuCI, I don't have any other AP's nearby that it can pick up.

As you said, its unlikly that this patch is causing any of these issues.

Im unsure what to recommend. You could go back a few revisions, it should apply at least up to the last 2 weeks. Or you could try without the patch as eth0 will still work for testing.
It could also be a bad flash, I always get segfaults using mtd to flash, usually right at the end and it still flashes ok but occasionally it will be bad.

Lets see what other users come back with.

315

Re: TP Link WR1043ND 11n gigabit router

i just want to add and correct one thing. wr1043ND v1.4 still has 8MB Flash. The diffrence i have noticed are LAN filters. nothing else.

316 (edited by sala 2010-02-24 15:43:39)

Re: TP Link WR1043ND 11n gigabit router

p1vo wrote:

i just want to add and correct one thing. wr1043ND v1.4 still has 8MB Flash. The diffrence i have noticed are LAN filters. nothing else.

I received 1.4 and its working fine on openwrt.

Linux version 2.6.32.7 (root@archeo) (gcc version 4.3.3 (GCC) ) #1 Thu Feb 11 12:22:08 CET 2010
prom: fw_arg0=00000007, fw_arg1=a1f77fb0, fw_arg2=a1f78440, fw_arg3=00000008
MyLoader: sysp=40000700, boardp=90028000, parts=05020000
bootconsole [early0] enabled
CPU revision is: 00019374 (MIPS 24Kc)
Atheros AR9132 rev 2, CPU:400.000 MHz, AHB:200.000 MHz, DDR:400.000 MHz
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00002000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00002000
On node 0 totalpages: 8192
free_area_init_node: node 0, pgdat 802b6db0, node_mem_map 81000000
  Normal zone: 64 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 8128 pages, LIFO batch:0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: rootfstype=squashfs,yaffs,jffs2 noinitrd console=ttyS0,115200 board=TL-WR1043ND
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 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: 29436k/32768k available (2014k kernel code, 3332k reserved, 384k data, 152k init, 0k highmem)
SLUB: Genslabs=7, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:56
Calibrating delay loop... 266.24 BogoMIPS (lpj=1331200)
Mount-cache hash table entries: 512
devtmpfs: initialized
NET: Registered protocol family 16
MIPS: machine is TP-LINK TL-WR1043ND
bio: create slab <bio-0> at 0
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  ?© 2001-2006 Red Hat, Inc.
yaffs Feb 11 2010 12:21:41 Installing.
msgmni has been set to 57
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
console [ttyS0] enabled, bootconsole disabled
Atheros AR71xx SPI Controller driver version 0.2.4
m25p80 spi0.0: m25p64 (8192 Kbytes)
spi0.0: searching for MyLoader partition table at offset 0x10000
spi0.0: searching for MyLoader partition table at offset 0x20000
spi0.0: searching for MyLoader partition table at offset 0x30000
spi0.0: searching for MyLoader partition table at offset 0x40000
spi0.0: no MyLoader partition table found
Searching for RedBoot partition table in spi0.0 at offset 0x7e0000
Searching for RedBoot partition table in spi0.0 at offset 0x7f0000
No RedBoot partition table detected in spi0.0
spi0.0: no WRT160NL signature found
Creating 5 MTD partitions on "spi0.0":
0x000000000000-0x000000020000 : "u-boot"
0x000000020000-0x000000160000 : "kernel"
0x000000160000-0x0000007f0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=540000, len=2B0000
0x000000540000-0x0000007f0000 : "rootfs_data"
0x0000007f0000-0x000000800000 : "art"
0x000000020000-0x0000007f0000 : "firmware"
Realtek RTL8366rb switch driver version 0.1.0
rtl8366rb-smi rtl8366rb-smi: using GPIO pins 18 (SDA) and 19 (SCK)
rtl8366rb-smi rtl8366rb-smi: RTL5937 ver. 3 chip found
rtl8366-smi: probed
rtl8366rb init vlan
 [0]phy_abilityAutoNegotiation : 1
[0]phy_abilityHalf_10 : 1
[0]phy_abilityFull_10 : 1
[0]phy_abilityHalf_100 : 1
[0]phy_abilityFull_100 : 1
[0]phy_abilityFull_1000 : 1
[0]phy_abilityFC : 1
[0]phy_abilityAsyFC : 1
[1]phy_abilityAutoNegotiation : 1
[1]phy_abilityHalf_10 : 1
[1]phy_abilityFull_10 : 1
[1]phy_abilityHalf_100 : 1
[1]phy_abilityFull_100 : 1
[1]phy_abilityFull_1000 : 1
[1]phy_abilityFC : 1
[1]phy_abilityAsyFC : 1
[2]phy_abilityAutoNegotiation : 1
[2]phy_abilityHalf_10 : 1
[2]phy_abilityFull_10 : 1
[2]phy_abilityHalf_100 : 1
[2]phy_abilityFull_100 : 1
[2]phy_abilityFull_1000 : 1
[2]phy_abilityFC : 1
[2]phy_abilityAsyFC : 1
[3]phy_abilityAutoNegotiation : 1
[3]phy_abilityHalf_10 : 1
[3]phy_abilityFull_10 : 1
[3]phy_abilityHalf_100 : 1
[3]phy_abilityFull_100 : 1
[3]phy_abilityFull_1000 : 1
[3]phy_abilityFC : 1
[3]phy_abilityAsyFC : 1
[4]phy_abilityAutoNegotiation : 1
[4]phy_abilityHalf_10 : 1
[4]phy_abilityFull_10 : 1
[4]phy_abilityHalf_100 : 1
[4]phy_abilityFull_100 : 1
[4]phy_abilityFull_1000 : 1
[4]phy_abilityFC : 1
[4]phy_abilityAsyFC : 1
rtl8366s_getEthernetPHY fail for 5!!!!
rtl8366s_getEthernetPHY fail for 6!!!!
rtl8366s_getEthernetPHY fail for 7!!!!
rtl8366s_getEthernetPHY fail for 8!!!!
rtl8366s_getEthernetPHY fail for 9!!!!
rtl8366s_getEthernetPHY fail for 10!!!!
rtl8366s_getEthernetPHY fail for 11!!!!
rtl8366s_getEthernetPHY fail for 12!!!!
rtl8366s_getEthernetPHY fail for 13!!!!
rtl8366s_getEthernetPHY fail for 14!!!!
rtl8366s_getEthernetPHY fail for 15!!!!
ag71xx_mdio: probed
eth0: Atheros AG71xx at 0xb9000000, irq 4
Atheros AR71xx hardware watchdog driver version 0.1.0
ar71xx-wdt: timeout=15 secs (max=21)
TCP westwood 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>
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
devtmpfs: mounted
Freeing unused kernel memory: 152k freed
gpio-buttons driver version 0.1.2
input: gpio-buttons as /devices/platform/gpio-buttons/input/input0
Button Hotplug driver version 0.3.1
ar71xx: pll_reg 0xb8050014: 0x1a000000
eth0: link up (1000Mbps/Full duplex)
Registered led device: tl-wr1043nd:green:usb
Registered led device: tl-wr1043nd:green:system
Registered led device: tl-wr1043nd:green:qss
Registered led device: tl-wr1043nd:green:wlan
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
eth0: link down
ar71xx: pll_reg 0xb8050014: 0x1a000000
eth0: link up (1000Mbps/Full duplex)
device eth0.1 entered promiscuous mode
device eth0 entered promiscuous mode
br-lan: port 1(eth0.1) entering forwarding state
Generic kernel compatibility enabled based on linux-next next-20100113
PPP generic driver version 2.4.2
NET: Registered protocol family 24
cfg80211: Calling CRDA to update world regulatory domain
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: World regulatory domain updated:
    (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
ath: EEPROM regdomain: 0x0
ath: EEPROM indicates default country code should be used
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x3a
ath: Country alpha2 being used: US
ath: Regpair used: 0x3a
phy0: Selected rate control algorithm 'ath9k_rate_control'
phy0: Atheros AR9100 MAC/BB Rev:0 AR2133 RF Rev:a2 mem=0xb80c0000, irq=2
cfg80211: Calling CRDA for country: US
device wlan0 entered promiscuous mode
cfg80211: Regulatory domain changed to country: US
    (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
    (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
    (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
ip_tables: (C) 2000-2006 Netfilter Core Team
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ar71xx-ehci ar71xx-ehci: Atheros AR91xx built-in EHCI controller
ar71xx-ehci ar71xx-ehci: new USB bus registered, assigned bus number 1
ar71xx-ehci ar71xx-ehci: irq 3, io mem 0x1b000000
ar71xx-ehci ar71xx-ehci: 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
nf_conntrack version 0.5.0 (462 buckets, 1848 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.
usb 1-1: new full speed USB device using ar71xx-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
xt_time: kernel timezone is -0000
usbcore: registered new interface driver snd-usb-audio
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
br-lan: port 2(wlan0) entering disabled state
device wlan0 left promiscuous mode
br-lan: port 2(wlan0) entering disabled state
device wlan0 entered promiscuous mode
br-lan: port 2(wlan0) entering disabled state
br-lan: port 2(wlan0) entering forwarding state
device wlan0 left promiscuous mode
br-lan: port 2(wlan0) entering disabled state
device wlan0 entered promiscuous mode
br-lan: port 2(wlan0) entering forwarding state

Re: TP Link WR1043ND 11n gigabit router

I just wanted to use p1vo and sala if you compiled your own or you used the binaries from shibby or obsy. By the way, I'll dig up my precision set and the camera as soon as I get the contractor workin' on running wiring.

318 (edited by KillaB 2010-02-24 16:33:39)

Re: TP Link WR1043ND 11n gigabit router

Andrew's patch is now in trunk wink
Thanks juhosg!

Re: TP Link WR1043ND 11n gigabit router

Quick question about opening.. So I removed the two screws and I'm able to partially lift the top cover, but it's still snapped on at the front. There are no screws where the front rubber feet are. When I try to pull the cover toward the front, it won't budge, and I don't think I can lift it straight up due to the QOS button. What gives here? The sooner I get the answer to this one, the sooner I can post up the pics wink

Re: TP Link WR1043ND 11n gigabit router

Hi,
you need to keep lifting upwards. That is how i removed mine atleast.
The button on the front is a piece of plastic that presses another switch.

Re: TP Link WR1043ND 11n gigabit router

Here are my opening instructions.
Feel free to improve on them if it works for you.
https://forum.openwrt.org/viewtopic.php?pid=102780#p102780

322 (edited by FiReSTaRT 2010-02-24 17:38:01)

Re: TP Link WR1043ND 11n gigabit router

Ok, I got'er opened and took some pictures. Couldn't get a good shot of the flash chip. I'll post up the links to the full-sized images (because I don't even know what size to use for the wiki and I've actually never contributed to a wiki, so I'll ask one of you to include'em). I hope this helps..
http://img683.imageshack.us/img683/3373/1000323p.jpg
http://img690.imageshack.us/img690/1913/1000324t.jpg
http://img683.imageshack.us/img683/5954/1000325j.jpg
http://img714.imageshack.us/img714/5780/1000326.jpg
Now I'm off to put her back together wink

Edit: Speaking of the flash chip, I couldn't get a good view of the writing on it but I think it's ST25P64V6P
Edit#2: It was a straight up lift but the bending brought it almost to the breaking point, so do it very carefully.

323

Re: TP Link WR1043ND 11n gigabit router

Schugy wrote:

I know. My router needs resurrection. Well, now I have my PL2303 and a RS232toSmallLumberg cable.
I know I can't solder very well. Is there another way to connect to the pins?

Minimal soldering: http://www.oldgamers.org/~toad/ser/ (Connector is from an old floppy power cable)

324

Re: TP Link WR1043ND 11n gigabit router

Thx for adding the vlan patches to trunk :-))

Re: TP Link WR1043ND 11n gigabit router

So now that mlppp and vlan patches are in the trunk, all that we need are fresher binaries? By the way, will the v1.1 binaries work for the v1.4 hardware or will it have to be a fresh compilation job?