From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 25 Apr 2024 10:03:19 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rzu4d-00GKFd-2H for lore@lore.pengutronix.de; Thu, 25 Apr 2024 10:03:19 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1rzu4c-0001TD-SD; Thu, 25 Apr 2024 10:03:18 +0200 Received: from mail.thorsis.com ([2003:a:e28:26e4::10]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rzu4V-00018P-Ku for distrokit@pengutronix.de; Thu, 25 Apr 2024 10:03:15 +0200 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 5F0E1148DA09 for ; Thu, 25 Apr 2024 10:03:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thorsis.com; s=dkim; t=1714032190; h=from:subject:date:message-id:to:mime-version: content-transfer-encoding:in-reply-to:references; bh=WJxpBezuva+O79AkXnuGgzYePmjtRazMhgkwI8Hh/1Y=; b=ipXYJTVQkLC8vUlYIb/dLuYknxg2bAkU8mqsfVG0gFL0TmFDuOAIDIiF/XPrggSpu52Tgo x1aVVVbjks9RNrAjXuxpq0OfJRMGc86TKdBUAHRzraPtYaDpfN6sBzJtm1auwAgpWO7Kne 45VI0pwRCSO7D4sqMHKOEcwnrSR19gYbKNwxOh+Uf17cVcQgQbPnfMePrK1V6haHkYTTNw TS4cOuABVRI2P22tu3g7jKWDhsggXz6KuDGygUgyE85HkvE8kJp6yG5hBmA/Q8pRqnl7Ro qrISB5+PzKITklTkXQWekOymue+Lb5fhlsucE9cxhmDsFhGGthacARzUKydOTg== From: Alexander Dahl To: distrokit@pengutronix.de Date: Thu, 25 Apr 2024 10:02:58 +0200 Message-Id: <20240425080303.171897-6-ada@thorsis.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240425080303.171897-1-ada@thorsis.com> References: <20240425080303.171897-1-ada@thorsis.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: [DistroKit] [PATCH 5/9] platform: v8a: firmware-imx: Install more files for i.MX93 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: , 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.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false U-Boot builds for some i.MX93 boards (like Ka-Ro QS93-5210 SoM) require different files than barebox. Signed-off-by: Alexander Dahl --- configs/platform-v8a/platformconfig | 1 + configs/platform-v8a/platforms/firmware-imx.in | 8 +++++++- configs/platform-v8a/rules/firmware-imx.make | 7 +++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/configs/platform-v8a/platformconfig b/configs/platform-v8a/platformconfig index 664ed1b..65c767a 100644 --- a/configs/platform-v8a/platformconfig +++ b/configs/platform-v8a/platformconfig @@ -356,6 +356,7 @@ PTXCONF_FIRMWARE_IMX=y # PTXCONF_FIRMWARE_IMX_VPU_IMX6DL is not set # PTXCONF_FIRMWARE_IMX_VPU_IMX6Q is not set PTXCONF_FIRMWARE_IMX_BOOTIMAGE_IMX8=y +# PTXCONF_FIRMWARE_IMX_BOOTIMAGE_IMX9 is not set PTXCONF_FIRMWARE_ROCKCHIP=y # PTXCONF_FIRMWARE_ROCKCHIP_RK3566_SDRAM is not set PTXCONF_FIRMWARE_ROCKCHIP_RK3568_SDRAM=y diff --git a/configs/platform-v8a/platforms/firmware-imx.in b/configs/platform-v8a/platforms/firmware-imx.in index fc89001..c93e9f8 100644 --- a/configs/platform-v8a/platforms/firmware-imx.in +++ b/configs/platform-v8a/platforms/firmware-imx.in @@ -45,6 +45,13 @@ config FIRMWARE_IMX_BOOTIMAGE_IMX8 Install the Synopsis DDR PHY controller and Cadence HDMI TX firmware used to build a boot image. +config FIRMWARE_IMX_BOOTIMAGE_IMX9 + bool + prompt "Install i.MX9 DDR PHY firmware" + help + Install the Synopsis DDR PHY controller firmware used to build + a boot image. + endif config BAREBOX_DEPENDENCIES @@ -52,4 +59,3 @@ config BAREBOX_DEPENDENCIES select FIRMWARE_IMX select FIRMWARE_IMX_BOOTIMAGE_IMX8 select TF_A - diff --git a/configs/platform-v8a/rules/firmware-imx.make b/configs/platform-v8a/rules/firmware-imx.make index 20f102e..1cdc3ee 100644 --- a/configs/platform-v8a/rules/firmware-imx.make +++ b/configs/platform-v8a/rules/firmware-imx.make @@ -112,6 +112,13 @@ ifdef PTXCONF_FIRMWARE_IMX_BOOTIMAGE_IMX8 $(FIRMWARE_IMX_PKGDIR)/usr/lib/firmware/hdmi/cadence/$(f)$(ptx/nl)) endif +ifdef PTXCONF_FIRMWARE_IMX_BOOTIMAGE_IMX9 + @$(foreach f, lpddr4_imem_1d_v202201.bin lpddr4_dmem_1d_v202201.bin \ + lpddr4_imem_2d_v202201.bin lpddr4_dmem_2d_v202201.bin, \ + install -v -D -m644 $(FIRMWARE_IMX_DIR)/firmware/ddr/synopsys/$(f) \ + $(FIRMWARE_IMX_PKGDIR)/usr/lib/firmware/ddr/synopsys/$(f)$(ptx/nl)) +endif + @$(call touch) # ---------------------------------------------------------------------------- -- 2.39.2