Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision Next revisionBoth sides next revision | ||
| zh-tw:toh:d-link:dir-615 [2015/06/03 03:57] – created AlamyLiu | zh-tw:toh:d-link:dir-615 [2018/03/04 12:12] – bobafetthotmail | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== D-Link DIR-615 ====== | ||
| + | ===== 支援的硬體版本 ===== | ||
| + | ^ 硬體版本 ^ 版本支援 ^ 注意事項 ^ | ||
| + | | C1, C2 | Attitude Adjustment RC1 | 完全支援, | ||
| + | | D1/D2 | trunk | 部份正常 - Ethernet 有問題. 需手動客制編譯(custom build). | | ||
| + | | D3 | 12.09 (Attitude Adjustment) | [[: | ||
| + | | D4 | 12.09 (Attitude Adjustment) | Working with AA (12.09) [[https:// | ||
| + | | E1 - E4 | Backfire | (Works with DIR-600 rev. A1 firmware)*, LEDs should work since [[https:// | ||
| + | | H1 | 12.09 | Working as of [[https:// | ||
| + | | H2 | trunk | See H1 or [[https:// | ||
| + | | I1 | - | WIP. See [[https:// | ||
| + | **注意:** 現今只有 C1 和 C2 硬體版本有完全支援. | ||
| + | *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. | ||
| + | Frys FR-300RTR is the same as E1 [[https:// | ||
| + | * 2013 四月 - **Version E4 is supported and known to work with attitude adjustment 12.09** [[http:// | ||
| + | ===== 不支援的硬體版本 ===== | ||
| + | ^ 硬體版本^ 注意事項 ^ | ||
| + | | A1? | | | ||
| + | | B2 | Ubicom & SPI Flash with 2 MB only | | ||
| + | | D5 | Ralink RT3352F SoC, you could try [[: | ||
| + | | F1, F2 | SPI Flash with 2 MB only | | ||
| + | | J1 | Realtek RTL8196C & SPI Flash with 2 MB only | | ||
| + | |||
| + | ===== 硬體簡略 ===== | ||
| + | FIXME 增加硬體版本 | ||
| + | ^ Revisions ^ CPU ^ Ram ^ Flash ^ Network ^ Gigabit ^ USB ^ Serial ^ JTag ^ | ||
| + | |A1 | Marvell | 32MB | 8MB | 4x1 | No | No | Yes | Yes | | ||
| + | |B2 | Ubicom | ||
| + | |C1, C2 | Atheros | 32MB | 4MB | 4x1 | No | Yes* | Yes | No | | ||
| + | |D1 - D5 | Ralink | 32MB | 4MB | 4x1 | No | No | Yes | No | | ||
| + | |E1, E2 | Atheros | 32MB | 4MB | 4x1 | No | Yes* | Yes | Yes | | ||
| + | |E3,E4,E5| Atheros | 32MB | 4MB | 4x1 | No | Yes* | Yes | Yes | | ||
| + | |F1, F2 | Realtek | 16MB | 2MB | 4x1 | No | No | Yes | Yes | | ||
| + | |G1 | Ralink | ||
| + | |H1, H2 | Ralink | ||
| + | |I1 - I3 | Atheros | 32MB | 4MB | 4x1 | No | No | Yes | Yes | | ||
| + | |J1 | Realtek | 16MB | 2MB | 4x1 | No |No | Yes | 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 ===== | ||
| + | |||
| + | DIR-615 K1 [[http:// | ||
| + | |||
| + | DIR-615 I1 [[http:// | ||
| + | |||
| + | Others [[http:// | ||
| + | |||
| + | ===== 安裝 ===== | ||
| + | |||
| + | ==== C1 和 E4 硬體版本 ==== | ||
| + | |||
| + | 這型 Router 的安裝過程相對簡單, | ||
| + | |||
| + | - 如這篇所述 http:// | ||
| + | - 將 PC 設定一組 固定 IP - ' | ||
| + | - 按著不放 [Reset] 鍵直到電源燈(Power LED)開始閃橘燈(orange) (一般大約需 45 秒) 表示進入 軔體救援模式(firmware recovery mode). 或者, 接上電源時按著 [Reset] 鍵不放, 這個方式比較快, | ||
| + | - 在 PC 的瀏灠器(Web browser) 連到 ' | ||
| + | - 按 " | ||
| + | - 讓 Router 自行更新軔體, | ||
| + | - 經由 DHCP 向 Router 取得新的 IP, 並繼續 [[docs: | ||
| + | |||
| + | === 瀏灠器 (Web Browser) 問題 === | ||
| + | |||
| + | 大多現代的 Web Browser 在 POST 時會送出 '' | ||
| + | 這個協定開始存在於 HTTP/1.1, 用來讓 server 在檔案傳送前就有機會拒決檔案上傳(而不是等到傳完後). 雖然 Router 的內建 HTTP Server 宣稱支援 HTTP/1.1, 但它永遠不會送出 '' | ||
| + | |||
| + | Internet Explorer 6,7,8 on Windows is known to work, as well as Firefox 13.0.1 on GNU/Linux, but problems have been reported with newer versions and most other browsers on GNU/ | ||
| + | curl -0vF files=@openwrt-ar71xx-dir-615-c1-squashfs-factory.bin http:// | ||
| + | |||
| + | |||
| + | There seems to be some compatibility issues with the firmware update system network stack and at least a Linux 3.5.3 kernel and curl 7.27.0. Even forcing '' | ||
| + | ***A use of Firefox 13 portable edition (on windows 7) was verified as successful. Also known that local IP should be 192.168.0.10. Then [[http:// | ||
| + | |||
| + | ** | ||
| + | ==== Rev. C2 ==== | ||
| + | |||
| + | Same actions(C1 and C2 have same hardware and openwrt image), but to upload openwrt image in recovery mode, you must to edit C1 openwrt image by hex editor. \\ | ||
| + | Just add 30 31 before lastest not zero values: \\ | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ===== 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. | ||
| + | |||
| + | The D4 works well if you treat it exactly the same as a [[toh: | ||
| + | |||
| + | | FIXME: D1/D2 build instructions | | ||
| + | The DIR-615D maps to DIR-300b1 therefore there is no dedicated target for 615-D. | ||
| + | |||
| + | D2 can be flashed with Attitude Adjustment - RC1: openwrt-ramips-rt305x-dir-615-d-squashfs-factory.bin | ||
| + | Problems when flashing with AA RC1 firmware: | ||
| + | - ethernet only works when trying to connect over 10baseT/UTP (10mbit/ | ||
| + | - wireless needs workaround | ||
| + | |||
| + | **Wireless**: | ||
| + | It is fixed in the recent Attitude Adjustment branch and works out of box. However, if you are using precompiled AA RC1 you will need a workaround: https:// | ||
| + | |||
| + | **Ethernet**: | ||
| + | The only way to get this fully working is to recompile using old ramips ethernet drivers (from revision: 24328) | ||
| + | To do this: | ||
| + | - get the desired branch/ | ||
| + | - navigate to target/ | ||
| + | - remove all *.c and *.h files | ||
| + | - copy into this folder the 3 files from https:// | ||
| + | - rename ramips.c to remips_main.c | ||
| + | - continue with configuration/ | ||
| + | |||
| + | This has been tested and the router works flawlessly. | ||
| + | |||
| + | ==== Revision D3 ==== | ||
| + | |||
| + | Works with Attitude Adjustment (12.09). | ||
| + | |||
| + | 1. Download [[http:// | ||
| + | |||
| + | 2. Open Emergency Room. | ||
| + | |||
| + | 3. Upload the firmware. If the upload does not start, just try another browser, e.g. Firefox. | ||
| + | |||
| + | 4. Perform initial configuration ([[: | ||
| + | |||
| + | 5. There could be a problem, that the WAN connection is not automatically configured because the ' | ||
| + | * Variant 1: login via telnet/ssh and type 'ifup wan'; edit / | ||
| + | * Variant 2: go to luci -> System -> Startup -> 'Local startup' | ||
| + | |||
| + | 6. There could be serious problems (reconnects, | ||
| + | Network and Sharing Center, open properties of your wireless adapter, then Configure, then Advanced and disable 802.11n mode there. | ||
| + | |||
| + | 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: | ||
| + | * 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:// | ||
| + | |||
| + | **D4** | ||
| + | |||
| + | | FIXME: D4 build instructions | | ||
| + | Updated D4 install instructions (AArc2) are here: https:// | ||
| + | |||
| + | |||
| + | | FIXME: The DIR-825 has a better description: | ||
| + | |||
| + | ==== Rev. H1 ==== | ||
| + | |||
| + | As of [[https:// | ||
| + | |||
| + | Requires at minimum a customized / | ||
| + | |||
| + | < | ||
| + | config interface ' | ||
| + | option ifname | ||
| + | option proto ' | ||
| + | option ipaddr | ||
| + | option netmask | ||
| + | |||
| + | config interface ' | ||
| + | option ifname | ||
| + | option hostname ' | ||
| + | option proto ' | ||
| + | </ | ||
| + | |||
| + | Now you should be able to telnet to DIR-615_H1 | ||
| + | |||
| + | |||
| + | === Rev. H1 Build Instruction === | ||
| + | This documentation refers to current trunk of 03.04.2013. | ||
| + | Instead of using the above procedure, you can build the image following the next steps. It will create a working image with dhcp on wan and fixed ip 192.168.0.1 on lan. | ||
| + | |||
| + | - Download current trunk. I've downloaded it from git mirror: | ||
| + | < | ||
| + | git clone git:// | ||
| + | </ | ||
| + | - Add the file " | ||
| + | < | ||
| + | # | ||
| + | # Copyright (C) 2012 OpenWrt.org | ||
| + | # | ||
| + | # This is free software, licensed under the GNU General Public License v2. | ||
| + | # See /LICENSE for more information. | ||
| + | # | ||
| + | |||
| + | define Profile/ | ||
| + | NAME: | ||
| + | PACKAGES:=\ | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | endef | ||
| + | |||
| + | define Profile/ | ||
| + | Package set for DIR-615 H1 | ||
| + | endef | ||
| + | |||
| + | $(eval $(call Profile, | ||
| + | </ | ||
| + | - edit file " | ||
| + | < | ||
| + | rm -f $(1)/ | ||
| + | </ | ||
| + | - Edit the file " | ||
| + | < | ||
| + | # Copyright (C) 2006 OpenWrt.org | ||
| + | config interface ' | ||
| + | option ifname ' | ||
| + | option proto ' | ||
| + | option ipaddr ' | ||
| + | option netmask ' | ||
| + | |||
| + | config interface ' | ||
| + | option ifname ' | ||
| + | option type ' | ||
| + | option proto ' | ||
| + | option ipaddr ' | ||
| + | option netmask ' | ||
| + | |||
| + | config interface ' | ||
| + | option ifname ' | ||
| + | option hostname ' | ||
| + | option proto ' | ||
| + | |||
| + | config switch | ||
| + | option name rt305x | ||
| + | option reset 1 | ||
| + | option enable_vlan 1 | ||
| + | |||
| + | config switch_vlan | ||
| + | option device rt305x | ||
| + | option vlan 1 | ||
| + | option ports '0 1 2 3 6t' | ||
| + | |||
| + | config switch_vlan | ||
| + | option device rt305x | ||
| + | option vlan 2 | ||
| + | option ports '4 6t' | ||
| + | </ | ||
| + | - In case you have already build something make a dirclean | ||
| + | < | ||
| + | make dirclean | ||
| + | </ | ||
| + | - Configure the image: | ||
| + | < | ||
| + | make menuconfig | ||
| + | </ | ||
| + | < | ||
| + | Target System (Ralink RT288x/ | ||
| + | Subtarget (RT305x based boards) | ||
| + | Target Profile (DIR-615 H1) | ||
| + | </ | ||
| + | - Build the image: | ||
| + | < | ||
| + | make -j 5 | ||
| + | </ | ||
| + | |||
| + | ==== Upgrading OpenWrt ==== | ||
| + | -> | ||
| + | |||
| + | ==== Firmware recovery ==== | ||
| + | -> | ||
| + | |||
| + | |||
| + | Revisions D1 to D4, H1 as well as I1 are pretty much unbrickable as they have a built-in firmware recovery mode. Revision D5 does not have built in recovery. | ||
| + | |||
| + | To access, simply hold down the reset button while powering on the router. The power LED should blink orange. Set your computer with a static IP in the 192.168.0.x range, and open 192.168.0.1 in a web browser. Recovery mode loads up within a few seconds, but doesn' | ||
| + | |||
| + | You will need to flash either a stock firmware image or Openwrt-factory image, *not* a sysupgrade image. | ||
| + | |||
| + | |||
| + | ===== Basic configuration ===== | ||
| + | Since this part is identical for all devices, see [[docs: | ||
| + | |||
| + | -> | ||
| + | |||
| + | ===== Specific configuration ===== | ||
| + | |||
| + | ==== Switch Ports (for VLANs) ==== | ||
| + | Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on. | ||
| + | ^ Port ^ Switch port ^ | ||
| + | | Internet (WAN) | 4 | | ||
| + | | LAN 1 | 3 | | ||
| + | | LAN 2 | 2 | | ||
| + | | LAN 3 | 1 | | ||
| + | | LAN 4 | 0 | | ||
| + | |||
| + | ===== Hardware ===== | ||
| + | |||
| + | ==== Info ==== | ||
| + | FIXME add revisions | ||
| + | |||
| + | ^Revision ^CPU ^Flash-Chip ^Flash size ^RAM-Chip ^ RAM size ^Wireless ^Ethernet ^USB ^Serial ^JTAG ^ | ||
| + | | B2 | Ubicom IP5090U | [[http:// | ||
| + | |||
| + | Revisions B2: | ||
| + | |||
| + | | **Architecture: | ||
| + | | **Bootloader: | ||
| + | | **System-On-Chip: | ||
| + | | **CPU Speed:** 400 Mhz | | ||
| + | | **Flash-Chip: | ||
| + | | **Flash size:** 4 MiB | | ||
| + | | **RAM-Chip: | ||
| + | | **RAM size:** 32 MiB (4M x 4 x 16bit) | | ||
| + | | **Wireless: | ||
| + | | **Ethernet: | ||
| + | | **USB:** [[: | ||
| + | | **Serial:** [[: | ||
| + | | **JTAG:** [[: | ||
| + | | **Circuit: | ||
| + | |||
| + | Revisions C1/C2: | ||
| + | |||
| + | | **Architecture: | ||
| + | | **Bootloader: | ||
| + | | **System-On-Chip: | ||
| + | | **CPU Speed:** 400 Mhz | | ||
| + | | **Flash-Chip: | ||
| + | | **Flash size:** 4 MiB | | ||
| + | | **RAM-Chip: | ||
| + | | **RAM size:** 32 MiB (4M x 4 x 16bit) | | ||
| + | | **Wireless: | ||
| + | | **Ethernet: | ||
| + | | **USB:** [[: | ||
| + | | **Serial:** [[: | ||
| + | | **JTAG:** [[: | ||
| + | | **Circuit: | ||
| + | |||
| + | Revisions D1/D2: | ||
| + | |||
| + | | **Architecture: | ||
| + | | **Bootloader: | ||
| + | | **System-On-Chip: | ||
| + | | **CPU Speed:** 384 Mhz | | ||
| + | | **Flash-Chip: | ||
| + | | **Flash size:** 4 MiB | | ||
| + | | **RAM-Chip: | ||
| + | | **RAM size:** 32 MiB (2 x 2M x 4 x 16bit) | | ||
| + | | **Wireless: | ||
| + | | **Ethernet: | ||
| + | | **USB:** No | | ||
| + | | **Serial:** [[: | ||
| + | | **JTAG:** No | | ||
| + | |||
| + | Revisions D5: | ||
| + | |||
| + | | **Architecture: | ||
| + | | **Bootloader: | ||
| + | | **System-On-Chip: | ||
| + | | **CPU Speed:** 400 Mhz | | ||
| + | | **Flash-Chip: | ||
| + | | **Flash size:** 4 MiB | | ||
| + | | **RAM-Chip: | ||
| + | | **RAM size:** 32 MiB (4M x 4 x 16bit) | | ||
| + | | **Wireless: | ||
| + | | **Ethernet: | ||
| + | | **USB:** No | | ||
| + | | **Serial:** [[: | ||
| + | | **JTAG:** No | | ||
| + | |||
| + | Revision E1/E2: | ||
| + | |||
| + | | **Architecture: | ||
| + | | **Bootloader: | ||
| + | | **System-On-Chip: | ||
| + | | **CPU Speed:** 400 Mhz | | ||
| + | | **Flash-Chip: | ||
| + | | **Flash size:** 4 MiB | | ||
| + | | **RAM-Chip: | ||
| + | | **RAM size:** 32 MiB (4M x 4 x 16bit) | | ||
| + | | **Wireless: | ||
| + | | **Ethernet: | ||
| + | | **USB:** [[: | ||
| + | | **Serial:** [[: | ||
| + | | **JTAG:** [[: | ||
| + | |||
| + | Revision E3/E4/E5: | ||
| + | |||
| + | | **Architecture: | ||
| + | | **Bootloader: | ||
| + | | **System-On-Chip: | ||
| + | | **CPU Speed:** 400 Mhz | | ||
| + | | **Flash-Chip: | ||
| + | | **Flash size:** 4 MiB | | ||
| + | | **RAM-Chip: | ||
| + | | **RAM size:** 32 MiB (4M x 4 x 16bit) | | ||
| + | | **Wireless: | ||
| + | | **Ethernet: | ||
| + | | **USB:** [[: | ||
| + | | **Serial:** [[: | ||
| + | | **JTAG:** [[: | ||
| + | |||
| + | Revision G1: | ||
| + | |||
| + | | **Architecture: | ||
| + | | **Bootloader: | ||
| + | | **System-On-Chip: | ||
| + | | **CPU Speed:** 384 Mhz | | ||
| + | | **Flash-Chip: | ||
| + | | **Flash size:** 8 MiB | | ||
| + | | **RAM-Chip: | ||
| + | | **RAM size:** 32 MiB (2 x 2M x 4 x 16bit) | | ||
| + | | **Wireless: | ||
| + | | **Ethernet: | ||
| + | | **USB:** Unknown | | ||
| + | | **Serial:** Yes | | ||
| + | | **JTAG:** Unknown | | ||
| + | |||
| + | Revision H1: | ||
| + | |||
| + | | **Architecture: | ||
| + | | **Bootloader: | ||
| + | | **System-On-Chip: | ||
| + | | **CPU Speed:** 400 Mhz | | ||
| + | | **Flash-Chip: | ||
| + | | **Flash size:** 4 MiB | | ||
| + | | **RAM-Chip: | ||
| + | | **RAM size:** 32 MiB (2 x 2M x 16bit x 4 banks) | | ||
| + | | **Wireless: | ||
| + | | **Ethernet: | ||
| + | | **USB:** No | | ||
| + | | **Serial:** Yes | | ||
| + | | **JTAG:** Yes | | ||
| + | |||
| + | Revision I1: | ||
| + | |||
| + | | **Architecture: | ||
| + | | **Bootloader: | ||
| + | | **System-On-Chip: | ||
| + | | **CPU Speed:** 535 Mhz | | ||
| + | | **Flash-Chip: | ||
| + | | **Flash size:** 4 MiB | | ||
| + | | **RAM-Chip: | ||
| + | | **RAM size:** 32 MiB (2 x 2M x 16bit x 4 banks) | | ||
| + | | **Wireless: | ||
| + | | **Ethernet: | ||
| + | | **USB:** No | | ||
| + | | **Serial:** Yes | | ||
| + | | **JTAG:** Yes | | ||
| + | |||
| + | Revision J1: | ||
| + | |||
| + | | **Architecture: | ||
| + | | **Bootloader: | ||
| + | | **System-On-Chip: | ||
| + | | **CPU Speed:** ? | | ||
| + | | **Flash-Chip: | ||
| + | | **Flash size:** 2MB | | ||
| + | | **RAM-Chip: | ||
| + | | **RAM size:** 16 MiB (2M x 16bit x 4 banks) | | ||
| + | | **Wireless: | ||
| + | | **Ethernet: | ||
| + | | **USB:** No | | ||
| + | | **Serial:** Yes | | ||
| + | | **JTAG:** Yes | | ||
| + | |||
| + | Revision K1: | ||
| + | |||
| + | | **Architecture: | ||
| + | | **Bootloader: | ||
| + | | **System-On-Chip: | ||
| + | | **CPU Speed:** 300 Mhz | | ||
| + | | **Flash-Chip: | ||
| + | | **Flash size:** 4MB | | ||
| + | | **RAM-Chip: | ||
| + | | **RAM size:** 32 MiB (2M x 16bit x 4 banks) | | ||
| + | | **Wireless: | ||
| + | | **Ethernet: | ||
| + | | **USB:** No | | ||
| + | | **Serial:** ? | | ||
| + | | **JTAG:** Yes | | ||
| + | |||
| + | Revision M1: | ||
| + | |||
| + | | **Architecture: | ||
| + | | **Bootloader: | ||
| + | | **System-On-Chip: | ||
| + | | **CPU Speed:** ? | | ||
| + | | **Flash-Chip: | ||
| + | | **Flash size:** 4MB | | ||
| + | | **RAM-Chip: | ||
| + | | **RAM size:** 32 MiB (4M x 16bit x 4 banks) | | ||
| + | | **Wireless: | ||
| + | | **Ethernet: | ||
| + | | **USB:** No | | ||
| + | | **Serial:** ? | | ||
| + | | **JTAG:** Yes | | ||
| + | |||
| + | Revision N1: | ||
| + | |||
| + | | **Architecture: | ||
| + | | **Bootloader: | ||
| + | | **System-On-Chip: | ||
| + | | **CPU Speed:** ? | | ||
| + | | **Flash-Chip: | ||
| + | | **Flash size:** 4MB | | ||
| + | | **RAM-Chip: | ||
| + | | **RAM size:** 32 MiB (4M x 16bit x 4 banks) | | ||
| + | | **Wireless: | ||
| + | | **Ethernet: | ||
| + | | **USB:** ? | | ||
| + | | **Serial:** Yes | | ||
| + | | **JTAG:** No | | ||
| + | |||
| + | FIXME More info, please! | ||
| + | |||
| + | ==== Photos ==== | ||
| + | |||
| + | ^ Revision ^ Photos page ^ Comment ^ | ||
| + | | C1/C2 | [[: | ||
| + | | D1 | [[: | ||
| + | | D2 | [[: | ||
| + | | D3 | [[: | ||
| + | | D4 | [[: | ||
| + | |E3/ | ||
| + | | F1/F2 | [[: | ||
| + | | H1 | [[: | ||
| + | | H2 | [[: | ||
| + | | K1 | [[https:// | ||
| + | | M1 | {{: | ||
| + | |||
| + | ==== Opening the case ==== | ||
| + | **Note:** This will void your warranty! | ||
| + | |||
| + | * To remove the cover simply remove the 2 back rubber feet. | ||
| + | * There are two screws holding the PCB to the bottom cover. | ||
| + | |||
| + | ==== Serial ==== | ||
| + | === С1/С2 revision: | ||
| + | {{: | ||
| + | |||
| + | | Pin1 | 3.3V | | ||
| + | | Pin2 | RX | | ||
| + | | Pin3 | TX | | ||
| + | | Pin4 | GND | | ||
| + | |||
| + | === D1/D2 revision: | ||
| + | {{: | ||
| + | |||
| + | | Pin1 | TX | | ||
| + | | Pin2 | GND | | ||
| + | | Pin3 | 3.3V | | ||
| + | | Pin4 | RX | | ||
| + | |||
| + | D2 Serial port settings: Speed: | ||
| + | |||
| + | === E4 revision: | ||
| + | {{: | ||
| + | |||
| + | | Pin3 | RX | | ||
| + | | Pin9 | TX | | ||
| + | | Pin11 | GND | | ||
| + | |||
| + | Remember to use 12V <-> 3.3V serial port converter or you might break the router serial pins by overvoltage. | ||
| + | |||
| + | COM port settings: Speed: | ||
| + | |||
| + | === H1 revision: | ||
| + | {{: | ||
| + | |||
| + | | Pin1 | 3.3V | | ||
| + | | Pin2 | GND | | ||
| + | | Pin3 | TXD | | ||
| + | | Pin4 | RXD | | ||
| + | |||
| + | Serial port settings: Speed: | ||
| + | |||
| + | === K2 revision: | ||
| + | {{: | ||
| + | |||
| + | | Pin1 | 3.3V | | ||
| + | | Pin2 | TXD | | ||
| + | | Pin3 | GND | | ||
| + | | Pin4 | RXD | | ||
| + | |||
| + | COM port settings: Speed: | ||
| + | |||
| + | Remember to use 12V <-> 3.3V serial port converter or you might break the router serial pins by overvoltage. | ||
| + | |||
| + | ==== JTAG ==== | ||
| + | |||
| + | Looks like C1/C2 JTAG lines connected to testpoints tp5-tp8. Pinout is unknown. | ||
| + | |||
| + | E1/E2/E3/E4 has standard MIPS EJTAG JTAG 14-pin header pinout (pic is from E4) | ||
| + | |||
| + | {{: | ||
| + | |||
| + | See [[docs: | ||
| + | |||
| + | ===== Hardware Mods ===== | ||
| + | As a beginner, you really should inform yourself about [[docs: | ||
| + | |||
| + | ==== USB ==== | ||
| + | |||
| + | ^ HW Revision ^ Instruction ^ Discussion ^ | ||
| + | | C1/C2 | [[: | ||
| + | | E1-E4 | [[: | ||
| + | |||
| + | ==== 64MB RAM Mod (Only Rev. E4) ==== | ||
| + | The Device uses a DDR1 16Mbit x 16bit (16Mibit*16=256 mebibit. 256 mebibit/ | ||
| + | |||
| + | The most easy approach is to seek for a 4-chip DDR 256 MB module. These all have x16 chips too. Chips only on one side (not to be confused with double-sided 256 MB modules with 4 chips on each side) and only 4 of them - that's the best chance to get some. They represent a small percent among usual 8-chip modules but this is equalized with the amount and "cheap as dirt" price of such DDR 256 MB modules. | ||
| + | |||
| + | Working chips: | ||
| + | * Hynix HY5DU121622DTP-D43 (From Mustang DDR SO-DIMM 512 MB) | ||
| + | * Hynix HY5DU121622CTP-D43 (From Hynix DDR SO-DIMM PC2700S-25330 512MB DDR 333MHz CL 2.5, chips are 400Mhz compatible due to " | ||
| + | * Infineon HYB25D512160BE (From Infineon DDR SO-DIMM 512 MB) | ||
| + | * Elpida EDD5116ADTA-6B-E (From Elpida DDR SO-DIMM 512 MB) | ||
| + | * Elpida EDD5116AFTA-5B-E (From Elpida DDR SO-DIMM 512 MB) | ||
| + | * Alliance AS4C32M16D1-5TCN (From [[http:// | ||
| + | * Samsung K4H511638J-LCCC000 (From [[http:// | ||
| + | |||
| + | **Additional list that may work:** | ||
| + | |||
| + | ^ ^ ^ Type ^ ID Code ^ Vendor | ||
| + | | DDR | 32Mx16 | ||
| + | | DDR | 32Mx16 | ||
| + | | DDR | 32Mx16 | ||
| + | | DDR | 32Mx16 | ||
| + | | DDR | 32Mx16 | ||
| + | | DDR | 32Mx16 | ||
| + | | DDR | 32Mx16 | ||
| + | | DDR | 32Mx16 | ||
| + | | DDR | 32Mx16 | ||
| + | | DDR | 32Mx16 | ||
| + | | DDR | 32Mx16 | ||
| + | '' | ||
| + | |||
| + | |||
| + | |||
| + | **By default router able to see all 64MB. ** | ||
| + | |||
| + | ==== 16MB Flash Mod (Only Rev. E4) ==== | ||
| + | Used only next chips: | ||
| + | |||
| + | W25Q128FVSSIG | ||
| + | |||
| + | MX25L12835FM2I | ||
| + | |||
| + | S25FL128P | ||
| + | |||
| + | Uboot and Kernel patches for 16MB Flash [[http:// | ||
| + | |||
| + | ==== SD-Card in DIR-615 H1 ==== | ||
| + | Take some GPIOs which are connected to LEDs or switches, 3.3V and GND from the JTAG header and use the mmc-over-gpio kernel module. The kmod-leds-gpio and kmod-input-gpio-keys-polled kernel modules have to be unloaded before. The blue WPS LED will show when the SD-Card is being accessed and the power LEDs will flicker while data is being transfered. | ||
| + | |||
| + | ^ GPIO # ^ Original use ^ SD signal | ||
| + | | 0 | WPS button | ||
| + | | 7 | Power LED amber | MOSI | 2 | | ||
| + | | 9 | Power LED green | SCK | 5 | | ||
| + | | 14 | WPS LED blue | /SS | 1 | | ||
| + | | | +3.3V | +3.3V | 4 | | ||
| + | | | GND | GND | 3 | | ||
| + | | | GND | GND | 6 | | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ===== Failsafe mode ===== | ||
| + | If you forgot your password, broken one of the startup scripts, firewalled yourself or corrupted the JFFS2 partition, you can get back in by using OpenWrt' | ||
| + | |||
| + | ==== Boot into failsafe mode ==== | ||
| + | * Unplug the router' | ||
| + | * Connect the router' | ||
| + | * Configure your PC with a static IP address between 192.168.1.2 and 192.168.1.254. E. g. 192.168.1.2 (gateway and DNS is not required). | ||
| + | * Plug the power on and wait for the DMZ LED to light up. | ||
| + | * While the DMZ LED is on immediately press any button (Reset and Secure Easy Setup will work) a few times . | ||
| + | * If done right the DMZ LED will quickly flash 3 times every second. | ||
| + | * You should be able to telnet to the router at 192.168.1.1 now (no username and password) | ||
| + | FIXME What is the DMZ LED? It's not mentioned anywhere else in this article. | ||
| + | |||
| + | ==== What to do in failsafe mode? ==== | ||
| + | **NOTE:** The root file system in failsafe mode is the SquashFS partition mounted in readonly mode. To switch to the normal writable root file system run mount_root and make any changes. Run mount_root now. | ||
| + | |||
| + | - Forgot/lost your password and you like to set a new one passwd | ||
| + | - Forgot the routers IP address -> 'uci get network.lan.ipaddr' | ||
| + | - You accidentally run 'opkg upgrade' | ||
| + | If you are done with failsafe mode power cycle the router and boot in normal mode. | ||
| + | |||
| + | See also: | ||
| + | |||
| + | -> | ||
| + | |||
| + | ===== Buttons ===== | ||
| + | The D-Link DIR-615 has two buttons. They are WPS and RESET. The WPS button has its own blue led.\\ The buttons can be used with hotplug events. E. g. [[docs: | ||
| + | ^ BUTTON ^ Event ^ | ||
| + | | RESET | reset | | ||
| + | | WPS | wps | | ||
| + | |||
| + | ===== LEDs ===== | ||
| + | |||
| + | How to configure LEDs in general, see the LED section in the [[doc/ | ||
| + | |||
| + | **Rev C:** The DIR-615c2 has 1 blue, 3 green and 2 orange **controlled** LEDs: | ||
| + | |||
| + | ^ LED name ^ LED symbol | ||
| + | | Power (green) | ||
| + | | Power (orange) | ||
| + | | WPS (blue) | ||
| + | | Wan (green) | ||
| + | | Wan (orange) | ||
| + | | Wlan (green) | ||
| + | |||
| + | **Rev H1:** The same LED configuration applies to Rev H1. | ||
| + | |||
| + | ===== Free GPIO ports ===== | ||
| + | |||
| + | Revision C2 has 6 free (non-used) GPIO ports. To use them you should do some solder work. Please train you solder skills on broken motherboards before trying to do this on working hardware. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ^ GPIO # ^ Notation | ||
| + | | 0 | R127 | unpopulated resistor pad near LED21, pcb bottom left corner | ||
| + | | 2 | R2 | unpopulated resistor pad to the left of the CPU | | ||
| + | | 7 | R203 | unpopulated resistor pad near LED20 near gpio0 | | ||
| + | | 8 | tp5 | testpoint on the bottom side of pcb near cpu | | ||
| + | | 9 | tp6 | testpoint on the bottom side of pcb near cpu | | ||
| + | | 11 | tp7 | testpoint on the bottom side of pcb near cpu | | ||
| + | |||
| + | There is also one free GPIO5 used by dir-615c1: | ||
| + | led interface is useless so we can just desolder r218 (located between q7 transistor and led10), | ||
| + | remove led definition from mach-dir-615-c1.c recompile/ | ||
| + | |||
| + | To activate GPIO interface you should export it using command 'echo N > / | ||
| + | (N is a GPIO number). Then you can use / | ||
| + | (set/get direction, value, etc). Also you can use i2c_gpio_custom/ | ||
| + | modules for 1wire/i2c protocols over gpio to connect devices/ | ||
| + | |||
| + | |||
| + | ===== More info ====== | ||
| + | * D-Link DIR-615 A Firmware: [[ftp:// | ||
| + | * D-Link DIR-615 B Firmware: [[ftp:// | ||
| + | * D-Link DIR-615 C Firmware: [[ftp:// | ||
| + | * D-Link DIR-615 C2 64MB memory mod [[: | ||
| + | * D-Link DIR-615 C2 using Mac OS X to add gpsd [[https:// | ||
| + | * D-Link DIR-615 D1 [[https:// | ||
| + | * D-Link DIR-615 E Firmware: [[ftp:// | ||
| + | * D-Link DIR-615 I Firmware: [[ftp:// | ||
| + | * D-Link DIR-615 I1 is supported by dd-wrt: [[ftp:// | ||
| + | |||
| + | ===== Tags ===== | ||
| + | See [[meta: | ||
| + | {{tag> | ||