From: Eddie Cai <eddie.cai.linux@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V3 3/4] rockchip:usb: add a simple readme for rockusb
Date: Sat, 29 Apr 2017 08:41:37 +0800 [thread overview]
Message-ID: <1493426498-5839-4-git-send-email-eddie.cai.linux@gmail.com> (raw)
In-Reply-To: <1493426498-5839-1-git-send-email-eddie.cai.linux@gmail.com>
add a simple readme to introduce rockusb and tell people how to use it
Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
Changes in v3:
-fix checkpatch error
---
doc/README.rockusb | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 doc/README.rockusb
diff --git a/doc/README.rockusb b/doc/README.rockusb
new file mode 100644
index 0000000..262596e
--- /dev/null
+++ b/doc/README.rockusb
@@ -0,0 +1,37 @@
+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
+(https://github.com/rockchip-linux/rkdeveloptool) is open source,
+It is maintained by Rockchip. People don't want to build from source
+can download from here
+(https://github.com/rockchip-linux/rkbin/blob/master/tools/rkdeveloptool)
+
+Usage
+--------
+The Usage of Rockusb command is
+rockusb <USB_controller> <devtype> <dev[:part]>
+e.g. rockusb 0 mmc 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 <BeginSec> <File>
+to flash U-Boot image use command
+sudo rkdeveloptool wl 64 <U-Boot binary>
+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
--
1.9.1
next prev parent reply other threads:[~2017-04-29 0:41 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-29 0:41 [U-Boot] [PATCH V3 0/4] introduce Rockchip rockusb Eddie Cai
2017-04-29 0:41 ` [U-Boot] [PATCH V3 1/4] usb: rockchip: add the rockusb gadget Eddie Cai
2017-04-30 3:49 ` Simon Glass
2017-05-02 8:47 ` Eddie Cai
2017-05-08 16:38 ` Simon Glass
2017-05-09 3:13 ` Eddie Cai
2017-04-29 0:41 ` [U-Boot] [PATCH V3 2/4] usb: rockchip: add rockusb command Eddie Cai
2017-04-30 3:49 ` Simon Glass
2017-05-02 8:35 ` Eddie Cai
2017-04-29 0:41 ` Eddie Cai [this message]
2017-04-30 3:49 ` [U-Boot] [PATCH V3 3/4] rockchip:usb: add a simple readme for rockusb Simon Glass
2017-05-02 8:32 ` Eddie Cai
2017-04-29 0:41 ` [U-Boot] [PATCH V3 4/4] rockchip: usb: enable rockusb on rk3288 based board Eddie Cai
2017-04-30 3:49 ` Simon Glass
2017-05-02 8:28 ` Eddie Cai
2017-04-29 21:46 ` [U-Boot] [PATCH V3 0/4] introduce Rockchip rockusb Lukasz Majewski
2017-05-02 9:22 ` Eddie Cai
2017-05-02 10:47 ` Lukasz Majewski
2017-05-03 1:59 ` Eddie Cai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1493426498-5839-4-git-send-email-eddie.cai.linux@gmail.com \
--to=eddie.cai.linux@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox