[OpenWrt Wiki] D-Link DIR-320 H/W Ver.: A1 and A2 (2024)

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.

Supported Versions

Version/Model S/N OpenWrt Version Supported Model Specific Notes
A1 - 15.05 & newer only the legacy version leaves room to save the settings. Otherwise they will be lost between restarts
A2 - 10.03.1 & newer -

NOTE: Anything not included in model specific notes, or where a short comment couldn't be included on the notes.

Hardware Highlights

CPU Ram Flash Network USB Serial JTag
Broadcom BCM5354KFBG 32Mbytes 4Mbytes (Max. FW size: 3801599 bytes) 4 x 1 Yes Yes Yes

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.

Flashing with GNU/Linux

Install atftp first, then run the script below. If it doesn't work straight away, unplug the power from the router, press with a pin the reset button, plug the power back, and release the reset button when the LAN led where your computer is connected turns green. Now the led should start flashing rapidly. Wait a few minutes after you receive the message “Firmware successfully loaded!”.

#!/bin/bashecho "=================================================================="echo "This script will upload the router firmware (firmware.bin)"echo "in the current directory to 192.168.0.1 "echo "during the router's bootup. "echo ""echo "* Set your ethernet card's settings to: "echo " IP: 192.168.0.10 "echo " Mask: 255.255.255.0 "echo " Gateway: 192.168.0.1 "echo "* Unplug the router's power cable. "echo ""echo "Press Ctrl+C to abort or any other key to continue... "readecho ""echo "* Re-plug the router's power cable. "echo ""echo "=================================================================="echo "Waiting for the router... Press Ctrl+C to abort. "echo ""try(){ping -c 1 -w 1 192.168.0.1}trywhile [ "$?" != "0" ] ;dotrydoneecho "*** Start Flashing **** "atftp --no-source-port-checking -p -l firmware.bin 192.168.0.1echo "Firmware successfully loaded!"

Windows install script

@echo offecho ===========================================================================echo This batch file will upload firmware.bin in the current directory toecho 192.168.0.1 during the router's bootup.echo.echo * Set your ethernet card's settings to:echo IP: 192.168.0.10echo Mask: 255.255.255.0echo Gateway: 192.168.0.1.echo * Unplug the router's power cable.echo.echo Press Ctrl+C to abort or any other key to continue...pause > nulecho.echo * Re-plug the router's power cable.echo.echo ===============================================================================echo Waiting for the router... Press Ctrl+C to abort.echo.set FIND=%WINDIR%\command\find.exe if exist %FIND% goto PINGset FIND=%WINDIR%\system32\find.exe if exist %FIND% goto PINGset FIND=find:PINGping -n 1 -w 50 192.168.0.1 | %FIND% "TTL="if errorlevel 1 goto PINGecho tftp -i 192.168.0.1 put firmware.bintftp -i 192.168.0.1 put firmware.binif errorlevel 1 goto PINGset FIND=echo.echo ===============================================================================echo * WAIT for about 2 minutes while the firmware is being flashed.echo * Reset your ethernet card's settings back to DHCP.echo * The default router address will be at 192.168.1.1.echo.pause

Upgrading OpenWrt

If you have already installed OpenWrt and like to reflash for e.g. upgrading to a new OpenWrt version you can upgrade using the sysupgrade command line tool. It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.

LuCI Web Upgrade Process

Terminal Upgrade Process

  • Login as root via SSH on 192.168.1.1

  • Use the following commands to upgrade.

cd /tmp/wget https://downloads.openwrt.org/snapshots/trunk/brcm47xx/legacy/openwrt-brcm47xx-legacy-squashfs.trxsysupgrade openwrt-brcm47xx-legacy-squashfs.trx

Kernel 2.6 and b43 driver

To use kernel 2.6 and b43 driver you need to compile your image from trunk. For working image you need to run “make menuconfig” and select:

<*> kmod-b43.................................. Broadcom 43xx wireless support<*> Remove unnecessary firmware files(13,14,15)Core revisions to include(LP) PHY types to include< > kmod-b43legacyUSB Support<*> kmod-usb-core............................................ Support for USB<*> kmod-usb-ohci............................... Support for OHCI controllers<*> kmod-usb-storage..................................... USB Storage support<*> kmod-usb2................................... Support for USB2 controllersFilesystems<*> kmod-fs-ext3..................................... EXT3 filesystem support

