Show pagesourceOld revisionsBacklinksBack to top × Table of Contents NETGEAR DG834G v4 Hardware Highlights Installation Flash Layout OEM easy installation OEM installation using the TFTP method Upgrading OpenWrt Basic configuration Specific Configuration Interfaces Switch Ports (for VLANs) Failsafe mode GPIOs Buttons Hardware Info Photos Opening the case Serial JTAG Debricking Bootloader Mods Hardware mods Notes Tags NETGEAR DG834G v4 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 will end after 2019. 19.07 will be the last official build for 4/32 devices. After 19.07, no further OpenWrt images will be built for 4/32 devices. See OpenWrt on 4/32 devices what you can do now. WARNING: Do not confuse the DG834G v4 with versions v1 and v2, v3 or DG834GT! Also note that the Wifi chip for this router is the Broadcom BCM4318 chip and not the atheros. Router DG834v4 (same model, but without wifi) has the same firmware. Router DG834GBv4 is interchangeable with this, but installation instructions does not apply because of differences in original OEM firmware. Hardware Highlights SoC CPU Freq Ram Flash Network USB Serial JTag Broadcom BCM6348 240MHz 16MiB 4MiB 4 x 1 possible Yes Yes NOTE: There is NO support for the ADSL modem currently! USB layout is unknown. Installation → downloads → Install OpenWrt Download OpenWrt: Download the latest OpenWrt for the brcm63xx chipset from https://downloads.openwrt.org/chaos_calmer/15.05/brcm63xx/generic/ I used openwrt-15.05-brcm63xx-generic-96348GW-10-generic-squashfs-cfe.bin. Download the source code from netgear: http://kb.netgear.com/app/answers/detail/a_id/2649/~/netgear-open-source-code-for-programmers-%28gpl%29 (eg: http://www.downloads.netgear.com/files/GPL/DG834GV4_V5.01.16_src.zip ). This is needed for the makeImage script. Download the original firmware: Download the original firmware from http://downloadcenter.netgear.com/other/ (or build from the source code) Generate the .img file (which can be used for upgrading through the OEM web interface): Get the makeImage binary, which is available in the source code provided by netgear (see above). makeImage does the following: copies the first 64 KiB (65536 bytes) from the start of the original image (DG834GV4_V5.01.16.img). This copies the the bootloader or CFE? copies the entire filesystem file (the openwrt .bin file) copies about 96 bytes from the end of the original image. padding with null bytes to an 8KiB boundary. combine OpenWrt and the original firmware: ./makeImage my-DG834Gv4-firmware.img netgear/DG834Gv4_V5.01.16.img openwrt-15.05-brcm63xx-generic-96348GW-10-generic-squashfs-cfe.bin Preparing the router to upload the firmware: Power down DG834Gv4 and disconnect the DC plug from the rear of the unit. Wait 5-10 seconds. Switch on the DC adapter at the mains switch. With the reset button pressed, plug the DC adapter plug into the rear of the DG834Gv4. Wait 5-10 seconds and not release the reset button. The power button starts to blink green and red alternatively. If you have linux installed: Compile NFTP utility:nftp.c (more info in: http://wilmer.gaa.st/834root/wiki/nftp) ./nftp -u eth0 miOpenWrt_DG834Gv4.img If you only have windows installed, the procedure is as follows: Download ftp://downloads.netgear.com/files/dg834_recovery_utility.zip and unzip. Follow the instructions in the document DG834 Recovery Procedure.pdf for upload the firmware miOpenWrt_DG834Gv4.img Note: dg834_recovery_utility.zip only works on windows 32bit Flash Layout Please check out the article flash.layout. It contains an example and a couple of explanations. Partition Size EraseSize Name Function mtd0 00010000 00002000 “CFE” bootloader mtd1 000dff00 00010000 “kernel” kernel mtd2 00300000 00010000 “rootfs” root file system mtd3 000b0000 00010000 “rootfs_data” conf, packages mtd4 00010000 00010000 “nvram” OEM conf mtd5 003e0000 00010000 “linux” upgrade OEM easy installation The instructions below are for Broadcom devices and only serve as an example. Don't leave them in place if they do not apply to a particular device! This section deals with how you install OpenWrt from a device freshly opened. Plus the steps required such as reset to factory defaults if the device has already been configured Note: Reset router to factory defaults if it has been previously configured. Browse to http://192.168.1.1/Upgrade.asp Upload .bin file to router Wait for it to reboot Telnet to 192.168.1.1 and set a root password, or browse to http://192.168.1.1 if LuCI is installed. OEM installation using the TFTP method If you want to upgrade using TFTP you follow these steps (as an alternative to the above install process). Upgrading OpenWrt → generic.sysupgrade If you have already installed OpenWrt and like to reflash for e.g. upgrading to a new OpenWrt version you can upgrade using the mtd command line tool. It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing. LuCI Web Upgrade Process Browse to http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/ LuCI Upgrade URL Upload image file for sysupgrade to LuCI Wait for reboot Terminal Upgrade Process Login as root via SSH on 192.168.1.1 Use the following commands to upgrade. cd /tmp/ wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc sysupgrade /tmp/xxx.abc If sysupgrade does not support this router, use the following commands. cd /tmp/ wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc mtd write /tmp/xxx.abc linux && reboot Basic configuration → Basic configuration After flashing, proceed with this. Set up your Internet connection, configure wireless, configure USB port, etc. Specific Configuration Interfaces The default network configuration is: Interface Name Description Default configuration br-lan LAN & WiFi 192.168.1.1/24 vlan0 (eth0.0) LAN ports (1 to 4) None vlan1 (eth0.1) WAN port DHCP wl0 WiFi Disabled 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 LAN 1 3 LAN 2 2 LAN 3 1 LAN 4 0 Failsafe mode → failsafe_and_factory_reset GPIOs GPIO line Connected 0 Green LED Power 1 Red LED Power 2 LED Dsl 3 LED Internet Buttons → hardware.button on howto use and configure the hardware button(s). The Netgear DG834G V4 has only one button: BUTTON Event GPIO Reset reset 6 Hardware Info Instruction set: MIPS Vendor: Broadcom bootloader: CFE Board ID: 96348W3 System-On-Chip: BCM6348SKFBG CPU/Speed BMIPS3300 V0.7 / 240 MHz Flash-Chip: Spansion S29GL032A90TFIR4 Flash size: 4 MiB RAM: EM638165TS-6G / 16 MiB / 166MHz Wireless: Broadcom 4318 11b/g Ethernet: BCM5325 w/ vlan support swconfig Internet: ADSL2+ USB: possible 1 x 1.1 Serial: Yes JTAG: Yes Photos Model Number Photo of front of the casing Photo of back of the casing Opening the case Note: This will void your warranty! Main photo of PCB Back photo of PCB Serial → port.serial general information about the serial port, serial port cable, etc. Serial console is J521. Settings are: 115200, 8, n, 1 How to connect to the Serial Port of this specific device: NOTE: R521, R522 and R523 are missing on the DG834Gv4, (it could be 1 kiloohm). Pint out Line 1 GND 2 Tx 3 Vcc 4 Rx Photo of PCB and resistors unpopulated: JTAG → port.jtag general information about the JTAG port, JTAG cable, etc. How to connect to the JTAG Port of this specific device: Netgear DG834 comes with standard 12-pin JTAG interface. The JTAG port is J201. Name signal Pint out Pin out Name signal nTRST 1 2 GND TDI 3 4 GND TDO 5 6 GND TMS 7 8 GND TCK 9 10 GND nSRST 11 12 n/a Example of use: JTAG XILIX Parallel Port 11 nSRST 9 TCK ---------100R--------- D1, Pin 3 7 TMS --------100R--------- D2, Pin 4 5 TDO --------100R--------- Select, Pin 13 3 TDI ---------100R--------- D0, Pin 2 1 nTRST 2 GND --------------------------------------- GND, Pines 20, 25 Photo of PCB with connector Debricking → generic.debrick Bootloader Mods you could read about bootloader in general Hardware mods as a beginner, you really should inform yourself about soldering in general and then obtain some practical experience! Notes Tags How to add tags bcm63xx, bcm6348, 4Flash, 16RAM, 4Port, FastEthernet, MIPS, MIPS32, 802.11bg, b43, NonDetachableAntenna, ADSL2+ 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.OKMore information about cookies bcm63xx bcm6348 4Flash 16RAM 4port fastethernet mips mips32 802.11bg b43 nondetachableantenna adsl2 Last modified: 2021/12/05 06:52by tmomas