[PATCH 1/2] ARM: imx: imx8mn-evk: generate a single bootable flash.bin

Peng Fan (OSS) peng.fan at oss.nxp.com
Thu Feb 24 13:33:26 CET 2022


> Subject: [PATCH 1/2] ARM: imx: imx8mn-evk: generate a single bootable
> flash.bin
> 
> To have a flash.bin file that also contains the U-Boot and TF-A/ATF create this
> like already done for other imx8 boards.
> 
> Signed-off-by: Heiko Thiery <heiko.thiery at gmail.com>

Reviewed-by: Peng Fan <peng.fan at nxp.com>

> ---
>  arch/arm/dts/imx8mn-evk-u-boot.dtsi | 19 ++++++++++++++++++-
>  1 file changed, 18 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/dts/imx8mn-evk-u-boot.dtsi
> b/arch/arm/dts/imx8mn-evk-u-boot.dtsi
> index 3db46d4cbc..d1427941eb 100644
> --- a/arch/arm/dts/imx8mn-evk-u-boot.dtsi
> +++ b/arch/arm/dts/imx8mn-evk-u-boot.dtsi
> @@ -58,7 +58,9 @@
>  	};
> 
> 
> -	flash {
> +	spl {
> +		filename = "spl.bin";
> +
>  		mkimage {
>  			args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x912000";
> 
> @@ -125,4 +127,19 @@
>  			};
>  		};
>  	};
> +
> +	imx-boot {
> +		filename = "flash.bin";
> +		pad-byte = <0x00>;
> +
> +		spl: blob-ext at 1 {
> +			offset = <0x0>;
> +			filename = "spl.bin";
> +		};
> +
> +		uboot: blob-ext at 2 {
> +			offset = <0x58000>;
> +			filename = "u-boot.itb";
> +		};
> +	};
>  };
> --
> 2.30.2



More information about the U-Boot mailing list