package/freescale-imx/imx-vpu-hantro-daemon: new package

- i.MX Hantro V4L2 Daemon. Provides the vsidaemon, which is needed for
V4L2 nodes to work.
- To match NXP 5.15.52-2.1.0 release.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Chris Dimich 2022-11-23 11:52:57 -08:00 committed by Thomas Petazzoni
parent 4ef729d1cf
commit b5dc9855d6
5 changed files with 59 additions and 0 deletions

View File

@ -520,6 +520,9 @@ F: package/alsa-plugins/
N: Changming Huang <jerry.huang@nxp.com>
F: package/qoriq-cadence-dp-firmware/
N: Chris Dimich <chris.dimich@boundarydevices.com>
F: package/freescale-imx/imx-vpu-hantro-daemon/
N: Chris Packham <judge.packham@gmail.com>
F: package/coremark/
F: package/coremark-pro/

View File

@ -115,6 +115,7 @@ source "package/freescale-imx/imx-vpuwrap/Config.in"
source "package/freescale-imx/firmware-imx/Config.in"
source "package/freescale-imx/imx-sc-firmware/Config.in"
source "package/freescale-imx/imx-seco/Config.in"
source "package/freescale-imx/imx-vpu-hantro-daemon/Config.in"
source "package/freescale-imx/imx-vpu-hantro-vc/Config.in"
if (BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51 || BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53)
source "package/freescale-imx/gpu-amd-bin-mx51/Config.in"

View File

@ -0,0 +1,17 @@
comment "imx-vpu-hantro-daemon needs an i.MX-specific Linux kernel to be built"
depends on !BR2_LINUX_KERNEL
comment "imx-vpu-hantro-daemon needs an i.MX platform with Hantro VPU"
depends on BR2_LINUX_KERNEL
depends on !BR2_PACKAGE_FREESCALE_IMX_HAS_VPU_HANTRO
config BR2_PACKAGE_IMX_VPU_HANTRO_DAEMON
bool "imx-vpu-hantro-daemon"
depends on BR2_LINUX_KERNEL
depends on BR2_PACKAGE_FREESCALE_IMX_HAS_VPU_HANTRO
select BR2_PACKAGE_IMX_VPU_HANTRO
select BR2_PACKAGE_IMX_VPU_HANTRO_VC if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP
help
i.MX Hantro V4L2 Daemon specific for the NXP i.MX SoC
integrating a Hantro Video Processing Unit (VPU) such as the
i.MX8MQ/i.MX8MM/i.MX8MP.

View File

@ -0,0 +1,3 @@
# Locally computed:
sha256 83ba2798564702d74ab65f6238f95f59247d983b846de1de4c19bdfaf6dabeb8 imx-vpu-hantro-daemon-1.1.4.tar.gz
sha256 bb645f02b260955f333348100e40af76253e2cd8b116bac047230439dd53ec5a LICENSE.txt

View File

@ -0,0 +1,35 @@
################################################################################
#
# imx-vpu-hantro-daemon
#
################################################################################
IMX_VPU_HANTRO_DAEMON_VERSION = 1.1.4
IMX_VPU_HANTRO_DAEMON_SITE = $(FREESCALE_IMX_SITE)
IMX_VPU_HANTRO_DAEMON_SOURCE = imx-vpu-hantro-daemon-$(IMX_VPU_HANTRO_DAEMON_VERSION).tar.gz
IMX_VPU_HANTRO_DAEMON_LICENSE = NXP Semiconductor Software License Agreement
IMX_VPU_HANTRO_DAEMON_LICENSE_FILES = LICENSE.txt
IMX_VPU_HANTRO_DAEMON_REDISTRIBUTE = NO
IMX_VPU_HANTRO_DAEMON_DEPENDENCIES = imx-vpu-hantro linux
ifeq ($(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP),y)
IMX_VPU_HANTRO_DAEMON_DEPENDENCIES += imx-vpu-hantro-vc
endif
IMX_VPU_HANTRO_DAEMON_MAKE_ENV = \
$(TARGET_MAKE_ENV) \
CROSS_COMPILE="$(TARGET_CROSS)" \
SDKTARGETSYSROOT=$(STAGING_DIR) \
LINUX_KERNEL_ROOT=$(LINUX_DIR) \
CTRLSW_HDRPATH="$(STAGING_DIR)/usr/include" \
PLATFORM=$(BR2_PACKAGE_FREESCALE_IMX_PLATFORM)
define IMX_VPU_HANTRO_DAEMON_BUILD_CMDS
$(MAKE) -C $(@D) $(IMX_VPU_HANTRO_DAEMON_MAKE_ENV)
endef
define IMX_VPU_HANTRO_DAEMON_INSTALL_TARGET_CMDS
$(IMX_VPU_HANTRO_DAEMON_MAKE_ENV) $(MAKE) -C $(@D) \
DEST_DIR=$(TARGET_DIR) libdir=/usr/lib install
endef
$(eval $(generic-package))