From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [DistroKit] [PATCH 2/7] v8a: imx8m: imx-firmware: install DDR4 PHY firmware
Date: Fri, 28 Jul 2023 18:49:28 +0200 [thread overview]
Message-ID: <20230728164933.342061-3-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20230728164933.342061-1-a.fatoum@pengutronix.de>
There i.MX8MN-EVK comes in multiple variants: with LPDDR4, DDR4 and
DDR3L. barebox supports configuration of both LPDDR4 and DDR4 images,
so enable installation of the DDR4 PHY firmware.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
configs/platform-v8a/rules/firmware-imx.make | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/configs/platform-v8a/rules/firmware-imx.make b/configs/platform-v8a/rules/firmware-imx.make
index d543c2fa5dd1..bd49885ad7a7 100644
--- a/configs/platform-v8a/rules/firmware-imx.make
+++ b/configs/platform-v8a/rules/firmware-imx.make
@@ -37,6 +37,10 @@ BAREBOX_INJECT_FILES += ddr/synopsys/lpddr4_pmu_train_1d_dmem.bin:firmware/lpddr
BAREBOX_INJECT_FILES += ddr/synopsys/lpddr4_pmu_train_1d_imem.bin:firmware/lpddr4_pmu_train_1d_imem.bin
BAREBOX_INJECT_FILES += ddr/synopsys/lpddr4_pmu_train_2d_dmem.bin:firmware/lpddr4_pmu_train_2d_dmem.bin
BAREBOX_INJECT_FILES += ddr/synopsys/lpddr4_pmu_train_2d_imem.bin:firmware/lpddr4_pmu_train_2d_imem.bin
+BAREBOX_INJECT_FILES += ddr/synopsys/ddr4_dmem_1d.bin:firmware/ddr4_dmem_1d.bin
+BAREBOX_INJECT_FILES += ddr/synopsys/ddr4_dmem_2d.bin:firmware/ddr4_dmem_2d.bin
+BAREBOX_INJECT_FILES += ddr/synopsys/ddr4_imem_1d.bin:firmware/ddr4_imem_1d.bin
+BAREBOX_INJECT_FILES += ddr/synopsys/ddr4_imem_2d.bin:firmware/ddr4_imem_2d.bin
endif
# ----------------------------------------------------------------------------
@@ -62,6 +66,11 @@ ifdef PTXCONF_FIRMWARE_IMX_BOOTIMAGE_IMX8
install -v -D -m644 $(FIRMWARE_IMX_PKGDIR)/firmware/ddr/synopsys/$(f) \
$(PTXCONF_SYSROOT_TARGET)/usr/lib/firmware/ddr/synopsys/$(f)$(ptx/nl))
+ @$(foreach f, ddr4_dmem_1d.bin ddr4_dmem_2d.bin \
+ ddr4_imem_1d.bin ddr4_imem_2d.bin, \
+ install -v -D -m644 $(FIRMWARE_IMX_PKGDIR)/firmware/ddr/synopsys/$(f) \
+ $(PTXCONF_SYSROOT_TARGET)/usr/lib/firmware/ddr/synopsys/$(f)$(ptx/nl))
+
@$(foreach f, signed_dp_imx8m.bin signed_hdmi_imx8m.bin, \
install -v -D -m644 $(FIRMWARE_IMX_PKGDIR)/firmware/hdmi/cadence/$(f) \
$(PTXCONF_SYSROOT_TARGET)/usr/lib/firmware/hdmi/cadence/$(f)$(ptx/nl))
--
2.39.2
next prev parent reply other threads:[~2023-07-28 16:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-28 16:49 [DistroKit] [PATCH 0/7] v8a: imx8m: build image for i.MX8M Nano Ahmad Fatoum
2023-07-28 16:49 ` [DistroKit] [PATCH 1/7] v8a: imx8m: tf-a: build for i.MX8M Nano as well Ahmad Fatoum
2023-07-28 16:49 ` Ahmad Fatoum [this message]
2023-07-28 16:49 ` [DistroKit] [PATCH 3/7] v8a: barebox: enable i.MX8M Nano EVK support Ahmad Fatoum
2023-07-28 16:49 ` [DistroKit] [PATCH 4/7] v8a: imx8m: use common genimage configuration Ahmad Fatoum
2023-07-28 16:49 ` [DistroKit] [PATCH 5/7] v8a: imx8m: genimage: switch from MBR to GPT images Ahmad Fatoum
2023-07-28 16:49 ` [DistroKit] [PATCH 6/7] v8a: imx8m: include i.MX8MN DDR4 and LPDDR4 EVK DT in rootfs Ahmad Fatoum
2023-07-28 16:49 ` [DistroKit] [PATCH 7/7] v8a: imx8m: genimage: build i.MX8M Nano SD/eMMC image Ahmad Fatoum
2023-08-13 19:39 ` [DistroKit] [PATCH 0/7] v8a: imx8m: build image for i.MX8M Nano Roland Hieber
2023-08-15 9:51 ` Robert Schwebel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230728164933.342061-3-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=distrokit@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox