D-Link DVA-G3810BN/TL

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
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

Other Info

Currently no dsl support, no HomePNA support and no Telephone support.


Tags

Back to top

toh/d-link/dva-g3810bn-tl.txt · Last modified: 2012/10/07 11:35 by danitool