diff options
author | Jeffy Chen <jeffy.chen@rock-chips.com> | 2019-12-05 18:58:28 +0800 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2019-12-27 15:17:07 +0800 |
commit | bcfb05cac81b8cc818e035fc33c495714737102f (patch) | |
tree | d136ce6a21e04d54d0bfa44077d6c4f61368a824 | |
parent | eea6cd8d7c41df5f7118ac4fb1e9e375eb04c4eb (diff) | |
download | u-boot-bcfb05cac81b8cc818e035fc33c495714737102f.zip u-boot-bcfb05cac81b8cc818e035fc33c495714737102f.tar.gz u-boot-bcfb05cac81b8cc818e035fc33c495714737102f.tar.bz2 |
doc: rockchip: document packing second level loader with mkimage
Add documentation about packing optional second level boot-loader with
mkimage tool.
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
-rw-r--r-- | doc/README.rockchip | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/README.rockchip b/doc/README.rockchip index ffab8ff..9b699b9 100644 --- a/doc/README.rockchip +++ b/doc/README.rockchip @@ -340,6 +340,12 @@ You can create the image via the following operations: cat firefly-rk3288/u-boot-dtb.bin >> out && \ sudo dd if=out of=/dev/sdc seek=64 +Or: + ./firefly-rk3288/tools/mkimage -n rk3288 -T rksd -d \ + firefly-rk3288/spl/u-boot-spl-dtb.bin:firefly-rk3288/u-boot-dtb.bin \ + out && \ + sudo dd if=out of=/dev/sdc seek=64 + If you have an HDMI cable attached you should see a video console. For evb_rk3036 board: @@ -347,6 +353,11 @@ For evb_rk3036 board: cat evb-rk3036/u-boot-dtb.bin >> out && \ sudo dd if=out of=/dev/sdc seek=64 +Or: + ./evb-rk3036/tools/mkimage -n rk3036 -T rksd -d \ + evb-rk3036/spl/u-boot-spl.bin:evb-rk3036/u-boot-dtb.bin out && \ + sudo dd if=out of=/dev/sdc seek=64 + Note: rk3036 SDMMC and debug uart use the same iomux, so if you boot from SD, the debug uart must be disabled |