package/nvidia-tegra23: remove package

Current X.org X server is incompatible with this driver.

We no longer support unmaintainted versions of X.org X server.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Bernd Kuhls 2020-08-29 13:34:01 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent bd706575bc
commit 6b2355fef0
15 changed files with 6 additions and 225 deletions

View File

@ -146,6 +146,12 @@ endif
comment "Legacy options removed in 2020.11"
config BR2_PACKAGE_NVIDIA_TEGRA23
bool "nvidia-tegra23 package removed"
select BR2_LEGACY
help
Current X.org server is incompatible with this driver.
config BR2_GDB_VERSION_8_1
bool "gdb 8.1.x has been removed"
select BR2_LEGACY

View File

@ -1915,8 +1915,6 @@ F: package/libgit2/
N: Nicolas Serafini <nicolas.serafini@sensefly.com>
F: package/exiv2/
F: package/nvidia-tegra23/nvidia-tegra23-binaries/
F: package/nvidia-tegra23/nvidia-tegra23-codecs/
F: package/ofono/
N: Nikolay Dimitrov <nikolay.dimitrov@retrohub.org>

View File

@ -500,7 +500,6 @@ endmenu
source "package/nanocom/Config.in"
source "package/neard/Config.in"
source "package/nvidia-driver/Config.in"
source "package/nvidia-tegra23/Config.in"
source "package/nvme/Config.in"
source "package/ofono/Config.in"
source "package/on2-8170-modules/Config.in"

View File

@ -1,38 +0,0 @@
menuconfig BR2_PACKAGE_NVIDIA_TEGRA23
bool "nvidia-tegra23"
depends on BR2_cortex_a9
depends on BR2_ARM_EABIHF && BR2_TOOLCHAIN_USES_GLIBC
depends on BR2_PACKAGE_XORG7
depends on BR2_PACKAGE_XSERVER_XORG_SERVER_VIDEODRV_ABI_14
help
Install NVidia proprietary blobs to drive Tegra2 or Tegra3
GPUs found in some mobile-targeted ARM SoCs.
if BR2_PACKAGE_NVIDIA_TEGRA23
choice
prompt "Tegra platform"
help
Select the SOC platform.
config BR2_PACKAGE_NVIDIA_TEGRA23_TEGRA2
bool "Tegra 2"
help
NVIDIA Tegra 2 is a dual-core Cortex-A9 without NEON.
config BR2_PACKAGE_NVIDIA_TEGRA23_TEGRA3
bool "Tegra 3"
depends on BR2_ARM_CPU_HAS_NEON
help
NVIDIA Tegra 3 is a quad-core Cortex-A9 with NEON.
endchoice
source "package/nvidia-tegra23/nvidia-tegra23-binaries/Config.in"
source "package/nvidia-tegra23/nvidia-tegra23-codecs/Config.in"
endif
comment "nvidia-tegra23 needs Xorg <= 1.14 and a glibc toolchain w/ EABIhf"
depends on BR2_cortex_a9
depends on !BR2_ARM_EABIHF || !BR2_TOOLCHAIN_USES_GLIBC \
|| !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_XSERVER_XORG_SERVER_VIDEODRV_ABI_14

View File

@ -1,26 +0,0 @@
config BR2_PACKAGE_NVIDIA_TEGRA23_BINARIES
bool "nvidia-tegra23 binaries"
select BR2_PACKAGE_MESA3D_HEADERS
select BR2_PACKAGE_XLIB_LIBX11
select BR2_PACKAGE_XLIB_LIBXEXT
select BR2_PACKAGE_HAS_LIBEGL
select BR2_PACKAGE_HAS_LIBGLES
select BR2_PACKAGE_HAS_LIBOPENMAX
help
Those packages provide libraries, drivers and firmware that
comes from NVIDIA Linux For Tegra.
https://developer.nvidia.com/linux-tegra
if BR2_PACKAGE_NVIDIA_TEGRA23_BINARIES
config BR2_PACKAGE_PROVIDES_LIBEGL
default "nvidia-tegra23-binaries"
config BR2_PACKAGE_PROVIDES_LIBGLES
default "nvidia-tegra23-binaries"
config BR2_PACKAGE_PROVIDES_LIBOPENMAX
default "nvidia-tegra23-binaries"
endif

View File

@ -1,10 +0,0 @@
prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib
includedir=/usr/include
Name: egl
Description: EGL implementation
Version: 1
Cflags: -I${includedir}/EGL
Libs: -L${libdir} -lEGL

View File

