Source: arm-trusted-firmware Version: 2.12.0+dfsg-1 Severity: wishlist Dear Vagrant,
I'm looking into possibly working on an i.MX 8M Plus based board (not sure which exact variant yet) and and thus looking at various pre-conditions for using upstream/mainline software. I noticed that TF-A is available as a binary package in Debian, but does not offer the iMX8MP variants (yet). Is there any particular reason? I guess it's just that noone has requested it yet..... Attaching a compile-tested (only) patch in case you're ok with adding the imx8mp as an additional target platform. (The patch is against current salsa git debian/latest branch) Regards, Andreas Henriksson
>From 75269973695d9e90e4d42f650cf15a44d3e46cd5 Mon Sep 17 00:00:00 2001 From: Andreas Henriksson <andr...@fatal.se> Date: Mon, 13 Jan 2025 10:22:05 +0000 Subject: [PATCH] debian/rules: Enable building imx8mp --- debian/rules | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index f30f25a13..13f22e424 100755 --- a/debian/rules +++ b/debian/rules @@ -14,7 +14,7 @@ else VERBOSE=1 endif -platforms := g12a gxbb imx8mn imx8mm k3 sun50i_a64 sun50i_h6 rcar rk3328 rk3399 rk3568 rk3588 rpi3 rpi4 +platforms := g12a gxbb imx8mn imx8mm imx8mp k3 sun50i_a64 sun50i_h6 rcar rk3328 rk3399 rk3568 rk3588 rpi3 rpi4 # Disable building of imx8mq, as it is not well supported upstream. #platforms_nodebug := imx8mq @@ -33,6 +33,12 @@ imx8mm_uart1_assigns := IMX_BOOT_UART_BASE=0x30860000 imx8mm_uart3_assigns := IMX_BOOT_UART_BASE=0x30880000 imx8mm_uart4_assigns := IMX_BOOT_UART_BASE=0x30A60000 +# Same for iMX8MP +imx8mp_subplatforms := imx8mp imx8mp_uart1 imx8mp_uart3 imx8mp_uart4 +imx8mp_uart1_assigns := IMX_BOOT_UART_BASE=0x30860000 +imx8mp_uart3_assigns := IMX_BOOT_UART_BASE=0x30880000 +imx8mp_uart4_assigns := IMX_BOOT_UART_BASE=0x30A60000 + k3_assigns := TARGET_BOARD=lite # TF-A's regulator setup breaks Ethernet on some H6 boards, -- 2.47.1