OpenWrt Forum Archive

Topic: D-Link DIR-615 HW rev C1 USB

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

Hi Shadyman,

With common mode choke coil should be better, "CMCCs help improve skews and reduce electromagnetic noise", see … d=ID001683, page 8, and here

About the overcurrent protection, for the 5V USB power supply I've used a dc-dc converter from a Car Cigarette Powered 1000mA USB Adapter Charger similar to … -12v-48925. These have integrated overcurrent protection (at 1000 mA indeed, but I like it) smile

About the 8M flash, I think it would be easier to use one 8M or 16M flash chip just because it has already been done and is well documented, see here Your idea is good, in essence it is adding an additional logical SPI interface, the drawback is I think it will require a kernel hack, and it takes a lot of time. I've thought also for adding an SD flash card (4GB, 8GB, 16GB...) on such additional fast SPI interface, or better - in place of the original 4MB flash chip, but I had no time for implementing this idea. Who would need and USB interface then? smile Just joking, USB's good, you could always plug an USB fan or USB coffee warmer if you have'em smile

A dir615 cluster? MEGAZORD!!!

hi tuckata, do you have 8M flash u-boot for Dir-615 c1? if you have please share it.

No, I use firmware extension on extroot on an USB flash drive and it suits me. 8MB flash would be nice but I have much less time for playing with routers. Have you tried the instructions at

Hi all!
Anybody know how to compile latest trunk with USB support?
I find and open mach-dir-615-c1.c in /target/linux/ar71xx/files/arch/mips/ath79/ directory, but he doesn't look like a regressor manual...
And where i can find setup.c file to modify it?

Hi Mad, // smile

Atheros support has been included in the mainstream linux kernel for some time now and this changes the patching a bit. In /target/linux/ar71xx/files/arch/mips/ath79/mach-dir-615-c1.c you could add "ath79_register_usb();" to include usb support in kernel. But because the usb driver is now part of the kernel the PLL initialization can be modifed by adding a patch file. You could download a patch file for (full) USB support from here … port.patch. It is against  trunk r30919 from 1 April 2012 and should work against the newest trunk. To work it is just placed in folder target/linux/ar71xx/patches-3.2/ but newer trunk uses kernel version 3.3 and the patch should just be placed in target/linux/ar71xx/patches-3.3/.

A ready compiled trunk r30919 for dir-615-c1 can be downloaded from here …

Hope this helps.

Thanks, tukata.
Your answer was very helpful. I viewed your patch file and all became clear.

Hi guys.

Can anybody fix the patch please since tuckata's patch not applicable for Attitude Adjustment (the structure of project changed significantly)?
The patch causes errors with Backfire (@33081) as well but it gives the information on what should be patched manually using patch code and description in wiki (DIR-615 USB mod).

(Last edited by Indoorser on 29 Mar 2013, 05:10)

new compile please! i follow guide but not success on barrier breaker


For Barrier Breaker:

1. Download source with

svn co -r 42625 svn://

2. Download config file in the root of the source tree from … xx_generic

and rename it to .config

mv config.ar71xx_generic .config

3. Download the patch from … 2625.patch

and place it in folder target/linux/ar71xx/patches-3.10/

mv 777-usb-support-r42625.patch target/linux/ar71xx/patches-3.10/

4. In the root of source tree issue

make kernel_menuconfig

You should see that the patch applies smoothly and you could

Enable FPU emulation

5. In the root of source tree issue

make menuconfig

Make changes if you need (you may select only your rooter model for just not to compile all images)

6. In the root of source tree issue


and go for a drink (preferably Barrier Breaker)

7. Enjoy



Very clear guide.
Thank you very much! Best wish for you, tuckata!

(Last edited by hoatienii on 7 Dec 2014, 18:38)

I find 1 free GPIO of DIR 615 C2. Testpoint 8 (TP8) is GPIO16.

Please give the finished collection firmware for DIR 615 C2 Barrier Breaker or newer with built-in support for USB core, usb2, ohci, storage, fs-ext4 (possibly without LuCL). I would be very grateful.

Hi, can anybody please explain how I make  USB for DIR 615 C1 (with all schemes etc). Thank You!

I have three Trendnet TEW-632BRP routers. I am interested in adding USB port to those routers. I know that this has been done but I don't know where is this information. Do you think that the discussion here for DIR-615 C1/2 applies as it is also for 632BRP? On the wiki page it is said that the devices are virtually identical.
Kind regards

The discussion might have continued from here.