[Buildroot] [PATCH] package/linux-firmware: add new option for Samsung MFC firmware

Yann E. MORIN yann.morin.1998 at free.fr
Fri Dec 25 18:25:30 UTC 2020


Stefan, All,

On 2020-12-23 11:11 +0100, Stefan Agner spake thusly:
> Multi format codec (MFC) is the IP present in Samsung Exynos
> series SoCs for video encoding/decoding operations.
> 
> Signed-off-by: Stefan Agner <stefan at agner.ch>

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

> ---
>  package/linux-firmware/Config.in         | 5 +++++
>  package/linux-firmware/linux-firmware.mk | 6 ++++++
>  2 files changed, 11 insertions(+)
> 
> diff --git a/package/linux-firmware/Config.in b/package/linux-firmware/Config.in
> index 105daf42b8..dbdfdb52b3 100644
> --- a/package/linux-firmware/Config.in
> +++ b/package/linux-firmware/Config.in
> @@ -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"
> diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk
> index 8808b5284c..f1c84a134d 100644
> --- a/package/linux-firmware/linux-firmware.mk
> +++ b/package/linux-firmware/linux-firmware.mk
> @@ -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.

> +# 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-*
> -- 
> 2.29.2
> 

-- 
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list