TP-Link WR-1043ND

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware
Goto page 1, 2, 3 ... 135, 136, 137  Next
Author Message
andrewt12
DD-WRT Novice


Joined: 06 Dec 2009
Posts: 3

PostPosted: Sun Dec 06, 2009 7:30    Post subject: TP-Link WR-1043ND Reply with quote
Started adding support for this router, almost the same as the WR941ND, differences are Gigabit network, USB2 Host and 8MB Flash.

So far I have OpenWrt running on it but without the switch support, The lan comes up at 1gb but no Vlan partitioning, Wlan works but only limited testing. 54g seems to work well.

My main issue is the Realtek RTL8366RB switch, there are no opensource drivers for it that I can find or the specific datasheet, Ive found binary only kernel modules, who knows what proprietary information they have to hide for a switch. Rolling Eyes

TP-Link have yet to release the GPL source for this model.

Thought I would cross post here to avoid any duplicate work.
https://forum.openwrt.org/viewtopic.php?id=22742


<Edit>
One other little problem is getting the run-time board detection to work, I see in prom.c that the board is picked up from flash somewhere and a list is parsed to find the platform, I followed how WR941nd was added but it doesnt work, gets detected as generic so for now I have to add board=TL-WR1043ND to the kernel command line.
Can someone in the know chime in here ?

Cheers
Andrew
Sponsor
Schugy
DD-WRT User


Joined: 28 Sep 2008
Posts: 82
Location: Germany

PostPosted: Sun Dec 06, 2009 14:10    Post subject: Reply with quote
Hopefully its software is truely open. Interesting specs of course.
andrewt12
DD-WRT Novice


Joined: 06 Dec 2009
Posts: 3

PostPosted: Mon Dec 07, 2009 2:23    Post subject: Reply with quote
Well, I found the rtl8366RB data sheet I need, so I should be able to sort that later.

Regarding the board detection, Ive been digging a little further.

From looking at the detection code in prom.c I see it uses the fw_arg2 for the memory address to look for specific board info, the bootloader must populate this information ?
Whats happening is the detection code is bailing out due to an invalid address, as can be seen below 0x00000010 is not right.
prom: fw_arg0=00000001, fw_arg1=81f77d24, fw_arg2=00000010, fw_arg3=fffffffe

< Edit >
Never mind, worked it out. I should have implemented my board properly in the first place then I would have noticed how the board detection is handled.

Support is now in OpenWRT Trunk.

Andrew
Schugy
DD-WRT User


Joined: 28 Sep 2008
Posts: 82
Location: Germany

PostPosted: Sat Dec 12, 2009 18:19    Post subject: Reply with quote
Hope this one can be supported by DD-WRT soon. andrewt12 has given us this link to the source tarball in the openwrt forums.
Any show stoppers?
andrewt12
DD-WRT Novice


Joined: 06 Dec 2009
Posts: 3

PostPosted: Sun Dec 13, 2009 3:06    Post subject: Reply with quote
The source tarball is not very useful. None of the changes/modifactions for the WR1043ND are included.
It looks almost like the ap83 sdk they would of started with.

The only show stopper at the moment is the rtl8366RB switch support. We can get the switch up at 1gb with 5 ports but no vlan support.

I have source for the switch driver, it can be found in other manufactures tarballs, the one Im working from is Berklin F5D8235v2-2.01.07, they have source in the uboot network drivers folder, which is also a kernel module.

The switch mdio bus is gpio driven, so I have that working and can read/write to the registers. Its going to take time though.

Regards
Andrew
Schugy
DD-WRT User


Joined: 28 Sep 2008
Posts: 82
Location: Germany

PostPosted: Sun Dec 13, 2009 16:33    Post subject: Reply with quote
Quote:
The source tarball is not very useful. None of the changes/modifactions for the WR1043ND are included.
It looks almost like the ap83 sdk they would of started with.


I hope this doesn't have to do with a GPL violation e.g..

Quote:
The only show stopper at the moment is the rtl8366RB switch support. We can get the switch up at 1gb with 5 ports but no vlan support.

At least we need a WAN Port/4 LAN ports

Quote:
The switch mdio bus is gpio driven, so I have that working and can read/write to the registers. Its going to take time though.

I don't understand a word. I'm no developer. And please don't waste your time exlaining it to me :-)

Sounds like you are confident to get this work done. I should get a WR-1043ND and donate some of the euros I've saved compared to the Netgear WGR3500L's price.
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17339
Location: Hesse/Germany

PostPosted: Sun Dec 13, 2009 20:01    Post subject: Reply with quote
do
http://www.dd-wrt.com/site/support/router-detection

_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
_________________
Andreas Baumert: "Kundige Menschen befragen Fachleute, ohne ihnen auf die Nerven zu gehen. Sie stellen keine Fragen, die sie mit etwas Fleiß und Lektüre selber beantworten können. Sie wissen, auf welche Quellen es ankommt,und wie man sich Zugang zu ihnen verschafft."
Schugy
DD-WRT User


Joined: 28 Sep 2008
Posts: 82
Location: Germany

PostPosted: Wed Dec 23, 2009 20:51    Post subject: Reply with quote
My router has arrived. I hope for some progress here :-)

Have tried it out, nice peace of hardware but too simple firmware - I really miss DD-WRT on it.
Schugy
DD-WRT User


Joined: 28 Sep 2008
Posts: 82
Location: Germany

PostPosted: Tue Dec 29, 2009 0:47    Post subject: Reply with quote
My Router has a sticker saying it's a rev 1.4 but the webinterface says:

Firmware Version:
3.9.13 Build 090930 Rel.51043n
Hardware Version:
WR1043N v1 00000000

Samba is 3.0.14a.

Hope this one is compatible with this openwrt snapshot.

Would be great to know if there's a rollback procedure.
Schugy
DD-WRT User


Joined: 28 Sep 2008
Posts: 82
Location: Germany

PostPosted: Wed Jan 06, 2010 21:22    Post subject: Reply with quote
The default firmware doesn't even support NAS on ext2fs.
I'd really like to have dd-wrt on it.
shibby20
DD-WRT Novice


Joined: 08 Jan 2010
Posts: 28

PostPosted: Fri Jan 08, 2010 7:23    Post subject: my openwrt for tplink 1043nd Reply with quote
hello.

i compiled my own openwrt with vlan support.

changelog:
Quote:
- vlan`s (eth0.1 - lan, eth0.2 - wan)
- led wlan is blinking when wlan network is use
- led usb is on when you connect usb device and off when device is disconnect
- compiled webif gui
- repaired 2 bugs in webif
- button QSS run/halt transmission (if installed and configured). Led QSS on = transmission run, led off = transmission = halt)
- added default configuration of transmission (/etc/transmission)
- added default configuration of samba3 (/etc/samba/smb.conf-shibby)
- added default configuration of vsftpd (/etc/vsftpd.conf and /etc/vsftpd.users/shibby)
- added many aplications like nano, adduser, deluser, htop, tar, gzip, bash
- added full mc - added to mc FTP Link and Shell Link features
- added full wget
- added fdisk, mkfs.ext2/ext3/vfat
- added my repository to opkg.conf (openwrt.groov.pl)
- activated bash history
- opened ports from WAN (transmission gui 9091 and transmission port 50005, ftp 21, ssh 22 and port 80 for gui)
- failsafe mode works
- added script sda-to-root*


Transmission, samba and vsftpd are not in firmware. You have to install for using.

*sda-to-root - script make root (/) on sda1 (script is in polish language version). You have to first format sda1 as ext3 and mount to /mnt/sda1 then run /sbin/sda-to-root

I translate the questions of sda-to-root wizard
t - yes
n - no

Quote:

do you want continue? (t/n)
t

1. coping all from rom to /mnt/sda1
Done.
2. coping default settings from /etc to /mnt/sda1
Done.
3. disable automounting USB devide
Done.
4. Have you sda2 partition and want to mount sda2 to /nas? (t/n)
t
/dev/sda2 added mount to /nas
Done.
5. WARING!! SWAP is not recommented to use on flash disc
Do you want to create SWAP file? (t/n)
t
Making SWAP file... please wait
131072+0 records in
131072+0 records out
Setting up swapspace version 1, size = 67104 kB
no label, UUID=0a236ee6-812d-4bd2-bff1-bffa44611a84
Swap 64MB created and activated
Done.
6. changing init script
Done.
7. Done. Restart
root@OpenWrt:~#


and when restart is done
Quote:
root@OpenWrt:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 3.6M 3.6M 0 100% /mnt/oldroot/rom
tmpfs 30.3M 56.0K 30.3M 0% /tmp
tmpfs 512.0K 0 512.0K 0% /dev
/dev/mtdblock3 3.0M 1.7M 1.3M 57% /jffs
mini_fo:/jffs 3.6M 3.6M 0 100% /mnt/oldroot
/dev/sda1 455.7M 86.0M 346.2M 20% /
/dev/sda2 493.8M 10.3M 458.0M 2% /nas
root@OpenWrt:~# free
total used free shared buffers
Mem: 62108 24552 37556 0 3176
Swap: 64724 0 64724
Total: 126832 24552 102280
root@OpenWrt:~#


download openwrt with webig gui
http://openwrt.groov.pl/WR1043NDv1/firmware/r19052%20z%20gui/

download openwrt without gui
http://openwrt.groov.pl/WR1043NDv1/firmware/r19052%20bez%20gui/

have fun Smile
Schugy
DD-WRT User


Joined: 28 Sep 2008
Posts: 82
Location: Germany

PostPosted: Wed Jan 13, 2010 15:57    Post subject: Reply with quote
Shibby´s openwrt firmware does quite a good job already. For dd-wrt this router isn´t even in the database - but maybe it´s just for the bigger surprise Wink
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17339
Location: Hesse/Germany

PostPosted: Wed Jan 13, 2010 18:32    Post subject: Reply with quote
seems that nobodey reads my posts....
_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
_________________
Andreas Baumert: "Kundige Menschen befragen Fachleute, ohne ihnen auf die Nerven zu gehen. Sie stellen keine Fragen, die sie mit etwas Fleiß und Lektüre selber beantworten können. Sie wissen, auf welche Quellen es ankommt,und wie man sich Zugang zu ihnen verschafft."
Schugy
DD-WRT User


Joined: 28 Sep 2008
Posts: 82
Location: Germany

PostPosted: Wed Jan 13, 2010 21:32    Post subject: Reply with quote
Sash wrote:
do
http://www.dd-wrt.com/site/support/router-detection


Compatability should be proven (switch is worked on).

Most info and photos can be found here.
The FCC ID is TE7WR1043NX

We can also provide some dmesg output.

What else do you need?
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17339
Location: Hesse/Germany

PostPosted: Thu Jan 14, 2010 11:04    Post subject: Reply with quote
i wont go do any of your work.
gimme the info or close the topic

_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
_________________
Andreas Baumert: "Kundige Menschen befragen Fachleute, ohne ihnen auf die Nerven zu gehen. Sie stellen keine Fragen, die sie mit etwas Fleiß und Lektüre selber beantworten können. Sie wissen, auf welche Quellen es ankommt,und wie man sich Zugang zu ihnen verschafft."
Goto page 1, 2, 3 ... 135, 136, 137  Next Display posts from previous:    Page 1 of 137
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum