mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-25 20:26:34 +00:00
imx-gpu-viv: enable package for 64-bit i.MX processors
Basically enabling the package for aarch64. One difference with 32-bit i.MX platforms resides in the fact that Wayland is the only back-end supported. Therefore X11 and Framebuffer options are masked. This was tested on i.MX8MQ Nitrogen8M platform (with weston-imx): # cd /usr/share/examples/viv_samples/vdk/ # ./tutorial7 Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> [Thomas: drop BR2_PACKAGE_FREESCALE_IMX_HAS_VIV_GPU_WAYLAND_ONLY and use BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M directly.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
90955660da
commit
84afda9ca6
@ -69,7 +69,8 @@ config BR2_PACKAGE_FREESCALE_IMX_HAS_VIV_GPU
|
|||||||
bool
|
bool
|
||||||
default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q || \
|
default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q || \
|
||||||
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6S || \
|
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6S || \
|
||||||
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX7
|
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX7 || \
|
||||||
|
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M
|
||||||
|
|
||||||
source "package/freescale-imx/imx-alsa-plugins/Config.in"
|
source "package/freescale-imx/imx-alsa-plugins/Config.in"
|
||||||
source "package/freescale-imx/imx-codec/Config.in"
|
source "package/freescale-imx/imx-codec/Config.in"
|
||||||
|
@ -2,10 +2,14 @@ comment "imx-gpu-viv needs a glibc toolchain with armhf enabled"
|
|||||||
depends on BR2_arm
|
depends on BR2_arm
|
||||||
depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_ARM_EABIHF
|
depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_ARM_EABIHF
|
||||||
|
|
||||||
|
comment "imx-gpu-viv needs a glibc toolchain"
|
||||||
|
depends on BR2_aarch64
|
||||||
|
depends on !BR2_TOOLCHAIN_USES_GLIBC
|
||||||
|
|
||||||
config BR2_PACKAGE_IMX_GPU_VIV
|
config BR2_PACKAGE_IMX_GPU_VIV
|
||||||
bool "imx-gpu-viv"
|
bool "imx-gpu-viv"
|
||||||
# Pre-built binaries only available for ARM EABIhf
|
# Pre-built binaries only available for ARM EABIhf
|
||||||
depends on BR2_ARM_EABIHF
|
depends on (BR2_arm && BR2_ARM_EABIHF) || BR2_aarch64
|
||||||
# Library binaries are linked against libc.so.6
|
# Library binaries are linked against libc.so.6
|
||||||
depends on BR2_TOOLCHAIN_USES_GLIBC
|
depends on BR2_TOOLCHAIN_USES_GLIBC
|
||||||
select BR2_PACKAGE_HAS_LIBEGL
|
select BR2_PACKAGE_HAS_LIBEGL
|
||||||
@ -34,15 +38,20 @@ choice
|
|||||||
config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11
|
config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11
|
||||||
bool "X11"
|
bool "X11"
|
||||||
depends on BR2_PACKAGE_XORG7
|
depends on BR2_PACKAGE_XORG7
|
||||||
|
# The i.MX8 blob doesn't support X11 output
|
||||||
|
depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M
|
||||||
select BR2_PACKAGE_XLIB_LIBXDAMAGE
|
select BR2_PACKAGE_XLIB_LIBXDAMAGE
|
||||||
select BR2_PACKAGE_XLIB_LIBXEXT
|
select BR2_PACKAGE_XLIB_LIBXEXT
|
||||||
select BR2_PACKAGE_XLIB_LIBXFIXES
|
select BR2_PACKAGE_XLIB_LIBXFIXES
|
||||||
|
|
||||||
comment "X11 backend needs Xorg package"
|
comment "X11 backend needs Xorg package"
|
||||||
depends on !BR2_PACKAGE_XORG7
|
depends on !BR2_PACKAGE_XORG7
|
||||||
|
depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M
|
||||||
|
|
||||||
config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB
|
config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB
|
||||||
bool "Framebuffer"
|
bool "Framebuffer"
|
||||||
|
# The i.MX8 blob doesn't support FB output
|
||||||
|
depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M
|
||||||
|
|
||||||
config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL
|
config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL
|
||||||
bool "Wayland"
|
bool "Wayland"
|
||||||
|
@ -1 +1,2 @@
|
|||||||
sha256 dddadd164bede4793409ccfb636324dd73862c33458db66a5860f126bada25dc imx-gpu-viv-6.2.4.p1.2-aarch32.bin
|
sha256 dddadd164bede4793409ccfb636324dd73862c33458db66a5860f126bada25dc imx-gpu-viv-6.2.4.p1.2-aarch32.bin
|
||||||
|
sha256 27ed3f58681cef18f87ea20946cc89b2cef4848006064303d20583e6ed7aeec7 imx-gpu-viv-6.2.4.p1.2-aarch64.bin
|
||||||
|
@ -4,7 +4,11 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
|
ifeq ($(BR2_aarch64),y)
|
||||||
|
IMX_GPU_VIV_VERSION = 6.2.4.p1.2-aarch64
|
||||||
|
else
|
||||||
IMX_GPU_VIV_VERSION = 6.2.4.p1.2-aarch32
|
IMX_GPU_VIV_VERSION = 6.2.4.p1.2-aarch32
|
||||||
|
endif
|
||||||
IMX_GPU_VIV_SITE = $(FREESCALE_IMX_SITE)
|
IMX_GPU_VIV_SITE = $(FREESCALE_IMX_SITE)
|
||||||
IMX_GPU_VIV_SOURCE = imx-gpu-viv-$(IMX_GPU_VIV_VERSION).bin
|
IMX_GPU_VIV_SOURCE = imx-gpu-viv-$(IMX_GPU_VIV_VERSION).bin
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user