Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/linux-firmware: add new option for Samsung MFC firmware
Date: Fri, 25 Dec 2020 19:25:30 +0100	[thread overview]
Message-ID: <20201225182530.GC1680670@scaer> (raw)
In-Reply-To: <31eb4b6dd64977c2476a727128ed0a093634c831.1608718175.git.stefan@agner.ch>

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

      reply	other threads:[~2020-12-25 18:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-23 10:11 [Buildroot] [PATCH] package/linux-firmware: add new option for Samsung MFC firmware Stefan Agner
2020-12-25 18:25 ` Yann E. MORIN [this message]

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=20201225182530.GC1680670@scaer \
    --to=yann.morin.1998@free.fr \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox