From: "Quentin Schulz" <quentin.schulz@streamunlimited.com>
To: Max Krummenacher <max.oss.09@gmail.com>
Cc: openembedded-core@lists.openembedded.org,
Max Krummenacher <max.krummenacher@toradex.com>
Subject: Re: [OE-core] [PATCH 2/2] linux-firmware: package nvidia firmware
Date: Mon, 19 Oct 2020 11:44:59 +0200 [thread overview]
Message-ID: <20201019094459.hx2v3qjf2fwhig7n@qschulz> (raw)
In-Reply-To: <20201019093801.55488-2-max.krummenacher@toradex.com>
Hi Max,
On Mon, Oct 19, 2020 at 11:38:01AM +0200, Max Krummenacher wrote:
> Add packages for the firmware required by the Nvidia chipsets.
> Split it in Tegra K1, all other Tegras and desktop GPU packages.
>
> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
> ---
> .../linux-firmware/linux-firmware_20200817.bb | 24 +++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
> diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20200817.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20200817.bb
> index 3d6644e504..5bb27c51c7 100644
> --- a/meta/recipes-kernel/linux-firmware/linux-firmware_20200817.bb
> +++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20200817.bb
> @@ -288,6 +288,9 @@ PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \
> ${PN}-adsp-sst-license ${PN}-adsp-sst \
> ${PN}-bnx2-mips \
> ${PN}-liquidio \
> + ${PN}-nvidia-license \
> + ${PN}-nvidia-tegra-k1 ${PN}-nvidia-tegra \
> + ${PN}-nvidia-gpu \
> ${PN}-netronome-license ${PN}-netronome \
> ${PN}-qat ${PN}-qat-license \
> ${PN}-qcom-license \
> @@ -478,6 +481,27 @@ FILES_${PN}-netronome = " \
>
> RDEPENDS_${PN}-netronome += "${PN}-netronome-license"
>
> +# For Nvidia
> +LICENSE_${PN}-nvidia-gpu = "Firmware-nvidia"
> +LICENSE_${PN}-nvidia-tegra = "Firmware-nvidia"
> +LICENSE_${PN}-nvidia-tegra-k1 = "Firmware-nvidia"
> +LICENSE_${PN}-nvidia-license = "Firmware-nvidia"
> +
> +FILES_${PN}-nvidia-gpu = "/lib/firmware/nvidia"
^^^^ nonarch_base_libdir instead?
> +FILES_${PN}-nvidia-tegra = " \
> + ${nonarch_base_libdir}/firmware/nvidia/tegra* \
> + ${nonarch_base_libdir}/firmware/nvidia/gm20b \
> + ${nonarch_base_libdir}/firmware/nvidia/gp10b \
> +"
> +FILES_${PN}-nvidia-tegra-k1 = " \
> + ${nonarch_base_libdir}/firmware/nvidia/tegra124 \
> + ${nonarch_base_libdir}/firmware/nvidia/gk20a \
> +"
> +FILES_${PN}-nvidia-license = "/lib/firmware/LICENCE.nvidia"
^^^^ nonarch_base_libdir instead?
Thanks,
Quentin
next prev parent reply other threads:[~2020-10-19 9:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-19 9:38 [PATCH 1/2] linux-firmware: package marvel sdio 8997 firmware Max Krummenacher
2020-10-19 9:38 ` [PATCH 2/2] linux-firmware: package nvidia firmware Max Krummenacher
2020-10-19 9:44 ` Quentin Schulz [this message]
2020-10-19 9:48 ` [OE-core] " Max Krummenacher
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=20201019094459.hx2v3qjf2fwhig7n@qschulz \
--to=quentin.schulz@streamunlimited.com \
--cc=max.krummenacher@toradex.com \
--cc=max.oss.09@gmail.com \
--cc=openembedded-core@lists.openembedded.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