All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
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 21:49:35 -0600	[thread overview]
Message-ID: <CAPnjgZ0vVeiEQPh+TNC=XifhZ9DV7e5Y8KiEvoXoGt9GAC5Eug@mail.gmail.com> (raw)
In-Reply-To: <1493426498-5839-4-git-send-email-eddie.cai.linux@gmail.com>

Hi Eddie,

On 28 April 2017 at 18:41, Eddie Cai <eddie.cai.linux@gmail.com> wrote:
> 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

is:

blank line here

> +rockusb <USB_controller> <devtype> <dev[:part]>

blank line

> +e.g. rockusb 0 mmc 0

blanke line

> +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

blank line

> +sudo rkdeveloptool wl  <BeginSec> <File>

What are the parameters for? What do they mean?

blank line

> +to flash U-Boot image use command

blank line

> +sudo rkdeveloptool wl  64 <U-Boot binary>

blank line

Which U-Boot file? Please be specific

> +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
>

Regards,
Simon

  reply	other threads:[~2017-04-30  3:49 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 ` [U-Boot] [PATCH V3 3/4] rockchip:usb: add a simple readme for rockusb Eddie Cai
2017-04-30  3:49   ` Simon Glass [this message]
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='CAPnjgZ0vVeiEQPh+TNC=XifhZ9DV7e5Y8KiEvoXoGt9GAC5Eug@mail.gmail.com' \
    --to=sjg@chromium.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.