@ -1,10 +0,0 @@
prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib
includedir=/usr/include
Name: glesv2
Description: OpenGL ES 1.1 implementation
Version: 1.1
Cflags: -I${includedir}/GLES
Libs: -L${libdir} -lGLESv1_CM

View File

@ -1,10 +0,0 @@
prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib
includedir=/usr/include
Name: glesv2
Description: OpenGL ES 2 implementation
Version: 2
Cflags: -I${includedir}/GLESv2
Libs: -L${libdir} -lGLESv2

View File

@ -1,3 +0,0 @@
# From https://developer.nvidia.com/linux-tegra-rel-16
sha1 295dcd63b2f122c2d99f07fcc083db9adb8ac178 Tegra20_Linux_R16.5_armhf.tbz2
sha1 6be645c20d81d518856bc8520ef4c2472d57eaef Tegra30_Linux_R16.5_armhf.tbz2

View File

@ -1,64 +0,0 @@
################################################################################
#
# nvidia-tegra23-binaries
#
################################################################################
NVIDIA_TEGRA23_BINARIES_VERSION = $(NVIDIA_TEGRA23_VERSION)
NVIDIA_TEGRA23_BINARIES_SITE = $(NVIDIA_TEGRA23_SITE)
NVIDIA_TEGRA23_BINARIES_SOURCE = $(NVIDIA_TEGRA23_BASE)_R$(NVIDIA_TEGRA23_BINARIES_VERSION)_armhf.tbz2
NVIDIA_TEGRA23_BINARIES_LICENSE = License For Customer Use of NVIDIA Software
NVIDIA_TEGRA23_BINARIES_LICENSE_FILES = nv_tegra/LICENSE
NVIDIA_TEGRA23_BINARIES_INSTALL_STAGING = YES
# Those are not really needed to build nvidia-tegra23-binaries, but
# will be needed by packages who link against libraries provided by
# nvidia-tegra23-binaries.
NVIDIA_TEGRA23_BINARIES_DEPENDENCIES = mesa3d-headers \
xlib_libX11 xlib_libXext
NVIDIA_TEGRA23_BINARIES_PROVIDES = libegl libgles libopenmax
NVIDIA_TEGRA23_BINARIES_DRV = \
nv_tegra/nvidia_drivers/usr/lib/xorg/modules/drivers/tegra_drv.abi$(BR2_PACKAGE_XSERVER_XORG_SERVER_VIDEODRV_ABI).so
define NVIDIA_TEGRA23_BINARIES_EXTRACT_FURTHER
$(INSTALL) -d $(@D)/nv_tegra/nvidia_drivers
$(call suitable-extractor,$(@D)/nv_tegra/nvidia_drivers.tbz2) \
$(@D)/nv_tegra/nvidia_drivers.tbz2 | \
$(TAR) --strip-components=0 -C $(@D)/nv_tegra/nvidia_drivers/ $(TAR_OPTIONS) -
endef
NVIDIA_TEGRA23_BINARIES_POST_EXTRACT_HOOKS += NVIDIA_TEGRA23_BINARIES_EXTRACT_FURTHER
define NVIDIA_TEGRA23_BINARIES_INSTALL_LIBS
mkdir -p $(1)/usr/lib
cp -dpfr $(@D)/nv_tegra/nvidia_drivers/usr/lib/*.so $(1)/usr/lib/
(cd $(1)/usr/lib; \
ln -sf libGLESv2.so.2 libGLESv2.so; \
ln -sf libGLESv1_CM.so.1 libGLESv1_CM.so; \
ln -sf libEGL.so.1 libEGL.so \
)
endef
define NVIDIA_TEGRA23_BINARIES_INSTALL_STAGING_CMDS
$(call NVIDIA_TEGRA23_BINARIES_INSTALL_LIBS,$(STAGING_DIR))
mkdir -p $(STAGING_DIR)/usr/lib/pkgconfig/
cp -dpfr package/nvidia-tegra23/nvidia-tegra23-binaries/*.pc \
$(STAGING_DIR)/usr/lib/pkgconfig/
endef
define NVIDIA_TEGRA23_BINARIES_INSTALL_TARGET_CMDS
$(call NVIDIA_TEGRA23_BINARIES_INSTALL_LIBS,$(TARGET_DIR))
mkdir -p $(TARGET_DIR)/lib/firmware/
cp -dpfr $(@D)/nv_tegra/nvidia_drivers/lib/firmware/*.bin \
$(TARGET_DIR)/lib/firmware/
$(INSTALL) -D -m 0644 $(@D)/nv_tegra/nvidia_drivers/etc/nv_tegra_release \
$(TARGET_DIR)/etc/nv_tegra_release
$(INSTALL) -D -m 0644 $(@D)/$(NVIDIA_TEGRA23_BINARIES_DRV) \
$(TARGET_DIR)/usr/lib/xorg/modules/drivers/tegra_drv.so
endef
$(eval $(generic-package))

View File

@ -1,7 +0,0 @@
config BR2_PACKAGE_NVIDIA_TEGRA23_CODECS
bool "nvidia-tegra23 codecs"
depends on BR2_PACKAGE_NVIDIA_TEGRA23_BINARIES
help
NVIDIA Tegra restricted codecs from Linux For Tegra 16.5.
https://developer.nvidia.com/linux-tegra-rel-16

View File

@ -1,3 +0,0 @@
# From https://developer.nvidia.com/linux-tegra-rel-16
sha1 540e89d5462537cd59c8a86efdb786b3b4310868 Tegra20_Linux-codecs_R16.5_armhf.tbz2
sha1 3637efe808f25594e3cdc2756aef6e0274ab70f4 Tegra30_Linux-codecs_R16.5_armhf.tbz2

View File

@ -1,32 +0,0 @@
################################################################################
#
# nvidia-tegra23-codecs
#
################################################################################
NVIDIA_TEGRA23_CODECS_VERSION = $(NVIDIA_TEGRA23_VERSION)
NVIDIA_TEGRA23_CODECS_SOURCE = $(NVIDIA_TEGRA23_BASE)-codecs_R$(NVIDIA_TEGRA23_CODECS_VERSION)_armhf.tbz2
NVIDIA_TEGRA23_CODECS_SITE = $(NVIDIA_TEGRA23_SITE)
NVIDIA_TEGRA23_CODECS_LICENSE = NVIDIA(r) Tegra(r) Software License Agreement
NVIDIA_TEGRA23_CODECS_LICENSE_FILES = Tegra_Software_License_Agreement-Tegra-Linux-codecs.txt
NVIDIA_TEGRA23_CODECS_REDISTRIBUTE = NO
# The archive contains an archive with the firmware codecs
define NVIDIA_TEGRA23_CODECS_EXTRACT_CMDS
$(INSTALL) -d $(@D)
$(call suitable-extractor,$(NVIDIA_TEGRA23_CODECS_SOURCE)) \
$(NVIDIA_TEGRA23_CODECS_DL_DIR)/$(NVIDIA_TEGRA23_CODECS_SOURCE) | \
$(TAR) --strip-components=0 -C $(@D) $(TAR_OPTIONS) -
$(INSTALL) -d $(@D)/restricted_codecs
$(call suitable-extractor,$(@D)/restricted_codecs.tbz2) \
$(@D)/restricted_codecs.tbz2 | \
$(TAR) --strip-components=0 -C $(@D)/restricted_codecs/ $(TAR_OPTIONS) -
endef
define NVIDIA_TEGRA23_CODECS_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/lib/firmware/
cp -dpfr $(@D)/restricted_codecs/lib/firmware/*.axf \
$(TARGET_DIR)/lib/firmware/
endef
$(eval $(generic-package))

View File

@ -1,18 +0,0 @@
################################################################################
#
# nvidia-tegra23
#
################################################################################
NVIDIA_TEGRA23_VERSION = 16.5
ifeq ($(BR2_PACKAGE_NVIDIA_TEGRA23_TEGRA2),y)
NVIDIA_TEGRA23_SITE = http://developer.download.nvidia.com/mobile/tegra/l4t/r16.5.0/ventana_release_armhf
NVIDIA_TEGRA23_BASE = Tegra20_Linux
endif
ifeq ($(BR2_PACKAGE_NVIDIA_TEGRA23_TEGRA3),y)
NVIDIA_TEGRA23_SITE = http://developer.download.nvidia.com/mobile/tegra/l4t/r16.5.0/cardhu_release_armhf
NVIDIA_TEGRA23_BASE = Tegra30_Linux
endif
include $(sort $(wildcard package/nvidia-tegra23/*/*.mk))

View File

@ -296,7 +296,6 @@ def get_pkglist(npackages, package_list):
"package/x11r7/x11r7.mk",
"package/doc-asciidoc.mk",
"package/pkg-.*.mk",
"package/nvidia-tegra23/nvidia-tegra23.mk",
"toolchain/toolchain-external/pkg-toolchain-external.mk",
"toolchain/toolchain-external/toolchain-external.mk",
"toolchain/toolchain.mk",