[PATCH v8 11/12] MIPS: add D-Link DIR-320 documentation

Antony Pavlov antonynpavlov at gmail.com
Mon Jul 25 08:06:38 EDT 2011


Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
 Documentation/boards.dox                         |    1 +
 arch/mips/boards/dlink-dir-320/dlink-dir-320.dox |   38 ++++++++++++++++++++++
 arch/mips/mach-bcm47xx/mach-bcm47xx.dox          |    7 ++++
 arch/mips/mach-mips.dox                          |    4 ++
 4 files changed, 50 insertions(+), 0 deletions(-)
 create mode 100644 arch/mips/boards/dlink-dir-320/dlink-dir-320.dox
 create mode 100644 arch/mips/mach-bcm47xx/mach-bcm47xx.dox

diff --git a/Documentation/boards.dox b/Documentation/boards.dox
index 17771c6..d610971 100644
--- a/Documentation/boards.dox
+++ b/Documentation/boards.dox
@@ -47,6 +47,7 @@ x86 type:
 
 MIPS type:
 
+ at li @subpage dlink_dir_320
 @li @subpage qemu_malta
 
 */
diff --git a/arch/mips/boards/dlink-dir-320/dlink-dir-320.dox b/arch/mips/boards/dlink-dir-320/dlink-dir-320.dox
new file mode 100644
index 0000000..d0f5869
--- /dev/null
+++ b/arch/mips/boards/dlink-dir-320/dlink-dir-320.dox
@@ -0,0 +1,38 @@
+/** @page dlink_dir_320 D-Link DIR-320 wireless router
+
+The router has
+ at li BCM5354 SoC;
+ at li 32 MiB SDRAM;
+ at li 4 MiB NOR type Flash Memory;
+ at li RS232 serial interface (LV-TTL levels on board!);
+ at li 1xUSB interface;
+ at li 4 + 1 ethernet interfaces;
+ at li 802.11b/g (WiFi) interface;
+ at li JTAG interface;
+ at li 5 LEDs;
+ at 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.:
+ at verbatim
+CFE> ifconfig eth0 -addr=192.168.0.99
+CFE> boot -tftp -addr=a0800000 -raw 192.168.0.1:barebox.bin
+ at endverbatim
+
+DIR-320 links:
+ at li http://www.dlink.com.au/products/?pid=768
+ at li http://wiki.openwrt.org/toh/d-link/dir-320
+
+CFE links:
+ at li http://www.broadcom.com/support/communications_processors/downloads.php#cfe
+ at li http://www.linux-mips.org/wiki/CFE
+
+*/
diff --git a/arch/mips/mach-bcm47xx/mach-bcm47xx.dox b/arch/mips/mach-bcm47xx/mach-bcm47xx.dox
new file mode 100644
index 0000000..04ccf03
--- /dev/null
+++ b/arch/mips/mach-bcm47xx/mach-bcm47xx.dox
@@ -0,0 +1,7 @@
+/** @page dev_bcm47xx_mach BCM47xx in barebox
+
+ at section bcm47xx_boards BCM47xx-based boards
+
+ at li @subpage dlink_dir_320
+
+*/
diff --git a/arch/mips/mach-mips.dox b/arch/mips/mach-mips.dox
index 50dbbd2..9bcec13 100644
--- a/arch/mips/mach-mips.dox
+++ b/arch/mips/mach-mips.dox
@@ -54,4 +54,8 @@ ISBN-13: 978-0120884216
 @subsection mach_mips_malta_info Malta boards
 
 @li @subpage dev_malta_mach
+
+ at subsection mach_bcm47xx_info BCM47xx-based boards
+
+ at li @subpage dev_bcm47xx_mach
 */
-- 
1.7.5.4




More information about the barebox mailing list