From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eddie Cai Date: Sun, 16 Apr 2017 23:48:56 +0800 Subject: [U-Boot] [U-Boot PATCH V2 8/8] rockusb: add a simple readme In-Reply-To: <20170416154856.14636-1-eddie.cai.linux@gmail.com> References: <20170416154856.14636-1-eddie.cai.linux@gmail.com> Message-ID: <20170416154856.14636-9-eddie.cai.linux@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de add a simple readme to introduce rockusb and tell people how to use it Signed-off-by: Eddie Cai --- doc/README.rockusb | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 doc/README.rockusb diff --git a/doc/README.rockusb b/doc/README.rockusb new file mode 100644 index 0000000..13893d9 --- /dev/null +++ b/doc/README.rockusb @@ -0,0 +1,35 @@ +Rockusb (Rockchip USB protocol) +===================================================== + +Overview +-------- + +Rockusb protocol is widely used with Rockchip devices. +It can read/write info, image to/from devices. This +document briefly describes how to use Rockusb for upgrading +firmware (e.g. kernel, u-boot, rootfs, etc.). + +Tools +-------- +There are many tools can support Rockusb protocol. rkdeveloptool +is open source, It is maintained by Rockchip. + +Usage +-------- +The Usage of Rockusb command is +rockusb [] +e.g. rockusb 0 mmc 0 +rockusb 0 usb 0 +On your U-Boot console, type this command to enter rockusb mode. +On your host PC. use lsusb command. you should see a usb device +using 0x2207 as its USB verdor id. Then use rkdeveloptool +sudo rkdeveloptool wl +to flash U-Boot image use command +sudo rkdeveloptool wl 64 +There are plenty of Rockusb command. but wl(write lba) and +rd(reboot) command. These two command can let people flash +image to device. + +To do +----- +* Fully support Rockusb protocol -- 2.10.2