OpenWrt Forum Archive

Topic: SD mod for Dlink WBR-1310

The content of this topic has been archived on 18 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi All,
I have an old Dlink WBR-1310 D1 kicking around and I was wondering if it is possible to do the SD mod to it.

I have the WBR-1310 just sitting here and have a 64 Mb micro SD card and adapter from an old cell phone. 

I am wondering if it is possible to do the SD mod and install a base version of OpenWrt on the 2Mb flash chip and use the SD card to access all the extra features (QoS, VPN, etc.).

This is very much a fun project that I want to do just to see if it can be done.

Plus this gives me an opportunity to get some hands on learning of OpenWrt.

I've searched high and low and have learned that some people have replaced the 2Mb flash ram with a 4Mb chip, however the instructions on how to do so are thin and I'd prefer not desoldering a chip with 16 connections.

I did find a thread where people where successful in doing the SD mod on a AR5315 chipset, the WBR-1310 however has the Atheros: AR2317 chipset (if I am not mistaken).

Here is a post to a couple of useful links that I found:

https://forum.openwrt.org/viewtopic.php?id=8912

http://www.dd-wrt.com/phpBB2/viewtopic. … 44f9088281


Also, could someone please point me to a thread or provide me with a link explaining how the GPIO are determined (I think I read somewhere that OpenWrt has a program available to help in this regards).

I would very much like to know if this SD mod is even possible with the WBR-1310 and convert this humble router into a kick-ass OpenWrt router.

If the SD mod can't be done, how about the USB mod?

I may be new to OpenWrt but am not new to Linux (been running it exclusively at home for about 5 years - I actually multi-boot 8 distro's none of them are Ubuntu).
I also have some experience soldering and have flashed a couple of routers with third party firmware.
The first one was with Tomato, the second one was bricked and I fixed it prior to flashing DD-WRT.

If this project is possible, I will contribute back to the community posting all the steps required, pitfalls to avoid and photos (if possible) to do this in case someone else wants to have some fun with an inexpensive router and some spare parts.
I think if you look around and are a little lucky you could get everything necessary for this project for $0-$10.

Sorry for the long post but I searched high and low and have not found any answers and so thought I'd ask the experts.

I would greatly welcome and appreciate any help that you may provide.

(Last edited by neoveo on 18 Jan 2011, 06:30)

The WBR1310 is very similar to the DIR-300/AR430W but neutered with a 2 MB flash chip.

Picking up and old DIR-300/AR430W should be relatively cheap.
It is a lot less hastle than replacing the flash chip.

However, if this is an exercise on hacking, having some fun and a lot of frustration (takes a bit of skill, some solder tools, jtag and a lot of patience) then try the following:

(1) Seach OPENWRT for WBR1310 and you will find some info on how to change out the flash chip.
For 4MB you will need a SPANSION - S25FL032A FLASH 3V 32Mb SPI type chip.
Look up the type of flash chip used in the DIR-300.

(2) Try this external link http://tinyhack.com/2010/04/04/d-link-d … nd-sd-mod/

(3) You will need a JTAG interface to reflash the AP61 Boot ROM Redboot.

(3) Google is your friend.

Probably not worth it if you don't have any of the solder tools/skills or JTAG already.

lots of luck;

john

johnisaacson wrote:

The WBR1310 is very similar to the DIR-300/AR430W but neutered with a 2 MB flash chip.

Picking up and old DIR-300/AR430W should be relatively cheap.
It is a lot less hastle than replacing the flash chip.

However, if this is an exercise on hacking, having some fun and a lot of frustration (takes a bit of skill, some solder tools, jtag and a lot of patience) then try the following:

(1) Seach OPENWRT for WBR1310 and you will find some info on how to change out the flash chip.
For 4MB you will need a SPANSION - S25FL032A FLASH 3V 32Mb SPI type chip.
Look up the type of flash chip used in the DIR-300.

(2) Try this external link http://tinyhack.com/2010/04/04/d-link-d … nd-sd-mod/

(3) You will need a JTAG interface to reflash the AP61 Boot ROM Redboot.

(3) Google is your friend.

Probably not worth it if you don't have any of the solder tools/skills or JTAG already.

lots of luck;

john

Thanks for your help John I really appreciate it.

I made a few calls and the Spansion 29F032 is $16 and no one could source the S25FL032A.  That's way more money than I want to spend on a flash chip to mod this.

Do you know how to determine the correct GPIO solder points for the WBR-1310?

My thinking is once I have those points it should be fairly simple to do the SD mod and I am hoping that the software mod will not be insurmountable.

I tried looking up the GPIO program that is mentioned on OpenWrt but the link is no longer valid.

I Googled the GIPO.c program and found the code, although it appears that it is for later versions of the Atheros: AR2317 chipset.
Am I wrong about this?

Also there doesn't seem to be much in way of instruction as to how to use it.  I do have a multimeter, but is it necessary to use an Oscilloscope to test these for these points?

How similar is the hardware between the WBR1310 and the DIR-300/AR430W?

I think I saw a post with the GPIO points for the DIR-300, could I use those?

Thanks again for your help, I do appreciate it and see that you too would like to mod the WBR1310.

Hopefully we can find a way to turn this relatively inexpensive router into something quite remarkable.

I think you will find the GPIO's on the WBR2310 the same as the DIR-300.
I modified a WBR2310 to a 4MB flash ROM and then installed Redboot.
For the hardware I don't have a scope or any fancy test equipment. I just use a good quality VOM.
(I do have about 45 years of electronic's and software experience going for me so that helps.)
This made it the same as a DIR-300/AR430W for all intents and purpose.
Check the documentation (http://wiki.openwrt.org/toh/d-link/dir-300?s[]=dir&s[]=300).

You will need a jtag (http://wiki.openwrt.org/doc/hardware/jtag.cable) to get your boot loader installed.

If you go to the tinyhack.com web site (http://tinyhack.com/2010/04/04/d-link-d … nd-sd-mod/) it lays out the GPIO points.

There is firmware to test the GPIO points but you need a larger flash to install it from the OPENWRT OPKG source.
You have to have OPENWRT installed so sort of a catch22 if you don't have the resources as noted earlier.

I have not found any easily available OPENWRT that fits in a 2MB flash for an Atheros based router but some one may have done it.
There is an old version of White Russian that fits 2MB on a Broadcom based router (check the repositories) but it is severely limited.

I have found if you search the forum and read the documentation and use Google you can pretty well figure out what you need to do.
I don't think there is any magic bullet, it just takes work and time to learn.
If you are struggling to understand the technical stuff then you have a bit of homework to do.
Be aware that playing with hardware and software can be a fast road to the "land of the brick for you router" so don't use you primary router to tinker with
but if this is an old unit and if you treat it like it is already toasted then go to and have fun...........it's the only way to learn.

Hope this helps.

john

correction I meant WBR2310.
Not sure if all applies to the WBR1310 although they look the same on the outside.

john

Hi John,
I opened up my WBR1310 and compared it with the photos of the DIR-300 showing its GPIO points on the Tinyhack website.

Unfortunately they do not match, not even close.

And now I've learned that there is no way for me to even find out the GPIO's.

From my previous searches I learned that the Spansion 29F032 is the flash chip to use which would allow me to install OpenWrt or DD-WRT, however at $16 for the chip alone is too much.
You could put that money towards a much better router instead.

If I can find a Spansion 29F032 on the cheap I'll do this mod, however Digikey doesn't even carry them.

Unfortunately it looks like I've hit a brick wall with this one.

It was exciting to think about modding this old router though.

Thanks again for your help.

Not a problem....sometimes someone gives a hint and gets you going.
Another thing that I'm sure you already know, companies such as Dlink and others will issue the same router number with a different revision and it is a toataly different beast under the hood.

Can lead you up the garden path if you did not note the various different revisions.
Also check the supported devices in the documentation....this eliminates a lot of headaches.

Check around, there are devices that support the full OPENWRT for a few $$.
(hint: check with your local goodwill or salvation army outlets if they are in you niebourhood. you may pick up something for a couple of bucks).

john

Does anyone know what other chip (4Mb) can be used to replace the Spansion 29F016 (2Mb) ?

I read somewhere that a Spansion 25FL032 may work but am unsure.

The discussion might have continued from here.