From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 28 Jul 2023 18:49:45 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qPQew-00Dm0Z-Il for lore@lore.pengutronix.de; Fri, 28 Jul 2023 18:49:45 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1qPQet-0001bS-KF; Fri, 28 Jul 2023 18:49:43 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qPQem-0001Ua-TI; Fri, 28 Jul 2023 18:49:36 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1qPQem-002kWV-8W; Fri, 28 Jul 2023 18:49:36 +0200 Received: from afa by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1qPQel-001R4J-0U; Fri, 28 Jul 2023 18:49:35 +0200 From: Ahmad Fatoum To: distrokit@pengutronix.de Date: Fri, 28 Jul 2023 18:49:27 +0200 Message-Id: <20230728164933.342061-2-a.fatoum@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230728164933.342061-1-a.fatoum@pengutronix.de> References: <20230728164933.342061-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH 1/7] v8a: imx8m: tf-a: build for i.MX8M Nano as well X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ahmad Fatoum Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false While TF-A itself can't build multiple images in one-go, the upstream PTXdist recipe can, so configure it to build one more image for imx8mn. This will later be linked into barebox as part of booting DistroKit on the imx8mn-evk. Signed-off-by: Ahmad Fatoum --- configs/platform-v8a/platformconfig | 2 +- configs/platform-v8a/rules/firmware-imx.make | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/platform-v8a/platformconfig b/configs/platform-v8a/platformconfig index 799bb0787151..88c814b87ad1 100644 --- a/configs/platform-v8a/platformconfig +++ b/configs/platform-v8a/platformconfig @@ -214,7 +214,7 @@ PTXCONF_TF_A_MD5="784a1e94d4b1e938927372e3bc12d12e" PTXCONF_TF_A_ARCH_STRING="aarch64" PTXCONF_TF_A_ARM_ARCH_MAJOR_8=y PTXCONF_TF_A_ARM_ARCH_MAJOR=8 -PTXCONF_TF_A_PLATFORMS="imx8mq imx8mm imx8mp" +PTXCONF_TF_A_PLATFORMS="imx8mq imx8mm imx8mn imx8mp" PTXCONF_TF_A_ARM_ARCH_MINOR=0 PTXCONF_TF_A_EXTRA_ARGS="" PTXCONF_TF_A_ARTIFACTS="bl31.bin" diff --git a/configs/platform-v8a/rules/firmware-imx.make b/configs/platform-v8a/rules/firmware-imx.make index 56c8e24ecd69..d543c2fa5dd1 100644 --- a/configs/platform-v8a/rules/firmware-imx.make +++ b/configs/platform-v8a/rules/firmware-imx.make @@ -30,6 +30,7 @@ FIRMWARE_IMX_SOURCE := $(SRCDIR)/$(FIRMWARE_IMX).$(FIRMWARE_IMX_SUFFIX) # ifdef PTXCONF_FIRMWARE_IMX BAREBOX_INJECT_FILES += imx8mm-bl31.bin:firmware/imx8mm-bl31.bin +BAREBOX_INJECT_FILES += imx8mn-bl31.bin:firmware/imx8mn-bl31.bin BAREBOX_INJECT_FILES += imx8mp-bl31.bin:firmware/imx8mp-bl31.bin BAREBOX_INJECT_FILES += imx8mq-bl31.bin:firmware/imx8mq-bl31.bin BAREBOX_INJECT_FILES += ddr/synopsys/lpddr4_pmu_train_1d_dmem.bin:firmware/lpddr4_pmu_train_1d_dmem.bin -- 2.39.2