All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] configs/imx8{m,mm}pico: disable ATF SSP
@ 2022-10-22 14:20 Julien Olivain
  2022-10-27 14:22 ` [Buildroot] [PATCH 1/1] configs/imx8{m, mm}pico: " Fabio Estevam
  0 siblings, 1 reply; 6+ messages in thread
From: Julien Olivain @ 2022-10-22 14:20 UTC (permalink / raw)
  To: buildroot; +Cc: Julien Olivain

imx8{m,mm}pico configs are currently failing at ATF link with output:

    aarch64-buildroot-linux-gnu-ld: asm_stack_protector.o: in function `update_stack_protector_canary':
    (.text.asm.update_stack_protector_canary+0x4): undefined reference to `plat_get_stack_protector_canary'

The ATF version in those configs does not provide platform level
support for SSP.

This build failure was introduced by commit
09acc7cbc91f50305730ca0690a58fb93529034b
"boot/arm-trusted-firmware: fix SSP support". Before this commit,
ATF SSP was globally disabled, by default.

This commit fixes those build issues by disabling the ATF SSP in the
defconfigs.

Fixes:
  - https://gitlab.com/buildroot.org/buildroot/-/jobs/3200498119
  - https://gitlab.com/buildroot.org/buildroot/-/jobs/3200498120

Signed-off-by: Julien Olivain <ju.o@free.fr>
---
 configs/imx8mmpico_defconfig | 1 +
 configs/imx8mpico_defconfig  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/configs/imx8mmpico_defconfig b/configs/imx8mmpico_defconfig
index 7c19c8c81b..55fd2d01c1 100644
--- a/configs/imx8mmpico_defconfig
+++ b/configs/imx8mmpico_defconfig
@@ -22,6 +22,7 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://source.codeaurora.org/e
 BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="lf-5.10.72-2.2.0"
 BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mm"
 BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y
+# BR2_TARGET_ARM_TRUSTED_FIRMWARE_SSP is not set
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
diff --git a/configs/imx8mpico_defconfig b/configs/imx8mpico_defconfig
index 55746fb67e..d7e5b6273a 100644
--- a/configs/imx8mpico_defconfig
+++ b/configs/imx8mpico_defconfig
@@ -22,6 +22,7 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://source.codeaurora.org/e
 BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="lf-5.10.72-2.2.0"
 BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mq"
 BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y
+# BR2_TARGET_ARM_TRUSTED_FIRMWARE_SSP is not set
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
-- 
2.38.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-10-28  4:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-22 14:20 [Buildroot] [PATCH 1/1] configs/imx8{m,mm}pico: disable ATF SSP Julien Olivain
2022-10-27 14:22 ` [Buildroot] [PATCH 1/1] configs/imx8{m, mm}pico: " Fabio Estevam
2022-10-27 14:33   ` Heiko Thiery
2022-10-27 15:21   ` Baruch Siach via buildroot
2022-10-28  3:03     ` Fabio Estevam
2022-10-28  4:59       ` Heiko Thiery

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.