diff mbox series

[V3,5/5] doc: imx8mq_evk: update doc after using binman

Message ID 20211022024220.23584-6-peng.fan@oss.nxp.com
State Accepted
Commit 70e59a0d17b4e14f68fb2ff04c4490d133ed5ca8
Delegated to: Tom Rini
Headers show
Series imx8mq: switch to binman | expand

Commit Message

Peng Fan (OSS) Oct. 22, 2021, 2:42 a.m. UTC
From: Peng Fan <peng.fan@nxp.com>

Update doc after using binman to pack images

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 doc/board/nxp/imx8mq_evk.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Patrick Wildt Nov. 11, 2021, 2:47 p.m. UTC | #1
On Fri, Oct 22, 2021 at 10:42:20AM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
> 
> Update doc after using binman to pack images

Not necessary if we make sure flash.bin stays a single bootable image

> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
>  doc/board/nxp/imx8mq_evk.rst | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/doc/board/nxp/imx8mq_evk.rst b/doc/board/nxp/imx8mq_evk.rst
> index c269fdebe3..92eeda79aa 100644
> --- a/doc/board/nxp/imx8mq_evk.rst
> +++ b/doc/board/nxp/imx8mq_evk.rst
> @@ -43,13 +43,14 @@ Build U-Boot
>  
>     $ export CROSS_COMPILE=aarch64-poky-linux-
>     $ make imx8mq_evk_defconfig
> -   $ make flash.bin
> +   $ make
>  
>  Burn the flash.bin to MicroSD card offset 33KB:
>  
>  .. code-block:: bash
>  
>     $sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=33 conv=notrunc
> +   $sudo dd if=u-boot.itb of=/dev/sd[x] bs=1024 seek=384 conv=notrunc
>  
>  Boot
>  ----
> -- 
> 2.30.0
>
Tom Rini Jan. 8, 2022, 2:08 a.m. UTC | #2
On Fri, Oct 22, 2021 at 10:42:20AM +0800, Peng Fan (OSS) wrote:

> From: Peng Fan <peng.fan@nxp.com>
> 
> Update doc after using binman to pack images
> 
> Signed-off-by: Peng Fan <peng.fan@nxp.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/doc/board/nxp/imx8mq_evk.rst b/doc/board/nxp/imx8mq_evk.rst
index c269fdebe3..92eeda79aa 100644
--- a/doc/board/nxp/imx8mq_evk.rst
+++ b/doc/board/nxp/imx8mq_evk.rst
@@ -43,13 +43,14 @@  Build U-Boot
 
    $ export CROSS_COMPILE=aarch64-poky-linux-
    $ make imx8mq_evk_defconfig
-   $ make flash.bin
+   $ make
 
 Burn the flash.bin to MicroSD card offset 33KB:
 
 .. code-block:: bash
 
    $sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=33 conv=notrunc
+   $sudo dd if=u-boot.itb of=/dev/sd[x] bs=1024 seek=384 conv=notrunc
 
 Boot
 ----