[U-Boot,5/5] doc: rockchip: use idbloader.img for rk3399
diff mbox series

Message ID 20190823172930.4883-6-matwey.kornilov@gmail.com
State Superseded
Delegated to: Philipp Tomsich
Headers show
Series
  • Introduce idbloader.img target for Makefile
Related show

Commit Message

Matwey V. Kornilov Aug. 23, 2019, 5:29 p.m. UTC
Makefile now produces ready-to-deploy idbloader.img file.

u-boot has support for TPL at rk3399 platform for all boards,
so there is not reason to refer binary loaders.

Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
---
 doc/README.rockchip | 6 ------
 1 file changed, 6 deletions(-)

Comments

Kever Yang Sept. 3, 2019, 3:10 a.m. UTC | #1
On 2019/8/24 上午1:29, Matwey V. Kornilov wrote:
> Makefile now produces ready-to-deploy idbloader.img file.
>
> u-boot has support for TPL at rk3399 platform for all boards,
> so there is not reason to refer binary loaders.
>
> Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
> ---
>   doc/README.rockchip | 6 ------
>   1 file changed, 6 deletions(-)
>
> diff --git a/doc/README.rockchip b/doc/README.rockchip
> index 401dc19d91..b5311adcd8 100644
> --- a/doc/README.rockchip
> +++ b/doc/README.rockchip
> @@ -324,12 +324,6 @@ To write an image that boots from an SD card (assumed to be /dev/sdc):
>   
>   Option 1: Package the image with Rockchip miniloader:
>   
> -  - Create idbloader.img
> -
> -    => cd /path/to/u-boot
> -    => ./tools/mkimage  -n rk3399 -T rksd -d /path/to/rkbin/bin/rk33/rk3399_ddr_800MHz_v1.20.bin idbloader.img
> -    => cat /path/to/rkbin/bin/rk33/rk3399_miniloader_v1.19.bin >> idbloader.img
> -
>     - Write idbloader.img at 64 sector
This is create idbloader from rkbin, it should not be update since it's 
not U-Boot target,
you should update below description for rk3399 instead:
474 Option 3: Package the image with TPL:
475
476   - Prefix rk3399 header to TPL image
477
478     => cd /path/to/u-boot
479     => ./tools/mkimage -n rk3399 -T rksd -d tpl/u-boot-tpl-dtb.bin out
480
481   - Concatinate tpl with spl
482
483     => cd /path/to/u-boot
484     => cat ./spl/u-boot-spl-dtb.bin >> out

Thanks,
- Kever
>   
>       => sudo dd if=idbloader.img of=/dev/sdc seek=64

Patch
diff mbox series

diff --git a/doc/README.rockchip b/doc/README.rockchip
index 401dc19d91..b5311adcd8 100644
--- a/doc/README.rockchip
+++ b/doc/README.rockchip
@@ -324,12 +324,6 @@  To write an image that boots from an SD card (assumed to be /dev/sdc):
 
 Option 1: Package the image with Rockchip miniloader:
 
-  - Create idbloader.img
-
-    => cd /path/to/u-boot
-    => ./tools/mkimage  -n rk3399 -T rksd -d /path/to/rkbin/bin/rk33/rk3399_ddr_800MHz_v1.20.bin idbloader.img
-    => cat /path/to/rkbin/bin/rk33/rk3399_miniloader_v1.19.bin >> idbloader.img
-
   - Write idbloader.img at 64 sector
 
     => sudo dd if=idbloader.img of=/dev/sdc seek=64