All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kever Yang <kever.yang@rock-chips.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 2/3] doc: rockchip: use idbloader.img for rk3288, rk3328, rk3399
Date: Thu, 5 Sep 2019 08:51:52 +0800	[thread overview]
Message-ID: <1a77bf27-c51e-e9c9-4b6c-da29a045c601@rock-chips.com> (raw)
In-Reply-To: <20190903162903.4778-3-matwey.kornilov@gmail.com>


On 2019/9/4 上午12:29, Matwey V. Kornilov wrote:
> 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>

Thanks,
- Kever

> ---
>   doc/README.rockchip | 21 ++-------------------
>   1 file changed, 2 insertions(+), 19 deletions(-)
>
> diff --git a/doc/README.rockchip b/doc/README.rockchip
> index 7d4dc1b33b..6007f3321e 100644
> --- a/doc/README.rockchip
> +++ b/doc/README.rockchip
> @@ -276,9 +276,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
> @@ -311,11 +309,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
> @@ -474,19 +467,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
>   

  reply	other threads:[~2019-09-05  0:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-03 16:29 [U-Boot] [PATCH v2 0/3] Introduce idbloader.img target for Makefile Matwey V. Kornilov
2019-09-03 16:29 ` [U-Boot] [PATCH v2 1/3] rockchip, Makefile: add idbloader.img target Matwey V. Kornilov
2019-09-03 16:29 ` [U-Boot] [PATCH v2 2/3] doc: rockchip: use idbloader.img for rk3288, rk3328, rk3399 Matwey V. Kornilov
2019-09-05  0:51   ` Kever Yang [this message]
2019-09-03 16:29 ` [U-Boot] [PATCH v2 3/3] doc: lion_rk3368: use idbloader.img for rk3368 Matwey V. Kornilov
2019-09-05  0:52   ` Kever Yang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1a77bf27-c51e-e9c9-4b6c-da29a045c601@rock-chips.com \
    --to=kever.yang@rock-chips.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.