Re: [Buildroot] [PATCH 1/1] configs/freescale_imx91frdm: bump U-Boot, TF-A and Linux
Julien Olivain via buildroot <[email protected]> Wed, 29 Jul 2026 20:57:57 +0200
| Newsgroups | net.busybox.buildroot |
|---|---|
| Message-ID | <[email protected]> |
On 26/07/2026 22:46, Julien Olivain via buildroot wrote: > Since Buildroot commit [1] "package/gcc: switch to GCC 15.x as the > default", compiling freescale_imx91frdm_defconfig fails in TF-A with > error: > > include/drivers/nxp/trdc/imx_trdc.h:7: error: header guard > 'IMX_TRDC_H' followed by '#define' of a different macro > [-Werror=header-guard] > 7 | #ifndef IMX_TRDC_H > include/drivers/nxp/trdc/imx_trdc.h:8: note: 'IMX_XRDC_H' is > defined here; did you mean 'IMX_TRDC_H'? > 8 | #define IMX_XRDC_H > > The issue happen because this defconfig is using a Buildroot > (internal) toolchain which uses gcc version 15 by default. > > This issue was fixed upstream in [2], first included in TF-A v2.13. > > This commit updates U-Boot, TF-A and Linux to use the NXP > tag lf-6.18.20-2.0.0, which include this fixes. > > Note that, as described in the commit log of [3] which was used as a > base for this defconfig, U-Boot and Linux were forks. Now the > necessary patches are included in the vendor BSP, this commit > switches those repos to use the vendor ones. > > This commit also removes the linux-headers.hash custom hash file > which was never needed, because the defconfig used an external > toolchain. > > Also, due to the upstream uboot commit [4], this commit adds a uboot > config fragment to disable CONFIG_EFI_CAPSULE_AUTHENTICATE, to > remove the dependency on the command "cert-to-efi-sig-list", provided > the host efitools package, which is not yet in Buildroot. > > This commit was run tested on board 700-94610 Rev A1. > > [1] > https://gitlab.com/buildroot.org/buildroot/-/commit/a75b8623f5515d99bec48f96586115953150558e > [2] > https://git.trustedfirmware.org/plugins/gitiles/TF-A/trusted-firmware-a.git/+/2e9198d0e0cbe9546348dd0a71ff6c3d2061d4eb%5E%21/ > [3] > https://gitlab.com/buildroot.org/buildroot/-/commit/2e05f22ff862192a7e512d0db0486351bba94ae8 > [4] > https://git.u-boot-project.org/u-boot/u-boot/-/commit/fd58c275f6ba524101ba0990e53f5a11ac390bd0 > > Signed-off-by: Julien Olivain <[email protected]> Applied to master. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot