User Tools

Site Tools


toh:d-link:dir-615

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Previous revision
toh:d-link:dir-615 [2013/10/29 18:58]
toh:d-link:dir-615 [2015/05/05 19:55] (current)
tmomas [Supported Versions] H1 updated to 12.09
Line 4: Line 4:
 | C1, C2 | Attitude Adjustment RC1 | Full support, eth/​wireless/​leds/​buttons ok  | | C1, C2 | Attitude Adjustment RC1 | Full support, eth/​wireless/​leds/​buttons ok  |
 | D1/D2 | trunk | Partly working - problems with ethernet. Requires manual custom build. | | D1/D2 | trunk | Partly working - problems with ethernet. Requires manual custom build. |
-| D3 | 12.09 (Attitude Adjustment) | Internet LED not working; ​manual 'ifup wan' ​needed; ​Intel Wi-Fi Link 1000 BGN card works only with latest drivers and disabled 802.11n mode; [[https://​forum.openwrt.org/​viewtopic.php?​id=35184|Forum]] | +| D3 | 12.09 (Attitude Adjustment) | [[http://​wiki.openwrt.org/​toh/​d-link/​dir-615#​revision.d3|Workarounds available for: (1) manual 'ifup wan', (2) WAN LED and (3) Intel Wi-Fi Link 1000 BGN]]; [[https://​forum.openwrt.org/​viewtopic.php?​id=35184|Forum]]; [[https://​dev.openwrt.org/​ticket/​14827|Connection resets]] | 
-| D4 | trunk | Working with AA (12.09) [[https://​forum.openwrt.org/​viewtopic.php?​id=35184|Forum]] ​ |+| D4 | 12.09 (Attitude Adjustment) ​| Working with AA (12.09) [[https://​forum.openwrt.org/​viewtopic.php?​id=35184|Forum]] ​ |
 | E1 - E4 | Backfire | (Works with DIR-600 rev. A1 firmware)*, LEDs should work since [[https://​dev.openwrt.org/​changeset/​29973/​trunk|R29973]],​ support for E4 merged with [[toh:​d-link:​DIR-600]] A1 in [[https://​dev.openwrt.org/​changeset/​29976/​trunk|R29976]] ​ | | E1 - E4 | Backfire | (Works with DIR-600 rev. A1 firmware)*, LEDs should work since [[https://​dev.openwrt.org/​changeset/​29973/​trunk|R29973]],​ support for E4 merged with [[toh:​d-link:​DIR-600]] A1 in [[https://​dev.openwrt.org/​changeset/​29976/​trunk|R29976]] ​ |
-| H1 | trunk | Partly working - Requires manual custom build with network configuration ​|+| H1 | 12.09 | Working as of [[https://​dev.openwrt.org/​changeset/​36213/​trunk|R36213]] ​|
 | H2 | trunk | See H1 or [[https://​forum.openwrt.org/​viewtopic.php?​pid=205392#​p205392|Forum]] | | H2 | trunk | See H1 or [[https://​forum.openwrt.org/​viewtopic.php?​pid=205392#​p205392|Forum]] |
 +| I1 | - | WIP. See [[https://​forum.openwrt.org/​viewtopic.php?​id=43515|Forum]] |
 **NOTE:** ONLY revision C1 and C2 are fully supported yet.  **NOTE:** ONLY revision C1 and C2 are fully supported yet. 
 *You might have to change the magic number at the end of the OpenWRT firmware to the one used by the stock DIR-615 firmware to get it to upload. ​ \\  *You might have to change the magic number at the end of the OpenWRT firmware to the one used by the stock DIR-615 firmware to get it to upload. ​ \\ 
Line 18: Line 19:
 | A1? | | | A1? | |
 | B2 | Ubicom & SPI Flash with 2 MB only | | B2 | Ubicom & SPI Flash with 2 MB only |
-| D5 | Ralink RT3352F SoC |+| D5 | Ralink RT3352F SoC, you could try [[http://​wiki.openwrt.org/​toh/​d-link/​dir-620|DIR-620 D1]] image |
 | F1, F2 | SPI Flash with 2 MB only | | F1, F2 | SPI Flash with 2 MB only |
 | J1 | Realtek RTL8196C & SPI Flash with 2 MB only | | J1 | Realtek RTL8196C & SPI Flash with 2 MB only |
Line 34: Line 35:
 |G1      | Ralink ​ | 32MB | 8MB | 4x1 | No | No   | Yes | ?   | |G1      | Ralink ​ | 32MB | 8MB | 4x1 | No | No   | Yes | ?   |
 |H1, H2  | Ralink ​ | 32MB | 4MB | 4x1 | No | No   | Yes | Yes | |H1, H2  | Ralink ​ | 32MB | 4MB | 4x1 | No | No   | Yes | Yes |
-|I1      | Atheros | 32MB | no no +|I1 - I3 | Atheros | 32MB | 4MB 4x1 No No   Yes Yes 
-|I2      ​| ​  |  |      +|J1      ​| ​Realtek ​16MB 2MB  ​| ​4x1 No |No Yes Yes 
-|J1      ​| ​Realtek ​16MB 2MB  ​| 4x1 |  No |  No |  Yes  Yes +|K1      ​| ​Broadcom ​32MB 4MB | 4x1 | No |No | No | Yes  | 
-|K1      | Broadcom | 32MB | 4MB | 4x1 |  No |  No |  No  |  Yes  |+|K2      | Broadcom | 32MB | 4MB | 4x1 | No |No | No | Yes  | 
 +|M1      | Realtek | 32MB | 4MB | 4x1 | No |No | No | Yes  
 +|N1      | Realtek | 32MB | 4MB | 4x1 | No |? | Yes | No  |
  
 ===== Source Code ===== ===== Source Code =====
Line 55: Line 58:
   - As per the note at http://​www.dd-wrt.com/​wiki/​index.php/​DIR-615C , "If your dlink 615 C1 is at f/w 3.12 or 3.11 you may have to revert it to 3.10"​. ​ The older firmware is available from [[http://​www.dlink.com/​us/​en/​support/​product/​dir-615-wireless-n-300-router?​revision=us_revc|D-Link support]].   - As per the note at http://​www.dd-wrt.com/​wiki/​index.php/​DIR-615C , "If your dlink 615 C1 is at f/w 3.12 or 3.11 you may have to revert it to 3.10"​. ​ The older firmware is available from [[http://​www.dlink.com/​us/​en/​support/​product/​dir-615-wireless-n-300-router?​revision=us_revc|D-Link support]].
   - Set a static IP on your PC to '​192.168.0.2'​.   - Set a static IP on your PC to '​192.168.0.2'​.
-  - Press and hold the reset button until the power LED starts blinking orange (usually takes ~45 seconds). Or, hold down the reset button while powering on the router, this is much quicker and only takes 5-15 seconds.+  - Press and hold the reset button until the power LED starts blinking orange (usually takes ~45 seconds) ​to switch to firmware recovery mode. Or, hold down the reset button while powering on the router, this is much quicker and only takes 5-15 seconds.
   - Go to '​http://​192.168.0.1'​ from your PC web browser. (Note: most modern browsers don't work, see below, Firefox 13 portable version is known to work)   - Go to '​http://​192.168.0.1'​ from your PC web browser. (Note: most modern browsers don't work, see below, Firefox 13 portable version is known to work)
   - "​Browse"​ and select the OpenWrt firmware (e.g. '​openwrt-ar71xx-dir-615-c1-squashfs-factory.bin'​).   - "​Browse"​ and select the OpenWrt firmware (e.g. '​openwrt-ar71xx-dir-615-c1-squashfs-factory.bin'​).
Line 79: Line 82:
  ​{{:​media:​dir615c2hex_edit_image.png}}  ​{{:​media:​dir615c2hex_edit_image.png}}
  
-==== Rev. D1-D4 ====+===== Rev. D1-D4 =====
  
 These use a Ralink chipset that only has preliminary support and requires a manual build. D1/D2 models are known to have problems with the latest ethernet driver(s) and require the use of an older driver. D3/D4 are relatively stable with an unmodified trunk build. These use a Ralink chipset that only has preliminary support and requires a manual build. D1/D2 models are known to have problems with the latest ethernet driver(s) and require the use of an older driver. D3/D4 are relatively stable with an unmodified trunk build.
Line 108: Line 111:
 This has been tested and the router works flawlessly. ​ This has been tested and the router works flawlessly. ​
  
-**D3**+==== Revision ​D3 ====
  
 Works with Attitude Adjustment (12.09). Works with Attitude Adjustment (12.09).
Line 118: Line 121:
 3. Upload the firmware. If the upload does not start, just try another browser, e.g. Firefox. 3. Upload the firmware. If the upload does not start, just try another browser, e.g. Firefox.
  
-4. Perform initial configuration ([[doc:howto:First login]]).+4. Perform initial configuration ([[http://​wiki.openwrt.org/​doc/howto/​firstlogin|First login]]).
  
 5. There could be a problem, that the WAN connection is not automatically configured because the '​wan'​ interface is not enabled during boot. To fix it: 5. There could be a problem, that the WAN connection is not automatically configured because the '​wan'​ interface is not enabled during boot. To fix it:
   * Variant 1: login via telnet/ssh and type 'ifup wan'; edit /​etc/​rc.local and add 'ifup wan' there to automatically enable it during boot.   * Variant 1: login via telnet/ssh and type 'ifup wan'; edit /​etc/​rc.local and add 'ifup wan' there to automatically enable it during boot.
-  * Variant 2: go to luci --> System ​--> Startup ​--> 'Local startup'​ and add line 'ifup wan' before 'exit 0' line in rc.local. Reboot router.+  * Variant 2: go to luci -> System -> Startup -> 'Local startup'​ and add line 'ifup wan' before 'exit 0' line in rc.local. Reboot router.
  
 6. There could be serious problems (reconnects,​ very high packet loss rate) with Intel Wi-Fi Link 1000 BGN Cards on Windows (the factory firmware from D-Link works just well with these cards). To fix it with OpenWRT, download and install latest drivers from [[http://​www.intel.com/​p/​en_US/​support/​highlights/​wireless/​1000|Intel web site]]). Then go to  6. There could be serious problems (reconnects,​ very high packet loss rate) with Intel Wi-Fi Link 1000 BGN Cards on Windows (the factory firmware from D-Link works just well with these cards). To fix it with OpenWRT, download and install latest drivers from [[http://​www.intel.com/​p/​en_US/​support/​highlights/​wireless/​1000|Intel web site]]). Then go to 
 Network and Sharing Center, open properties of your wireless adapter, then Configure, then Advanced and disable 802.11n mode there. Network and Sharing Center, open properties of your wireless adapter, then Configure, then Advanced and disable 802.11n mode there.
  
-7. | FIXMEHow to enable WAN LED |+7. By default the WAN LED is not configured correctly. To fix it: 
 +Go to System -> LED Configuration and change the first LED config as follows: 
 +  * Name: Status LED (green) 
 +  * LED Name: d-link:​green:​wan 
 +  * Default state: unchecked 
 +  * Trigger: netdev 
 +  * Device: eth0.2 (you can find this on Network -> Interfaces under WAN) 
 +  * Trigger Mode: All checked (Link On, Transmit, Receive) 
 + 
 +8. There could be a regular connection resets. The problem is described here: [[https://​dev.openwrt.org/​ticket/​14827|Ticket]],​ [[​https://​forum.openwrt.org/​viewtopic.php?​id=47998|Forum]],​ [[http://​superuser.com/​questions/​693534/​openwrt-regular-connection-resets|SuperUser]]
  
 **D4** **D4**
Line 138: Line 150:
  
 ==== Rev. H1 ==== ==== Rev. H1 ====
 +
 +As of [[https://​dev.openwrt.org/​changeset/​36213/​trunk|R36213]] this router no longer needs a custom build. The following only applies to older revisions.
  
 Requires at minimum a customized /​etc/​config/​network. If you have a working network with DHCP server you can put the following in your /​etc/​config/​network (you have to edit via serial connection for the first time or have a custom build with the modified /​etc/​config/​network):​ Requires at minimum a customized /​etc/​config/​network. If you have a working network with DHCP server you can put the following in your /​etc/​config/​network (you have to edit via serial connection for the first time or have a custom build with the modified /​etc/​config/​network):​
Line 418: Line 432:
  
 | **Architecture:​** Mips24kc |  | **Architecture:​** Mips24kc | 
-| **Bootloader:​** ​+| **Bootloader:​** ​U-Boot ​
 | **System-On-Chip:​** ​ Atheros AR9341 rev 1.1 |  | **System-On-Chip:​** ​ Atheros AR9341 rev 1.1 | 
 | **CPU Speed:** 535 Mhz |  | **CPU Speed:** 535 Mhz | 
 | **Flash-Chip:​** mx25l3206d |  | **Flash-Chip:​** mx25l3206d | 
-| **Flash size:​** ​|+| **Flash size:​** ​4 MiB |
 | **RAM-Chip:​** [[http://​www.winbond.com.tw/​NR/​rdonlyres/​11505884-F632-41F9-9438-A3EC025FEAED/​0/​W9425G6JH.pdf |1 x W9425g6JH-5]] |  | **RAM-Chip:​** [[http://​www.winbond.com.tw/​NR/​rdonlyres/​11505884-F632-41F9-9438-A3EC025FEAED/​0/​W9425G6JH.pdf |1 x W9425g6JH-5]] | 
 | **RAM size:** 32 MiB (2 x 2M x 16bit x 4 banks) |  | **RAM size:** 32 MiB (2 x 2M x 16bit x 4 banks) | 
Line 428: Line 442:
 | **Ethernet:​** SoC integrated | | **Ethernet:​** SoC integrated |
 | **USB:** No |  | **USB:** No | 
-| **Serial:​** ​|  +| **Serial:​** ​Yes |  
-| **JTAG:​** ​|+| **JTAG:​** ​Yes |
  
 Revision J1: Revision J1:
Line 449: Line 463:
 Revision K1: Revision K1:
  
-| **Architecture:​** ​|  +| **Architecture:​** ​MIPS 74K V4.9  ​|  
-| **Bootloader:​** ​+| **Bootloader:​** ​CFE 
 | **System-On-Chip:​** ​ Broadcom BCM5357C0 |  | **System-On-Chip:​** ​ Broadcom BCM5357C0 | 
-| **CPU Speed:​** ​+| **CPU Speed:​** ​300 Mhz 
 | **Flash-Chip:​** [[http://​www.macronix.com/​QuickPlace/​hq/​PageLibrary4825740B00298A3B.nsf/​h_Index/​3F21BAC2E121E17848257639003A3146/​$File/​MX25L3206E,​%203V,​%2032Mb,​%20v1.4.pdf | Macronix MX25L3206EMI-12G]] |  | **Flash-Chip:​** [[http://​www.macronix.com/​QuickPlace/​hq/​PageLibrary4825740B00298A3B.nsf/​h_Index/​3F21BAC2E121E17848257639003A3146/​$File/​MX25L3206E,​%203V,​%2032Mb,​%20v1.4.pdf | Macronix MX25L3206EMI-12G]] | 
 | **Flash size:** 4MB | | **Flash size:** 4MB |
Line 463: Line 477:
 | **JTAG:** Yes | | **JTAG:** Yes |
  
-FIXME More info, please!+Revision M1:
  
 +| **Architecture:​** RLX4181 | 
 +| **Bootloader:​** ? | 
 +| **System-On-Chip:​** ​ Realtek RTL8196C | 
 +| **CPU Speed:** ? | 
 +| **Flash-Chip:​** Winbond 25Q32BVSIG | 
 +| **Flash size:** 4MB |
 +| **RAM-Chip:​** Winbond W9825G6JH-6 | 
 +| **RAM size:** 32 MiB (4M x 16bit x 4 banks) | 
 +| **Wireless:​** Realtek RTL8192CE | 
 +| **Ethernet:​** SoC integrated |
 +| **USB:** No | 
 +| **Serial:** ? | 
 +| **JTAG:** Yes |
 +
 +Revision N1:
 +
 +| **Architecture:​** RLX5821 | 
 +| **Bootloader:​** ? | 
 +| **System-On-Chip:​** ​ Realtek RTL8196D | 
 +| **CPU Speed:** ? | 
 +| **Flash-Chip:​** 25L3206E | 
 +| **Flash size:** 4MB |
 +| **RAM-Chip:​** ESMT M13S2561616A-5T | 
 +| **RAM size:** 32 MiB (4M x 16bit x 4 banks) | 
 +| **Wireless:​** Realtek RTL8192ER | 
 +| **Ethernet:​** SoC integrated |
 +| **USB:** ? | 
 +| **Serial:** Yes | 
 +| **JTAG:** No |
 +
 +FIXME More info, please!
 ==== Photos ==== ==== Photos ====
  
Line 478: Line 523:
 | H2    | [[:​toh/​d-link/​dir-615/​h2-photos/​start|toh/​d-link/​dir-615/​h2-photos/​start]] | As-is | | H2    | [[:​toh/​d-link/​dir-615/​h2-photos/​start|toh/​d-link/​dir-615/​h2-photos/​start]] | As-is |
 | K1    | [[https://​forum.openwrt.org/​viewtopic.php?​pid=209452#​p209452|OpenWRT forum]] | Wireless, cpu and memory are unshielded on this photo | | K1    | [[https://​forum.openwrt.org/​viewtopic.php?​pid=209452#​p209452|OpenWRT forum]] | Wireless, cpu and memory are unshielded on this photo |
 +| M1    | [[http://​wiki.openwrt.org/​_media/​media/​dir-615.rev.m1.jpg]] | As-is |
  
 ==== Opening the case ==== ==== Opening the case ====
Line 526: Line 572:
  
 Serial port settings: Speed:​57600,​ Data bits:8, Stop bits:2, Parity: none, Flow control: none Serial port settings: Speed:​57600,​ Data bits:8, Stop bits:2, Parity: none, Flow control: none
 +
 +=== K2 revision:​===
 +
 +{{:​media:​dir615k2_com_txt.jpg|}}
 +
 +
 +| Pin1 | 3.3V |
 +| Pin2 | TXD  |
 +| Pin3 | GND  |
 +| Pin4 | RXD |
 +
 +COM port settings: Speed:​115200,​ Data bits:8, Stop bits:1, Parity:​none,​ Flow control:​none
  
 Remember to use 12V <-> 3.3V serial port converter or you might break the router serial pins by overvoltage. ​ Remember to use 12V <-> 3.3V serial port converter or you might break the router serial pins by overvoltage. ​
Line 560: Line 618:
   * Elpida EDD5116AFTA-5B-E (From Elpida DDR SO-DIMM 512 MB)   * Elpida EDD5116AFTA-5B-E (From Elpida DDR SO-DIMM 512 MB)
   * Alliance AS4C32M16D1-5TCN (From [[http://​www.digikey.com/​product-detail/​en/​AS4C32M16D1-5TCN/​1450-1006-ND/​4234565|DigiKey]],​ $2.76)   * Alliance AS4C32M16D1-5TCN (From [[http://​www.digikey.com/​product-detail/​en/​AS4C32M16D1-5TCN/​1450-1006-ND/​4234565|DigiKey]],​ $2.76)
 +  * Samsung K4H511638J-LCCC000 (From [[http://​www.elbase.ru/​products/​view/​11715281/​K4H511638J-LCCC000|База электроники]],​ 117<​del>​P</​del>​)
  
 **Additional list that may work:** **Additional list that may work:**
Line 567: Line 626:
 | DDR  | 32Mx16 ​  | DDR 400 TSOP Pb Free    | H5DU5162ETR-E3C ​       | Hynix     ​| ​     ​ | DDR  | 32Mx16 ​  | DDR 400 TSOP Pb Free    | H5DU5162ETR-E3C ​       | Hynix     ​| ​     ​
 | DDR  | 32Mx16 ​  | DDR 400 Pb Free         | K4H511638G-LCCC ​       | Samsung ​  ​| ​     | DDR  | 32Mx16 ​  | DDR 400 Pb Free         | K4H511638G-LCCC ​       | Samsung ​  ​| ​    
-| DDR  | 32Mx16 ​  | DDR 400 Pb Free         | K4H511638J-LCCC ​       | Samsung ​  | 
 | DDR  | 32Mx16 ​  | DDR 400                 | A3S12D40ETP-G5 ​        | Zentel ​   |    ​ | DDR  | 32Mx16 ​  | DDR 400                 | A3S12D40ETP-G5 ​        | Zentel ​   |    ​
 | DDR  | 32Mx16 ​  | DDR 400                 | NT5DS32M16BS-5T ​       | Nanya     | | DDR  | 32Mx16 ​  | DDR 400                 | NT5DS32M16BS-5T ​       | Nanya     |
Line 581: Line 639:
  
 **By default router able to see all 64MB. ** **By default router able to see all 64MB. **
- 
  
 ==== 16MB Flash Mod (Only Rev. E4) ==== ==== 16MB Flash Mod (Only Rev. E4) ====
Line 589: Line 646:
  
 MX25L12835FM2I MX25L12835FM2I
 +
 +S25FL128P
 +
 +Uboot and Kernel patches for 16MB Flash [[http://​texnikk.blogspot.com/​2014/​02/​dir-615-e4-16m-flash-64m-ram-usb-mod.html|External Link]]
  
 ==== SD-Card in DIR-615 H1 ==== ==== SD-Card in DIR-615 H1 ====
Line 674: Line 735:
 modules for 1wire/i2c protocols over gpio to connect devices/​sensors/​actuators to your router. modules for 1wire/i2c protocols over gpio to connect devices/​sensors/​actuators to your router.
  
 +===== Custom OpenWrt image for H1/H2 with LuCi integrated =====
 +
 +http://​www.superwrt.eu/​en/​firmware/​d-link-dir-615/​
  
  
Line 682: Line 746:
   * D-Link DIR-615 C2 64MB memory mod [[:​toh/​d-link/​dir-615/​c2-memorymod/​start|toh/​d-link/​dir-615/​c2-memorymod/​start]]   * D-Link DIR-615 C2 64MB memory mod [[:​toh/​d-link/​dir-615/​c2-memorymod/​start|toh/​d-link/​dir-615/​c2-memorymod/​start]]
   * D-Link DIR-615 C2 using Mac OS X to add gpsd https://​forum.openwrt.org/​viewtopic.php?​id=24149   * D-Link DIR-615 C2 using Mac OS X to add gpsd https://​forum.openwrt.org/​viewtopic.php?​id=24149
-  * D-Link DIR-615 ​Original ​Firmware: ftp://​ftp.dlink.com/​Gateway/​dir615/​Firmware/ ​+  * D-Link DIR-615 ​Firmware: ftp://​ftp.dlink.com/​Gateway/​dir615/​Firmware/ ​
   * D-Link DIR-615 B Firmware: ftp://​ftp.dlink.com/​Gateway/​dir615_revB/​Firmware/ ​   * D-Link DIR-615 B Firmware: ftp://​ftp.dlink.com/​Gateway/​dir615_revB/​Firmware/ ​
   * D-Link DIR-615 C Firmware: ftp://​ftp.dlink.com/​Gateway/​dir615_revC/​Firmware/​   * D-Link DIR-615 C Firmware: ftp://​ftp.dlink.com/​Gateway/​dir615_revC/​Firmware/​
   * D-Link DIR-615 E Firmware: ftp://​ftp.dlink.com/​Gateway/​dir615_revE/​Firmware/ ​   * D-Link DIR-615 E Firmware: ftp://​ftp.dlink.com/​Gateway/​dir615_revE/​Firmware/ ​
 +  * D-Link DIR-615 I Firmware: ftp://​ftp.dlink.com/​Gateway/​dir615_revI/​Firmware/​
  
   * D-Link DIR-615 I1 is supported by dd-wrt: ftp://​ftp.dd-wrt.com/​others/​eko/​BrainSlayer-V24-preSP2/​2012/​07-20-12-r19519/​dlink-dir615i1/​   * D-Link DIR-615 I1 is supported by dd-wrt: ftp://​ftp.dd-wrt.com/​others/​eko/​BrainSlayer-V24-preSP2/​2012/​07-20-12-r19519/​dlink-dir615i1/​
toh/d-link/dir-615.1383069508.txt.bz2 · Last modified: 2013/10/29 18:58 (external edit)