Install DD-WRT on a D-Link DIR-330 router

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2, 3, 4  Next
Author Message
xcgames
DD-WRT Novice


Joined: 28 Feb 2008
Posts: 1

PostPosted: Thu Feb 28, 2008 4:45    Post subject: Install DD-WRT on a D-Link DIR-330 router Reply with quote
Hi all, I'm new to this forum. I have a D-Link DIR-330 router that I'd like to run DD-WRT On. I found the router on the device compatibility list, however I couldn't find any information on how to install the firmware from the installation guide. Can someone offer me some steps on how to put install DD-WRT on the DLink?

Thanks!
Sponsor
mobidutch
DD-WRT User


Joined: 18 Jan 2008
Posts: 136
Location: USA, TX

PostPosted: Tue Mar 18, 2008 17:15    Post subject: Re: Install DD-WRT on a D-Link DIR-330 router Reply with quote
xcgames wrote:
Hi all, I'm new to this forum. I have a D-Link DIR-330 router that I'd like to run DD-WRT On. I found the router on the device compatibility list, however I couldn't find any information on how to install the firmware from the installation guide. Can someone offer me some steps on how to put install DD-WRT on the DLink?

Thanks!

It's not supported yet. It was added recently to the list of hardware, with the note that it is a work-in-progress.

I have the same unit, and bought a JTAG cable to see if I can get the info to the guru's that they need. But I'll need help with that too..no clue where the JTAG pinouts are on the PCB. So bear with me....this may take a while...
punker_4_real
DD-WRT User


Joined: 22 Oct 2006
Posts: 243

PostPosted: Tue Mar 18, 2008 22:37    Post subject: Re: Install DD-WRT on a D-Link DIR-330 router Reply with quote
mobidutch wrote:
xcgames wrote:
Hi all, I'm new to this forum. I have a D-Link DIR-330 router that I'd like to run DD-WRT On. I found the router on the device compatibility list, however I couldn't find any information on how to install the firmware from the installation guide. Can someone offer me some steps on how to put install DD-WRT on the DLink?

Thanks!

It's not supported yet. It was added recently to the list of hardware, with the note that it is a work-in-progress.

I have the same unit, and bought a JTAG cable to see if I can get the info to the guru's that they need. But I'll need help with that too..no clue where the JTAG pinouts are on the PCB. So bear with me....this may take a while...


Post some pic's High Rez of the PCB Smile
mobidutch
DD-WRT User


Joined: 18 Jan 2008
Posts: 136
Location: USA, TX

PostPosted: Tue Mar 18, 2008 22:50    Post subject: Reply with quote
I uploaded a picture of the PCB here.

There's also a wiki page for the DIR-330 here, but I suspect the bootlog listed there is copied from something else.

Anyway. I just figured out the JTAG pinout of the J4 header, it's using the EJTAG 2.6 layout. I'm modifying a cable now...will post here if I have any results.
Tornado
DD-WRT Developer/Maintainer


Joined: 07 Jun 2006
Posts: 2087
Location: Odessa, Ukraine

PostPosted: Wed Mar 19, 2008 5:25    Post subject: Reply with quote
If it is EJTAG 2.6 "You MAY" have to use /nodma when probing or flashing....

P.S. What flash chip is in it ? /nodma is very slow "Pracc", but it is possible to use /nodma and /bypass together, and it will get flashed much faster.

Please send the output from a -probeonly when you get your jtag setup

_________________
Want JTAG support - Donate a router
or Donate with PayPal !

My preferred parallel jtag adapter:
TIAO Parallel adapter

Tjtag website - http://tjtag.com

Compiling DD-WRT on:
AMD Phenom II X6 1090T @ 3926.667 Mhz

Aptosid X64 - Debian SID X64
Ubuntu 10.10 X64 - Arch X64
mobidutch
DD-WRT User


Joined: 18 Jan 2008
Posts: 136
Location: USA, TX

PostPosted: Wed Mar 19, 2008 14:24    Post subject: Reply with quote
Haven't gotten far yet. The cable itself seems to be talking to the board (played for a sec with OCD Commander), but I don't have a Linux install to compile HairDairy. I'll dowload a VMWare image of Ubuntu or Debian today.

BTW..on the LAN side my router now comes up with the emergency firmware flash page on 192.168.0.1, which incidentally does NOT succeed. Bricked I guess. In case I needed more motivation to get this JTAG thing going.

The flash chip..I'm not sure. The one right next to the JTAG header is RT9183H, seems to be a voltage regulator. Other than that, I can find 2x MP1410ES and 2x GS1117..neither of those seem to be flash memory chips.
Tornado
DD-WRT Developer/Maintainer


Joined: 07 Jun 2006
Posts: 2087
Location: Odessa, Ukraine

PostPosted: Wed Mar 19, 2008 14:31    Post subject: Reply with quote
Picture could help us ?
_________________
Want JTAG support - Donate a router
or Donate with PayPal !

My preferred parallel jtag adapter:
TIAO Parallel adapter

Tjtag website - http://tjtag.com

