summaryrefslogtreecommitdiffstats
path: root/arch/mips/boards/dlink-dir-320/dlink-dir-320.dox
blob: d0f5869340bf3be9e4f88db8c1ce5e4c8fc087f2 (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
/** @page dlink_dir_320 D-Link DIR-320 wireless router

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

The router uses CFE as firmware.

Barebox can be started from CFE using tftp.
You must setup tftp-server on host 192.168.0.1.
Put your barebox.bin 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.:
@verbatim
CFE> ifconfig eth0 -addr=192.168.0.99
CFE> boot -tftp -addr=a0800000 -raw 192.168.0.1:barebox.bin
@endverbatim

DIR-320 links:
@li http://www.dlink.com.au/products/?pid=768
@li http://wiki.openwrt.org/toh/d-link/dir-320

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

*/