From a16e2e06809ad23afeda69edcc1a99182fa9d8fd Mon Sep 17 00:00:00 2001 From: Xu Ziyuan Date: Mon, 18 Jul 2016 09:56:46 +0800 Subject: [PATCH] rockchip: update fastboot usage Introduce how to use fastboot feature on rk3288. Signed-off-by: Ziyuan Xu Acked-by: Simon Glass --- doc/README.rockchip | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/doc/README.rockchip b/doc/README.rockchip index 3fc2582..c218a8b 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 ================