From: "Sébastien Szymanski" <sebastien.szymanski@armadeus.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/3] package/freescale-imx/firmware-imx: install sdma firmware for i.MX8M{, M, N}
Date: Mon, 15 Jun 2020 15:06:31 +0200 [thread overview]
Message-ID: <20200615130633.19909-1-sebastien.szymanski@armadeus.com> (raw)
i.MX8M, i.MX8MM and i.MX8MN have sdma controllers so install sdma
firmware for these SoCs. Mainline and NXP kernels expect the sdma
firmware to be in /lib/firmware/imx/sdma so fix the install path at the
same time.
Signed-off-by: S?bastien Szymanski <sebastien.szymanski@armadeus.com>
---
.../freescale-imx/firmware-imx/firmware-imx.mk | 17 +++++------------
1 file changed, 5 insertions(+), 12 deletions(-)
diff --git a/package/freescale-imx/firmware-imx/firmware-imx.mk b/package/freescale-imx/firmware-imx/firmware-imx.mk
index 9fd1c54b48..725f275948 100644
--- a/package/freescale-imx/firmware-imx/firmware-imx.mk
+++ b/package/freescale-imx/firmware-imx/firmware-imx.mk
@@ -12,7 +12,7 @@ FIRMWARE_IMX_LICENSE = NXP Semiconductor Software License Agreement
FIRMWARE_IMX_LICENSE_FILES = EULA COPYING
FIRMWARE_IMX_REDISTRIBUTE = NO
-FIRMWARE_IMX_BLOBS = sdma vpu
+FIRMWARE_IMX_BLOBS = sdma epdc
define FIRMWARE_IMX_EXTRACT_CMDS
$(call FREESCALE_IMX_EXTRACT_HELPER,$(FIRMWARE_IMX_DL_DIR)/$(FIRMWARE_IMX_SOURCE))
@@ -84,23 +84,16 @@ define FIRMWARE_IMX_INSTALL_IMAGES_CMDS
$(FIRMWARE_IMX_PREPARE_DDR_FW)
$(FIRMWARE_IMX_PREPARE_HDMI_FW)
endef
-else ifeq ($(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X),y)
-define FIRMWARE_IMX_INSTALL_TARGET_CMDS
- $(INSTALL) -D -m 0644 $(@D)/firmware/vpu/vpu_fw_imx8_dec.bin \
- $(TARGET_DIR)/lib/firmware/vpu/vpu_fw_imx8_dec.bin
- $(INSTALL) -D -m 0644 $(@D)/firmware/vpu/vpu_fw_imx8_enc.bin \
- $(TARGET_DIR)/lib/firmware/vpu/vpu_fw_imx8_enc.bin
-endef
-else
+endif
+
define FIRMWARE_IMX_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/lib/firmware/imx
+ cp -r $(@D)/firmware/vpu $(TARGET_DIR)/lib/firmware
for blobdir in $(FIRMWARE_IMX_BLOBS); do \
- cp -r $(@D)/firmware/$${blobdir} $(TARGET_DIR)/lib/firmware; \
+ cp -r $(@D)/firmware/$${blobdir} $(TARGET_DIR)/lib/firmware/imx; \
done
- cp -r $(@D)/firmware/epdc $(TARGET_DIR)/lib/firmware/imx
mv $(TARGET_DIR)/lib/firmware/imx/epdc/epdc_ED060XH2C1.fw.nonrestricted \
$(TARGET_DIR)/lib/firmware/imx/epdc/epdc_ED060XH2C1.fw
endef
-endif
$(eval $(generic-package))
--
2.26.2
next reply other threads:[~2020-06-15 13:06 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-15 13:06 Sébastien Szymanski [this message]
2020-06-15 13:06 ` [Buildroot] [PATCH 2/3] package/freescale-imx/firmware-imx: install easrc firmware for i.MX8MN Sébastien Szymanski
2020-06-15 13:06 ` [Buildroot] [PATCH 3/3] package/freescale-imx/firmware-imx: bump version to 8.6 Sébastien Szymanski
2020-06-19 13:24 ` Gary Bisson
2020-06-22 20:49 ` Thomas Petazzoni
2020-06-15 13:49 ` [Buildroot] [PATCH 1/3] package/freescale-imx/firmware-imx: install sdma firmware for i.MX8M{, M, N} Fabio Estevam
2020-06-15 14:07 ` Sébastien Szymanski
2020-06-19 13:20 ` Gary Bisson
2020-06-19 13:43 ` Sébastien Szymanski
2020-06-19 13:59 ` Gary Bisson
2020-06-19 14:01 ` Fabio Estevam
2020-06-22 20:49 ` Thomas Petazzoni
2020-06-24 8:50 ` Stephane Viau
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=20200615130633.19909-1-sebastien.szymanski@armadeus.com \
--to=sebastien.szymanski@armadeus.com \
--cc=buildroot@busybox.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.