Page MenuHomePhabricator

imx8mq fails to compile in 2.12-rc0
Open, Needs TriagePublic

Description

Since https://git.trustedfirmware.org/plugins/gitiles/TF-A/trusted-firmware-a.git/+/af799814e2639a03b3453744f06a73e77cb66e86 compile fails as include and platform.mk are not updated.

Fix is

diff -Nur a/plat/imx/common/include/imx_sip_svc.h b/plat/imx/common/include/imx_sip_svc.h
--- a/plat/imx/common/include/imx_sip_svc.h     2024-11-12 15:39:40.000000000 +0000
+++ b/plat/imx/common/include/imx_sip_svc.h     2024-11-14 14:54:18.965199761 +0000
@@ -88,7 +88,7 @@
                    u_register_t x2, u_register_t x3, void *handle);
 #endif
 
-#if defined(PLAT_imx8mm) || defined(PLAT_imx8mn) || defined(PLAT_imx8mp)
+#if defined(PLAT_imx8mm) || defined(PLAT_imx8mn) || defined(PLAT_imx8mp) || defined(PLAT_imx8mq)
 int imx_hab_handler(uint32_t smc_fid, u_register_t x1,
                    u_register_t x2, u_register_t x3, u_register_t x4);
 #endif
diff -Nur a/plat/imx/imx8m/imx8mq/platform.mk b/plat/imx/imx8m/imx8mq/platform.mk
--- a/plat/imx/imx8m/imx8mq/platform.mk 2024-11-12 15:39:40.000000000 +0000
+++ b/plat/imx/imx8m/imx8mq/platform.mk 2024-11-14 15:10:06.955672418 +0000
@@ -29,6 +29,7 @@
                                plat/imx/imx8m/imx8mq/imx8mq_bl31_setup.c       \
                                plat/imx/imx8m/imx8mq/imx8mq_psci.c             \
                                plat/imx/imx8m/gpc_common.c                     \
+                               plat/imx/imx8m/imx_hab.c                        \
                                plat/imx/imx8m/imx_aipstz.c                     \
                                plat/imx/imx8m/imx8m_caam.c                     \
                                plat/imx/imx8m/imx8m_ccm.c                      \

Event Timeline

heitbaum created this task.Nov 14 2024, 3:27 PM

@KarlK90 atf on imx8mq now compiles with the above addition to your commit and the patch from Amhad “ fix(imx): disable DRAM retention by default on i.MX8MQ ” 108146ce73573ca761fb2072efef0e0c4e4d50bb not sure the best way to have this added to the 2.12 release?

Incredibox Sprunki
Incredibox Sprunki is a creative mod of the classic Incredibox game, blending Sprunki's unique style with interactive beat-making. It offers fresh sounds and visuals, perfect for fans looking to remix their musical experience.

[[ https://incrediboxsprunki.top/ | Incredibox Sprunki ]]is a creative mod of the classic Incredibox game, blending Sprunki's unique style with interactive beat-making. It offers fresh sounds and visuals, perfect for fans looking to remix their musical experience

Explore the dynamic environments of Sprunki Pyramixed and Sprunki Corruptbox, offering endless opportunities for musical creation with intuitive controls, captivating characters, and diverse soundscapes.