TEW-673GRU GPL Available from Trendnet

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page 1, 2, 3 ... 11, 12, 13  Next
Author Message
tipstir
DD-WRT User


Joined: 05 Nov 2007
Posts: 115
Location: USA

PostPosted: Thu Aug 05, 2010 20:46    Post subject: TEW-673GRU GPL Available from Trendnet Reply with quote
Any interest in this router with DD-WRT on it? Trendnet told me they have the GPL available for TEW-673GRU since both WNDR3700 share the same chipset in WNPU & GIG PCI Controller?
_________________
Best Regards,
Tipstir

Routers/AP
EnGenius ESR-9850 1.00/1.12(DHCP)
EnGenius ESR-9850 1.00/1.09 (AP)
Belkin N+ F5D8235-4 v1000/1.01.28 (2x)
Dlink DIR-655 A3/1.32NAB03 Gig
Trendnet TEW-652BRP w/DIR-615 C1/3.11NA
Buffalo WHR-HP-G54 w/DD-WRT V24/SP2/7/09 (2X)
Sponsor
Sash
DD-WRT Guru


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

PostPosted: Fri Aug 06, 2010 9:48    Post subject: Reply with quote
do
http://dd-wrt.com/site/support/router-detection

and then
http://dd-wrt.com/site/community/donations

_________________
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!
Alaska99
DD-WRT Novice


Joined: 18 Mar 2011
Posts: 7

PostPosted: Fri Mar 18, 2011 2:23    Post subject: Reply with quote
I have interest too in TEW-673GRU. Have you find something for this router?
zivan56
DD-WRT Novice


Joined: 05 Apr 2011
Posts: 33

PostPosted: Tue Apr 05, 2011 4:03    Post subject: Reply with quote
I just got one of these. It has the following firmware signalture
AP94-AR7161-RT-080619-01.

So it should be similar to the Linksys WRT400N in terms of the SoC and radio.

The GPL download is quite detailed, and includes binary firmwares and source code for the LCD screen controls and such. It also includes almost everything required to build an image from what I was able to gather.

In the tarball there is mention of
fw_query - "The Procedure of DLINK's FW query" along with references to DIR-615. So I'm guessing the firmware format is similar to that one.

I will dig a bit more into it, but it looks like a relatively easy port considering most of the code/binaries are provided.

Should be easy to debug images with a a serial console since its running u-boot in theory.
zivan56
DD-WRT Novice


Joined: 05 Apr 2011
Posts: 33

PostPosted: Thu Apr 07, 2011 2:22    Post subject: Reply with quote
Internal pictures here:
http://vr-zone.com/articles/trendnet-wireless-n-router-comparison-tew-691gr-vs.-tew-673gru/11688-8.html

Atheros AR7161 SoC (600 MHz)
Realtek RTL8366 (Gigabit controller)
Atheros AR9220 for 5 GHz
Atheros AR9223 for 2.4 GHz
32 MB (256 Mbit) RAM
8 MB flash
zivan56
DD-WRT Novice


Joined: 05 Apr 2011
Posts: 33

PostPosted: Sat Apr 09, 2011 9:05    Post subject: Reply with quote
I guess nobody really is interested in this port, but there may not need to be any interest. Since the hardware is exactly the same as the DIR-825, I have converted it to that router with only a firmware update via the web interface. The OEM firmware is running 100% correctly and I now have a DIR-825.

Key is to change the firmware file signature at the end of the DIR-825 firmware to match this routers signature. Then it upgrades with no issues. You obviously lose the screen, which just displays the logo now.

EDIT: fixed wrong model number.


Last edited by zivan56 on Sat Apr 09, 2011 10:47; edited 1 time in total
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Sat Apr 09, 2011 9:31    Post subject: Reply with quote
zivan56 wrote:
I guess nobody really is interested in this port, but there may not need to be any interest. Since the hardware is exactly the same as the DIR-615, I have converted it to that router with only a firmware update via the web interface. The OEM firmware is running 100% correctly and I now have a DIR-615.

Key is to change the firmware file signature at the end of the DIR-615 firmware to match this routers signature. Then it upgrades with no issues. You obviously lose the screen, which just displays the logo now.


Which version of DIR-615 has a 7161 SOC and a RTL8366SR gigabit switch? Shocked

_________________
Kernel panic: Aiee, killing interrupt handler!
zivan56
DD-WRT Novice


Joined: 05 Apr 2011
Posts: 33

PostPosted: Sat Apr 09, 2011 9:49    Post subject: Reply with quote
Woops, meant to say DIR-825. I found the only differences is the RAM (32 vs 64 MB).
zivan56
DD-WRT Novice


Joined: 05 Apr 2011
Posts: 33

PostPosted: Sat Apr 09, 2011 10:00    Post subject: Reply with quote
Here is the firmware to do the conversion:
http://www.megaupload.com/?d=AZNPY6K6

Just use the regular upgrade interface (no need to do recovery mode).
This will semi-convert it (missing images and some content). But enough to upgrade to the latest D-Link firmware (2.05NA).

The problem now is the DD-WRT firmware for it will not upload in recovery mode even with the same modification. It just stalls while uploading and needs a reboot. It doesn't work through the web interface either (rejects it).

I'm guessing because the signature needs to be at 0x600000 but there is data there and the signature is further back? I am also guessing a micro or other smaller firmware would work.
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Sat Apr 09, 2011 10:53    Post subject: Reply with quote
I don't think it is such a good idea to load the DIR-825 firmware onto this router without knowing the flash layout.

It is quite possible that Brainslayer can add support for this router, even without having the hardware, if he is given bootlogs showing mtd partitions together with a dump of the partitions.

DIR-825 has its ART partition (important radio parameters) around 6.5MB into the flash and if you don't know where the TEW-673GRU has them then you are risking bricking the router or end up with a non-functional radio.

It is better that you give Brainslayer the info that he needs so he can add proper support for the router.
I wouldn't recommend any other user to load the file you uploaded to megaupload. Twisted Evil

_________________
Kernel panic: Aiee, killing interrupt handler!
zivan56
DD-WRT Novice


Joined: 05 Apr 2011
Posts: 33

PostPosted: Sat Apr 09, 2011 11:07    Post subject: Reply with quote
The OEM firmware is virtually identical and the flash size is identical. All MAC address, and even the router login password worked fine without resetting the nvram.
Its got the same firmware signature (minus the two 00 prefixes), same PCB, and is virtually identical in every way except RAM.

I've converted another TrendNet router in the past (tew-432brp), and they always usually are D-Link firmware based (at least the Atheros based ones).

The firmware I linked to will only update the core files, it wont touch recovery partition or any other ones.

Even without DD-WRT, its a huge step up from the barebones configuration available in the default firwmare.


How would I get this information? Is there a web based way to execute arbitrary commands on it? Definitely not willing to do any soldering.
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Sat Apr 09, 2011 16:15    Post subject: Reply with quote
Well, you are lucky that flash layout is identical and that the CAL (ART) partition is in the same place,
this is something you normally check before deciding if you should dare to load another OEM firmware onto the router. :wink:

I don't see why you can't load dd-wrt onto it, have you tried the factory-to-ddwrt conversion file for DIR-825?
You ought to be able to load that one from the Trendnet OEM firmware gui in the same way as you load the DIR-825 OEM firmware.
This is a one time convert, future updates is then done with the dd-wrt file "dir825-firmware.bin"

ftp://dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2011/03-17-11-r16454/dlink-dir825-revb/

The factory-to-ddwrt_TW file does not contain any country information in front of the router string but you probably have to change the last byte from 00 to 01.

_________________
Kernel panic: Aiee, killing interrupt handler!
zivan56
DD-WRT Novice


Joined: 05 Apr 2011
Posts: 33

PostPosted: Sat Apr 09, 2011 19:12    Post subject: Reply with quote
I wasn't too worried, as the options were so limited in the Trendnet router that I didn't care if it went in the garbage bin.

Yes I have tried that, but the "recovery" method used (Step 6 of http://www.dd-wrt.com/wiki/index.php/DIR-825) does not accept either the "conversion" DD-WRT firmware or one modified to have a signature at 0x600000. Interestingly enough, that screen has the same verion numbers and dates as the DIR-825.
However, it seems that this is customized for the Trendnet router.
The way it is customized is that it reverts to the IP of 192.168.10.1 (default Trendnet IP) instead of 192.168.0.1.

So I can use the non-recovery mode to upgrade? Recovery mode isn't required but a recommended method to upgrade to DD-WRT on the DIR?
zivan56
DD-WRT Novice


Joined: 05 Apr 2011
Posts: 33

PostPosted: Sat Apr 09, 2011 21:02    Post subject: Reply with quote
UPDATE!

Conversion fully successful! I just changed the last bit to 1 as you mentioned and it worked fine (TW firmware)

I had to set my ethernet card to 100 Mbps otherwise the recovery mode would not work with 1000 Mbps.

It says it has 64 MB of ram in the DD-WRT interface? Is this just programmed in as a fixed value or does it actually detect that much?

Here is the flash layout:
root@DD-WRT:~# cat /proc/mtd
dev: size erasesize name
mtd0: 00050000 00010000 "RedBoot"
mtd1: 007b0000 00010000 "linux"
mtd2: 00514000 00010000 "rootfs"
mtd3: 00170000 00010000 "ddwrt"
mtd4: 00010000 00010000 "nvram"
mtd5: 00010000 00010000 "FIS directory"
mtd6: 00010000 00010000 "board_config"
mtd7: 00800000 00010000 "fullflash"
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Sun Apr 10, 2011 0:51    Post subject: Reply with quote
zivan56 wrote:

It says it has 64 MB of ram in the DD-WRT interface? Is this just programmed in as a fixed value or does it actually detect that much?



dd-wrt does afaik an automatic ram detection.

The FCC photos of the TEW-673GRU shows 2 pcs of 32MByte ram chips, one on each side of the PCB.
Check yours !

_________________
Kernel panic: Aiee, killing interrupt handler!
Goto page 1, 2, 3 ... 11, 12, 13  Next Display posts from previous:    Page 1 of 13
Post new topic   Reply to topic    DD-WRT 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