D-Link DVA-G3810BN/TL
This page had not been modified for over two years. As the pre-existing information (following the heading 'Information Below is Pre-2013') is quite detailed and makes a good reference, a few more recent details will be added to the top here (the rest will be left unaltered). The router I have lists a different cpu when ssh'ing into it. The dead firmware download link in the 'Installation' paragraph is for an old version of OpenWrt (10.03). For more current firmware, see the 'Downloads' headings. When I posted a thread on the forum asking for pointers on updating this page, the answer I got back stated that OpenWrt version 10.03 was not applicable (too old?). I have flashed OpenWrt Barrier Breaker 14.07 (openwrt-DVAG3810BN-squashfs-cfe.bin) onto this model using the instructions that were here before my additions, but have not tested the router other than accessing the OpenWrt config webpage using 192.168.1.1 in the browser address bar.
Edit by brolin on 2019‑05‑13: I registered for this wiki to edit this page because I still use this model of computer and thought that this page should explicitly note that the Wireless LAN controller is removable and therefore upgradeable because it is a MiniPCI (parallel PCI) card instead of a fixed part of the motherboard.
Supported Versions
Hardware Highlights
Installation
Supported Versions
Version/Model | S/N | OpenWrt Version Supported | Model Specific Notes |
---|---|---|---|
A1 | - | 14.07 | Installed but not tested |
CPU
cat /proc/cpuinfo system type : bcm63xx/DVAG3810BN (0x6358/0xA1) machine : Unknown processor : 0 cpu model : Broadcom BMIPS4350 V1.0 BogoMIPS : 299.26 wait instruction : yes microsecond timers : yes tlb_entries : 32 extra interrupt vector : yes hardware watchpoint : no isa : mips1 mips2 mips32r1 ASEs implemented : shadow register sets : 1 kscratch registers : 0 core : 0 VCED exceptions : not available VCEI exceptions : not available
MemInfo (first few lines)
cat /proc/meminfo MemTotal: 28964 kB MemFree: 6400 kB Buffers: 2096 kB Cached: 6904 kB
OpenWrt MTD's:
cat /proc/mtd dev: size erasesize name mtd0: 00010000 00010000 "CFE" mtd1: 0011ff00 00010000 "kernel" mtd2: 006c0000 00010000 "rootfs" mtd3: 004a0000 00010000 "rootfs_data" mtd4: 00010000 00002000 "nvram" mtd5: 007e0000 00010000 "linux"
Downloads: Attitude Adjustment 12.09
https://downloads.openwrt.org/attitude_adjustment/12.09/brcm63xx/generic/
openwrt-96358VW-generic-squashfs-cfe.bin 03-Apr-2013 08:42 2883588
openwrt-96358VW2-generic-squashfs-cfe.bin 03-Apr-2013 08:42 2883588
openwrt-DVAG3810BN-squashfs-cfe.bin 03-Apr-2013 08:42 2883588
Downloads: Barrier Breaker 14.07
https://downloads.openwrt.org/barrier_breaker/14.07/brcm63xx/generic/
openwrt-96358VW-generic-squashfs-cfe.bin 02-Oct-2014 07:28 3407876
openwrt-96358VW2-generic-squashfs-cfe.bin 02-Oct-2014 07:28 3407876
openwrt-DVAG3810BN-squashfs-cfe.bin 02-Oct-2014 07:28 3407876
INFORMATION BELOW IS PRE-2013
This is a “gateway” device to provide internet and ip tv services to a home. It has a coax cable connection for a HomePNA network and a phone jack for Voip.
Supported Versions
Version/Model | S/N | OpenWrt Version Supported | Model Specific Notes |
---|---|---|---|
A1 | - | 10.03 |
Hardware Highlights
CPU | Ram | Flash | Network | USB | Serial | JTAG |
---|---|---|---|---|---|---|
BCM6358 | 8MB | 32MB | 4 x 1 | Yes | 6 pin header | Yes |
CPU
cat /proc/cpuinfo system type : bcm63xx/96358VW (0x6358/0x00A1) processor : 0 cpu model : Broadcom BCM6358 V1.0 BogoMIPS : 299.00 wait instruction : yes microsecond timers : yes tlb_entries : 32 extra interrupt vector : yes hardware watchpoint : no ASEs implemented : shadow register sets : 1 core : 0 VCED exceptions : not available VCEI exceptions : not available
MTD's
Original firmware:
cat /proc/mtd dev: size erasesize name mtd0: 00800000 00010000 "openrg"
Openwrt:
cat /proc/mtd dev: size erasesize name mtd0: 00010000 00010000 "CFE" mtd1: 000dff00 00010000 "kernel" mtd2: 00700000 00010000 "rootfs" mtd3: 004c0000 00010000 "rootfs_data" mtd4: 00010000 00002000 "nvram" mtd5: 007e0000 00010000 "linux"
Installation
Installing of OpenWrt for first time
openwrt-DVAG3810BN-squashfs-cfe.bin (this is a backfire 10.03rc4 image) works. Connect your computer to the WAN port and set the ip address in the 192.168.1.? network. Hold the reset button while powering on the router. Wait for the power light to stay a steady green. With a web browser (I use firefox on linux others should work i.e. internet explorer) go to 192.168.1.1 and a firmware upgrade screen will appear. “Browse” to the firmware and click the “Update Software” to load the firmware. *NOTE*: If the power light stays red when it reboots you will have to repeat this procedure. It seems that the CFE loader loads the firmware at 0xbe400000 the first time it is run. The second time it loads at 0xbe010000 (the correct address).
If you have connected to the serial console you can use the CFE command line to load the firmware.
Upgrading OpenWrt
Use Luci System / Flash Firmware or use the console CFE or use the above installation procedure.
Original Firmware
You can download an older version of the original firmware from http://tsd.dlink.com.tw. Extract the openrg.img file from the tar archive and use LuCI's system/flash firmware to install it. You can also use the Installing OpenWrt instructions to load the original firmware image file.
Hardware
Details
Architecture: | MIPS |
---|---|
Vendor: | Broadcom |
Bootloader: | CFE |
System-On-Chip: | BCM6358KFBG |
CPU Speed: | 300MHz |
Flash-Chip: | Spansion S29GL064A90TFIR3 |
Flash size: | 8MiB |
RAM: | 32MiB |
Wireless: | Broadcom BCM4318KFBG (MiniPCI card, easily removable) |
Ethernet: | Broadcom BCM5325FKQMG (switch) |
HomePNA: | CopperGate CG3110 Chipset (CG3111 + CG3112) |
Telephone: | Silicon Labs Si3215 |
USB: | Yes |
Serial: | Yes |
JTAG: | Yes |
Switch Ports
External Ethernet Port | 5325 Port |
---|---|
1 | 3 |
2 | 2 |
3 | 1 |
4 | 0 |
Coax (HPNA) | 4 |
CPU | 5 |
Serial
Serial header pinout:
___ | o 1 o Ground S | o 2 1 Rx data h | o 3 2 Vcc (3.3v) i | 3 Tx Data e | d | ___|
Just remember that you can't hook up a PC serial port directly. You need a TTL level converter.
JTAG
Needs Work.
Specific Configuration
Although LuCI sees the 5325 switch DO NOT use it to configure it. LuCI does not seem to connect to port 5 (the router). So if you update through LuCI you will lose connectivity to the router. Edit the /etc/config/network file instead.
To be able to use LuCI to configure the switch edit the /usr/lib/lua/luci/model/cbi/admin_network/vlan.lua file.
Change
from:
line 25,26
local num_ports = 5 local cpu_port = 5
line 52
num_ports = tonumber(num_ports or 5)
line 54
cpu_port = tonumber(cpu_port or 5)
to:
line 25,26
local num_ports = 6 local cpu_port = 6
line 52
num_ports = tonumber(num_ports or 6)
line 54
cpu_port = tonumber(cpu_port or 6)
Interfaces
The default (OpenWRT) network configuration is:
Interface Name | Description | Default configuration |
---|---|---|
br-lan | LAN & WiFi | 192.168.1.1/24 |
eth0 | WAN | None |
eth1.1 | LAN | None |
Failsafe mode
Boot into failsafe mode
What to do in failsafe mode?
Basic configuration
Link to Generic basic config secion
Other Info
Currently no dsl support, no HomePNA support and no Telephone support.