Documentation: mips: fix tplink-mr3020 instruction
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
16886bfd01
commit
f76ef11a4a
|
@ -23,7 +23,8 @@ But you have to encode barebox image in a very special way.
|
||||||
First obtain ``lzma`` and ``mktplinkfw`` utilities.
|
First obtain ``lzma`` and ``mktplinkfw`` utilities.
|
||||||
|
|
||||||
The ``lzma`` utility can be obtained in Debian/Ubuntu
|
The ``lzma`` utility can be obtained in Debian/Ubuntu
|
||||||
distro by installing lzma package.
|
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.::
|
||||||
|
|
||||||
|
@ -36,8 +37,8 @@ The ``mktplinkfw`` utility can be obtained from openwrt, e.g.::
|
||||||
To convert your barebox.bin to U-Boot-loadable image (``6F01A8C0.img``)
|
To convert your barebox.bin to U-Boot-loadable image (``6F01A8C0.img``)
|
||||||
use this command sequence::
|
use this command sequence::
|
||||||
|
|
||||||
$ lzma -c -k barebox.bin > barebox.lzma
|
$ lzma -c -k barebox-flash-image > barebox.lzma
|
||||||
$ ./FW/mktplinkfw -c -H 0x07200103 -W 1 -N TL-WR720N-v3 \
|
$ ./mktplinkfw -c -H 0x07200103 -W 1 -N TL-WR720N-v3 \
|
||||||
-s -F 4Mlzma -k barebox.lzma -o 6F01A8C0.img
|
-s -F 4Mlzma -k barebox.lzma -o 6F01A8C0.img
|
||||||
|
|
||||||
You must setup tftp-server on host 192.168.0.1.
|
You must setup tftp-server on host 192.168.0.1.
|
||||||
|
|
Loading…
Reference in New Issue