[PATCH 12/13] MIPS: loongson-ls1b: add documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Antony Pavlov <antonynpavlov@xxxxxxxxx>
---
 Documentation/boards.dox                         |  1 +
 arch/mips/boards/loongson-ls1b/loongson_ls1b.dox | 47 ++++++++++++++++++++++++
 arch/mips/mach-loongson/mach-loongson.dox        |  2 +
 3 files changed, 50 insertions(+)
 create mode 100644 arch/mips/boards/loongson-ls1b/loongson_ls1b.dox

diff --git a/Documentation/boards.dox b/Documentation/boards.dox
index 41de836..6bcc14f 100644
--- a/Documentation/boards.dox
+++ b/Documentation/boards.dox
@@ -56,6 +56,7 @@ x86 type:
 MIPS type:
 
 @li @subpage dlink_dir_320
+@li @subpage loongson_ls1b
 @li @subpage qemu_malta
 @li @subpage rzx50
 
diff --git a/arch/mips/boards/loongson-ls1b/loongson_ls1b.dox b/arch/mips/boards/loongson-ls1b/loongson_ls1b.dox
new file mode 100644
index 0000000..f96a3f8
--- /dev/null
+++ b/arch/mips/boards/loongson-ls1b/loongson_ls1b.dox
@@ -0,0 +1,47 @@
+/** @page loongson_ls1b Loongson LS1B demo board
+
+The LS1B is a development board made by Loongson Technology Corp. Ltd.
+
+The board has
+@li Loongson LS1B SoC 250 MHz;
+@li 64 MiB SDRAM;
+@li 512 KiB SPI boot ROM;
+@li 128M x 8 Bit NAND Flash Memory;
+@li 2 x RS232 serial interfaces (DB9 connectors);
+@li 2 x Ethernet interfaces;
+@li 4 x USB interfaces;
+@li microSD card slot;
+@li LCD display (480x272);
+@li audio controller;
+@li beeper;
+@li buttons;
+@li EJTAG 10-pin connector.
+
+The board uses PMON2000 as bootloader.
+
+Barebox mini-howto:
+
+1. Connect to the boards's UART2;
+
+2. Turn board's power on;
+
+3. Wait 'Press <Enter> to execute loading image' prompt and press the space key.
+
+4. Upload zbarebox.bin via Ymodem
+@verbatim
+    PMON> ymodem base=0xa0200000
+@endverbatim
+
+5. Run barebox
+@verbatim
+    PMON> g -e 0xa0200000
+@endverbatim
+
+Loongson links:
+@li http://en.wikipedia.org/wiki/Loongson
+@li http://www.linux-mips.org/wiki/Loongson
+@li https://github.com/loongson-gz
+@li http://www.linux-mips.org/wiki/PMON_2000
+@li http://www.opsycon.se/PMON2000/Main
+
+*/
diff --git a/arch/mips/mach-loongson/mach-loongson.dox b/arch/mips/mach-loongson/mach-loongson.dox
index 628ae78..7838ce5 100644
--- a/arch/mips/mach-loongson/mach-loongson.dox
+++ b/arch/mips/mach-loongson/mach-loongson.dox
@@ -2,4 +2,6 @@
 
 @section loongson_boards Loongson-based boards
 
+@li @subpage loongson_ls1b
+
 */
-- 
1.8.5.3


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux