[PATCH] Documentation: boards: i.MX8MP-EVK: Fix two doc bugs

Sascha Hauer sha at pengutronix.de
Mon Oct 24 01:36:19 PDT 2022


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 at 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 |



More information about the barebox mailing list