[PATCH 12/13] MIPS: loongson-ls1b: add documentation
Antony Pavlov
antonynpavlov at gmail.com
Sat Jan 18 10:13:02 EST 2014
Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
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
+ at 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
+ at li Loongson LS1B SoC 250 MHz;
+ at li 64 MiB SDRAM;
+ at li 512 KiB SPI boot ROM;
+ at li 128M x 8 Bit NAND Flash Memory;
+ at li 2 x RS232 serial interfaces (DB9 connectors);
+ at li 2 x Ethernet interfaces;
+ at li 4 x USB interfaces;
+ at li microSD card slot;
+ at li LCD display (480x272);
+ at li audio controller;
+ at li beeper;
+ at li buttons;
+ at 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
+ at verbatim
+ PMON> ymodem base=0xa0200000
+ at endverbatim
+
+5. Run barebox
+ at verbatim
+ PMON> g -e 0xa0200000
+ at endverbatim
+
+Loongson links:
+ at li http://en.wikipedia.org/wiki/Loongson
+ at li http://www.linux-mips.org/wiki/Loongson
+ at li https://github.com/loongson-gz
+ at li http://www.linux-mips.org/wiki/PMON_2000
+ at 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
+ at li @subpage loongson_ls1b
+
*/
--
1.8.5.3
More information about the barebox
mailing list