From: Michael Trimarchi <michael@amarulasolutions.com>
To: buildroot@buildroot.org
Cc: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
Subject: [Buildroot] [PATCH] package/freescale-imx: Add installation of easrc-imx8mn.bin firmware
Date: Sat, 29 Jan 2022 15:08:31 +0100 [thread overview]
Message-ID: <20220129140831.1284832-1-michael@amarulasolutions.com> (raw)
The easrc firmware is used for audio resampling. The firmware for now
exists only for imx8mn device
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
---
package/freescale-imx/firmware-imx/Config.in | 4 ++++
package/freescale-imx/firmware-imx/firmware-imx.mk | 12 ++++++++++++
2 files changed, 16 insertions(+)
diff --git a/package/freescale-imx/firmware-imx/Config.in b/package/freescale-imx/firmware-imx/Config.in
index df266fb28e..06c4d8036c 100644
--- a/package/freescale-imx/firmware-imx/Config.in
+++ b/package/freescale-imx/firmware-imx/Config.in
@@ -39,6 +39,10 @@ config BR2_PACKAGE_FIRMWARE_IMX_NEEDS_HDMI_FW
bool
default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M
+config BR2_PACKAGE_FIRMWARE_IMX_NEEDS_EASRC_FW
+ bool
+ default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN
+
config BR2_PACKAGE_FIRMWARE_IMX_NEEDS_EPDC_FW
bool
default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q
diff --git a/package/freescale-imx/firmware-imx/firmware-imx.mk b/package/freescale-imx/firmware-imx/firmware-imx.mk
index 3acd053d0f..211a43c4ca 100644
--- a/package/freescale-imx/firmware-imx/firmware-imx.mk
+++ b/package/freescale-imx/firmware-imx/firmware-imx.mk
@@ -113,6 +113,17 @@ define FIRMWARE_IMX_INSTALL_IMAGE_HDMI_FW
endef
endif
+#
+# EASRC firmware
+#
+
+ifeq ($(BR2_PACKAGE_FIRMWARE_IMX_NEEDS_EASRC_FW),y)
+define FIRMWARE_IMX_INSTALL_TARGET_EASRC_FW
+ mkdir -p $(TARGET_DIR)/lib/firmware/imx
+ cp -r $(@D)/firmware/easrc $(TARGET_DIR)/lib/firmware/imx
+endef
+endif
+
#
# EPDC firmware
#
@@ -160,6 +171,7 @@ define FIRMWARE_IMX_INSTALL_IMAGES_CMDS
endef
define FIRMWARE_IMX_INSTALL_TARGET_CMDS
+ $(FIRMWARE_IMX_INSTALL_TARGET_EASRC_FW)
$(FIRMWARE_IMX_INSTALL_TARGET_EPDC_FW)
$(FIRMWARE_IMX_INSTALL_TARGET_SDMA_FW)
$(FIRMWARE_IMX_INSTALL_TARGET_VPU_FW)
--
2.25.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2022-01-29 14:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-29 14:08 Michael Trimarchi [this message]
2022-02-12 10:13 ` [Buildroot] [PATCH] package/freescale-imx: Add installation of easrc-imx8mn.bin firmware Michael Nazzareno Trimarchi
2022-02-12 20:44 ` Arnout Vandecappelle
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=20220129140831.1284832-1-michael@amarulasolutions.com \
--to=michael@amarulasolutions.com \
--cc=ariel.dalessandro@collabora.com \
--cc=buildroot@buildroot.org \
/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