From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 27 May 2024 18:15:04 +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 1sBd04-000iaP-22 for lore@lore.pengutronix.de; Mon, 27 May 2024 18:15:04 +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 1sBd03-0002jn-W7; Mon, 27 May 2024 18:15:04 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sBd02-0002jd-O5; Mon, 27 May 2024 18:15:02 +0200 Received: from [2a0a:edc0:2:b01:1d::c5] (helo=pty.whiteo.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sBd02-003DJa-Bf; Mon, 27 May 2024 18:15:02 +0200 Received: from rsc by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1sBd02-00HAA9-0v; Mon, 27 May 2024 18:15:02 +0200 Date: Mon, 27 May 2024 18:15:02 +0200 From: Robert Schwebel To: Alexander Dahl Message-ID: References: <20240425080303.171897-1-ada@thorsis.com> <20240425080303.171897-6-ada@thorsis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240425080303.171897-6-ada@thorsis.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [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: , Cc: distrokit@pengutronix.de 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 applied to next On Thu, Apr 25, 2024 at 10:02:58AM +0200, Alexander Dahl wrote: > 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 > > > -- Pengutronix e.K. | Dipl.-Ing. Robert Schwebel | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |