public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Oliver Graute <oliver.graute@gmail.com>
To: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>,
	trini@konsulko.com, "NXP i.MX U-Boot Team" <uboot-imx@nxp.com>,
	Peng Fan <peng.fan@nxp.com>,
	u-boot@lists.denx.de
Subject: Re: [PATCH v3] imx: imx8qm: cgtqmx8: switch to binman
Date: Tue, 25 Oct 2022 15:53:42 +0200	[thread overview]
Message-ID: <20221025135342.GC19855@optiplex> (raw)
In-Reply-To: <4bfa6e49-4e2d-0b04-355f-19ed058bef7e@denx.de>

On 25/10/22, Stefano Babic wrote:
> On 25.10.22 10:50, Oliver Graute wrote:
> > On 24/10/22, Stefano Babic wrote:
> > > On 24.10.22 13:59, Oliver Graute wrote:
> > > > On 24/10/22, Stefano Babic wrote:
> > > > > On 24.10.22 13:37, Fabio Estevam wrote:
> > > > > > Hi Stefano and Oliver,
> > > > > > 
> > > > > > On Tue, May 3, 2022 at 7:49 AM Oliver Graute
> > > > > > <oliver.graute@kococonnector.com> wrote:
> > > > > > > 
> > > > > > > Switch to use binman to pack images
> > > > > > > 
> > > > > > > Signed-off-by: Oliver Graute <oliver.graute@kococonnector.com>
> > > > > > > Reviewed-by: Fabio Estevam <festevam@denx.de>
> > > > > > > Reviewed-by: Simon Glass <sjg@chromium.org>
> > > > > > > ---
> > > > > > > Changes for v3
> > > > > > >     -added Reviewed-by
> > > > > > >     -rebased on master
> > > > > > > 
> > > > > > >     arch/arm/dts/imx8qm-cgtqmx8.dts     | 1 +
> > > > > > >     arch/arm/mach-imx/imx8/Kconfig      | 1 +
> > > > > > >     board/congatec/cgtqmx8/imximage.cfg | 4 ++--
> > > > > > >     configs/cgtqmx8_defconfig           | 2 +-
> > > > > > >     doc/board/congatec/cgtqmx8.rst      | 3 +--
> > > > > > >     5 files changed, 6 insertions(+), 5 deletions(-)
> > > > > > 
> > > > > > Just realized that v3 does not include imx8qm-u-boot.dtsi and this breaks CI.
> > > > > > 
> > > > > 
> > > > > Right - as well as V4, this is what I tried to merge and breaks. I have drop
> > > > > it.
> > > > > 
> > > > > > The previous v2 did include it:
> > > > > > https://patchwork.ozlabs.org/project/uboot/patch/20220221090139.10066-1-oliver.graute@kococonnector.com/
> > > > > 
> > > > > Thanks for noting this - Oliver, can you check and repost a V5, then ?
> > > > 
> > > > The arch/arm/dts/imx8qm-u-boot.dtsi  is applied on the binman Patch for
> > > > "PATCH v3 imx: imx8qm-rom7720: switch to binman"
> > > > 
> > > > So if you first apply the patches for the imx8qm-rom7720 Board it should work.
> > > 
> > > 
> > > Ok, thanks for tipp - I apply both and will test again
> > 
> > I saw the CI Pipeline failing. Perhaps the reason is a
> > missing CONFIG_FIT_EXTERNAL_OFFSET?
> > 
> 
> I see this, but just applying the two patches, multiple boards are broken:
> imx8qm_rom7720_a1_4G cgtqmx8 imx8qm_mek imx8qxp_mek deneb giedi
> 
> 
> > +++ b/configs/cgtqmx8_defconfig
> > @@ -20,6 +20,7 @@ CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
> >   CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x80200000
> >   CONFIG_REMAKE_ELF=y
> >   CONFIG_FIT=y
> > +CONFIG_FIT_EXTERNAL_OFFSET=0x3000
> >   CONFIG_SPL_LOAD_FIT=y
> >   # CONFIG_USE_SPL_FIT_GENERATOR is not set
> > 
> > Can you confirm?
> > 
> 
> I let CI run just to see if cgtqmx8 is fixed.

For imx8qm_rom7720 the CONFIG_FIT_EXTERNAL_OFFSET is also missing

--- a/configs/imx8qm_rom7720_a1_4G_defconfig
+++ b/configs/imx8qm_rom7720_a1_4G_defconfig
@@ -20,6 +20,7 @@ CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
 CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x80200000
 CONFIG_REMAKE_ELF=y
 CONFIG_FIT=y
+CONFIG_FIT_EXTERNAL_OFFSET=0x3000
 CONFIG_SPL_LOAD_FIT=y
 # CONFIG_USE_SPL_FIT_GENERATOR is not set
 CONFIG_BOOTDELAY=3


Best regards,

Oliver

      parent reply	other threads:[~2022-10-25 13:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-03 10:48 [PATCH v3] imx: imx8qm: cgtqmx8: switch to binman Oliver Graute
2022-10-24 11:37 ` Fabio Estevam
2022-10-24 11:46   ` Stefano Babic
2022-10-24 11:52     ` Oliver Graute
2022-10-24 11:59     ` Oliver Graute
2022-10-24 12:21       ` Stefano Babic
2022-10-25  8:50         ` Oliver Graute
2022-10-25  9:28           ` Stefano Babic
2022-10-25 12:07             ` Stefano Babic
2022-10-25 12:28               ` Tom Rini
2022-10-25 13:53             ` Oliver Graute [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=20221025135342.GC19855@optiplex \
    --to=oliver.graute@gmail.com \
    --cc=festevam@gmail.com \
    --cc=peng.fan@nxp.com \
    --cc=sbabic@denx.de \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-imx@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox