summaryrefslogtreecommitdiff
path: root/doc/README.rockchip
diff options
context:
space:
mode:
authorXu Ziyuan <xzy.xu@rock-chips.com>2016-07-18 09:56:46 +0800
committerSimon Glass <sjg@chromium.org>2016-07-25 20:46:45 -0600
commita16e2e06809ad23afeda69edcc1a99182fa9d8fd (patch)
tree63069899cd5e76e8439de005c8d72f93ff387ff2 /doc/README.rockchip
parent9191090e34d036ef103931beaa05fa6401390beb (diff)
rockchip: update fastboot usage
Introduce how to use fastboot feature on rk3288. Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/README.rockchip')
-rw-r--r--doc/README.rockchip26
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/README.rockchip b/doc/README.rockchip
index 3fc2582b87..c218a8b547 100644
--- a/doc/README.rockchip
+++ b/doc/README.rockchip
@@ -144,6 +144,32 @@ For evb_rk3036 board:
Note: rk3036 SDMMC and debug uart use the same iomux, so if you boot from SD, the
debug uart must be disabled
+Using fastboot on rk3288
+========================
+- Define GPT partition layout like kylin_rk3036(see include/configs/kylin_rk3036.h)
+- Write GPT partition layout to mmc device which fastboot want to use it to
+store the image
+
+ => gpt write mmc 1 $partitions
+
+- Invoke fastboot command to prepare
+
+ => fastboot 1
+
+- Start fastboot request on PC
+
+ fastboot -i 0x2207 flash loader evb-rk3288/spl/u-boot-spl-dtb.bin
+
+You should see something like:
+
+ => fastboot 1
+ WARNING: unknown variable: partition-type:loader
+ Starting download of 357796 bytes
+ ..
+ downloading of 357796 bytes finished
+ Flashing Raw Image
+ ........ wrote 357888 bytes to 'loader'
+
Booting from SPI
================