mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] Documentation: boards: i.MX8MP-EVK: Fix two doc bugs
@ 2022-10-19 13:51 Uwe Kleine-König
  2022-10-24  8:36 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2022-10-19 13:51 UTC (permalink / raw)
  To: barebox

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
@@ -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
 
 .. 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"
   make
 
 Boot Configuration

base-commit: 3e01858983aafb424b5ad10f11997af8cba99a5d
-- 
2.37.2




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Documentation: boards: i.MX8MP-EVK: Fix two doc bugs
  2022-10-19 13:51 [PATCH] Documentation: boards: i.MX8MP-EVK: Fix two doc bugs Uwe Kleine-König
@ 2022-10-24  8:36 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2022-10-24  8:36 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: barebox

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 |



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-24  8:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-19 13:51 [PATCH] Documentation: boards: i.MX8MP-EVK: Fix two doc bugs Uwe Kleine-König
2022-10-24  8:36 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox