diff mbox series

[v2,2/3] doc: rockchip: document packing second level loader with mkimage

Message ID 20191205105829.14715-3-jeffy.chen@rock-chips.com
State Superseded
Delegated to: Kever Yang
Headers show
Series mkimage/rockchip: support packing optional second level boot-loader | expand

Commit Message

Jeffy Chen Dec. 5, 2019, 10:58 a.m. UTC
Add documentation about packing optional second level boot-loader with
mkimage tool.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
---

Changes in v2: None

 doc/README.rockchip | 11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Kever Yang Dec. 13, 2019, 3:23 a.m. UTC | #1
On 2019/12/5 下午6:58, Jeffy Chen wrote:
> 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>

Thanks,
- Kever
> ---
>
> Changes in v2: None
>
>   doc/README.rockchip | 11 +++++++++++
>   1 file changed, 11 insertions(+)
>
> diff --git a/doc/README.rockchip b/doc/README.rockchip
> index 67c14006a3..39dc9c5e9f 100644
> --- a/doc/README.rockchip
> +++ b/doc/README.rockchip
> @@ -341,6 +341,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:
> @@ -348,6 +354,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
>
diff mbox series

Patch

diff --git a/doc/README.rockchip b/doc/README.rockchip
index 67c14006a3..39dc9c5e9f 100644
--- a/doc/README.rockchip
+++ b/doc/README.rockchip
@@ -341,6 +341,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:
@@ -348,6 +354,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