Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Julien Olivain <ju.o@free.fr>
Cc: Fabio Estevam <festevam@gmail.com>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] configs/imx8mqevk: bump TF-A, U-Boot and Linux Kernel version
Date: Tue, 3 Sep 2024 21:55:01 +0200	[thread overview]
Message-ID: <20240903215501.36cf0b25@windsurf> (raw)
In-Reply-To: <20240901194422.383895-1-ju.o@free.fr>

On Sun,  1 Sep 2024 21:44:22 +0200
Julien Olivain <ju.o@free.fr> wrote:

> The imx8mqevk_defconfig is failing to build the arm-trusted-firmware
> package, with the error message:
> 
>     plat/imx/imx8m/hab.c: In function 'imx_hab_handler':
>     plat/imx/imx8m/hab.c:65:57: error: array subscript 0 is outside array bounds of 'uint32_t[0]' {aka 'unsigned int[]'} [-Werror=array-bounds=]
>        65 | #define HAB_RVT_CHECK_TARGET_ARM64      ((unsigned long)*(uint32_t *)(HAB_RVT_BASE + 0x18))
>           |                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> This is happening since commit dc0f721 "package/gcc: switch to 13.x
> as default".
> 
> This commit fixes this build failure by updating the TF-A, U-Boot and
> Linux Kernel. Note: this imx8mqevk_defconfig uses the upstream Kernel
> (in contrast of the freescale_imx8mqevk_defconfig which is using the NXP
> BSP Kernel version).
> 
> Also, this new uboot version needs gnutls and openssl, so the
> corresponding options are added to the defconfig.
> 
> Fixes:
> https://gitlab.com/buildroot.org/buildroot/-/jobs/7691701411
> 
> Signed-off-by: Julien Olivain <ju.o@free.fr>
> ---
> Patch tested in:
> https://gitlab.com/jolivain/buildroot/-/jobs/7715641622
> ---
>  configs/imx8mqevk_defconfig | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)

I have initially applied to next... and then realized it was fixing a
Gitlab CI issue, so I also applied to master. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      parent reply	other threads:[~2024-09-03 19:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-01 19:44 [Buildroot] [PATCH 1/1] configs/imx8mqevk: bump TF-A, U-Boot and Linux Kernel version Julien Olivain
2024-09-03 18:36 ` Fabio Estevam
2024-09-03 19:55 ` Thomas Petazzoni via buildroot [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=20240903215501.36cf0b25@windsurf \
    --to=buildroot@buildroot.org \
    --cc=festevam@gmail.com \
    --cc=ju.o@free.fr \
    --cc=thomas.petazzoni@bootlin.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