Hardware

Info

Architecture: MIPS
Vendor: Broadcom
Bootloader: CFE
System-On-Chip: Broadcom 5352EKPB
CPU Speed: 240 Mhz
Flash-Chip: Spansion S29AL032D / MX 29LV320DTTI-70G
Flash size: 4 MiB
RAM: 32Mbytes SAMSUNG K4H561638N-LCCC
Wireless: Broadcom BCM43xx 802.11b/g (integrated)
Ethernet: Switch in CPU
USB: Yes 1x 2.0
Serial: Yes
JTAG: Yes

Photos

Model Number

Front:Back:

Opening the case

Note: This will void your warranty!

  • There are two screws holding the case covered by ribbons, placed near the back of the bottom cover.

  • There are two screws holding the PCB to the bottom cover, places near front.

PCB:

TOP Bottom

Serial

[TX][GND][VCC 3.3V][ _ ][RX]

JTAG

How to connect to JTAG interface, and how to reflash the device with JTAG tools.
See port.jtag for more JTAG details.

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 1-4 are Ports 1-4 as labeled on the unit, number 0 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself.

Port Switch port
Internet (WAN) 0
LAN 1 1
LAN 2 2
LAN 3 3
LAN 4 4

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's failsafe mode.

Boot into failsafe mode

  • Unplug the router's power cord.

  • Connect the router's LAN1 port directly to your PC.

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

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.

  1. Forgot/lost your password and you like to set a new one

passwd

  1. Forgot the routers IP address

uci get network.lan.ipaddr

  1. You accidentally run 'ipkg upgrade' or filled up the flash by installing to big packages (clean the JFFS2 partition and start over)

mtd -r erase rootfs_dataIf you are done with failsafe mode power cycle the router and boot in normal mode.

Buttons

The Dlink DIR-320 has two buttons. They are Reset and Secure Easy Setup. The buttons can be used with hotplug events. E. g. [#wifitoggle WiFi toggle].Prior to Chaos Calmer 15.04:

BUTTON Event
Reset reset
Secure Easy Setup ses

For Chaos Calmer 15.04:

BUTTON Event GPIO
Reset none GPIO7
WPS none GPIO6

LEDs

There are 5 leds:

GPIO Function Color
GPIO0 Wireless green
GPIO1 Status green
GPIO3 WPS red
GPIO4 WPS blue
GPIO5 USB green
unknown Internet green

Prior to Chaos Calmer 15.04:

 - /proc/diag/led/blue - /proc/diag/led/red - /proc/diag/led/wlan - /proc/diag/led/diag - /proc/diag/led/usbYou can swich them on or off by "echo 0|1 >> /proc/diag/led/blue|red|wlan|diag|usb"

For Chaos Calmer 15.04:

no board detected so no leds configured.but leds maybe configured by gpio:root@Cottage:~# cd /sys/class/gpio/root@Cottage:/sys/class/gpio# echo 5 > exportroot@Cottage:/sys/class/gpio# echo out > gpio5/directionroot@Cottage:/sys/class/gpio# echo 1 > gpio5/valueand LED USB is Onfor support leds by led driver need to upload patch for kernel source tree. 

Basic configuration

Link to Generic basic config secion

Firmware

Flash Layout of Stock Firmware

0x00000000-0x00400000 : "flash" 0x00000000-0x00030000 : "Boot" 0x00030000-0x00040000 : "rgdb" 0x00040000-0x003e0000 : "upgrade" 0x000f0080-0x00335080 : "rootfs" 0x003e0000-0x003f0000 : "langpack" 0x003f6000-0x003f8000 : "bdcfg" 0x003f8000-0x00400000 : "nvram"
# cat /proc/mtddev: size erasesize namemtd0: 00400000 00010000 "ELBOX Physically mapped flash"mtd1: 00245000 00010000 "rootfs"mtd2: 003a0000 00010000 "upgrade"mtd3: 00010000 00010000 "rgdb"mtd4: 00002000 00002000 "bdcfg"mtd5: 00010000 00010000 "langpack"mtd6: 00400000 00010000 "flash"mtd7: 00030000 00010000 "Boot"mtd8: 00008000 00002000 "nvram"

Boot loader

CFE version 1.0.37 for BCM947XX (32bit,SP,LE)

Boot log

Stock firmware:

Decompressing...........doneCFE version 1.0.37 for BCM947XX (32bit,SP,LE)Build Date: Wed Mar 18 10:12:27 CST 2009 (leon@enzo)Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.Initializing ArenaInitializing Devices.Boot partition size = 262144(0x40000)et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 4.150.3.0CPU type 0x29029: 240MHzTotal memory: 32768 KBytesTotal memory used by CFE: 0x80300000 - 0x803C0720 (788256)Initialized Data: 0x80337730 - 0x8033AE50 (14112)BSS Area: 0x8033AE50 - 0x8033C720 (6352)Local Heap: 0x8033C720 - 0x803A0720 (409600)Stack Area: 0x803A0720 - 0x803C0720 (131072)Text (code) segment: 0x80300000 - 0x80337730 (227120)Boot area (physical): 0x003C1000 - 0x00401000Relocation Factor: I:00000000 - D:00000000alpha bootcode ver 0.1.3cmd = ifconfig eth0 -addr=192.168.0.1 -mask=255.255.255.0We disable the arp for self.We disable the arp for self.Device eth0: hwaddr F0-7D-68-75-74-D3, ipaddr 192.168.0.1, mask 255.255.255.0 gateway not set, nameserver not setcmd = go;cmd = load -raw -addr=0x803c0720 -max=0x3a0000 :Loader:raw Filesys:tftp Dev:eth0 File:: Options:(null)Loading: Failed.Could not load :: Timeout occuredDest=80001000, source =803c0720, filename=flash1.trximage_head_Check OKmagic = 20040220image size = 3100704devname = /dev/mtdblock/2digest check OK!!insize = 1048576, out size =8388608uncompressed size = 2203648lzma decompress success !Closing network.Starting program at 0x80001000CPU revision is: 00029029Primary instruction cache 16kb, linesize 16 bytes (4 ways)Primary data cache 16kb, linesize 16 bytes (2 ways)Linux version 2.4.20 (stpaul@enzo) (gcc version 3.2.3 with Broadcom modifications) #1 Mon Feb 4 17:51:41 CST 2008no need to call nvram_init()Setting the PFC to its default valueDetermined physical RAM map: memory: 02000000 @ 00000000 (usable)On node 0 totalpages: 8192zone(0): 8192 pages.zone(1): 0 pages.zone(2): 0 pages.Kernel command line: root=/dev/mtdblock1 noinitrd console=ttyS0,115200CPU: BCM5354 rev 3 at 240 MHzCalibrating delay loop... 237.56 BogoMIPSMemory: 30036k/32768k available (1935k kernel code, 2732k reserved, 128k data, 68k init, 0k highmem)Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)Inode cache hash table entries: 2048 (order: 2, 16384 bytes)Mount-cache hash table entries: 512 (order: 0, 4096 bytes)Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)Page-cache hash table entries: 8192 (order: 3, 32768 bytes)Checking for 'wait' instruction... unavailable.POSIX conformance testing by UNIFIXPCI: no corePCI: Fixing up bus 0Linux NET4.0 for Linux 2.4Based upon Swansea University Computer Society NET3.039Initializing RT netlink socketStarting kswapddevfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)devfs: boot_options: 0x1pty: 256 Unix98 ptys configuredSerial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabledttyS00 at 0xb8000300 (irq = 3) is a 16550AttyS01 at 0xb8000400 (irq = 0) is a 16550AHDLC line discipline: version $Revision$, maxframe=4096N_HDLC line discipline registered.PPP generic driver version 2.4.2PPP MPPE Compression module registeredSCSI subsystem driver Revision: 1.00kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 Amd/Fujitsu Extended Query Table v1.1 at 0x0040ELBOX Physically mapped flash: Swapping erase regions for broken CFI table.number of CFI chips: 1Flash device: 0x400000 at 0x1fc00000ELBOX Physically mapped flash: squashfs filesystem found at block 960Creating 8 MTD partitions on "ELBOX Physically mapped flash":0x000f0080-0x00335080 : "rootfs"0x00040000-0x003e0000 : "upgrade"0x00030000-0x00040000 : "rgdb"0x003f6000-0x003f8000 : "bdcfg"0x003e0000-0x003f0000 : "langpack"0x00000000-0x00400000 : "flash"0x00000000-0x00030000 : "Boot"0x003f8000-0x00400000 : "nvram"usb.c: registered new driver usbdevfsusb.c: registered new driver hubehci_hcd 00:03.1: PCI device 14e4:471aehci_hcd 00:03.1: irq 6, pci mem b8003800usb.c: new USB bus registered, assigned bus number 1ehci_hcd 00:03.1: illegal capability!PCI: 00:03.1 PCI cache line size set incorrectly (0 bytes) by BIOS/FW, correcting to 32ehci_hcd 00:03.1: USB 0.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4hub.c: USB hub foundhub.c: 2 ports detectedhost/usb-ohci.c: USB OHCI at membase 0xb8003000, IRQ 6host/usb-ohci.c: usb-00:03.0, PCI device 14e4:471ausb.c: new USB bus registered, assigned bus number 2hub.c: USB hub foundhub.c: 2 ports detectedusb.c: registered new driver usblpprinter.c: v0.13: USB Printer Device Class driverInitializing USB Mass Storage driver...usb.c: registered new driver usb-storageUSB Mass Storage support registered.NET4: Linux TCP/IP 1.0 for NET4.0IP Protocols: ICMP, UDP, TCP, IGMPRegister ARP FLOOD sysctl entry successes!IP: routing cache hash table of 512 buckets, 4KbytesTCP: Hash tables configured (established 2048 bind 4096)Linux IP multicast router 0.06 plus PIM-SMip_conntrack version 2.1 (256 buckets, 2048 max) - 344 bytes per conntrackip_tables: (C) 2000-2002 Netfilter core teamipt_time loadingNET4: Unix domain sockets 1.0/SMP for Linux NET4.0.NET4: Ethernet Bridge 008 for NET4.0802.1Q VLAN Support v1.7 Ben Greear <greearb@candelatech.com>All bugs added by David S. Miller <davem@redhat.com>FAT: bogus logical sector size 19968VFS: Mounted root (squashfs filesystem) readonly.Mounted devfs on /devFreeing unused kernel memory: 68k freedinit started: BusyBox v1.00 (2008.02.12-07:24+0000) multi-call binaryStarting pid 15, console /dev/tts/0: '/etc/init.d/rcS'Algorithmics/MIPS FPU Emulator v1.5[/etc/init.d/S03config.sh]Mounting proc and var ...Start xmldb ...[/etc/scripts/misc/profile.sh] get ...[/etc/scripts/misc/defnodes.sh] ...[/etc/defnodes/S10setext.sh] ...PHP [/etc/defnodes/S11setnodes.php] ...PHP [/etc/defnodes/S12features.php] ...PHP [/etc/defnodes/S13flashspeed.php] ...PHP [/etc/defnodes/S20setnodes.php] ...FAT: bogus logical sector size 17990VFS: Can't find a valid FAT filesystem on dev 1f:05.SQUASHFS error: Can't find a SQUASHFS superblock on mtdblock(31,5)mount: Mounting /dev/mtdblock/5 on /www/locale/alt failed: Invalid argumentPHP [/etc/defnodes/S40brand.php] ...[/etc/scripts/misc/defnodes.sh] Done !![/etc/templates/timezone.sh] ...[/etc/templates/logs.sh] ...[/var/run/logs_run.sh] ...Using /lib/modules/wl_apsta.ono need to call nvram_init()eth0: Broadcom BCM4318 802.11 Wireless Controller 4.150.10.5Set name-type for VLAN subsystem. Should be visible in /proc/net/vlan/config[/etc/templates/webs.sh] start ...[/var/run/webs_start.sh] ...Starting HTTPD .../proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_established: cannot create[/etc/init.d/S03config.sh] done![/etc/init.d/S10system.sh]start fresetd ...Factory reset time : 5 secsWPS command : [/etc/templates/wps.sh pbc &]start scheduled ...[/etc/templates/scheduled.sh] start ...[/var/run/scheduled_start.sh] ...Start scheduled ...setup layout ...[/etc/scripts/layout.sh] start ...[/var/run/layout_start.sh] ...Start router layout ...Using /lib/modules/et.ono need to call nvram_init()eth1: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 4.150.10.5eth1.6: Setting MAC address to f0 7d 68 75 74 d2.device eth1 entered promiscuous modeVLAN (eth1.6): Setting underlying device (eth1) to promiscious mode.eth1.0: Setting MAC address to f0 7d 68 75 74 d1.eth1.8: Setting MAC address to f0 7d 68 75 74 d3.VLAN (eth1.8): Underlying device (eth1) has same MAC, not checking promiscious mode.device eth0 entered promiscuous modeeth1.0: dev_set_promiscuity(master, 1)device eth1.0 entered promiscuous modebr0: port 2(eth1.0) entering learning statebr0: port 2(eth1.0) entering forwarding statebr0: topology change detected, propagatingbr0: port 1(eth0) multicast bandwidth 900kbpsstart LAN ...[/etc/templates/lan.sh] ...[/var/run/lan_start.sh] ...Start LAN (br0/192.168.0.1/255.255.255.0)...Start DHCP server (br0) ...DHCP server is disabled!Start igmp ...[/etc/templates/igmpproxy.sh] start ...[/var/run/igmpproxy_start.sh] ...Start IGMP proxy ...enable LAN ports ...Nothing to enable LAN ports!start WLAN ...[/etc/templates/wlan.sh] start ...[/var/run/wlan_start.sh] ...Start WLAN interface eth0 ...eth0: Numerical result out of rangeeth0: Invalid argumenteth0: Invalid argumentbr0: port 1(eth0) entering learning statebr0: port 1(eth0) entering forwarding statebr0: topology change detected, propagating[/etc/templates/wps.sh] setie ...Configuration file: /var/run/hostapd.eth0.confbr0: port 1(eth0) entering disabled stateUsing interface eth0 with hwaddr f0:7d:68:75:74:d1 and ssid 'dlink'br0: port 1(eth0) entering learning statebr0: port 1(eth0) entering forwarding statebr0: topology change detected, propagatinghostapd_setup_interface: return 0Start WLAN interface eth0 Done !!!start Guest Zone[/etc/templates/gzone.sh] ...[/var/run/gzone_start.sh] ...Start Guest Zone (br1/192.168.1.1/255.255.255.0)...[/etc/templates/enable_gzone.sh] ...[/var/run/enable_gzone_start.sh] ...start RG ...[/etc/templates/rg.sh] start ...[/var/run/rg_start.sh] ...Using /lib/modules/sw_tcpip.oREDSonic turbo net initializedimq driver loaded.Using /lib/modules/ifresetcnt.oNetwork interface reset count v1.0Using /lib/modules/ipt_string.oUsing /lib/modules/ip_stun_func.oRegister STUN module successes!sendto_unsock(/var/run/portt.unixsocket, flush)start DNRD ...[/etc/templates/dnrd.sh] ...[/var/run/dnrd_start.sh] ...Start DNRD ...Notice: caching turned offStart telnetd ...start UPNPD ...[/etc/templates/upnpd.sh] ...[/var/run/upnpd_start.sh] ...Starting UPnP ...[/var/run/upnp_alive.sh] ...start WAN ...Set WAN port media type 0[/etc/templates/wan.sh] start ...[/var/run/wan_start.sh] ...DHCP client on WAN(eth1.8) CloneMAC() ...start LLD2D ...[/etc/templates/lld2d.sh] ...[/var/run/lld2d_start.sh] ...Start LLD2 daemon ...start Neaps ...[/etc/templates/neaps.sh] start ...[/var/run/neaps_start.sh] ...Start Neap Server ...start lpd ...[/etc/templates/lpd.sh] ...killall: lpd: no process killedkillall: rawlpd: no process killedshiang(793): Set_lpd_pid(5)shiang_lpd:s=515, Lpd_listen_port_DYN=(null), Lpd_port_DYN=515shiang_Ipp:s=off, Ipp_listen_port_DYN=offshiang_Unix:s=/var/run/lprng, Unix_socket_path_DYN=/var/run/lprng794: the pid_str=794 pofd 17 17!794: jobQueue_Init success!794: Into printer_Hotplug_Action()!794: After reset pDev_Queue, we check each entries!start igmpproxy ...[/etc/templates/igmpproxy.sh] start ...[/var/run/igmpproxy_stop.sh] ...Stop IGMP proxy ...[/etc/templates/igmpproxy_helper.sh] flush ...[/var/run/igmpproxy_helper.sh] ...[/etc/templates/rg.sh] misc ...[/var/run/rg_misc.sh] ...794: pclose!794: create socket success!794:The unix socket file path=/var/run/pof.dp9100d daemonserver in ..after fork ..[/var/run/igmpproxy_start.sh] ...Start IGMP proxy ...[/etc/init.d/S10system.sh] done!rcS done!Starting pid 861, console /dev/tts/0: '/bin/sh'BusyBox v1.00 (2008.02.12-07:24+0000) Built-in shell (msh)Enter 'help' for a list of built-in commands.#

Debricking

If the boot loader is not rewritten, you may download and boot the image via TFTP.

The boot loader “CFE” set the IP address 192.168.0.1 with the mask 24 bits, start the TFTP server and wait two seconds for tftp upload. The “window” of the TFTP upload are 4-5 seconds after power on.
You may set the IP address on your computer to 192.168.0.2 (or any address of the range 192.168.0.2-254), plug the power jack into router, wait for link is up and TFTP-put the TRX file to 192.168.0.1. The router will flashing uploaded firmware and boot.

Example.

TFTP upload

$ tftp -v4l -m binary 192.168.0.1 -c put openwrt-15.05.1-brcm47xx-generic-squashfs.trxmode set to octetConnected to 192.168.0.1 (192.168.0.1), port 69putting openwrt-15.05.1-brcm47xx-generic-squashfs.trx to 192.168.0.1:openwrt-15.05.1-brcm47xx-generic-squashfs.trx [octet]Error code 3: transfer cancelledSent 3801088 bytes in 1.2 seconds [26031948 bit/s]

Console of the router

cmd = load -raw -addr=0x803c0720 -max=0x3a0000 :Loader:raw Filesys:tftp Dev:eth0 File:: Options:(null)Loading: entry point=803C0720........... 3801088 bytes readEntry at 0x803c0720cmd = flash -noheader -mem -size=0x3a1000 0x803c0720 flash1.trxReading from 0x803c0720: Programming...done. 3805184 bytes writtenDest=80001000, source =803c0720, filename=flash1.trxcmd = boot -raw -z -addr=0x80001000 -max=0x3a0000 flash0.os:Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)Loading: entry point=80001000.. 3712 bytes readEntry at 0x80001000Closing network.Starting program at 0x80001000[ 0.000000] Linux version 3.18.23 (buildbot@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r48532) ) #1 Tue Mar 1 09:17:16 CET 2016[ 0.000000] CPU0 revision is: 00029029 (Broadcom BMIPS3300)[ 0.000000] bcm47xx: Using ssb bus[ 0.000000] ssb: Found chip with id 0x5354, rev 0x03 and package 0x00[ 0.000000] can not parse nvram name (null)boardnum(null) with value got -22[ 0.000000] can not parse nvram name (null)rxpo2g(null) with value 0xfff8 got -34[ 0.000000] ssb: Sonics Silicon Backplane found at address 0x18000000[ 0.000000] Determined physical RAM map:[ 0.000000] memory: 02000000 @ 00000000 (usable)…

In the stock firmware, also, you may reset to factory defaults: press the “Reset” button at first 5 seconds of boot.

Note that various USB-Ethernet, or Thunderbolt-Ethernet dongles may not work, because the time it takes for them to initialize the connection at low level is too long and the OS may get the cable-connected event after the router stopped waiting for firmware.

Links

Tags

How to add tags

bcm47xx, bcm5354, FastEthernet, 5Port, hwVLAN, 1USB, 802.11bg, DetachableAntenna, 1Ant, 32RAM, 4Flash, MIPS, MIPS32

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

[OpenWrt Wiki] D-Link DIR-320 H/W Ver.: A1 and A2 (2024)

References

Top Articles
Latest Posts
Article information

Author: Eusebia Nader

Last Updated:

Views: 5910

Rating: 5 / 5 (60 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Eusebia Nader

Birthday: 1994-11-11

Address: Apt. 721 977 Ebert Meadows, Jereville, GA 73618-6603

Phone: +2316203969400

Job: International Farming Consultant

Hobby: Reading, Photography, Shooting, Singing, Magic, Kayaking, Mushroom hunting

Introduction: My name is Eusebia Nader, I am a encouraging, brainy, lively, nice, famous, healthy, clever person who loves writing and wants to share my knowledge and understanding with you.