aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMatwey V. Kornilov2019-09-03 19:29:02 +0300
committerKever Yang2019-09-11 16:16:12 +0800
commit78af73efa0c67bcbc438ef1c75b22dc2090d1258 (patch)
tree4a94b65a6c88a849775be36875ff6120f3a67dbe /doc
parent1b0a936b52606af87b6576817a0e939da731b6d9 (diff)
doc: rockchip: use idbloader.img for rk3288, rk3328, rk3399
Makefile now produces ready-to-deploy idbloader.img file. Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com> Reviewed-by: Kever Yang<kever.yang@rock-chips.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/README.rockchip21
1 files changed, 2 insertions, 19 deletions
diff --git a/doc/README.rockchip b/doc/README.rockchip
index 531a062c9ec..d17afeabdd2 100644
--- a/doc/README.rockchip
+++ b/doc/README.rockchip
@@ -275,9 +275,7 @@ As of now TPL is added on Vyasa-RK3288 board.
To write an image that boots from an SD card (assumed to be /dev/mmcblk0):
- ./tools/mkimage -n rk3288 -T rksd -d ./tpl/u-boot-tpl.bin out &&
- cat ./spl/u-boot-spl-dtb.bin >> out &&
- sudo dd if=out of=/dev/mmcblk0 seek=64 &&
+ sudo dd if=idbloader.img of=/dev/mmcblk0 seek=64 &&
sudo dd if=u-boot-dtb.img of=/dev/mmcblk0 seek=16384
Booting from an SD card on RK3188
@@ -310,11 +308,6 @@ Booting from an SD card on Pine64 Rock64 (RK3328)
For Rock64 rk3328 board the following three parts are required:
TPL, SPL, and the u-boot image tree blob.
- - Create TPL/SPL image
-
- => tools/mkimage -n rk3328 -T rksd -d tpl/u-boot-tpl.bin idbloader.img
- => cat spl/u-boot-spl.bin >> idbloader.img
-
- Write TPL/SPL image at 64 sector
=> sudo dd if=idbloader.img of=/dev/mmcblk0 seek=64
@@ -473,19 +466,9 @@ Hit any key to stop autoboot: 0
Option 3: Package the image with TPL:
- - Prefix rk3399 header to TPL image
-
- => cd /path/to/u-boot
- => ./tools/mkimage -n rk3399 -T rksd -d tpl/u-boot-tpl-dtb.bin out
-
- - Concatinate tpl with spl
-
- => cd /path/to/u-boot
- => cat ./spl/u-boot-spl-dtb.bin >> out
-
- Write tpl+spl at 64th sector
- => sudo dd if=out of=/dev/sdc seek=64
+ => sudo dd if=idbloader.img of=/dev/sdc seek=64
- Write U-Boot proper at 16384 sector