public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Lukasz Majewski <lukma@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 10/22] arm: imx: Add FIT SPL its
Date: Tue, 29 Jan 2019 15:04:58 +0100	[thread overview]
Message-ID: <20190129150458.6f65a805@jawa> (raw)
In-Reply-To: <AM0PR04MB4481D306B7637841690060FE88970@AM0PR04MB4481.eurprd04.prod.outlook.com>

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

> > -----Original Message-----
> > From: Abel Vesa
> > Sent: 2019年1月29日 19:35
> > To: Tom Rini <trini@konsulko.com>; Fabio Estevam
> > <fabio.estevam@nxp.com>; u-boot at lists.denx.de; dl-uboot-imx
> > <uboot-imx@nxp.com>; Peng Fan <peng.fan@nxp.com>
> > Cc: Nitin Garg <nitin.garg@nxp.com>; Abel Vesa <abel.vesa@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@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@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>

      reply	other threads:[~2019-01-29 14:04 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-29 11:30 [U-Boot] [PATCH v2 00/22] mx6sabre: Add DM and SPL FIT support Abel Vesa
2019-01-29 11:30 ` [U-Boot] [PATCH v2 01/22] usb: Rename SPL_USB_SUPPORT to SPL_USB_STORAGE Abel Vesa
2019-01-29 11:30 ` [U-Boot] [PATCH v2 02/22] usb: ehci-mx6: Make regulator DM_REGULATOR dependent Abel Vesa
2019-01-29 13:23   ` Peng Fan
2019-01-29 11:30 ` [U-Boot] [PATCH v2 03/22] configs: imx6sabreauto: Add DM_MMC support Abel Vesa
2019-01-29 11:30 ` [U-Boot] [PATCH v2 04/22] configs: imx6sabreauto: Add DM_USB support Abel Vesa
2019-01-29 11:30 ` [U-Boot] [PATCH v2 05/22] mmc: fsl_esdhc: Fix DM_REGULATOR ifdefs for SPL builds Abel Vesa
2019-01-29 13:29   ` Peng Fan
2019-01-30 12:15     ` Abel Vesa
2019-01-29 13:40   ` Adam Ford
2019-01-29 11:30 ` [U-Boot] [PATCH v2 06/22] board: mx6sabresd: Add board_fit_config_name_match to support FIT in SPL Abel Vesa
2019-01-29 13:30   ` Peng Fan
2019-01-29 11:30 ` [U-Boot] [PATCH v2 07/22] board: mx6sabreauto: " Abel Vesa
2019-01-29 13:30   ` Peng Fan
2019-01-29 11:30 ` [U-Boot] [PATCH v2 08/22] arm: dts: Add all the imx6[q|qp|dl] sabre[auto|sd] u-boot dts[i] files Abel Vesa
2019-01-29 13:33   ` Peng Fan
2019-01-30  8:22     ` Abel Vesa
2019-01-29 17:03   ` Tom Rini
2019-01-30 11:15     ` Abel Vesa
2019-01-29 11:30 ` [U-Boot] [PATCH v2 09/22] arm: dts: Update all the dts[i] files for imx6[q|qp|dl] sabre[auto|sd] Abel Vesa
2019-01-29 13:34   ` Peng Fan
2019-01-29 11:35 ` [U-Boot] [PATCH v2 10/22] arm: imx: Add FIT SPL its Abel Vesa
2019-01-29 11:35   ` [U-Boot] [PATCH v2 11/22] configs: mx6sabreauto: Add SPL FIT and DM support Abel Vesa
2019-01-29 13:38     ` Peng Fan
2019-01-29 11:35   ` [U-Boot] [PATCH v2 12/22] configs: mx6sabresd: " Abel Vesa
2019-01-29 13:39     ` Peng Fan
2019-01-29 11:35   ` [U-Boot] [PATCH v2 13/22] mx6sabreauto: Add DM_GPIO support Abel Vesa
2019-01-29 13:40     ` Peng Fan
2019-01-29 11:35   ` [U-Boot] [PATCH v2 14/22] mx6sabresd: " Abel Vesa
2019-01-29 13:40     ` Peng Fan
2019-01-29 11:35   ` [U-Boot] [PATCH v2 15/22] configs: mx6sabreauto: Add DM_SPI_FLASH necessary configs Abel Vesa
2019-01-29 13:41     ` Peng Fan
2019-01-29 11:35   ` [U-Boot] [PATCH v2 16/22] configs: mx6sabresd: " Abel Vesa
2019-01-29 13:41     ` Peng Fan
2019-01-29 11:35   ` [U-Boot] [PATCH v2 17/22] board: mx6sabreauto: Remove the non-DM code Abel Vesa
2019-01-29 13:43     ` Peng Fan
2019-01-30  8:19       ` Abel Vesa
2019-01-29 11:35   ` [U-Boot] [PATCH v2 18/22] board: mx6sabresd: Remove " Abel Vesa
2019-01-29 11:35   ` [U-Boot] [PATCH v2 19/22] board: mx6sabresd: Remove the enet reset gpio handling Abel Vesa
2019-01-29 11:35   ` [U-Boot] [PATCH v2 20/22] configs: mx6sabresd: Reduce size for SPL by disabling SPL_DOS and SPL_EFI Abel Vesa
2019-01-29 11:35   ` [U-Boot] [PATCH v2 21/22] board: mx6sabreauto: Update README with the SPL DM FIT info Abel Vesa
2019-01-29 11:35   ` [U-Boot] [PATCH v2 22/22] board: mx6sabresd: " Abel Vesa
2019-01-29 13:37   ` [U-Boot] [PATCH v2 10/22] arm: imx: Add FIT SPL its Peng Fan
2019-01-29 14:04     ` Lukasz Majewski [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=20190129150458.6f65a805@jawa \
    --to=lukma@denx.de \
    --cc=u-boot@lists.denx.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