Skip to contentSkip to conversation

package/linux-firmware: add new option for Samsung MFC firmware

PATCH New Stefan Agner 2 participants 2 messages Dec 23, 2020 – Dec 25, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/linux-firmware: add new option for Samsung MFC firmware

Multi format codec (MFC) is the IP present in Samsung Exynos series SoCs for video encoding/decoding operations.

---
 package/linux-firmware/Config.in         | 5 +++++
 package/linux-firmware/linux-firmware.mk | 6 ++++++
 2 files changed, 11 insertions(+)
package/linux-firmware/Config.in +5 -0
index 105daf42b8..dbdfdb52b3 100644
@@ -44,6 +44,11 @@ config BR2_PACKAGE_LINUX_FIRMWARE_QCOM_ADRENO
 	help
 	  Firmware files for Qualcomm Adreno GPU firmware
 
+config BR2_PACKAGE_LINUX_FIRMWARE_MFC_V8
+	bool "Samsung MFC video encoder/decoder v8 firmware"
+	help
+	  Firmware files for Samsung MFC video encoder/decoder driver v8
+
 endmenu # Video
 
 menu "Bluetooth firmware"
package/linux-firmware/linux-firmware.mk +6 -0
index 8808b5284c..f1c84a134d 100644
@@ -39,6 +39,12 @@ LINUX_FIRMWARE_FILES += qcom/a*
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.qcom qcom/NOTICE.txt
 endif
 
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MFC_V8),y)
+LINUX_FIRMWARE_FILES += s5p-mfc-v8.fw
+# No license file; the license is in the file WHENCE
+# which is installed unconditionally
+endif
+
 # Intel Wireless Bluetooth
 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IBT),y)
 LINUX_FIRMWARE_FILES += intel/ibt-*
Signature · 1 line
2.29.2
#1 lore raw

PATCH 1/1 package/linux-firmware: add new option for Samsung MFC firmware

Stefan, All,

On 2020-12-23 11:11 +0100, Stefan Agner spake thusly:

Quoted 4 lines

Multi format codec (MFC) is the IP present in Samsung Exynos series SoCs for video encoding/decoding operations.

Applied to master, with a little tweakm see below...

Quoted 26 lines
---
 package/linux-firmware/Config.in         | 5 +++++
 package/linux-firmware/linux-firmware.mk | 6 ++++++
 2 files changed, 11 insertions(+)
package/linux-firmware/Config.in +5 -0
index 105daf42b8..dbdfdb52b3 100644
@@ -44,6 +44,11 @@ config BR2_PACKAGE_LINUX_FIRMWARE_QCOM_ADRENO
 	help
 	  Firmware files for Qualcomm Adreno GPU firmware
 
+config BR2_PACKAGE_LINUX_FIRMWARE_MFC_V8
+	bool "Samsung MFC video encoder/decoder v8 firmware"
+	help
+	  Firmware files for Samsung MFC video encoder/decoder driver v8
+
 endmenu # Video
 
 menu "Bluetooth firmware"
package/linux-firmware/linux-firmware.mk +0 -0
index 8808b5284c..f1c84a134d 100644

package/linux-firmware/linux-firmware.mk LINUX_FIRMWARE_FILES += qcom/a* · line 43

Quoted 5 lines
package/linux-firmware/linux-firmware.mk +2 -0
@@ -39,6 +39,12 @@ LINUX_FIRMWARE_FILES += qcom/a*
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.qcom qcom/NOTICE.txt
 endif
 
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MFC_V8),y)
+LINUX_FIRMWARE_FILES += s5p-mfc-v8.fw

There are various versions for differenct chips, so I listed all of
them: the driver will be able to load the one it needs. If a user only really can't afford having all of them in the rootfs, they can remove them with a post-biuld script.

Thanks!

Regards,
Yann E. MORIN.

Quoted 10 lines
package/linux-firmware/linux-firmware.mk +4 -0
+# No license file; the license is in the file WHENCE
+# which is installed unconditionally
+endif
+
 # Intel Wireless Bluetooth
 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IBT),y)
 LINUX_FIRMWARE_FILES += intel/ibt-*
Signature · 1 line
2.29.2
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'