summaryrefslogtreecommitdiffstats
path: root/Documentation/boards/mips/dlink-dir-320.rst
blob: 90de68a9c4a7842f1b43799115259fe6bd5e6bf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
D-Link DIR-320
==============

The D-Link DIR-320 wireless router has

  * BCM5354 SoC;
  * 32 MiB SDRAM;
  * 4 MiB NOR type Flash Memory;
  * RS232 serial interface (LV-TTL levels on board!);
  * 1xUSB interface;
  * 4 + 1 ethernet interfaces;
  * 802.11b/g (WiFi) interface;
  * JTAG interface;
  * 5 LEDs;
  * 2 buttons.

The router uses CFE as firmware.

Running barebox
---------------

Barebox can be started from CFE using tftp.
You must setup tftp-server on host 192.168.0.1.
Put your barebox-dlink-dir-320.img to tftp-server directory
(usual /tftpboot or /srv/tftp).
Connect your DIR-320 to your tftp-server network via
one of four <LAN> sockets.

Next, setup network on DIR-320 and run barebox.bin, e.g.:

.. code-block:: console

  CFE> ifconfig eth0 -addr=192.168.0.99
  CFE> boot -tftp -addr=a0800000 -raw 192.168.0.1:barebox-dlink-dir-320.img


Links
-----

  * http://web.archive.org/web/20140301070636/http://www.dlink.com.au/products/?pid=768
  * https://openwrt.org/toh/d-link/dir-320

CFE links:

  * http://www.broadcom.com/support/communications_processors/downloads.php#cfe
  * http://www.linux-mips.org/wiki/CFE