[U-Boot] [PATCH v2 10/22] arm: imx: Add FIT SPL its

Lukasz Majewski lukma at denx.de
Tue Jan 29 14:04:58 UTC 2019


On Tue, 29 Jan 2019 13:37:46 +0000
Peng Fan <peng.fan at nxp.com> wrote:

> > -----Original Message-----
> > From: Abel Vesa
> > Sent: 2019年1月29日 19:35
> > To: Tom Rini <trini at konsulko.com>; Fabio Estevam
> > <fabio.estevam at nxp.com>; u-boot at lists.denx.de; dl-uboot-imx
> > <uboot-imx at nxp.com>; Peng Fan <peng.fan at nxp.com>
> > Cc: Nitin Garg <nitin.garg at nxp.com>; Abel Vesa <abel.vesa at nxp.com>
> > Subject: [PATCH v2 10/22] arm: imx: Add FIT SPL its
> > 
> > Add simple its in order to allow SPL to boot u-boot proper via FIT
> > table.
> > 
> > Signed-off-by: Abel Vesa <abel.vesa at nxp.com>
> > ---
> >  arch/arm/mach-imx/mx6/fit_spl.its | 41
> > +++++++++++++++++++++++++++++++++++++++
> >  1 file changed, 41 insertions(+)
> >  create mode 100644 arch/arm/mach-imx/mx6/fit_spl.its
> > 
> > diff --git a/arch/arm/mach-imx/mx6/fit_spl.its
> > b/arch/arm/mach-imx/mx6/fit_spl.its
> > new file mode 100644
> > index 0000000..bf3ffee
> > --- /dev/null
> > +++ b/arch/arm/mach-imx/mx6/fit_spl.its
> > @@ -0,0 +1,41 @@
> > +/*
> > + * Copyright (C) 2018 NXP
> > + *
> > + * Simple U-boot fit source file containing U-Boot (with dtb
> > appended) +*/
> > +
> > +/dts-v1/;
> > +
> > +/ {
> > +	description = "Image for u-boot proper (with dtb
> > appended)";
> > +	#address-cells = <1>;
> > +
> > +	images {
> > +		#address-cells = <1>;
> > +		#size-cells = <0>;
> > +
> > +		uboot at 1 {
> > +			reg = <0>;
> > +			description = "U-Boot";
> > +			data
> > = /incbin/("../../../../u-boot-fit-dtb.bin");
> > +			type = "standalone";
> > +			os = "U-Boot";
> > +			compression = "none";
> > +			arch = "arm";
> > +			load = <0x17800000>;
> > +		};
> > +	};
> > +
> > +	configurations {
> > +		#address-cells = <1>;
> > +		#size-cells = <0>;
> > +
> > +		default = "conf at 1";
> > +
> > +		conf at 1 {
> > +			reg = <0>;
> > +			description = "i.MX armv7";
> > +			loadables = "uboot at 1";
> > +		};
> > +	};
> > +};  
> 

Sorry to ask, but why do we need this patch/file?

The fit image for single configuration can be generated with mkimage
(and proper flag). TI for example uses it to generate fitImage wrapped
u-boot for MLO.

> Reviewed-by: Peng Fan <peng.fan at nxp.com>
> 
> > --
> > 2.7.4  
> 
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot




Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190129/713a53cb/attachment.sig>


More information about the U-Boot mailing list