From patchwork Sat Apr 29 00:41:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eddie Cai X-Patchwork-Id: 756629 X-Patchwork-Delegate: l.majewski@samsung.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3wFC0G2Q9Rz9s7r for ; Sat, 29 Apr 2017 10:55:26 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="jopDe8MN"; dkim-atps=neutral Received: by lists.denx.de (Postfix, from userid 105) id 1B5C3C21CAA; Sat, 29 Apr 2017 00:54:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=FREEMAIL_FROM, KHOP_BIG_TO_CC, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 57278C21CD0; Sat, 29 Apr 2017 00:54:03 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 585D3C21D01; Sat, 29 Apr 2017 00:42:28 +0000 (UTC) Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by lists.denx.de (Postfix) with ESMTPS id AAFF2C21C74 for ; Sat, 29 Apr 2017 00:42:27 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id t7so7544537pgt.1 for ; Fri, 28 Apr 2017 17:42:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=FB1Vf+WPmsOxgzN4YG9ybfwJBZxMw/6uWFyBa7CsuSk=; b=jopDe8MNcPyaEN3tmtrlwl5ouVtsHxBMXvlwmdj575B5xxEnMvqz7td+4uSVgENnRD ssRKSbgwkloWtjaVy1C76Zje1Eyrc6xRZiH0ihcy1xZFv87sa7XeEBJtjiE7JaCwCV5g tww46AP8R8dFdwNPWU1wFGZvsa4zm2bgCjaUa1uHtI/tzXD5G+UDABVTnV0iisFkNZgh IosJHHgNZGVb4KIYrXarYlChPHYjxQsCK5Suj7z7ekmihGEaHSsuesCtf4xwdx2YLq+V ksw2XSiQuJ3C+H/5nhV7payu2PegLK531iF5I177vdBvOch33s1XzmgBkdjPHtmeAvh1 9p5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=FB1Vf+WPmsOxgzN4YG9ybfwJBZxMw/6uWFyBa7CsuSk=; b=H46WLE7Kr3svty9VzWeFzpSv0mCQWCCuw9ujFeezIKnwPfQq+PnsGCaWuwmTdQXlYL X7OWrtC8DdrdTYML4d9Ab9BjJLVba3tZ5Dsmtz5CRZ32EWFnAPlRxyqquXkZ3KYoEsK3 T4dGPahVBDhcWLb+nANpzbf8J5Qyhq+HC+xoAB25Vq9kHtPmxa3109PwqWfa5HgZJtXM VvgxRmykfM5GKFAx8e327LYnvD8HHyX9HCI4eWVVBcEG37BAN/JqM/Un8/TSILLGQ6UV WFTwsi0kooXvRZRKsTohHobA/h12GrXRm6isrC7tb/8UALSBE/SaGcgwPomis2EDlyFP xJug== X-Gm-Message-State: AN3rC/7dJ5OaziBQknVw7OnKzzlXmqn4He+lX/4jFo0aWDyfnkV/9IJi 9ywxuq6f3yzE0A== X-Received: by 10.84.228.207 with SMTP id y15mr19124816pli.168.1493426546360; Fri, 28 Apr 2017 17:42:26 -0700 (PDT) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id e72sm7296021pfk.17.2017.04.28.17.42.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 28 Apr 2017 17:42:25 -0700 (PDT) From: Eddie Cai To: sjg@chromium.org, lukma@denx.de, marex@denx.de, william.wu@rock-chips.com, trini@konsulko.com, yamada.masahiro@socionext.com, maxime.ripard@free-electrons.com, agraf@suse.de, bmeng.cn@gmail.com, yanmiaobest@gmail.com, dinguyen@kernel.org, boris.brezillon@free-electrons.com, sr@denx.de, uri.mashiach@compulab.co.il, michal.simek@xilinx.com, u-boot@lists.denx.de Date: Sat, 29 Apr 2017 08:41:37 +0800 Message-Id: <1493426498-5839-4-git-send-email-eddie.cai.linux@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1493426498-5839-1-git-send-email-eddie.cai.linux@gmail.com> References: <1493426498-5839-1-git-send-email-eddie.cai.linux@gmail.com> Subject: [U-Boot] [PATCH V3 3/4] rockchip:usb: add a simple readme for rockusb X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" add a simple readme to introduce rockusb and tell people how to use it Signed-off-by: Eddie Cai 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 +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 +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