From dddd198b27bfeb90a906a1d7c29ade15920b2508 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Mon, 11 Apr 2022 11:07:56 -0400 Subject: meta-agl-bsp: Update Beaglebone support for Kirkstone Changes: - Update machine template to point into new meta-ti-bsp layer in the meta-ti repository, and update the dynamic layer directory name to match. - meta-ti currently does not have Weston 10.0.0 support, and testing confirms it will not build against the currently provided version of the SGX GPU driver, so disable using it for now. - Even though the GPU driver is not being used ATM, the local patch for ti-sgx-ddk-km to handle AGL toolchain naming has been updated to ease testing meta-ti updates down the road. - The Weston bbappend that had been based on meta-arago's has been removed for now. A re-evaluation of what is needed locally will need to be done when TI have their Weston 10.0.0 support settled. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray Change-Id: Ie61cef722a643791970214710835423a21696694 --- meta-agl-bsp/conf/include/agl_beaglebone.inc | 45 ++++++++++------------------ 1 file changed, 16 insertions(+), 29 deletions(-) (limited to 'meta-agl-bsp/conf') diff --git a/meta-agl-bsp/conf/include/agl_beaglebone.inc b/meta-agl-bsp/conf/include/agl_beaglebone.inc index 6a515d2e5..292a54401 100644 --- a/meta-agl-bsp/conf/include/agl_beaglebone.inc +++ b/meta-agl-bsp/conf/include/agl_beaglebone.inc @@ -1,40 +1,27 @@ # This config is for the beaglebone (inspired from the vayu config). +# DEFAULTTUNE for cortex-a8 +DISTRO_FEATURES:append = " agl-medium-arm-compiler" + +WKS_FILE = "sdimage-bootpart-uuid.wks" + #------------------------------------------------- ## Graphics section ## #------------------------------------------------- PACKAGES_GFX = "ti-sgx-ddk-km" IMAGE_INSTALL:append = " ${PACKAGES_GFX}" +# Enable Gfx Pkgs +MACHINE_FEATURES:append = " gpu" +BB_MULTI_PROVIDER_ALLOWED += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2 virtual/libgles3" -# Enable Gfx Pkgs -MACHINE_FEATURES:append = " sgx" -BB_MULTI_PROVIDER_ALLOWED += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2" - -DEPENDS:remove = "virtual/libgl" +# NOTE: SGX GPU driver use disabled until TI provides updated drivers +# that Weston 10.0.0 can be built against. # Preferred providers -PREFERRED_PROVIDER_virtual/libgles1 = "" -PREFERRED_PROVIDER_virtual/libgles2 = "ti-sgx-ddk-um" -PREFERRED_PROVIDER_virtual/egl = "ti-sgx-ddk-um" -PREFERRED_PROVIDER_virtual/libgbm = "ti-sgx-ddk-um" -PREFERRED_PROVIDER_virtual/mesa = "mesa-gl" - -#------------------------------------------------- -## Multimedia section ## -#------------------------------------------------- - -PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging" -PREFERRED_VERSION_virtual/kernel = "4.9" - -# DEFAULTTUNE for cortex-a8 -DISTRO_FEATURES:append = " agl-medium-arm-compiler" - -SECURITY_CFLAGS:pn-mozjs = "" -SECURITY_LDFLAGS:pn-mozjs = "" -SECURITY_CFLAGS:pn-gpm = "" -SECURITY_LDFLAGS:pn-gpm = "" -SECURITY_CFLAGS:pn-libatasmart = "" -SECURITY_LDFLAGS:pn-libatasmart = "" - -WKS_FILE = "sdimage-bootpart-uuid.wks" +#PREFERRED_PROVIDER_virtual/libgles1 = "" +#PREFERRED_PROVIDER_virtual/libgles2 = "ti-sgx-ddk-um" +#PREFERRED_PROVIDER_virtual/libgles3 = "ti-sgx-ddk-um" +#PREFERRED_PROVIDER_virtual/egl = "ti-sgx-ddk-um" +#PREFERRED_PROVIDER_virtual/libgbm = "ti-sgx-ddk-um" +#PREFERRED_PROVIDER_virtual/mesa = "mesa-gl" -- cgit 1.2.3-korg