summaryrefslogtreecommitdiffstats
path: root/Documentation/boards
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2016-08-12 17:32:02 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2016-08-15 11:17:20 +0200
commit733b714d2b21fba530979afc674aa1f82ce447e7 (patch)
tree0cd133f295b9c0a92b25a9716e505903bc12b63e /Documentation/boards
parent2fb0ef2053e26e6bc42466bbe2d91069da079b45 (diff)
downloadbarebox-733b714d2b21fba530979afc674aa1f82ce447e7.tar.gz
barebox-733b714d2b21fba530979afc674aa1f82ce447e7.tar.xz
Documentation: tplink-mr3020: fix 'Could not lex literal_block as "c"' warning
The patch fixes these sphinx warnings: barebox/Documentation/boards/mips/tplink-mr3020.rst:31: WARNING: Could not lex literal_block as "c". Highlighting skipped. barebox/Documentation/boards/mips/tplink-mr3020.rst:40: WARNING: Could not lex literal_block as "c". Highlighting skipped. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation/boards')
-rw-r--r--Documentation/boards/mips/tplink-mr3020.rst12
1 files changed, 9 insertions, 3 deletions
diff --git a/Documentation/boards/mips/tplink-mr3020.rst b/Documentation/boards/mips/tplink-mr3020.rst
index 8a95e118e1..99101c337d 100644
--- a/Documentation/boards/mips/tplink-mr3020.rst
+++ b/Documentation/boards/mips/tplink-mr3020.rst
@@ -26,7 +26,9 @@ The ``lzma`` utility can be obtained in Debian/Ubuntu
distro by installing lzma package
(lzma from xz-utils package is unusable).
-The ``mktplinkfw`` utility can be obtained from openwrt, e.g.::
+The ``mktplinkfw`` utility can be obtained from openwrt, e.g.:
+
+.. code-block:: sh
$ OWRTPREF=https://raw.githubusercontent.com/mirrors/openwrt/master
$ curl -OL $OWRTPREF/tools/firmware-utils/src/mktplinkfw.c \
@@ -35,7 +37,9 @@ The ``mktplinkfw`` utility can be obtained from openwrt, e.g.::
$ cc -o mktplinkfw mktplinkfw.c md5.c
To convert your barebox.bin to U-Boot-loadable image (``6F01A8C0.img``)
-use this command sequence::
+use this command sequence:
+
+.. code-block:: sh
$ lzma -c -k barebox-flash-image > barebox.lzma
$ ./mktplinkfw -c -H 0x07200103 -W 1 -N TL-WR720N-v3 \
@@ -47,7 +51,9 @@ Put your ``6F01A8C0.img`` to tftp-server directory
Connect your board to your tftp-server network via Ethernet.
-Next, setup network on MR3020 and run ``6F01A8C0.img``, e.g.::
+Next, setup network on MR3020 and run ``6F01A8C0.img``, e.g.:
+
+.. code-block:: console
hornet> set ipaddr 192.168.0.2
hornet> set serverip 192.168.0.1