Compiling DD-WRT on:
AMD Phenom II X6 1090T @ 3926.667 Mhz

Aptosid X64 - Debian SID X64
Ubuntu 10.10 X64 - Arch X64
mobidutch
DD-WRT User


Joined: 18 Jan 2008
Posts: 136
Location: USA, TX

PostPosted: Wed Mar 19, 2008 14:58    Post subject: Reply with quote
Hi Tornado..see 4th post in this thread. Not detailed enough to read the letters on the chips, but I can tell you what each says...
Tornado
DD-WRT Developer/Maintainer


Joined: 07 Jun 2006
Posts: 2087
Location: Odessa, Ukraine

PostPosted: Wed Mar 19, 2008 15:13    Post subject: Reply with quote
Hehehe, sorry about that, its the chip next to the processor, closest to the lights, can you give me the numbers off of that ?
_________________
Want JTAG support - Donate a router
or Donate with PayPal !

My preferred parallel jtag adapter:
TIAO Parallel adapter

Tjtag website - http://tjtag.com

Compiling DD-WRT on:
AMD Phenom II X6 1090T @ 3926.667 Mhz

Aptosid X64 - Debian SID X64
Ubuntu 10.10 X64 - Arch X64
mobidutch
DD-WRT User


Joined: 18 Jan 2008
Posts: 136
Location: USA, TX

PostPosted: Wed Mar 19, 2008 15:50    Post subject: Reply with quote
No problem Very Happy.

Yup, you're right, that's a flash memory chip:

S29GL064A90TFIR3
0646FBA N
SPANSION
Tornado
DD-WRT Developer/Maintainer


Joined: 07 Jun 2006
Posts: 2087
Location: Odessa, Ukraine

PostPosted: Wed Mar 19, 2008 16:00    Post subject: Reply with quote
Good, we already have support for that chip in Tjtag
_________________
Want JTAG support - Donate a router
or Donate with PayPal !

My preferred parallel jtag adapter:
TIAO Parallel adapter

Tjtag website - http://tjtag.com

Compiling DD-WRT on:
AMD Phenom II X6 1090T @ 3926.667 Mhz

Aptosid X64 - Debian SID X64
Ubuntu 10.10 X64 - Arch X64
mobidutch
DD-WRT User


Joined: 18 Jan 2008
Posts: 136
Location: USA, TX

PostPosted: Wed Mar 19, 2008 16:19    Post subject: Reply with quote
Any tips on what to do next here?

I am using this JTAG board, I modified the cable to go from the ARM JTAG layout on the JTAG board to the EJTAG 2.6 layout of the DIR-330 JTAG header.

I suppose I now need to compile the HairyDairy stuff and hook it up, using the /nodma switch?
Tornado
DD-WRT Developer/Maintainer


Joined: 07 Jun 2006
Posts: 2087
Location: Odessa, Ukraine

PostPosted: Wed Mar 19, 2008 16:37    Post subject: Reply with quote
Why there is a linux version included in Tjtag ? Let get that running and post the results of tjtag - probeonly /noemw

Even if it does not detect it completely, I will add detection.

_________________
Want JTAG support - Donate a router
or Donate with PayPal !

My preferred parallel jtag adapter:
TIAO Parallel adapter

Tjtag website - http://tjtag.com

Compiling DD-WRT on:
AMD Phenom II X6 1090T @ 3926.667 Mhz

Aptosid X64 - Debian SID X64
Ubuntu 10.10 X64 - Arch X64
Tornado
DD-WRT Developer/Maintainer


Joined: 07 Jun 2006
Posts: 2087
Location: Odessa, Ukraine

PostPosted: Wed Mar 19, 2008 17:28    Post subject: Reply with quote
@mobidutch
Ha, thats funny, I just got two of these a week or two ago, took me a while to figure it out, because it is not wired correctly. which pinout are you using, 14 std ? If so, do this

your jumpers should be like this:

pwr-sel 1-2
tdo-sel 1-2
Nrst 2-3
nTRST 1-2

you do not need to connect anything to pin 11 on the router, and really you do not need to connect anything to pin 1 on the router... then you should be good with the defaults in tjtag and or you can add the switch /wiggler

_________________
Want JTAG support - Donate a router
or Donate with PayPal !

My preferred parallel jtag adapter:
TIAO Parallel adapter

Tjtag website - http://tjtag.com

Compiling DD-WRT on:
AMD Phenom II X6 1090T @ 3926.667 Mhz

Aptosid X64 - Debian SID X64
Ubuntu 10.10 X64 - Arch X64
mobidutch
DD-WRT User


Joined: 18 Jan 2008
Posts: 136
Location: USA, TX

PostPosted: Wed Mar 19, 2008 17:42    Post subject: Reply with quote
Hey great, thanks for THAT bit of info!!! Very Happy

I think I better put in a few hours of work, but I'll be continuing this later tonight. Thanks!
Goto page 1, 2, 3, 4  Next Display posts from previous:    Page 1 of 4
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC 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 can attach files in this forum
You can download files in this forum