D-Link DIR-615 rev C2 USB port mod

  1. Download svn source code
  2. Edit file target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-615-c1.c
    • Add line #include “dev-usb.h” after line #include “dev-leds-gpio.h”
    • Add line ar71xx_add_device_usb(); before line “if (nvram_parse_mac_addr(....”
  3. Edit file target/linux/ar71xx/files/arch/mips/ar71xx/setup.c
    • Add line ar71xx_pll_wr(0x08, 0x00001030); before line ar71xx_detect_mem_size();
  4. Run 'make menuconfig' and select platform/profile and other options (usb-core,
    usb-storage, usb2.0, block-extroot, etc - all what you want)
  5. Compile image and flash it to router.
  1. Solder usb socket (i soldered horizontal for testing but later i'll replace it with part of usb extender)
  2. Solder usb power. My Dir-615C2 use 5V power source so I just solder a wire from power input to usb +5V line. But I think i'll install dc/dc 0505 isolator instead of this wire.
  3. Solder two usb data line resitors (r237/r230 - 22 Ohms)


  4. Solder pull-down resistors at the bottom of the pcb. Use small 0603 smd 15k resistors (marked as '153').


  5. Solder usb_rref (also known as USB_REXT) 6,19kOhm resistor (A note by another user about what follows: this 6.19 kOhm resistor is already on the board, it is R66 at the corner of U1 on the top side (we can see it on the picture showing the serial header further below). Soldering a resistor on footprint R13 as shown here would be actually a pull-down on EJTAG_SEL, disabling enhanced JTAG, which is already enabled thanks to R11, a zero-ohm resistor connected to 3.3 V supply. In order words, soldering the resistor as described here is like soldering a resistor between the 3.3 V rail and ground. See schematic dir615c1.pdf) (I soldered 4.7K, but later I got a dir-615c1 circuit with usb_rref=6.19K 1%) at the bottom of the pcb near ar9130 processor (look photo). I soldered 0805 size because didn't find 4k7 0603 size at home. If your solder skills not good - ask to solder this in any cellphone repair service (size of 0603 resistor - 1.6×0.8 mm)


  6. Solder serial header (you'll need it :)


  7. Now check pcb... Twice! Connect serial and power router on.......
    Wait until device boot and connect flashdrive. If you did all well you'll see at serial console:
    \\
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2018/02/07 11:20
  • by 127.0.0.1