mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-06-09 20:30:58 +00:00
meta-ti-bsp: machine: Remove all gpu features
Remove all gpu machine features and instead rely on the new dependency chain for resolving gpu dependencies. Set preferred providers for virtual/gpudriver where needed. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
committed by
Ryan Eatmon
parent
87ed1e90ac
commit
276c4204bc
@@ -4,8 +4,6 @@
|
|||||||
|
|
||||||
require conf/machine/include/am62xx.inc
|
require conf/machine/include/am62xx.inc
|
||||||
|
|
||||||
MACHINE_FEATURES += "gpu"
|
|
||||||
|
|
||||||
KERNEL_DEVICETREE = " \
|
KERNEL_DEVICETREE = " \
|
||||||
ti/k3-am62x-lp-sk.dtb \
|
ti/k3-am62x-lp-sk.dtb \
|
||||||
ti/k3-am625-skeleton.dtb \
|
ti/k3-am625-skeleton.dtb \
|
||||||
|
|||||||
@@ -1,15 +1,11 @@
|
|||||||
require conf/machine/include/k3.inc
|
require conf/machine/include/k3.inc
|
||||||
SOC_FAMILY:append = ":am62xx"
|
SOC_FAMILY:append = ":am62xx"
|
||||||
|
|
||||||
MACHINE_FEATURES += "screen touchscreen gpu"
|
MACHINE_FEATURES += "screen touchscreen"
|
||||||
|
|
||||||
SERIAL_CONSOLES = "115200;ttyS2"
|
SERIAL_CONSOLES = "115200;ttyS2"
|
||||||
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/egl ?= "ti-img-rogue-umlibs"
|
|
||||||
PREFERRED_PROVIDER_virtual/libgles1 ?= "ti-img-rogue-umlibs"
|
|
||||||
PREFERRED_PROVIDER_virtual/libgles2 ?= "ti-img-rogue-umlibs"
|
|
||||||
PREFERRED_PROVIDER_virtual/libgbm ?= "ti-img-rogue-umlibs"
|
|
||||||
PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
|
PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
|
||||||
|
|
||||||
TFA_BOARD = "lite"
|
TFA_BOARD = "lite"
|
||||||
|
|||||||
@@ -1,15 +1,11 @@
|
|||||||
require conf/machine/include/k3.inc
|
require conf/machine/include/k3.inc
|
||||||
SOC_FAMILY:append = ":am65xx"
|
SOC_FAMILY:append = ":am65xx"
|
||||||
|
|
||||||
MACHINE_FEATURES += "screen touchscreen gpu"
|
MACHINE_FEATURES += "screen touchscreen"
|
||||||
|
|
||||||
SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS1"
|
SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS1"
|
||||||
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/egl ?= "ti-sgx-ddk-um"
|
|
||||||
PREFERRED_PROVIDER_virtual/libgles1 ?= "ti-sgx-ddk-um"
|
|
||||||
PREFERRED_PROVIDER_virtual/libgles2 ?= "ti-sgx-ddk-um"
|
|
||||||
PREFERRED_PROVIDER_virtual/libgbm ?= "ti-sgx-ddk-um"
|
|
||||||
PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km"
|
PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km"
|
||||||
|
|
||||||
KERNEL_DEVICETREE = " \
|
KERNEL_DEVICETREE = " \
|
||||||
|
|||||||
@@ -1,12 +1,6 @@
|
|||||||
require conf/machine/include/k3.inc
|
require conf/machine/include/k3.inc
|
||||||
SOC_FAMILY:append = ":j721e"
|
SOC_FAMILY:append = ":j721e"
|
||||||
|
|
||||||
MACHINE_FEATURES += "gpu"
|
|
||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/egl ?= "ti-img-rogue-umlibs"
|
|
||||||
PREFERRED_PROVIDER_virtual/libgles1 ?= "ti-img-rogue-umlibs"
|
|
||||||
PREFERRED_PROVIDER_virtual/libgles2 ?= "ti-img-rogue-umlibs"
|
|
||||||
PREFERRED_PROVIDER_virtual/libgbm ?= "ti-img-rogue-umlibs"
|
|
||||||
PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
|
PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
|
||||||
|
|
||||||
# On J721e the file tiboot3.bin comes from the bootloader not ti-sci-fw
|
# On J721e the file tiboot3.bin comes from the bootloader not ti-sci-fw
|
||||||
|
|||||||
@@ -1,12 +1,6 @@
|
|||||||
require conf/machine/include/k3.inc
|
require conf/machine/include/k3.inc
|
||||||
SOC_FAMILY:append = ":j721s2"
|
SOC_FAMILY:append = ":j721s2"
|
||||||
|
|
||||||
MACHINE_FEATURES += "gpu"
|
|
||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/egl ?= "ti-img-rogue-umlibs"
|
|
||||||
PREFERRED_PROVIDER_virtual/libgles1 ?= "ti-img-rogue-umlibs"
|
|
||||||
PREFERRED_PROVIDER_virtual/libgles2 ?= "ti-img-rogue-umlibs"
|
|
||||||
PREFERRED_PROVIDER_virtual/libgbm ?= "ti-img-rogue-umlibs"
|
|
||||||
PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
|
PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
|
||||||
|
|
||||||
TFA_BOARD = "generic"
|
TFA_BOARD = "generic"
|
||||||
|
|||||||
@@ -1,12 +1,6 @@
|
|||||||
require conf/machine/include/k3.inc
|
require conf/machine/include/k3.inc
|
||||||
SOC_FAMILY:append = ":j784s4"
|
SOC_FAMILY:append = ":j784s4"
|
||||||
|
|
||||||
MACHINE_FEATURES += "gpu"
|
|
||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/egl ?= "ti-img-rogue-umlibs"
|
|
||||||
PREFERRED_PROVIDER_virtual/libgles1 ?= "ti-img-rogue-umlibs"
|
|
||||||
PREFERRED_PROVIDER_virtual/libgles2 ?= "ti-img-rogue-umlibs"
|
|
||||||
PREFERRED_PROVIDER_virtual/libgbm ?= "ti-img-rogue-umlibs"
|
|
||||||
PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
|
PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
|
||||||
|
|
||||||
TFA_BOARD = "j784s4"
|
TFA_BOARD = "j784s4"
|
||||||
|
|||||||
@@ -10,10 +10,6 @@ MACHINE_KERNEL_PR = "r7"
|
|||||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
|
PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
|
||||||
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-ti-staging"
|
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-ti-staging"
|
||||||
PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging"
|
PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging"
|
||||||
PREFERRED_PROVIDER_virtual/egl ?= "ti-sgx-ddk-um"
|
|
||||||
PREFERRED_PROVIDER_virtual/libgles1 ?= "ti-sgx-ddk-um"
|
|
||||||
PREFERRED_PROVIDER_virtual/libgles2 ?= "ti-sgx-ddk-um"
|
|
||||||
PREFERRED_PROVIDER_virtual/libgbm ?= "ti-sgx-ddk-um"
|
|
||||||
PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km"
|
PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km"
|
||||||
|
|
||||||
KERNEL_IMAGETYPE = "zImage"
|
KERNEL_IMAGETYPE = "zImage"
|
||||||
@@ -45,7 +41,7 @@ EXTRA_IMAGEDEPENDS += "virtual/bootloader"
|
|||||||
UBI_VOLNAME = "rootfs"
|
UBI_VOLNAME = "rootfs"
|
||||||
|
|
||||||
# List common SoC features, may need to add touchscreen for specific machines
|
# List common SoC features, may need to add touchscreen for specific machines
|
||||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu mmip dsp gc320"
|
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet mmip dsp gc320"
|
||||||
|
|
||||||
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
|
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
|
||||||
WKS_FILE ?= "sdimage-2part.wks"
|
WKS_FILE ?= "sdimage-2part.wks"
|
||||||
|
|||||||
@@ -11,10 +11,6 @@ MACHINE_KERNEL_PR = "r22"
|
|||||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
|
PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
|
||||||
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-ti-staging"
|
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-ti-staging"
|
||||||
PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging"
|
PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging"
|
||||||
PREFERRED_PROVIDER_virtual/egl ?= "ti-sgx-ddk-um"
|
|
||||||
PREFERRED_PROVIDER_virtual/libgles1 ?= "ti-sgx-ddk-um"
|
|
||||||
PREFERRED_PROVIDER_virtual/libgles2 ?= "ti-sgx-ddk-um"
|
|
||||||
PREFERRED_PROVIDER_virtual/libgbm ?= "ti-sgx-ddk-um"
|
|
||||||
PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km"
|
PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km"
|
||||||
|
|
||||||
KERNEL_IMAGETYPE = "zImage"
|
KERNEL_IMAGETYPE = "zImage"
|
||||||
@@ -55,7 +51,7 @@ UBI_VOLNAME = "rootfs"
|
|||||||
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
|
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
|
||||||
|
|
||||||
# List common SoC features, may need to add touchscreen for specific machines
|
# List common SoC features, may need to add touchscreen for specific machines
|
||||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 alsa ethernet gpu"
|
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 alsa ethernet"
|
||||||
|
|
||||||
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
|
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
|
||||||
WKS_FILE ?= "sdimage-2part.wks"
|
WKS_FILE ?= "sdimage-2part.wks"
|
||||||
|
|||||||
@@ -11,10 +11,6 @@ MACHINE_KERNEL_PR = "r3"
|
|||||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
|
PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
|
||||||
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-ti-staging"
|
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-ti-staging"
|
||||||
PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging"
|
PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging"
|
||||||
PREFERRED_PROVIDER_virtual/egl ?= "ti-sgx-ddk-um"
|
|
||||||
PREFERRED_PROVIDER_virtual/libgles1 ?= "ti-sgx-ddk-um"
|
|
||||||
PREFERRED_PROVIDER_virtual/libgles2 ?= "ti-sgx-ddk-um"
|
|
||||||
PREFERRED_PROVIDER_virtual/libgbm ?= "ti-sgx-ddk-um"
|
|
||||||
PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km"
|
PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km"
|
||||||
|
|
||||||
KERNEL_IMAGETYPE = "zImage"
|
KERNEL_IMAGETYPE = "zImage"
|
||||||
@@ -54,7 +50,7 @@ UBI_VOLNAME = "rootfs"
|
|||||||
EXTRA_IMAGEDEPENDS += "u-boot"
|
EXTRA_IMAGEDEPENDS += "u-boot"
|
||||||
|
|
||||||
# List common SoC features, may need to add touchscreen for specific machines
|
# List common SoC features, may need to add touchscreen for specific machines
|
||||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu"
|
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet"
|
||||||
|
|
||||||
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
|
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
|
||||||
WKS_FILE ?= "sdimage-2part.wks"
|
WKS_FILE ?= "sdimage-2part.wks"
|
||||||
|
|||||||
Reference in New Issue
Block a user