D-Link DVA-G3810BN/TL

This device is NOT RECOMMENDED for future use with OpenWrt due to low flash/ram.
DO NOT BUY DEVICES WITH 4MB FLASH / 32MB RAM if you intend to flash an up-to-date and secure OpenWrt version onto it! See 4/32 warning for details.

1) This device does not have sufficient resources (flash and/or RAM) to provide secure and reliable operation.
This means that even setting a password or changing simple network settings might not be possible any more, rendering the device effectively useless. See OpenWrt on 4/32 devices what you can do now.

2) OpenWrt support for this device has ended in 2022.
19.07.10 was the last official build for 4/32 devices.

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.

Install OpenWrt (generic explanation)

FIXME Please add the installation procedure here.

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"

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

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

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.

Version/Model S/N OpenWrt Version Supported Model Specific Notes
A1 - 10.03
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"

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.

Use Luci System / Flash Firmware or use the console CFE or use the above installation procedure.

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.

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
External Ethernet Port5325 Port
1 3
2 2
3 1
4 0
Coax (HPNA) 4
CPU 5

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.

Needs Work.

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)

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

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

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: 2024/02/12 08:58
  • by 127.0.0.1