mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <sha@pengutronix.de>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] Documentation: boards: i.MX8MP-EVK: Fix two doc bugs
Date: Mon, 24 Oct 2022 10:36:19 +0200	[thread overview]
Message-ID: <20221024083619.GI6702@pengutronix.de> (raw)
In-Reply-To: <20221019135140.79821-1-u.kleine-koenig@pengutronix.de>

On Wed, Oct 19, 2022 at 03:51:40PM +0200, Uwe Kleine-König wrote:
> The bl31 binary must be put in the firmware/ subdirectory to be properly
> picked up. And building the full imx_v8_defconfig requires some more DDR
> PHY firmware files, so disable all other machines.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
>  Documentation/boards/imx/nxp-imx8mp-evk.rst | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/boards/imx/nxp-imx8mp-evk.rst b/Documentation/boards/imx/nxp-imx8mp-evk.rst
> index 1074992f2f88..dcedf882c6d2 100644
> --- a/Documentation/boards/imx/nxp-imx8mp-evk.rst
> +++ b/Documentation/boards/imx/nxp-imx8mp-evk.rst

We have this text in four different versions for the different SoC
types.
> @@ -47,7 +47,7 @@ Get TF-A from https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/ and
>  checkout version v2.7::
>  
>    make PLAT=imx8mp bl31
> -  cp build/imx8mp/release/bl31.bin ${barebox_srctree}/imx8mp-bl31.bin
> +  cp build/imx8mp/release/bl31.bin ${barebox_srctree}/firmware/imx8mp-bl31.bin

This part is needed for all i.MX8M SoCs, but this step is only in the
i.MX8MP documentation.

>  
>  .. warning:: It is important to use a version >= v2.7 else your system
>     might not boot.
> @@ -58,6 +58,7 @@ Build Barebox
>  i.MX8MP-EVK support is contained in the imx_v8_defconfig to build it use::
>  
>    make imx_v8_defconfig
> +  make menuconfig # disable all machines under "System Type" but "NXP i.MX8MP EVK Board"

We should rather merge these four documents and explain how to build for
all i.MX8M SoCs.

Sascha


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



      reply	other threads:[~2022-10-24  8:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-19 13:51 Uwe Kleine-König
2022-10-24  8:36 ` Sascha Hauer [this message]

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=20221024083619.GI6702@pengutronix.de \
    --to=sha@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=u.kleine-koenig@pengutronix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox