All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oliver Graute <oliver.graute@gmail.com>
To: Fabio Estevam <festevam@gmail.com>
Cc: "Stefano Babic" <sbabic@denx.de>,
	peng.fan@nxp.com, uboot-imx@nxp.com,
	"Marcel Ziswiler" <marcel.ziswiler@toradex.com>,
	"Denys Drozdov" <denys.drozdov@toradex.com>,
	"Gaurav Jain" <gaurav.jain@nxp.com>, "Ye Li" <ye.li@nxp.com>,
	"Horia Geantă" <horia.geanta@nxp.com>,
	u-boot@lists.denx.de
Subject: Re: [PATCH v2 0/8] imx8: switch missing boards to binman
Date: Wed, 9 Nov 2022 17:14:00 +0100	[thread overview]
Message-ID: <20221109161400.GA17674@optiplex> (raw)
In-Reply-To: <CAOMZO5CewekdeJRp6xH1Uw7mXpHcW+hQCXD_D0qZkkzBkpbOKg@mail.gmail.com>

On 08/11/22, Fabio Estevam wrote:
> Hi Oliver and Stefano,
> 
> On Tue, Nov 8, 2022 at 1:43 PM Stefano Babic <sbabic@denx.de> wrote:
> 
> > I have tried to merge the series, but I get build errors, see:
> >
> > https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/519510
> >
> > Could you take a look ?
> 
> One problem I noticed is the missing CONFIG_TEXT_BASE conversion:
> 
> diff --git a/arch/arm/dts/imx8qm-u-boot.dtsi b/arch/arm/dts/imx8qm-u-boot.dtsi
> index 3507489a813c..442e64badc39 100644
> --- a/arch/arm/dts/imx8qm-u-boot.dtsi
> +++ b/arch/arm/dts/imx8qm-u-boot.dtsi
> @@ -50,7 +50,7 @@
>                                         arch = "arm64";
>                                         compression = "none";
>                                         description = "U-Boot (64-bit)";
> -                                       load = <CONFIG_SYS_TEXT_BASE>;
> +                                       load = <CONFIG_TEXT_BASE>;
>                                         type = "standalone";
> 
>                                         uboot-blob {
> diff --git a/arch/arm/dts/imx8qxp-u-boot.dtsi b/arch/arm/dts/imx8qxp-u-boot.dtsi
> index 01183f8ade63..e8df5bb8bfea 100644
> --- a/arch/arm/dts/imx8qxp-u-boot.dtsi
> +++ b/arch/arm/dts/imx8qxp-u-boot.dtsi
> @@ -50,7 +50,7 @@
>                                         arch = "arm64";
>                                         compression = "none";
>                                         description = "U-Boot (64-bit)";
> -                                       load = <CONFIG_SYS_TEXT_BASE>;
> +                                       load = <CONFIG_TEXT_BASE>;
>                                         type = "standalone";
> 
>                                         uboot-blob {
> 
> With this fix applied, I got:
> 
> WARNING './ahab-container.img' not found, resulting binary is not-functional
> make[1]: Nothing to be done for 'SPL'.
>   BINMAN  all
> binman: Error 1 running 'mkimage -d ./mkimage.spl.mkimage -n
> spl/u-boot-spl.cfgout -T imx8image -e 0x100000
> ./mkimage-out.spl.mkimage': Fail open first container file
> ahab-container.img
> 
> make: *** [Makefile:1116: all] Error 1
> 
> 
> but if I manually copy the firmware, then the build succeeds.
> 
> binman should not thrown an error in case of missing firmware. Oliver,
> any ideas?
> 
> Also, some boards use ahab-container.img and others use
> mx8qxc0-ahab-container.img.

> 
> Is it OK to use mx8qxc0-ahab-container.img for all of them?

I'am not sure if that is possible. The seco firmware has explicit
different images for these cpu variants.

imx-seco-3.8.5/firmware/seco

mx8dxla0-ahab-container.img
mx8dxla1-ahab-container.img
mx8qmb0-ahab-container.img
mx8qxb0-ahab-container.img
mx8qxc0-ahab-container.img

Best Regards,

Oliver

  parent reply	other threads:[~2022-11-09 16:15 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-04 15:03 [PATCH v2 0/8] imx8: switch missing boards to binman Oliver Graute
2022-11-04 15:03 ` [PATCH v5 1/8] imx: imx8qm-rom7720: switch " Oliver Graute
2022-11-12 16:26   ` sbabic
2022-11-04 15:03 ` [PATCH v6 2/8] imx: imx8qm: cgtqmx8: " Oliver Graute
2022-11-12 16:26   ` sbabic
2022-11-04 15:03 ` [PATCH v2 3/8] imx: imx8qxp: imx8qxp_mek " Oliver Graute
2022-11-12 16:25   ` sbabic
2022-11-04 15:03 ` [PATCH v2 4/8] imx: imx8qm: imx8qm_mek " Oliver Graute
2022-11-12 16:26   ` sbabic
2022-11-04 15:03 ` [PATCH v2 5/8] imx: imx8qxp: giedi " Oliver Graute
2022-11-12 16:25   ` sbabic
2022-11-04 15:03 ` [PATCH v1 6/8] imx: imx8qxp: deneb " Oliver Graute
2022-11-12 16:26   ` sbabic
2022-11-04 15:03 ` [PATCH v2 7/8] imx: imx8x: colibri: " Oliver Graute
2022-11-12 16:25   ` sbabic
2022-11-04 15:03 ` [PATCH v2 8/8] imx: imx8: apalis: " Oliver Graute
2022-11-09 17:47   ` Marcel Ziswiler
2022-11-10 16:35     ` oliver.graute@kococonnector.com
2022-11-12 16:26   ` sbabic
2022-11-15 10:05     ` Marcel Ziswiler
2022-11-15 10:23       ` Stefano Babic
2022-11-04 16:31 ` [PATCH v2 0/8] imx8: switch missing boards " Fabio Estevam
2022-11-08 16:43   ` Stefano Babic
2022-11-08 22:16     ` Fabio Estevam
2022-11-09 15:44       ` Stefano Babic
2022-11-09 16:14       ` Oliver Graute [this message]
2022-11-09 16:19     ` Oliver Graute
2022-11-09 17:45       ` Fabio Estevam
2022-11-10 16:11         ` Tom Rini
2022-11-11 12:53         ` Oliver Graute
2022-11-11 17:40           ` Fabio Estevam
2022-11-11 17:55             ` Fabio Estevam
2022-11-16  9:47               ` Marcel Ziswiler
2022-11-18 13:41               ` Oliver Graute
2022-11-18 13:50                 ` Fabio Estevam
2022-11-22 14:23               ` Oliver Graute
2022-12-02  1:00                 ` Fabio Estevam
2022-11-18 12:35             ` Oliver Graute
2022-11-09 16:50   ` Marcel Ziswiler

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=20221109161400.GA17674@optiplex \
    --to=oliver.graute@gmail.com \
    --cc=denys.drozdov@toradex.com \
    --cc=festevam@gmail.com \
    --cc=gaurav.jain@nxp.com \
    --cc=horia.geanta@nxp.com \
    --cc=marcel.ziswiler@toradex.com \
    --cc=peng.fan@nxp.com \
    --cc=sbabic@denx.de \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-imx@nxp.com \
    --cc=ye.li@nxp.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.