diff options
Diffstat (limited to 'package/freescale-imx')
58 files changed, 0 insertions, 1393 deletions
diff --git a/package/freescale-imx/Config.in b/package/freescale-imx/Config.in deleted file mode 100644 index 95c0aab08c..0000000000 --- a/package/freescale-imx/Config.in +++ /dev/null @@ -1,100 +0,0 @@ -menuconfig BR2_PACKAGE_FREESCALE_IMX - bool "Freescale i.MX libraries" - depends on BR2_arm || BR2_aarch64 - help - Those packages provide hardware acceleration for GPU or VPU, - hardware optimization or some hardware tools for Freescale - i.MX platforms. - -if BR2_PACKAGE_FREESCALE_IMX -choice - prompt "i.MX platform" - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX25_3STACK - bool "imx25-3stack" - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX27ADS - bool "imx27ads" - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX37_3STACK - bool "imx37-3stack" - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX50 - bool "imx50" - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51 - bool "imx51" - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53 - bool "imx53" - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q - bool "imx6q/imx6dl" - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6S - bool "imx6sl/imx6sx" - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6UL - bool "imx6ul/imx6ull" - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX7 - bool "imx7d/imx7ulp" - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M - bool "imx8m" -endchoice - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM - string - default "IMX25_3STACK" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX25_3STACK - default "IMX27ADS" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX27ADS - default "IMX37_3STACK" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX37_3STACK - default "IMX50" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX50 - default "IMX51" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51 - default "IMX53" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53 - default "IMX6Q" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q - default "IMX6S" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6S - default "IMX6UL" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6UL - default "IMX7" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX7 - default "IMX8" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M - -config BR2_PACKAGE_FREESCALE_IMX_HAS_VPU - bool - default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX27ADS || \ - BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51 || \ - BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53 || \ - BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q - -config BR2_PACKAGE_FREESCALE_IMX_HAS_VPU_HANTRO - bool - default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M - -config BR2_PACKAGE_FREESCALE_IMX_HAS_VIV_GPU - bool - default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q || \ - BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6S || \ - 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-codec/Config.in" -source "package/freescale-imx/imx-kobs/Config.in" -source "package/freescale-imx/imx-lib/Config.in" -source "package/freescale-imx/imx-m4fwloader/Config.in" -source "package/freescale-imx/imx-parser/Config.in" -source "package/freescale-imx/imx-uuc/Config.in" -source "package/freescale-imx/imx-vpu/Config.in" -source "package/freescale-imx/imx-vpu-hantro/Config.in" -source "package/freescale-imx/imx-vpuwrap/Config.in" -source "package/freescale-imx/firmware-imx/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" -source "package/freescale-imx/libz160/Config.in" -endif -if BR2_PACKAGE_FREESCALE_IMX_HAS_VIV_GPU -source "package/freescale-imx/imx-gpu-g2d/Config.in" -source "package/freescale-imx/imx-gpu-viv/Config.in" -source "package/freescale-imx/kernel-module-imx-gpu-viv/Config.in" -endif - -endif diff --git a/package/freescale-imx/firmware-imx/Config.in b/package/freescale-imx/firmware-imx/Config.in deleted file mode 100644 index 56d5b80741..0000000000 --- a/package/freescale-imx/firmware-imx/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_FIRMWARE_IMX - bool "firmware-imx" - depends on BR2_arm || BR2_aarch64 # Only relevant for i.MX - help - Firmware blobs for the Freescale i.MX SoCs. - - It contains blobs for SDMA and VPU. - - This library is provided by Freescale as-is and doesn't have - an upstream. diff --git a/package/freescale-imx/firmware-imx/firmware-imx.hash b/package/freescale-imx/firmware-imx/firmware-imx.hash deleted file mode 100644 index c22ee4c192..0000000000 --- a/package/freescale-imx/firmware-imx/firmware-imx.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated -sha256 a8f099bdf786b2da1e8b43094950c033ccdbf93f1b8a93caffb912e1500cd735 firmware-imx-7.5.bin -sha256 fc93f26e4197b9240c327ce26ae6e02123f022423d4704c7b0448a37372cf2a2 EULA -sha256 78696664f7afe7f2b081c99af60082d6403fab935b1b10056ed41aec123ff7fa COPYING diff --git a/package/freescale-imx/firmware-imx/firmware-imx.mk b/package/freescale-imx/firmware-imx/firmware-imx.mk deleted file mode 100644 index f9db09dae8..0000000000 --- a/package/freescale-imx/firmware-imx/firmware-imx.mk +++ /dev/null @@ -1,60 +0,0 @@ -################################################################################ -# -# firmware-imx -# -################################################################################ - -FIRMWARE_IMX_VERSION = 7.5 -FIRMWARE_IMX_SITE = $(FREESCALE_IMX_SITE) -FIRMWARE_IMX_SOURCE = firmware-imx-$(FIRMWARE_IMX_VERSION).bin - -FIRMWARE_IMX_LICENSE = NXP Semiconductor Software License Agreement -FIRMWARE_IMX_LICENSE_FILES = EULA COPYING -FIRMWARE_IMX_REDISTRIBUTE = NO - -FIRMWARE_IMX_BLOBS = sdma vpu - -define FIRMWARE_IMX_EXTRACT_CMDS - $(call FREESCALE_IMX_EXTRACT_HELPER,$(FIRMWARE_IMX_DL_DIR)/$(FIRMWARE_IMX_SOURCE)) -endef - -ifeq ($(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M),y) -FIRMWARE_IMX_INSTALL_IMAGES = YES -FIRMWARE_IMX_DDRFW_DIR = $(@D)/firmware/ddr/synopsys -define FIRMWARE_IMX_PREPARE_LPDDR4_FW - $(TARGET_OBJCOPY) -I binary -O binary --pad-to 0x8000 --gap-fill=0x0 \ - $(FIRMWARE_IMX_DDRFW_DIR)/lpddr4_pmu_train_$(1)_imem.bin \ - $(FIRMWARE_IMX_DDRFW_DIR)/lpddr4_pmu_train_$(1)_imem_pad.bin - $(TARGET_OBJCOPY) -I binary -O binary --pad-to 0x4000 --gap-fill=0x0 \ - $(FIRMWARE_IMX_DDRFW_DIR)/lpddr4_pmu_train_$(1)_dmem.bin \ - $(FIRMWARE_IMX_DDRFW_DIR)/lpddr4_pmu_train_$(1)_dmem_pad.bin - cat $(FIRMWARE_IMX_DDRFW_DIR)/lpddr4_pmu_train_$(1)_imem_pad.bin \ - $(FIRMWARE_IMX_DDRFW_DIR)/lpddr4_pmu_train_$(1)_dmem_pad.bin > \ - $(FIRMWARE_IMX_DDRFW_DIR)/lpddr4_pmu_train_$(1)_fw.bin -endef - -define FIRMWARE_IMX_INSTALL_IMAGES_CMDS - # Create padded versions of lpddr4_pmu_* and generate lpddr4_pmu_train_fw.bin. - # lpddr4_pmu_train_fw.bin is needed when generating imx8-boot-sd.bin - # which is done in post-image script. - $(call FIRMWARE_IMX_PREPARE_LPDDR4_FW,1d) - $(call FIRMWARE_IMX_PREPARE_LPDDR4_FW,2d) - cat $(FIRMWARE_IMX_DDRFW_DIR)/lpddr4_pmu_train_1d_fw.bin \ - $(FIRMWARE_IMX_DDRFW_DIR)/lpddr4_pmu_train_2d_fw.bin > \ - $(BINARIES_DIR)/lpddr4_pmu_train_fw.bin - cp $(@D)/firmware/hdmi/cadence/signed_hdmi_imx8m.bin \ - $(BINARIES_DIR)/signed_hdmi_imx8m.bin -endef -else -define FIRMWARE_IMX_INSTALL_TARGET_CMDS - mkdir -p $(TARGET_DIR)/lib/firmware/imx - for blobdir in $(FIRMWARE_IMX_BLOBS); do \ - cp -r $(@D)/firmware/$${blobdir} $(TARGET_DIR)/lib/firmware; \ - done - cp -r $(@D)/firmware/epdc $(TARGET_DIR)/lib/firmware/imx - mv $(TARGET_DIR)/lib/firmware/imx/epdc/epdc_ED060XH2C1.fw.nonrestricted \ - $(TARGET_DIR)/lib/firmware/imx/epdc/epdc_ED060XH2C1.fw -endef -endif - -$(eval $(generic-package)) diff --git a/package/freescale-imx/freescale-imx.mk b/package/freescale-imx/freescale-imx.mk deleted file mode 100644 index e8ca77f17b..0000000000 --- a/package/freescale-imx/freescale-imx.mk +++ /dev/null @@ -1,34 +0,0 @@ -################################################################################ -# -# freescale-imx -# -################################################################################ - -FREESCALE_IMX_SITE = http://www.freescale.com/lgfiles/NMG/MAD/YOCTO - -# Helper for self-extracting binaries distributed by Freescale. -# -# The --force option makes sure it doesn't fail if the source -# directory already exists. The --auto-accept skips the license check, -# as it is not needed in Buildroot because we have legal-info. Since -# there's a EULA in the binary file, we extract it in this macro, and -# it should therefore be added to the LICENSE_FILES variable of -# packages using this macro. Also, remember to set REDISTRIBUTE to -# "NO". Indeed, this is a legal minefield: the EULA specifies that the -# Board Support Package includes software and hardware (sic!) for -# which a separate license is needed... -# -# $(1): full path to the archive file -# -define FREESCALE_IMX_EXTRACT_HELPER - awk 'BEGIN { start = 0; } \ - /^EOEULA/ { start = 0; } \ - { if (start) print; } \ - /<<EOEULA/ { start = 1; }' \ - $(1) > $(@D)/EULA - cd $(@D) && sh $(1) --force --auto-accept - find $(@D)/$(basename $(notdir $(1))) -mindepth 1 -maxdepth 1 -exec mv {} $(@D) \; - rmdir $(@D)/$(basename $(notdir $(1))) -endef - -include $(sort $(wildcard package/freescale-imx/*/*.mk)) diff --git a/package/freescale-imx/gpu-amd-bin-mx51/Config.in b/package/freescale-imx/gpu-amd-bin-mx51/Config.in deleted file mode 100644 index cd66c737ba..0000000000 --- a/package/freescale-imx/gpu-amd-bin-mx51/Config.in +++ /dev/null @@ -1,60 +0,0 @@ -comment "gpu-amd-bin-mx51 needs a glibc EABI toolchain w/ C++" - depends on BR2_arm - depends on !BR2_ARM_EABI || !BR2_TOOLCHAIN_USES_GLIBC || \ - !BR2_INSTALL_LIBSTDCPP - -config BR2_PACKAGE_GPU_AMD_BIN_MX51 - bool "gpu-amd-bin-mx51 (also imx53)" - depends on BR2_ARM_EABI - depends on BR2_TOOLCHAIN_USES_GLIBC - depends on BR2_INSTALL_LIBSTDCPP - select BR2_PACKAGE_HAS_LIBEGL - select BR2_PACKAGE_HAS_LIBGLES - select BR2_PACKAGE_HAS_LIBOPENVG - help - Freescale libraries, headers and executables for the - AMD GPU on i.MX5x, containing OpenGL/ES, OpenVG - and EGL support. - -if BR2_PACKAGE_GPU_AMD_BIN_MX51 - -choice - prompt "Output option" - help - There are two versions of this library: one for - direct framebuffer access, one for X11 rendering. - Choose here which version to install. - -config BR2_PACKAGE_GPU_AMD_BIN_MX51_OUTPUT_X11 - bool "X11" - depends on BR2_PACKAGE_XORG7 - select BR2_PACKAGE_LIBXCB - select BR2_PACKAGE_XLIB_LIBX11 - select BR2_PACKAGE_XLIB_LIBXEXT - select BR2_PACKAGE_XLIB_LIBXRENDER - select BR2_PACKAGE_XLIB_LIBXDMCP - select BR2_PACKAGE_XLIB_LIBXAU - -comment "X11 backend needs X.org enabled" - depends on !BR2_PACKAGE_XORG7 - -config BR2_PACKAGE_GPU_AMD_BIN_MX51_OUTPUT_FB - bool "Framebuffer" - -endchoice - -config BR2_PACKAGE_PROVIDES_LIBEGL - default "gpu-amd-bin-mx51" - -config BR2_PACKAGE_PROVIDES_LIBGLES - default "gpu-amd-bin-mx51" - -config BR2_PACKAGE_PROVIDES_LIBOPENVG - default "gpu-amd-bin-mx51" - -config BR2_PACKAGE_GPU_AMD_BIN_MX51_EXAMPLES - bool "install examples" - help - Copy the examples to the target. - -endif diff --git a/package/freescale-imx/gpu-amd-bin-mx51/egl.pc b/package/freescale-imx/gpu-amd-bin-mx51/egl.pc deleted file mode 100644 index b0ff229fba..0000000000 --- a/package/freescale-imx/gpu-amd-bin-mx51/egl.pc +++ /dev/null @@ -1,10 +0,0 @@ -prefix=/usr -exec_prefix=${prefix} -libdir=${exec_prefix}/lib -includedir=${prefix}/include - -Name: egl -Description: Freescale amd-gpu-bin-mx51 implementation of EGL -Version: 7.11.0 -Libs: -L${libdir} -lEGL -Cflags: -I${includedir} diff --git a/package/freescale-imx/gpu-amd-bin-mx51/glesv2.pc b/package/freescale-imx/gpu-amd-bin-mx51/glesv2.pc deleted file mode 100644 index 6f9b7fc841..0000000000 --- a/package/freescale-imx/gpu-amd-bin-mx51/glesv2.pc +++ /dev/null @@ -1,10 +0,0 @@ -prefix=/usr -exec_prefix=${prefix} -libdir=${exec_prefix}/lib -includedir=${prefix}/include - -Name: glesv2 -Description: Freescale amd-gpu-bin-mx51 implementation of OpenGL ESv2 -Version: 7.11.0 -Libs: -L${libdir} -lGLESv2 -Cflags: -I${includedir} diff --git a/package/freescale-imx/gpu-amd-bin-mx51/gpu-amd-bin-mx51.hash b/package/freescale-imx/gpu-amd-bin-mx51/gpu-amd-bin-mx51.hash deleted file mode 100644 index 9c08e4aa10..0000000000 --- a/package/freescale-imx/gpu-amd-bin-mx51/gpu-amd-bin-mx51.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally computed -sha256 c7a6fa03b7aa2a375556c59908876554ba720c1e744baba2debb84a408f790db amd-gpu-x11-bin-mx51-11.09.01.bin -sha256 f0db68a764b5fb199729e7435f606b8d12b61ca97990336c647b7e81f4a584d9 amd-gpu-bin-mx51-11.09.01.bin diff --git a/package/freescale-imx/gpu-amd-bin-mx51/gpu-amd-bin-mx51.mk b/package/freescale-imx/gpu-amd-bin-mx51/gpu-amd-bin-mx51.mk deleted file mode 100644 index 5586073712..0000000000 --- a/package/freescale-imx/gpu-amd-bin-mx51/gpu-amd-bin-mx51.mk +++ /dev/null @@ -1,67 +0,0 @@ -################################################################################ -# -# gpu-amd-bin-mx51 -# -################################################################################ - -GPU_AMD_BIN_MX51_SITE = $(FREESCALE_IMX_SITE) -GPU_AMD_BIN_MX51_BASE_VERSION = 11.09.01 -ifeq ($(BR2_PACKAGE_GPU_AMD_BIN_MX51_OUTPUT_FB),y) -GPU_AMD_BIN_MX51_VERSION = $(GPU_AMD_BIN_MX51_BASE_VERSION)-fb -GPU_AMD_BIN_MX51_SOURCE = amd-gpu-bin-mx51-$(GPU_AMD_BIN_MX51_BASE_VERSION).bin -else -GPU_AMD_BIN_MX51_VERSION = $(GPU_AMD_BIN_MX51_BASE_VERSION)-x11 -GPU_AMD_BIN_MX51_SOURCE = amd-gpu-x11-bin-mx51-$(GPU_AMD_BIN_MX51_BASE_VERSION).bin -GPU_AMD_BIN_MX51_DEPENDENCIES = libxcb xlib_libX11 xlib_libXext \ - xlib_libXrender xlib_libXau xlib_libXdmcp -endif -GPU_AMD_BIN_MX51_PROVIDES = libegl libgles libopenvg -GPU_AMD_BIN_MX51_INSTALL_STAGING = YES - -GPU_AMD_BIN_MX51_LICENSE = Freescale Semiconductor Software License Agreement -GPU_AMD_BIN_MX51_LICENSE_FILES = EULA -GPU_AMD_BIN_MX51_REDISTRIBUTE = NO - -define GPU_AMD_BIN_MX51_EXTRACT_CMDS - $(call FREESCALE_IMX_EXTRACT_HELPER,$(GPU_AMD_BIN_MX51_DL_DIR)/$(GPU_AMD_BIN_MX51_SOURCE)) -endef - -# Upstream headers need to be compiled with -D_LINUX. It is more convenient -# to rely on __linux__ which is defined in compiler itself -define GPU_AMD_BIN_MX51_FIXUP_HEADERS - $(SED) 's/_LINUX/__linux__/g' $(@D)/usr/include/*/*.h -endef -GPU_AMD_BIN_MX51_POST_PATCH_HOOKS += GPU_AMD_BIN_MX51_FIXUP_HEADERS - -# eglplatform_1.4.h contains X11 compatible headers -ifeq ($(BR2_PACKAGE_GPU_AMD_BIN_MX51_OUTPUT_X11),y) -define GPU_AMD_BIN_MX51_FIXUP_EGL_HEADERS - mv $(STAGING_DIR)/usr/include/EGL/eglplatform_1.4.h $(STAGING_DIR)/usr/include/EGL/eglplatform.h -endef -endif - -define GPU_AMD_BIN_MX51_INSTALL_STAGING_CMDS - $(INSTALL) -d $(STAGING_DIR)/usr/lib/pkgconfig - $(INSTALL) -m 644 package/freescale-imx/gpu-amd-bin-mx51/*.pc $(STAGING_DIR)/usr/lib/pkgconfig/ - $(INSTALL) -m 755 $(@D)/usr/lib/lib* $(STAGING_DIR)/usr/lib/ - cp -r $(@D)/usr/include/* $(STAGING_DIR)/usr/include - $(GPU_AMD_BIN_MX51_FIXUP_EGL_HEADERS) -endef - -ifeq ($(BR2_PACKAGE_GPU_AMD_BIN_MX51_EXAMPLES),y) -define GPU_AMD_BIN_MX51_INSTALL_EXAMPLES - $(INSTALL) -d $(TARGET_DIR)/usr/share/examples/gpu_amd_samples - $(INSTALL) -m 755 $(@D)/usr/bin/* $(TARGET_DIR)/usr/share/examples/gpu_amd_samples -endef -endif - -define GPU_AMD_BIN_MX51_INSTALL_TARGET_CMDS - $(INSTALL) -m 755 $(@D)/usr/lib/lib*so* $(TARGET_DIR)/usr/lib/ - $(GPU_AMD_BIN_MX51_INSTALL_EXAMPLES) -endef - -define GPU_AMD_BIN_MX51_DEVICES - /dev/gsl_kmod c 640 0 0 249 0 1 4 -endef - -$(eval $(generic-package)) diff --git a/package/freescale-imx/gpu-amd-bin-mx51/vg.pc b/package/freescale-imx/gpu-amd-bin-mx51/vg.pc deleted file mode 100644 index 8fe956e11e..0000000000 --- a/package/freescale-imx/gpu-amd-bin-mx51/vg.pc +++ /dev/null @@ -1,10 +0,0 @@ -prefix=/usr -exec_prefix=${prefix} -libdir=${exec_prefix}/lib -includedir=${prefix}/include - -Name: vg -Description: Freescale amd-gpu-bin-mx51 implementation of OpenVG -Version: 1.1 -Libs: -L${libdir} -lOpenVG -Cflags: -I${includedir}/ diff --git a/package/freescale-imx/imx-alsa-plugins/Config.in b/package/freescale-imx/imx-alsa-plugins/Config.in deleted file mode 100644 index ec9b5b19cf..0000000000 --- a/package/freescale-imx/imx-alsa-plugins/Config.in +++ /dev/null @@ -1,22 +0,0 @@ -config BR2_PACKAGE_IMX_ALSA_PLUGINS - bool "imx-alsa-plugins" - depends on BR2_arm # Only relevant for i.MX - depends on BR2_LINUX_KERNEL - depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib - select BR2_PACKAGE_ALSA_LIB - help - ALSA plugins specific for the Freescale i.MX platform. It - requires a kernel that includes the i.MX specific headers - to be built. - - The following plugins are provided so far: - * Rate Converter Plugin Using Freescale ASRC Hardware - Resampler (i.MX53 and most i.MX6) - -comment "imx-alsa-libs needs an imx-specific Linux kernel to be built" - depends on BR2_arm - depends on !BR2_LINUX_KERNEL - -comment "imx-alsa-libs needs a toolchain w/ threads" - depends on BR2_arm - depends on BR2_LINUX_KERNEL && !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/freescale-imx/imx-alsa-plugins/imx-alsa-plugins.hash b/package/freescale-imx/imx-alsa-plugins/imx-alsa-plugins.hash deleted file mode 100644 index b0f47080ce..0000000000 --- a/package/freescale-imx/imx-alsa-plugins/imx-alsa-plugins.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated: -sha256 e76a71e9166fbedeaa535fd7ebc07edc30a1e87f529ab2aa733e3603d3183ed0 imx-alsa-plugins-rel_imx_4.9.x_1.0.0_ga.tar.gz -sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING.GPL diff --git a/package/freescale-imx/imx-alsa-plugins/imx-alsa-plugins.mk b/package/freescale-imx/imx-alsa-plugins/imx-alsa-plugins.mk deleted file mode 100644 index 9c81ff0df0..0000000000 --- a/package/freescale-imx/imx-alsa-plugins/imx-alsa-plugins.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# imx-alsa-plugins -# -################################################################################ - -IMX_ALSA_PLUGINS_VERSION = rel_imx_4.9.x_1.0.0_ga -IMX_ALSA_PLUGINS_SITE = https://source.codeaurora.org/external/imx/imx-alsa-plugins -IMX_ALSA_PLUGINS_SITE_METHOD = git -IMX_ALSA_PLUGINS_LICENSE = GPL-2.0+ -IMX_ALSA_PLUGINS_LICENSE_FILES = COPYING.GPL -IMX_ALSA_PLUGINS_DEPENDENCIES = host-pkgconf alsa-lib - -# git, no configure -IMX_ALSA_PLUGINS_AUTORECONF = YES - -# needs access to imx-specific kernel headers -IMX_ALSA_PLUGINS_DEPENDENCIES += linux -IMX_ALSA_PLUGINS_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) -idirafter $(LINUX_DIR)/include/uapi" - -$(eval $(autotools-package)) diff --git a/package/freescale-imx/imx-codec/Config.in b/package/freescale-imx/imx-codec/Config.in deleted file mode 100644 index 0ecb92bf02..0000000000 --- a/package/freescale-imx/imx-codec/Config.in +++ /dev/null @@ -1,13 +0,0 @@ -config BR2_PACKAGE_IMX_CODEC - bool "imx-codec" - depends on BR2_arm || BR2_aarch64 # Only relevant for i.MX - depends on BR2_TOOLCHAIN_USES_GLIBC # prebuilt binaries - help - Binary codec libraries for the NXP i.MX SoCs. - - This library is provided by NXP as-is and doesn't have - an upstream. - -comment "imx-codec needs a glibc toolchain" - depends on BR2_arm || BR2_aarch64 - depends on !BR2_TOOLCHAIN_USES_GLIBC diff --git a/package/freescale-imx/imx-codec/imx-codec.hash b/package/freescale-imx/imx-codec/imx-codec.hash deleted file mode 100644 index 8dab5a5c4c..0000000000 --- a/package/freescale-imx/imx-codec/imx-codec.hash +++ /dev/null @@ -1,4 +0,0 @@ -# locally computed -sha256 6bb54f91c3ca18567e14d95d3858022dc9be00dc86e9edfdb544d1240a3b2b04 imx-codec-4.3.5.bin -sha256 78696664f7afe7f2b081c99af60082d6403fab935b1b10056ed41aec123ff7fa COPYING -sha256 fc93f26e4197b9240c327ce26ae6e02123f022423d4704c7b0448a37372cf2a2 EULA diff --git a/package/freescale-imx/imx-codec/imx-codec.mk b/package/freescale-imx/imx-codec/imx-codec.mk deleted file mode 100644 index 1ec701d2f1..0000000000 --- a/package/freescale-imx/imx-codec/imx-codec.mk +++ /dev/null @@ -1,44 +0,0 @@ -################################################################################ -# -# imx-codec -# -################################################################################ - -IMX_CODEC_VERSION = 4.3.5 -IMX_CODEC_SITE = $(FREESCALE_IMX_SITE) -IMX_CODEC_SOURCE = imx-codec-$(IMX_CODEC_VERSION).bin -IMX_CODEC_INSTALL_STAGING = YES - -IMX_CODEC_LICENSE = NXP Semiconductor Software License Agreement, BSD-3-Clause (flac, ogg headers) -IMX_CODEC_LICENSE_FILES = EULA COPYING -IMX_CODEC_REDISTRIBUTE = NO - -ifeq ($(BR2_aarch64),y) -IMX_CODEC_CONF_OPTS += --enable-armv8 -endif - -ifeq ($(BR2_ARM_EABIHF),y) -IMX_CODEC_CONF_OPTS += --enable-fhw -endif - -ifeq ($(BR2_PACKAGE_IMX_VPU),y) -IMX_CODEC_CONF_OPTS += --enable-vpu -endif - -define IMX_CODEC_EXTRACT_CMDS - $(call FREESCALE_IMX_EXTRACT_HELPER,$(IMX_CODEC_DL_DIR)/$(IMX_CODEC_SOURCE)) -endef - -# FIXME The Makefile installs both the arm9 and arm11 versions of the -# libraries, but we only need one of them. - -# Upstream installs libraries into usr/lib/imx-mm, but the dynamic -# loader only looks in usr/lib, so move the libraries there -define IMX_CODEC_FIXUP_TARGET_PATH - find $(TARGET_DIR)/usr/lib/imx-mm -not -type d \ - -exec mv {} $(TARGET_DIR)/usr/lib \; - rm -rf $(TARGET_DIR)/usr/lib/imx-mm -endef -IMX_CODEC_POST_INSTALL_TARGET_HOOKS += IMX_CODEC_FIXUP_TARGET_PATH - -$(eval $(autotools-package)) diff --git a/package/freescale-imx/imx-gpu-g2d/Config.in b/package/freescale-imx/imx-gpu-g2d/Config.in deleted file mode 100644 index 47375788d1..0000000000 --- a/package/freescale-imx/imx-gpu-g2d/Config.in +++ /dev/null @@ -1,25 +0,0 @@ -comment "imx-gpu-g2d needs a glibc toolchain with armhf enabled" - depends on BR2_arm - depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_ARM_EABIHF - -config BR2_PACKAGE_IMX_GPU_G2D - bool "imx-gpu-g2d" - # Pre-built binaries only available for ARM EABIhf - depends on BR2_ARM_EABIHF - # Library binaries are linked against libc.so.6 - depends on BR2_TOOLCHAIN_USES_GLIBC - select BR2_PACKAGE_IMX_GPU_VIV - help - Userspace 2D libraries for Vivante GPU on i.MX platforms. - - This library is provided by NXP as-is and doesn't have an - upstream. - -if BR2_PACKAGE_IMX_GPU_G2D - -config BR2_PACKAGE_IMX_GPU_G2D_EXAMPLES - bool "install examples" - help - Copy the Vivante G2D examples to the target. - -endif diff --git a/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.hash b/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.hash deleted file mode 100644 index 3bcbc558e2..0000000000 --- a/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.hash +++ /dev/null @@ -1 +0,0 @@ -sha256 5f2d2171d5cd57f37ab07184fc908a0f6ecb2a97f023f04c2f9f3b3d7fec8481 imx-gpu-g2d-6.2.4.p1.2.bin diff --git a/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk b/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk deleted file mode 100644 index 015ab628b6..0000000000 --- a/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk +++ /dev/null @@ -1,37 +0,0 @@ -################################################################################ -# -# imx-gpu-g2d -# -################################################################################ - -IMX_GPU_G2D_VERSION = 6.2.4.p1.2 -IMX_GPU_G2D_SITE = $(FREESCALE_IMX_SITE) -IMX_GPU_G2D_SOURCE = imx-gpu-g2d-$(IMX_GPU_G2D_VERSION).bin -IMX_GPU_G2D_DEPENDENCIES = imx-gpu-viv -IMX_GPU_G2D_INSTALL_STAGING = YES - -IMX_GPU_G2D_LICENSE = NXP Semiconductor Software License Agreement -IMX_GPU_G2D_LICENSE_FILES = EULA COPYING -IMX_GPU_G2D_REDISTRIBUTE = NO - -define IMX_GPU_G2D_EXTRACT_CMDS - $(call FREESCALE_IMX_EXTRACT_HELPER,$(IMX_GPU_G2D_DL_DIR)/$(IMX_GPU_G2D_SOURCE)) -endef - -define IMX_GPU_G2D_INSTALL_STAGING_CMDS - cp -a $(@D)/g2d/usr/* $(STAGING_DIR)/usr -endef - -ifeq ($(BR2_PACKAGE_IMX_GPU_G2D_EXAMPLES),y) -define IMX_GPU_G2D_INSTALL_EXAMPLES - mkdir -p $(TARGET_DIR)/usr/share/examples/ - cp -a $(@D)/gpu-demos/opt/* $(TARGET_DIR)/usr/share/examples/ -endef -endif - -define IMX_GPU_G2D_INSTALL_TARGET_CMDS - $(IMX_GPU_G2D_INSTALL_EXAMPLES) - cp -a $(@D)/g2d/usr/lib $(TARGET_DIR)/usr -endef - -$(eval $(generic-package)) diff --git a/package/freescale-imx/imx-gpu-viv/Config.in b/package/freescale-imx/imx-gpu-viv/Config.in deleted file mode 100644 index a2deaf2e12..0000000000 --- a/package/freescale-imx/imx-gpu-viv/Config.in +++ /dev/null @@ -1,93 +0,0 @@ -comment "imx-gpu-viv needs a glibc toolchain with armhf enabled" - depends on BR2_arm - 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 - bool "imx-gpu-viv" - # Pre-built binaries only available for ARM EABIhf - depends on (BR2_arm && BR2_ARM_EABIHF) || BR2_aarch64 - # Library binaries are linked against libc.so.6 - depends on BR2_TOOLCHAIN_USES_GLIBC - select BR2_PACKAGE_HAS_LIBEGL - select BR2_PACKAGE_HAS_LIBGLES - select BR2_PACKAGE_HAS_LIBOPENVG - help - Userspace libraries for Vivante GPU on i.MX platforms - - It contains libraries and headers for GLES, OpenCL, and - OpenVG. It also contains a DRI plugin for X11. It also - contains a plugin for DirectFB-1.4.0, but that doesn't work - together with buildroot's DirectFB version. - - This library is provided by Freescale as-is and doesn't have - an upstream. - -if BR2_PACKAGE_IMX_GPU_VIV - -choice - prompt "Output option" - help - There are two versions of this library: one for - direct framebuffer access, one for X11 rendering. - Choose here which version to install. - -config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11 - bool "X11" - 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_LIBXEXT - select BR2_PACKAGE_XLIB_LIBXFIXES - -comment "X11 backend needs Xorg package" - depends on !BR2_PACKAGE_XORG7 - depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M - -config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB - 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 - bool "Wayland" - # libdrm needed by gbm_viv.so - select BR2_PACKAGE_LIBDRM - select BR2_PACKAGE_WAYLAND - select BR2_PACKAGE_HAS_LIBEGL_WAYLAND - -endchoice - -config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT - string - default "x11" if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11 - default "fb" if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB - default "wl" if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL - -config BR2_PACKAGE_PROVIDES_LIBEGL - default "imx-gpu-viv" - -config BR2_PACKAGE_PROVIDES_LIBGLES - default "imx-gpu-viv" - -config BR2_PACKAGE_PROVIDES_LIBOPENVG - default "imx-gpu-viv" - -config BR2_PACKAGE_IMX_GPU_VIV_EXAMPLES - bool "install examples" - help - Copy the Vivante examples to the target. - - Warning: examples take approximately 150 MB of disk space. - -config BR2_PACKAGE_IMX_GPU_VIV_GMEM_INFO - bool "install gmem_info tool" - help - Copy the gmem_info tool to the target which provides - information about GPU memory consumption. - -endif diff --git a/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.hash b/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.hash deleted file mode 100644 index 2cbc36a185..0000000000 --- a/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.hash +++ /dev/null @@ -1,2 +0,0 @@ -sha256 dddadd164bede4793409ccfb636324dd73862c33458db66a5860f126bada25dc imx-gpu-viv-6.2.4.p1.2-aarch32.bin -sha256 27ed3f58681cef18f87ea20946cc89b2cef4848006064303d20583e6ed7aeec7 imx-gpu-viv-6.2.4.p1.2-aarch64.bin diff --git a/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk b/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk deleted file mode 100644 index d2a9fad459..0000000000 --- a/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk +++ /dev/null @@ -1,128 +0,0 @@ -################################################################################ -# -# imx-gpu-viv -# -################################################################################ - -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 -endif -IMX_GPU_VIV_SITE = $(FREESCALE_IMX_SITE) -IMX_GPU_VIV_SOURCE = imx-gpu-viv-$(IMX_GPU_VIV_VERSION).bin - -IMX_GPU_VIV_INSTALL_STAGING = YES - -IMX_GPU_VIV_LICENSE = NXP Semiconductor Software License Agreement -IMX_GPU_VIV_LICENSE_FILES = EULA COPYING -IMX_GPU_VIV_REDISTRIBUTE = NO - -IMX_GPU_VIV_PROVIDES = libegl libgles libopenvg -IMX_GPU_VIV_LIB_TARGET = $(call qstrip,$(BR2_PACKAGE_IMX_GPU_VIV_OUTPUT)) - -ifeq ($(IMX_GPU_VIV_LIB_TARGET),x11) -# The libGAL.so library provided by imx-gpu-viv uses X functions. Packages -# may want to link against libGAL.so (QT5 Base with OpenGL and X support -# does so). For this to work we need build dependencies to libXdamage, -# libXext and libXfixes so that X functions used in libGAL.so are referenced. -IMX_GPU_VIV_DEPENDENCIES += xlib_libXdamage xlib_libXext xlib_libXfixes -endif - -ifeq ($(IMX_GPU_VIV_LIB_TARGET),wl) -IMX_GPU_VIV_DEPENDENCIES += libdrm wayland -endif - -define IMX_GPU_VIV_EXTRACT_CMDS - $(call FREESCALE_IMX_EXTRACT_HELPER,$(IMX_GPU_VIV_DL_DIR)/$(IMX_GPU_VIV_SOURCE)) -endef - -# Instead of building, we fix up the inconsistencies that exist -# in the upstream archive here. -# Make sure these commands are idempotent. -define IMX_GPU_VIV_BUILD_CMDS - $(SED) 's/defined(LINUX)/defined(__linux__)/g' $(@D)/gpu-core/usr/include/*/*.h - ln -sf libGL.so.1.2 $(@D)/gpu-core/usr/lib/libGL.so - ln -sf libGL.so.1.2 $(@D)/gpu-core/usr/lib/libGL.so.1 - ln -sf libGL.so.1.2 $(@D)/gpu-core/usr/lib/libGL.so.1.2.0 - ln -sf libEGL-$(IMX_GPU_VIV_LIB_TARGET).so $(@D)/gpu-core/usr/lib/libEGL.so - ln -sf libEGL-$(IMX_GPU_VIV_LIB_TARGET).so $(@D)/gpu-core/usr/lib/libEGL.so.1 - ln -sf libEGL-$(IMX_GPU_VIV_LIB_TARGET).so $(@D)/gpu-core/usr/lib/libEGL.so.1.0 - ln -sf libGLESv2-$(IMX_GPU_VIV_LIB_TARGET).so $(@D)/gpu-core/usr/lib/libGLESv2.so - ln -sf libGLESv2-$(IMX_GPU_VIV_LIB_TARGET).so $(@D)/gpu-core/usr/lib/libGLESv2.so.2 - ln -sf libGLESv2-$(IMX_GPU_VIV_LIB_TARGET).so $(@D)/gpu-core/usr/lib/libGLESv2.so.2.0.0 - ln -sf libGAL-$(IMX_GPU_VIV_LIB_TARGET).so $(@D)/gpu-core/usr/lib/libGAL.so - ln -sf libVDK-$(IMX_GPU_VIV_LIB_TARGET).so $(@D)/gpu-core/usr/lib/libVDK.so -endef - -ifeq ($(IMX_GPU_VIV_LIB_TARGET),fb) -define IMX_GPU_VIV_FIXUP_FB_HEADERS - $(SED) '39i\ - #if !defined(EGL_API_X11) && !defined(EGL_API_DFB) && !defined(EGL_API_FB) \n\ - #define EGL_API_FB \n\ - #endif' $(STAGING_DIR)/usr/include/EGL/eglplatform.h -endef -endif - -ifeq ($(IMX_GPU_VIV_LIB_TARGET),fb) -define IMX_GPU_VIV_FIXUP_PKGCONFIG - ln -sf egl_linuxfb.pc $(@D)/gpu-core/usr/lib/pkgconfig/egl.pc -endef -endif - -ifeq ($(IMX_GPU_VIV_LIB_TARGET),wl) -define IMX_GPU_VIV_FIXUP_PKGCONFIG - ln -sf egl_wayland.pc $(@D)/gpu-core/usr/lib/pkgconfig/egl.pc -endef -endif - -ifeq ($(IMX_GPU_VIV_LIB_TARGET),x11) -define IMX_GPU_VIV_FIXUP_PKGCONFIG - for lib in egl gbm glesv1_cm glesv2 vg; do \ - ln -sf $${lib}_x11.pc $(@D)/gpu-core/usr/lib/pkgconfig/$${lib}.pc || exit 1; \ - done -endef -endif - -define IMX_GPU_VIV_INSTALL_STAGING_CMDS - cp -r $(@D)/gpu-core/usr/* $(STAGING_DIR)/usr - $(IMX_GPU_VIV_FIXUP_FB_HEADERS) - $(IMX_GPU_VIV_FIXUP_PKGCONFIG) - for lib in egl gbm glesv1_cm glesv2 vg; do \ - $(INSTALL) -m 0644 -D \ - $(@D)/gpu-core/usr/lib/pkgconfig/$${lib}.pc \ - $(STAGING_DIR)/usr/lib/pkgconfig/$${lib}.pc; \ - done -endef - -ifeq ($(BR2_PACKAGE_IMX_GPU_VIV_EXAMPLES),y) -define IMX_GPU_VIV_INSTALL_EXAMPLES - mkdir -p $(TARGET_DIR)/usr/share/examples/ - cp -r $(@D)/gpu-demos/opt/* $(TARGET_DIR)/usr/share/examples/ -endef -endif - -ifeq ($(BR2_PACKAGE_IMX_GPU_VIV_GMEM_INFO),y) -define IMX_GPU_VIV_INSTALL_GMEM_INFO - cp -dpfr $(@D)/gpu-tools/gmem-info/usr/bin/* $(TARGET_DIR)/usr/bin/ -endef -endif - -# On the target, remove the unused libraries. -# Note that this is _required_, else ldconfig may create symlinks -# to the wrong library -define IMX_GPU_VIV_INSTALL_TARGET_CMDS - $(IMX_GPU_VIV_INSTALL_EXAMPLES) - $(IMX_GPU_VIV_INSTALL_GMEM_INFO) - cp -a $(@D)/gpu-core/usr/lib $(TARGET_DIR)/usr - for lib in EGL GAL GLESv2 VDK; do \ - for f in $(TARGET_DIR)/usr/lib/lib$${lib}-*.so; do \ - case $$f in \ - *-$(IMX_GPU_VIV_LIB_TARGET).so) : ;; \ - *) $(RM) $$f ;; \ - esac; \ - done; \ - done -endef - -$(eval $(generic-package)) diff --git a/package/freescale-imx/imx-kobs/0001-Fix-musl-build.patch b/package/freescale-imx/imx-kobs/0001-Fix-musl-build.patch deleted file mode 100644 index ce123de9cc..0000000000 --- a/package/freescale-imx/imx-kobs/0001-Fix-musl-build.patch +++ /dev/null @@ -1,39 +0,0 @@ -[PATCH] Fix musl build - -Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> ---- - src/mtd.c | 1 + - src/mtd.h | 5 +++++ - 2 files changed, 6 insertions(+) - -diff --git a/src/mtd.c b/src/mtd.c -index 1edc441..6d2264c 100644 ---- a/src/mtd.c -+++ b/src/mtd.c -@@ -31,6 +31,7 @@ - #include <fcntl.h> - #include <ctype.h> - #include <errno.h> -+#include <stddef.h> - #include <sys/types.h> - #include <sys/ioctl.h> - -diff --git a/src/mtd.h b/src/mtd.h -index bd21add..debfc84 100644 ---- a/src/mtd.h -+++ b/src/mtd.h -@@ -31,6 +31,11 @@ - #include "BootControlBlocks.h" - #include "rom_nand_hamming_code_ecc.h" - -+// musl library doesn't define loff_t -+#if !defined(__GLIBC__) && !defined(__UCLIBC__) -+#define loff_t off_t -+#endif -+ - //------------------------------------------------------------------------------ - // Re-definitions of true and false, because the standard ones aren't good - // enough? --- -2.5.1 - diff --git a/package/freescale-imx/imx-kobs/0002-Fix-build-for-recent-toolchains.patch b/package/freescale-imx/imx-kobs/0002-Fix-build-for-recent-toolchains.patch deleted file mode 100644 index c5cfb80224..0000000000 --- a/package/freescale-imx/imx-kobs/0002-Fix-build-for-recent-toolchains.patch +++ /dev/null @@ -1,26 +0,0 @@ -[PATCH] Fix build for recent toolchains - -Starting with Linux 4.4 headers, mtd-user.h isn't including stdint.h -anymore which breaks the build. - -Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> ---- - src/BootControlBlocks.h | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/BootControlBlocks.h b/src/BootControlBlocks.h -index 192eb61..aacdb64 100644 ---- a/src/BootControlBlocks.h -+++ b/src/BootControlBlocks.h -@@ -20,6 +20,8 @@ - #ifndef BOOTCONTROLBLOCKS_H_ - #define BOOTCONTROLBLOCKS_H_ - -+#include <stdint.h> -+ - #define NCB_FINGERPRINT1 0x504d5453 //!< 'STMP' - #define NCB_FINGERPRINT2 0x2042434e //!< 'NCB<space>' - NAND Control Block - #define NCB_FINGERPRINT3 0x4e494252 //!< 'RBIN' - ROM Boot Image Block - N --- -2.6.4 - diff --git a/package/freescale-imx/imx-kobs/Config.in b/package/freescale-imx/imx-kobs/Config.in deleted file mode 100644 index 61be9f26d4..0000000000 --- a/package/freescale-imx/imx-kobs/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_IMX_KOBS - bool "imx-kobs" - depends on BR2_arm # Only relevant for i.MX - help - The imx-kobs tool is used for writing images to NAND on i.MX - platforms. - - This library is provided by Freescale as-is and doesn't have - an upstream. diff --git a/package/freescale-imx/imx-kobs/imx-kobs.hash b/package/freescale-imx/imx-kobs/imx-kobs.hash deleted file mode 100644 index 2ede0a9b48..0000000000 --- a/package/freescale-imx/imx-kobs/imx-kobs.hash +++ /dev/null @@ -1 +0,0 @@ -sha256 5855c8964f908ad30e5d4500180ee57c51af68186289ef1bdf8553ee60d3b1f5 imx-kobs-a0e9adce2fb7fcd57e794d7f9a5deba0f94f521b.tar.gz diff --git a/package/freescale-imx/imx-kobs/imx-kobs.mk b/package/freescale-imx/imx-kobs/imx-kobs.mk deleted file mode 100644 index d6a250cf72..0000000000 --- a/package/freescale-imx/imx-kobs/imx-kobs.mk +++ /dev/null @@ -1,12 +0,0 @@ -################################################################################ -# -# imx-kobs -# -################################################################################ - -IMX_KOBS_VERSION = a0e9adce2fb7fcd57e794d7f9a5deba0f94f521b -IMX_KOBS_SITE = $(call github,codeauroraforum,imx-kobs,$(IMX_KOBS_VERSION)) -IMX_KOBS_LICENSE = GPL-2.0+ -IMX_KOBS_LICENSE_FILES = COPYING - -$(eval $(autotools-package)) diff --git a/package/freescale-imx/imx-lib/Config.in b/package/freescale-imx/imx-lib/Config.in deleted file mode 100644 index 746788e4c5..0000000000 --- a/package/freescale-imx/imx-lib/Config.in +++ /dev/null @@ -1,15 +0,0 @@ -comment "imx-lib needs an imx-specific Linux kernel to be built" - depends on BR2_arm && !BR2_LINUX_KERNEL - -config BR2_PACKAGE_IMX_LIB - bool "imx-lib" - depends on BR2_LINUX_KERNEL - depends on BR2_arm # Only relevant for i.MX - help - Library of userspace helpers specific for the Freescale i.MX - platform. It wraps the kernel interfaces for some i.MX - platform specific drivers. It requires a kernel that - includes the i.MX specific headers to be built. - - This library is provided by Freescale as-is and doesn't have - an upstream. diff --git a/package/freescale-imx/imx-lib/imx-lib.hash b/package/freescale-imx/imx-lib/imx-lib.hash deleted file mode 100644 index abbf017459..0000000000 --- a/package/freescale-imx/imx-lib/imx-lib.hash +++ /dev/null @@ -1,2 +0,0 @@ -# locally computed -sha256 ced5ad0a179887ef1dd93e8103a9ab7372017cc1c241d28cded164cdece4b918 imx-lib-3f777974c0c146817e2ff5cb0340ca66a1f99e57.tar.gz diff --git a/package/freescale-imx/imx-lib/imx-lib.mk b/package/freescale-imx/imx-lib/imx-lib.mk deleted file mode 100644 index 721c20e5f8..0000000000 --- a/package/freescale-imx/imx-lib/imx-lib.mk +++ /dev/null @@ -1,39 +0,0 @@ -################################################################################ -# -# imx-lib -# -################################################################################ - -IMX_LIB_VERSION = 3f777974c0c146817e2ff5cb0340ca66a1f99e57 -IMX_LIB_SITE = https://source.codeaurora.org/external/imx/imx-lib -IMX_LIB_SITE_METHOD = git -IMX_LIB_LICENSE = LGPL-2.1+ -IMX_LIB_LICENSE_FILES = COPYING-LGPL-2.1 - -IMX_LIB_INSTALL_STAGING = YES - -# imx-lib needs access to imx-specific kernel headers -IMX_LIB_DEPENDENCIES += linux -IMX_LIB_INCLUDE = \ - -idirafter $(LINUX_DIR)/include/uapi - -IMX_LIB_MAKE_ENV = \ - $(TARGET_MAKE_ENV) \ - $(TARGET_CONFIGURE_OPTS) \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - PLATFORM=$(BR2_PACKAGE_FREESCALE_IMX_PLATFORM) \ - INCLUDE="$(IMX_LIB_INCLUDE)" - -define IMX_LIB_BUILD_CMDS - $(IMX_LIB_MAKE_ENV) $(MAKE1) -C $(@D) -endef - -define IMX_LIB_INSTALL_STAGING_CMDS - $(IMX_LIB_MAKE_ENV) $(MAKE1) -C $(@D) DEST_DIR=$(STAGING_DIR) install -endef - -define IMX_LIB_INSTALL_TARGET_CMDS - $(IMX_LIB_MAKE_ENV) $(MAKE1) -C $(@D) DEST_DIR=$(TARGET_DIR) install -endef - -$(eval $(generic-package)) diff --git a/package/freescale-imx/imx-m4fwloader/Config.in b/package/freescale-imx/imx-m4fwloader/Config.in deleted file mode 100644 index 937f82f916..0000000000 --- a/package/freescale-imx/imx-m4fwloader/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_IMX_M4FWLOADER - bool "imx-m4fwloader" - depends on BR2_arm # Only relevant for i.MX - help - This package provides a tool to load a firmware to the - Cortex-M4 core available in some i.MX processors. - - https://github.com/codeauroraforum/imx-m4fwloader diff --git a/package/freescale-imx/imx-m4fwloader/imx-m4fwloader.hash b/package/freescale-imx/imx-m4fwloader/imx-m4fwloader.hash deleted file mode 100644 index 2bf3f15d0f..0000000000 --- a/package/freescale-imx/imx-m4fwloader/imx-m4fwloader.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 fb6334900972fe389e808845417dd9045fb0f7eb47952fc22a00f4cdaf94af1a imx-m4fwloader-8cf4d17a09ba23250d43381b49ba00d92406fad9.tar.gz -sha256 c03cea027b4b40e4402fabd08557736727ec3d5bc54ad64ab6472de432198cad LICENSE diff --git a/package/freescale-imx/imx-m4fwloader/imx-m4fwloader.mk b/package/freescale-imx/imx-m4fwloader/imx-m4fwloader.mk deleted file mode 100644 index cc4849330c..0000000000 --- a/package/freescale-imx/imx-m4fwloader/imx-m4fwloader.mk +++ /dev/null @@ -1,22 +0,0 @@ -################################################################################ -# -# imx-m4fwloader -# -################################################################################ - -IMX_M4FWLOADER_VERSION = 8cf4d17a09ba23250d43381b49ba00d92406fad9 -IMX_M4FWLOADER_SITE = $(call github,codeauroraforum,imx-m4fwloader,$(IMX_M4FWLOADER_VERSION)) -IMX_M4FWLOADER_LICENSE = GPL-2.0+ -IMX_M4FWLOADER_LICENSE_FILES = LICENSE - -define IMX_M4FWLOADER_BUILD_CMDS - $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) -o $(@D)/imx-m4fwloader \ - $(@D)/m4fwloader.c -endef - -define IMX_M4FWLOADER_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 755 $(@D)/imx-m4fwloader \ - $(TARGET_DIR)/usr/sbin/imx-m4fwloader -endef - -$(eval $(generic-package)) diff --git a/package/freescale-imx/imx-parser/Config.in b/package/freescale-imx/imx-parser/Config.in deleted file mode 100644 index 028b2bf69b..0000000000 --- a/package/freescale-imx/imx-parser/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_IMX_PARSER - bool "imx-parser" - depends on BR2_arm || BR2_aarch64 # Only relevant for i.MX - help - Binary parser libraries for the NXP i.MX SoCs. - - This library is provided by NXP as-is and doesn't have - an upstream. diff --git a/package/freescale-imx/imx-parser/imx-parser.hash b/package/freescale-imx/imx-parser/imx-parser.hash deleted file mode 100644 index 017d2c2f91..0000000000 --- a/package/freescale-imx/imx-parser/imx-parser.hash +++ /dev/null @@ -1,4 +0,0 @@ -# locally computed -sha256 9cd8c49a0bb1050afcfbcc7a677a348443fda4ecacb621cc6e38897619e27c67 imx-parser-4.3.5.bin -sha256 78696664f7afe7f2b081c99af60082d6403fab935b1b10056ed41aec123ff7fa COPYING -sha256 fc93f26e4197b9240c327ce26ae6e02123f022423d4704c7b0448a37372cf2a2 EULA diff --git a/package/freescale-imx/imx-parser/imx-parser.mk b/package/freescale-imx/imx-parser/imx-parser.mk deleted file mode 100644 index fc4376f04b..0000000000 --- a/package/freescale-imx/imx-parser/imx-parser.mk +++ /dev/null @@ -1,42 +0,0 @@ -################################################################################ -# -# imx-parser -# -################################################################################ - -IMX_PARSER_VERSION = 4.3.5 -IMX_PARSER_SITE = $(FREESCALE_IMX_SITE) -IMX_PARSER_SOURCE = imx-parser-$(IMX_PARSER_VERSION).bin -IMX_PARSER_INSTALL_STAGING = YES - -IMX_PARSER_LICENSE = NXP Semiconductor Software License Agreement -IMX_PARSER_LICENSE_FILES = EULA COPYING -IMX_PARSER_REDISTRIBUTE = NO - -ifeq ($(BR2_aarch64),y) -IMX_PARSER_CONF_OPTS += --enable-armv8 -endif - -ifeq ($(BR2_ARM_EABIHF),y) -IMX_PARSER_CONF_OPTS += --enable-fhw -else -IMX_PARSER_CONF_OPTS += --enable-fsw -endif - -define IMX_PARSER_EXTRACT_CMDS - $(call FREESCALE_IMX_EXTRACT_HELPER,$(IMX_PARSER_DL_DIR)/$(IMX_PARSER_SOURCE)) -endef - -# The Makefile installs several versions of the libraries, but we only -# need one of them, depending on the platform. - -# Upstream installs libraries into usr/lib/imx-mm, but the dynamic -# loader only looks in usr/lib, so move the libraries there -define IMX_PARSER_FIXUP_TARGET_PATH - find $(TARGET_DIR)/usr/lib/imx-mm -not -type d \ - -exec mv {} $(TARGET_DIR)/usr/lib \; - rm -rf $(TARGET_DIR)/usr/lib/imx-mm -endef -IMX_PARSER_POST_INSTALL_TARGET_HOOKS += IMX_PARSER_FIXUP_TARGET_PATH - -$(eval $(autotools-package)) diff --git a/package/freescale-imx/imx-uuc/Config.in b/package/freescale-imx/imx-uuc/Config.in deleted file mode 100644 index 0e257bde17..0000000000 --- a/package/freescale-imx/imx-uuc/Config.in +++ /dev/null @@ -1,23 +0,0 @@ -config BR2_PACKAGE_IMX_UUC - bool "imx-uuc" - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_arm # Only relevant for i.MX - depends on BR2_USE_MMU # fork() - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 # usb_functionfs_descs_head_v2 - select BR2_PACKAGE_HOST_DOSFSTOOLS - help - This package provides the Universal Adapter user-space - utility that is used to receive commands from the - Manufacturing Tool using the Freescale UTP Protocol. - - It requires a Freescale/NXP kernel whose configuration - contains the CONFIG_FSL_UTP option. - - This package is provided by Freescale/NXP as-is and doesn't - have an upstream. - -comment "imx-uuc needs a toolchain w/ threads, headers >= 3.18" - depends on BR2_arm - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 diff --git a/package/freescale-imx/imx-uuc/S80imx-uuc b/package/freescale-imx/imx-uuc/S80imx-uuc deleted file mode 100644 index 9a92c98383..0000000000 --- a/package/freescale-imx/imx-uuc/S80imx-uuc +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - -NAME=uuc -DAEMON=/usr/bin/$NAME - -case "$1" in - start) - printf "Starting $NAME: " - start-stop-daemon -S -q -b -m -p /var/run/${NAME}.pid -x $DAEMON - [ $? = 0 ] && echo "OK" || echo "FAIL" - ;; - stop) - printf "Stopping $NAME: " - start-stop-daemon -K -q -p /var/run/${NAME}.pid - [ $? = 0 ] && echo "OK" || echo "FAIL" - ;; - restart|reload) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "Usage: $0 {start|stop|restart}" - exit 1 -esac - -exit $? diff --git a/package/freescale-imx/imx-uuc/imx-uuc.hash b/package/freescale-imx/imx-uuc/imx-uuc.hash deleted file mode 100644 index 623bd27644..0000000000 --- a/package/freescale-imx/imx-uuc/imx-uuc.hash +++ /dev/null @@ -1,2 +0,0 @@ -# Locally computed -sha256 ac4960b9dc53cfd09709951c4bf1f774567ff0918d0b216b480e1f7df8c6ee48 imx-uuc-79e9798eee9cd972d92ed2b18f170de856d153c9.tar.gz diff --git a/package/freescale-imx/imx-uuc/imx-uuc.mk b/package/freescale-imx/imx-uuc/imx-uuc.mk deleted file mode 100644 index 52d2b7c7a3..0000000000 --- a/package/freescale-imx/imx-uuc/imx-uuc.mk +++ /dev/null @@ -1,41 +0,0 @@ -################################################################################ -# -# imx-uuc -# -################################################################################ - -IMX_UUC_VERSION = 79e9798eee9cd972d92ed2b18f170de856d153c9 -IMX_UUC_SITE = $(call github,NXPmicro,imx-uuc,$(IMX_UUC_VERSION)) -IMX_UUC_LICENSE = GPL-2.0+ -IMX_UUC_LICENSE_FILES = COPYING - -# mkfs.vfat is needed to create a FAT partition used by g_mass_storage -# so Windows do not offer to format the device when connected to the PC. -IMX_UUC_DEPENDENCIES = host-dosfstools - -define IMX_UUC_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) CC=$(TARGET_CC) -endef - -define IMX_UUC_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 755 $(@D)/uuc $(TARGET_DIR)/usr/bin/uuc - $(INSTALL) -D -m 755 $(@D)/sdimage $(TARGET_DIR)/usr/bin/sdimage - $(INSTALL) -D -m 755 $(@D)/ufb $(TARGET_DIR)/usr/bin/ufb - dd if=/dev/zero of=$(TARGET_DIR)/fat bs=1M count=1 - $(HOST_DIR)/sbin/mkfs.vfat $(TARGET_DIR)/fat -endef - -define IMX_UUC_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/freescale-imx/imx-uuc/S80imx-uuc \ - $(TARGET_DIR)/etc/init.d/S80imx-uuc -endef - -define IMX_UUC_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 0644 package/freescale-imx/imx-uuc/imx-uuc.service \ - $(TARGET_DIR)/usr/lib/systemd/system/imx-uuc.service - mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/ - ln -fs ../../../../usr/lib/systemd/system/imx-uuc.service \ - $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/imx-uuc.service -endef - -$(eval $(generic-package)) diff --git a/package/freescale-imx/imx-uuc/imx-uuc.service b/package/freescale-imx/imx-uuc/imx-uuc.service deleted file mode 100644 index fae7fc64dd..0000000000 --- a/package/freescale-imx/imx-uuc/imx-uuc.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=i.MX Universal UTP Communication Service -After=systemd-modules-load.service - -[Service] -Type=simple -ExecStart=/usr/bin/uuc - -[Install] -WantedBy=multi-user.target - diff --git a/package/freescale-imx/imx-vpu-hantro/0001-Fix-ion.h-header-inclusion-to-be-standard.patch b/package/freescale-imx/imx-vpu-hantro/0001-Fix-ion.h-header-inclusion-to-be-standard.patch deleted file mode 100644 index 951ead9824..0000000000 --- a/package/freescale-imx/imx-vpu-hantro/0001-Fix-ion.h-header-inclusion-to-be-standard.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 872c82e7cbb9a0a0e761e8ac70fc28e19a55b4c3 Mon Sep 17 00:00:00 2001 -From: Gary Bisson <gary.bisson@boundarydevices.com> -Date: Thu, 12 Jul 2018 11:38:28 +0200 -Subject: [PATCH] Fix ion.h header inclusion to be standard - -NXP "solution" was to manually copy the header to include/linux. -Let's point the Makefile to the proper (mainline) location instead: -https://elixir.bootlin.com/linux/v4.17/source/drivers/staging/android/uapi/ion.h - -Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> ---- - Makefile | 2 ++ - decoder_sw/software/linux/dwl/dwl_linux.c | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index b74e23a..a5ce22b 100755 ---- a/Makefile -+++ b/Makefile -@@ -11,6 +11,8 @@ INCLUDE_HEADERS = -I./decoder_sw -I$(SOURCE_ROOT)/source/inc -I$(SOURCE_ROOT)/so - INCLUDE_HEADERS += -I$(SOURCE_ROOT)/linux/memalloc - #INCLUDE_HEADERS += -I$(SOURCE_ROOT)/linux/ldriver - INCLUDE_HEADERS += -I$(LINUX_KERNEL_ROOT)/include/uapi -I$(LINUX_KERNEL_ROOT)/include -+# ION header location -+INCLUDE_HEADERS += -I$(LINUX_KERNEL_ROOT)/drivers/staging/android/uapi - - CFLAGS += -DDEC_MODULE_PATH=\"/dev/mxc_hantro\" -DUSE_FAKE_RFC_TABLE -DFIFO_DATATYPE=void* -DNDEBUG -DDOWN_SCALER \ - -DUSE_EXTERNAL_BUFFER -DUSE_FAST_EC -DUSE_VP9_EC -DGET_FREE_BUFFER_NON_BLOCK \ -diff --git a/decoder_sw/software/linux/dwl/dwl_linux.c b/decoder_sw/software/linux/dwl/dwl_linux.c -index 8183660..ed37d86 100644 ---- a/decoder_sw/software/linux/dwl/dwl_linux.c -+++ b/decoder_sw/software/linux/dwl/dwl_linux.c -@@ -41,7 +41,7 @@ - #include "dwl.h" - #include <linux/hantrodec.h> - #ifdef USE_ION --#include <linux/ion.h> -+#include <ion.h> - #ifdef ANDROID - #include <linux/mxc_ion.h> - #endif --- -2.18.0 - diff --git a/package/freescale-imx/imx-vpu-hantro/Config.in b/package/freescale-imx/imx-vpu-hantro/Config.in deleted file mode 100644 index 25ce50ffd7..0000000000 --- a/package/freescale-imx/imx-vpu-hantro/Config.in +++ /dev/null @@ -1,20 +0,0 @@ -comment "imx-vpu-hantro needs an i.MX-specific Linux kernel to be built" - depends on !BR2_LINUX_KERNEL - -comment "imx-vpu-hantro 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 - bool "imx-vpu-hantro" - depends on BR2_LINUX_KERNEL - depends on BR2_PACKAGE_FREESCALE_IMX_HAS_VPU_HANTRO - help - Library of userspace helpers specific for the NXP i.MX SoC - integrating a Hantro Video Processing Unit (VPU) such as the - i.MX8MQ/i.MX8MM. - It requires a kernel that includes the i.MX specific headers - to be built. - - This library is provided by NXP as-is and doesn't have an - upstream. diff --git a/package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.hash b/package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.hash deleted file mode 100644 index 4fa48fb806..0000000000 --- a/package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.hash +++ /dev/null @@ -1,3 +0,0 @@ -sha256 cbc648e41f005aad209f74c9e5dd346138dca12efeb7b27e471de7474c4da302 imx-vpu-hantro-1.6.0.bin -sha256 0f34f6175247762e2e1c38319aadf657a53f00ce124e569dfc61b30451549e7a COPYING -sha256 faf01d10e484879247963eb97d96622a980232e22a35e487dfe53b13708b686a EULA diff --git a/package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.mk b/package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.mk deleted file mode 100644 index a82899e64b..0000000000 --- a/package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.mk +++ /dev/null @@ -1,42 +0,0 @@ -################################################################################ -# -# imx-vpu-hantro -# -################################################################################ - -IMX_VPU_HANTRO_VERSION = 1.6.0 -IMX_VPU_HANTRO_SITE = $(FREESCALE_IMX_SITE) -IMX_VPU_HANTRO_SOURCE = imx-vpu-hantro-$(IMX_VPU_HANTRO_VERSION).bin -IMX_VPU_HANTRO_DEPENDENCIES = linux -IMX_VPU_HANTRO_INSTALL_STAGING = YES - -IMX_VPU_HANTRO_MAKE_ENV = \ - $(TARGET_MAKE_ENV) \ - $(TARGET_CONFIGURE_OPTS) \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - SDKTARGETSYSROOT=$(STAGING_DIR) \ - LINUX_KERNEL_ROOT=$(LINUX_DIR) - -IMX_VPU_HANTRO_LICENSE = NXP Semiconductor Software License Agreement -IMX_VPU_HANTRO_LICENSE_FILES = EULA COPYING -IMX_VPU_HANTRO_REDISTRIBUTE = NO - -define IMX_VPU_HANTRO_EXTRACT_CMDS - $(call FREESCALE_IMX_EXTRACT_HELPER,$(IMX_VPU_HANTRO_DL_DIR)/$(IMX_VPU_HANTRO_SOURCE)) -endef - -define IMX_VPU_HANTRO_BUILD_CMDS - $(IMX_VPU_HANTRO_MAKE_ENV) $(MAKE1) -C $(@D) -endef - -define IMX_VPU_HANTRO_INSTALL_STAGING_CMDS - $(IMX_VPU_HANTRO_MAKE_ENV) $(MAKE1) -C $(@D) \ - DEST_DIR=$(STAGING_DIR) libdir=/usr/lib install -endef - -define IMX_VPU_HANTRO_INSTALL_TARGET_CMDS - $(IMX_VPU_HANTRO_MAKE_ENV) $(MAKE1) -C $(@D) \ - DEST_DIR=$(TARGET_DIR) libdir=/usr/lib install -endef - -$(eval $(generic-package)) diff --git a/package/freescale-imx/imx-vpu/Config.in b/package/freescale-imx/imx-vpu/Config.in deleted file mode 100644 index dd3507eb96..0000000000 --- a/package/freescale-imx/imx-vpu/Config.in +++ /dev/null @@ -1,14 +0,0 @@ -comment "imx-vpu needs an i.MX platform with VPU support" - depends on !BR2_PACKAGE_FREESCALE_IMX_HAS_VPU - -config BR2_PACKAGE_IMX_VPU - bool "imx-vpu" - depends on BR2_PACKAGE_FREESCALE_IMX_HAS_VPU - select BR2_PACKAGE_FIRMWARE_IMX - help - Library of userspace helpers specific for the NXP i.MX SoC - integrating a Chips&Media CODA Video Processing Unit (VPU) - such as the i.MX27/i.MX5x/i.MX6x. - - This library is provided by NXP as-is and doesn't have an - upstream. diff --git a/package/freescale-imx/imx-vpu/imx-vpu.hash b/package/freescale-imx/imx-vpu/imx-vpu.hash deleted file mode 100644 index 5fa93d8055..0000000000 --- a/package/freescale-imx/imx-vpu/imx-vpu.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally computed -sha256 34bed0ddf6c797f444bddfa5d5495adc751ff268b6431d8beb48129c89c9e47f imx-vpu-5.4.38.bin -sha256 78696664f7afe7f2b081c99af60082d6403fab935b1b10056ed41aec123ff7fa COPYING -sha256 fc93f26e4197b9240c327ce26ae6e02123f022423d4704c7b0448a37372cf2a2 EULA diff --git a/package/freescale-imx/imx-vpu/imx-vpu.mk b/package/freescale-imx/imx-vpu/imx-vpu.mk deleted file mode 100644 index e30237508e..0000000000 --- a/package/freescale-imx/imx-vpu/imx-vpu.mk +++ /dev/null @@ -1,39 +0,0 @@ -################################################################################ -# -# imx-vpu -# -################################################################################ - -IMX_VPU_VERSION = 5.4.38 -IMX_VPU_SITE = $(FREESCALE_IMX_SITE) -IMX_VPU_SOURCE = imx-vpu-$(IMX_VPU_VERSION).bin - -IMX_VPU_INSTALL_STAGING = YES - -IMX_VPU_MAKE_ENV = \ - $(TARGET_MAKE_ENV) \ - $(TARGET_CONFIGURE_OPTS) \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - PLATFORM=$(BR2_PACKAGE_FREESCALE_IMX_PLATFORM) - -IMX_VPU_LICENSE = NXP Semiconductor Software License Agreement -IMX_VPU_LICENSE_FILES = EULA COPYING -IMX_VPU_REDISTRIBUTE = NO - -define IMX_VPU_EXTRACT_CMDS - $(call FREESCALE_IMX_EXTRACT_HELPER,$(IMX_VPU_DL_DIR)/$(IMX_VPU_SOURCE)) -endef - -define IMX_VPU_BUILD_CMDS - $(IMX_VPU_MAKE_ENV) $(MAKE1) -C $(@D) -endef - -define IMX_VPU_INSTALL_STAGING_CMDS - $(IMX_VPU_MAKE_ENV) $(MAKE1) -C $(@D) DEST_DIR=$(STAGING_DIR) install -endef - -define IMX_VPU_INSTALL_TARGET_CMDS - $(IMX_VPU_MAKE_ENV) $(MAKE1) -C $(@D) DEST_DIR=$(TARGET_DIR) install -endef - -$(eval $(generic-package)) diff --git a/package/freescale-imx/imx-vpuwrap/Config.in b/package/freescale-imx/imx-vpuwrap/Config.in deleted file mode 100644 index 8a9bf0e32d..0000000000 --- a/package/freescale-imx/imx-vpuwrap/Config.in +++ /dev/null @@ -1,19 +0,0 @@ -comment "imx-vpuwrap needs an imx-specific Linux kernel to be built" - depends on !BR2_LINUX_KERNEL - -comment "imx-vpuwrap needs an i.MX platform with VPU support" - depends on BR2_LINUX_KERNEL - depends on !BR2_PACKAGE_FREESCALE_IMX_HAS_VPU && !BR2_PACKAGE_FREESCALE_IMX_HAS_VPU_HANTRO - -config BR2_PACKAGE_IMX_VPUWRAP - bool "imx-vpuwrap" - depends on BR2_LINUX_KERNEL - depends on BR2_PACKAGE_FREESCALE_IMX_HAS_VPU || BR2_PACKAGE_FREESCALE_IMX_HAS_VPU_HANTRO - select BR2_PACKAGE_IMX_VPU if BR2_PACKAGE_FREESCALE_IMX_HAS_VPU - select BR2_PACKAGE_IMX_VPU_HANTRO if BR2_PACKAGE_FREESCALE_IMX_HAS_VPU_HANTRO - help - Wrapper library for the vpu library, giving it a different - API. - - This library is provided by NXP as-is and doesn't have - an upstream. diff --git a/package/freescale-imx/imx-vpuwrap/imx-vpuwrap.hash b/package/freescale-imx/imx-vpuwrap/imx-vpuwrap.hash deleted file mode 100644 index 7a640374d7..0000000000 --- a/package/freescale-imx/imx-vpuwrap/imx-vpuwrap.hash +++ /dev/null @@ -1,4 +0,0 @@ -# locally computed -sha256 5c08b4b7c771404c998779f0e27a75564b57958d463e2df152c910d76cca9e44 imx-vpuwrap-4.3.5.bin -sha256 78696664f7afe7f2b081c99af60082d6403fab935b1b10056ed41aec123ff7fa COPYING -sha256 fc93f26e4197b9240c327ce26ae6e02123f022423d4704c7b0448a37372cf2a2 EULA diff --git a/package/freescale-imx/imx-vpuwrap/imx-vpuwrap.mk b/package/freescale-imx/imx-vpuwrap/imx-vpuwrap.mk deleted file mode 100644 index fdad3a5f2b..0000000000 --- a/package/freescale-imx/imx-vpuwrap/imx-vpuwrap.mk +++ /dev/null @@ -1,28 +0,0 @@ -################################################################################ -# -# imx-vpuwrap -# -################################################################################ - -IMX_VPUWRAP_VERSION = 4.3.5 -IMX_VPUWRAP_SITE = $(FREESCALE_IMX_SITE) -IMX_VPUWRAP_SOURCE = imx-vpuwrap-$(IMX_VPUWRAP_VERSION).bin -IMX_VPUWRAP_INSTALL_STAGING = YES - -ifeq ($(BR2_PACKAGE_IMX_VPU),y) -IMX_VPUWRAP_DEPENDENCIES = imx-vpu -endif - -ifeq ($(BR2_PACKAGE_IMX_VPU_HANTRO),y) -IMX_VPUWRAP_DEPENDENCIES = imx-vpu-hantro -endif - -IMX_VPUWRAP_LICENSE = NXP Semiconductor Software License Agreement -IMX_VPUWRAP_LICENSE_FILES = EULA COPYING -IMX_VPUWRAP_REDISTRIBUTE = NO - -define IMX_VPUWRAP_EXTRACT_CMDS - $(call FREESCALE_IMX_EXTRACT_HELPER,$(IMX_VPUWRAP_DL_DIR)/$(IMX_VPUWRAP_SOURCE)) -endef - -$(eval $(autotools-package)) diff --git a/package/freescale-imx/kernel-module-imx-gpu-viv/Config.in b/package/freescale-imx/kernel-module-imx-gpu-viv/Config.in deleted file mode 100644 index 038bd4d483..0000000000 --- a/package/freescale-imx/kernel-module-imx-gpu-viv/Config.in +++ /dev/null @@ -1,16 +0,0 @@ -comment "kernel-module-imx-gpu-viv needs a Linux kernel to be built" - depends on !BR2_LINUX_KERNEL - -config BR2_PACKAGE_KERNEL_MODULE_IMX_GPU_VIV - bool "kernel-module-imx-gpu-viv" - depends on BR2_LINUX_KERNEL - help - Kernel loadable module for Vivante GPU. - - This package uses an exact copy of the GPU kernel driver - source code of the same version as base and include fixes - and improvements developed by FSL Community. - - This module is only meant for NXP-based kernel up to 4.1.x. - - https://github.com/Freescale/kernel-module-imx-gpu-viv diff --git a/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash b/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash deleted file mode 100644 index 3ed7ca2dd9..0000000000 --- a/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash +++ /dev/null @@ -1,2 +0,0 @@ -# locally computed -sha256 ad910b7d36dc433bbbe85808d278312e9199635aaa5d00097b70ffab11bde9e6 kernel-module-imx-gpu-viv-86354002bea77acd9ce1812712e9d8485b377ec8.tar.gz diff --git a/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk b/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk deleted file mode 100644 index c76a5ee386..0000000000 --- a/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk +++ /dev/null @@ -1,20 +0,0 @@ -################################################################################ -# -# kernel-module-imx-gpu-viv -# -################################################################################ - -KERNEL_MODULE_IMX_GPU_VIV_VERSION = 86354002bea77acd9ce1812712e9d8485b377ec8 -KERNEL_MODULE_IMX_GPU_VIV_SITE = \ - $(call github,Freescale,kernel-module-imx-gpu-viv,$(KERNEL_MODULE_IMX_GPU_VIV_VERSION)) -KERNEL_MODULE_IMX_GPU_VIV_LICENSE = GPL-2.0 -KERNEL_MODULE_IMX_GPU_VIV_LICENSE_FILES = COPYING - -KERNEL_MODULE_IMX_GPU_VIV_MODULE_MAKE_OPTS = \ - AQROOT=$(@D)/kernel-module-imx-gpu-viv-src \ - KERNEL_DIR=$(LINUX_DIR) - -KERNEL_MODULE_IMX_GPU_VIV_MODULE_SUBDIRS = kernel-module-imx-gpu-viv-src - -$(eval $(kernel-module)) -$(eval $(generic-package)) diff --git a/package/freescale-imx/libz160/Config.in b/package/freescale-imx/libz160/Config.in deleted file mode 100644 index a40ecdc754..0000000000 --- a/package/freescale-imx/libz160/Config.in +++ /dev/null @@ -1,11 +0,0 @@ -config BR2_PACKAGE_LIBZ160 - bool "libz160" - depends on BR2_ARM_EABI - depends on BR2_TOOLCHAIN_USES_GLIBC - help - An API for user space programs to perform 2D accelerated - graphics operations on AMD GPU (included for examples in - iMX5x chipsets) - -comment "libz160 needs an EABI toolchain w/ glibc" - depends on !BR2_ARM_EABI || !BR2_TOOLCHAIN_USES_GLIBC diff --git a/package/freescale-imx/libz160/libz160.hash b/package/freescale-imx/libz160/libz160.hash deleted file mode 100644 index ee10630fdf..0000000000 --- a/package/freescale-imx/libz160/libz160.hash +++ /dev/null @@ -1,2 +0,0 @@ -# locally computed -sha256 08767eb269a0a30ca0aa3d3b5aa9a53a2d17ed1c24651b7e8cefc7704b883f19 libz160-bin-11.09.01.bin diff --git a/package/freescale-imx/libz160/libz160.mk b/package/freescale-imx/libz160/libz160.mk deleted file mode 100644 index 5b1feeb441..0000000000 --- a/package/freescale-imx/libz160/libz160.mk +++ /dev/null @@ -1,30 +0,0 @@ -################################################################################ -# -# libz160 -# -################################################################################ - -LIBZ160_VERSION = 11.09.01 -LIBZ160_SOURCE = libz160-bin-$(LIBZ160_VERSION).bin -LIBZ160_SITE = $(FREESCALE_IMX_SITE) -LIBZ160_INSTALL_STAGING = YES - -# See freescale-imx -LIBZ160_LICENSE = Freescale Semiconductor Software License Agreement -LIBZ160_LICENSE_FILES = EULA -LIBZ160_REDISTRIBUTE = NO - -define LIBZ160_EXTRACT_CMDS - $(call FREESCALE_IMX_EXTRACT_HELPER,$(LIBZ160_DL_DIR)/$(LIBZ160_SOURCE)) -endef - -define LIBZ160_INSTALL_STAGING_CMDS - $(INSTALL) -D -m 755 $(@D)/usr/lib/libz160.so $(STAGING_DIR)/usr/lib/libz160.so - $(INSTALL) -D -m 644 $(@D)/usr/include/z160.h $(STAGING_DIR)/usr/include/z160.h -endef - -define LIBZ160_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 755 $(@D)/usr/lib/libz160.so $(TARGET_DIR)/usr/lib/libz160.so -endef - -$(eval $(generic-package)) |