[Buildroot] [PATCH 3/4] package/qoriq-fm-ucode: add package for QorIQ FMan microcode
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sat Sep 30 15:58:20 UTC 2023
On Thu, 21 Sep 2023 21:56:32 +0000
Brandon Maier via buildroot <buildroot at buildroot.org> wrote:
> This package provides firmware needed for the LS1046A-FRWY Ethernet.
>
> Signed-off-by: Brandon Maier <brandon.maier at collins.com>
Applied after doing a few changes. First, changed the commit title to
"package/qoriq-fm-ucode: new package".
> diff --git a/package/qoriq-fm-ucode/Config.in b/package/qoriq-fm-ucode/Config.in
> new file mode 100644
> index 0000000000..224e7fde32
> --- /dev/null
> +++ b/package/qoriq-fm-ucode/Config.in
> @@ -0,0 +1,21 @@
> +config BR2_PACKAGE_QORIQ_FM_UCODE
> + bool "qoriq-fm-ucode"
> + help
> + These are the microcode families of the Frame Manager hardware
> + block in QorIQ products. Specific platforms require specific
> + binaries, and those also have to further match specific
> + software versions (Frame Manager Driver -- FMD).
> +
> + https://github.com/nxp-qoriq/qoriq-fm-ucode
> +
> +if BR2_PACKAGE_QORIQ_FM_UCODE
> +
> +config BR2_PACKAGE_QORIQ_FM_UCODE_PLATFORM
> + string "Platform"
Added a:
default "ls1046"
just to make sure that our autobuilders that generate random
configurations will have a valid configuration by default.
> +QORIQ_FM_UCODE_VERSION = LSDK-21.08
> +QORIQ_FM_UCODE_SITE = $(call github,nxp-qoriq,qoriq-fm-ucode,$(QORIQ_FM_UCODE_VERSION))
> +QORIQ_FM_UCODE_LICENSE = NXP Binary EULA
> +QORIQ_FM_UCODE_LICENSE_FILES = NXP-Binary-EULA.txt
> +QORIQ_FM_UCODE_REDISTRIBUTE = NO
This was not correct: this package *is* redistributable.
> +QORIQ_FM_UCODE_INSTALL_IMAGES = YES
> +QORIQ_FM_UCODE_INSTALL_TARGET = NO
> +
> +define QORIQ_FM_UCODE_INSTALL_IMAGES_CMDS
> + cp $(@D)/fsl_fman_ucode_$(BR2_PACKAGE_QORIQ_FM_UCODE_PLATFORM)*.bin \
Modified a bit to qstrip the $(BR2_PACKAGE_QORIQ_FM_UCODE_PLATFORM)
variable.
As said above: applied with those changes. Thanks!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
More information about the buildroot
mailing list