All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-ti][zeus/master][PATCH 1/2] ti-sgx-ddk-um: bump SRCREV for zeus support
@ 2020-02-13 16:29 Andrew F. Davis
  2020-02-13 16:29 ` [meta-ti][zeus/master][PATCH 2/2] ti-sgx-ddk-km: Enable SGX driver for Beagleboard and Pandaboard Andrew F. Davis
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Andrew F. Davis @ 2020-02-13 16:29 UTC (permalink / raw)
  To: Denys Dmytriyenko, Gowtham Tammana; +Cc: meta-ti, Andrew F . Davis

This also allows us to do two extra tasks so lets do them here:
 - Add support back for Beagleboard and Pandaboard
 - Remove plugins workaround as SO names are handled correctly now

Signed-off-by: Andrew F. Davis <afd@ti.com>
---
 .../libgles/ti-sgx-ddk-um_1.17.4948957.bb     | 19 +++++++------------
 1 file changed, 7 insertions(+), 12 deletions(-)

diff --git a/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb b/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb
index ecf3ffcc..129d5cee 100644
--- a/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb
+++ b/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb
@@ -4,19 +4,21 @@ LICENSE = "TI-TSPA"
 LIC_FILES_CHKSUM = "file://TI-Linux-Graphics-DDK-UM-Manifest.doc;md5=b17390502bc89535c86cfbbae961a2a8"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k3"
+COMPATIBLE_MACHINE = "pandaboard|beagleboard|ti33x|ti43x|omap-a15|k3"
 
-PR = "r34"
+PR = "r35"
 
-BRANCH = "ti-img-sgx/thud/${PV}"
+BRANCH = "ti-img-sgx/zeus/${PV}"
 
 SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
-SRCREV = "2a2e5bb090ced870d73ed4edbc54793e952cc6d8"
+SRCREV = "ce7b96b88d31da27af5b3a2a890aba180a014fc4"
 
 TARGET_PRODUCT_omap-a15 = "jacinto6evm"
 TARGET_PRODUCT_ti33x = "ti335x"
 TARGET_PRODUCT_ti43x = "ti437x"
 TARGET_PRODUCT_k3 = "ti654x"
+TARGET_PRODUCT_beagleboard = "ti343x"
+TARGET_PRODUCT_pandaboard = "ti443x"
 
 INITSCRIPT_NAME = "rc.pvr"
 INITSCRIPT_PARAMS = "defaults 8"
@@ -59,14 +61,7 @@ FILES_${PN} += " ${libdir}/*"
 FILES_${PN} +=  "${includedir}/*"
 FILES_${PN} +=  "${sysconfdir}/*"
 
-PACKAGES =+ "${PN}-plugins"
-FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLESv1_CM.so ${libdir}/libGLES_CM.so ${libdir}/libGLESv1_PVR_MESA.so ${libdir}/libGLESv2_PVR_MESA.so"
-RDEPENDS_${PN} += "${PN}-plugins"
-
-ALLOW_EMPTY_${PN}-plugins = "1"
-
 INSANE_SKIP_${PN} += "dev-so ldflags useless-rpaths"
-INSANE_SKIP_${PN}-plugins = "dev-so"
-INSANE_SKIP_${PN} += "already-stripped"
+INSANE_SKIP_${PN} += "already-stripped dev-deps"
 
 CLEANBROKEN = "1"
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [meta-ti][zeus/master][PATCH 2/2] ti-sgx-ddk-km: Enable SGX driver for Beagleboard and Pandaboard
  2020-02-13 16:29 [meta-ti][zeus/master][PATCH 1/2] ti-sgx-ddk-um: bump SRCREV for zeus support Andrew F. Davis
@ 2020-02-13 16:29 ` Andrew F. Davis
  2020-02-13 16:40 ` [meta-ti][zeus/master][PATCH 1/2] ti-sgx-ddk-um: bump SRCREV for zeus support Andrew F. Davis
  2020-02-13 18:49 ` Denys Dmytriyenko
  2 siblings, 0 replies; 5+ messages in thread
From: Andrew F. Davis @ 2020-02-13 16:29 UTC (permalink / raw)
  To: Denys Dmytriyenko, Gowtham Tammana; +Cc: meta-ti, Andrew F . Davis

These boards have SGX GPUs but do not build as this recipe is not
compatible with them, add compatibles for these machines.

Signed-off-by: Andrew F. Davis <afd@ti.com>
---
 recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb b/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb
index 47581f63..14010137 100644
--- a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb
+++ b/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://eurasia_km/README;beginline=13;endline=22;md5=74506d9
 
 inherit module
 
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k3"
+COMPATIBLE_MACHINE = "pandaboard|beagleboard|ti33x|ti43x|omap-a15|k3"
 
 MACHINE_KERNEL_PR_append = "t"
 PR = "${MACHINE_KERNEL_PR}"
@@ -30,6 +30,8 @@ TARGET_PRODUCT_omap-a15 = "jacinto6evm"
 TARGET_PRODUCT_ti33x = "ti335x"
 TARGET_PRODUCT_ti43x = "ti437x"
 TARGET_PRODUCT_k3 = "ti654x"
+TARGET_PRODUCT_beagleboard = "ti343x"
+TARGET_PRODUCT_pandaboard = "ti443x"
 
 EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" TARGET_PRODUCT=${TARGET_PRODUCT} WINDOW_SYSTEM=nulldrmws'
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [meta-ti][zeus/master][PATCH 1/2] ti-sgx-ddk-um: bump SRCREV for zeus support
  2020-02-13 16:29 [meta-ti][zeus/master][PATCH 1/2] ti-sgx-ddk-um: bump SRCREV for zeus support Andrew F. Davis
  2020-02-13 16:29 ` [meta-ti][zeus/master][PATCH 2/2] ti-sgx-ddk-km: Enable SGX driver for Beagleboard and Pandaboard Andrew F. Davis
@ 2020-02-13 16:40 ` Andrew F. Davis
  2020-02-13 18:49 ` Denys Dmytriyenko
  2 siblings, 0 replies; 5+ messages in thread
From: Andrew F. Davis @ 2020-02-13 16:40 UTC (permalink / raw)
  To: Denys Dmytriyenko, Gowtham Tammana; +Cc: meta-ti

On 2/13/20 11:29 AM, Andrew F. Davis wrote:
> This also allows us to do two extra tasks so lets do them here:
>  - Add support back for Beagleboard and Pandaboard
>  - Remove plugins workaround as SO names are handled correctly now
> 
> Signed-off-by: Andrew F. Davis <afd@ti.com>
> ---


There are a couple meta-arago side fixes to get weston/matrix to start
automatically, but with this I can start weston, kmscube, glmark2, and
other demos manually.

There is an issue with AM335x in that the rather limited tilcdc driver
only supports "RG16 BG24 XB24" pixel formats, but most applications
expect the availability the GBM native formats AR24 and XR24, we may
have to look into the red-blue wire swapping on the kernel side.

Andrew


>  .../libgles/ti-sgx-ddk-um_1.17.4948957.bb     | 19 +++++++------------
>  1 file changed, 7 insertions(+), 12 deletions(-)
> 
> diff --git a/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb b/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb
> index ecf3ffcc..129d5cee 100644
> --- a/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb
> +++ b/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb
> @@ -4,19 +4,21 @@ LICENSE = "TI-TSPA"
>  LIC_FILES_CHKSUM = "file://TI-Linux-Graphics-DDK-UM-Manifest.doc;md5=b17390502bc89535c86cfbbae961a2a8"
>  
>  PACKAGE_ARCH = "${MACHINE_ARCH}"
> -COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k3"
> +COMPATIBLE_MACHINE = "pandaboard|beagleboard|ti33x|ti43x|omap-a15|k3"
>  
> -PR = "r34"
> +PR = "r35"
>  
> -BRANCH = "ti-img-sgx/thud/${PV}"
> +BRANCH = "ti-img-sgx/zeus/${PV}"
>  
>  SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
> -SRCREV = "2a2e5bb090ced870d73ed4edbc54793e952cc6d8"
> +SRCREV = "ce7b96b88d31da27af5b3a2a890aba180a014fc4"
>  
>  TARGET_PRODUCT_omap-a15 = "jacinto6evm"
>  TARGET_PRODUCT_ti33x = "ti335x"
>  TARGET_PRODUCT_ti43x = "ti437x"
>  TARGET_PRODUCT_k3 = "ti654x"
> +TARGET_PRODUCT_beagleboard = "ti343x"
> +TARGET_PRODUCT_pandaboard = "ti443x"
>  
>  INITSCRIPT_NAME = "rc.pvr"
>  INITSCRIPT_PARAMS = "defaults 8"
> @@ -59,14 +61,7 @@ FILES_${PN} += " ${libdir}/*"
>  FILES_${PN} +=  "${includedir}/*"
>  FILES_${PN} +=  "${sysconfdir}/*"
>  
> -PACKAGES =+ "${PN}-plugins"
> -FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLESv1_CM.so ${libdir}/libGLES_CM.so ${libdir}/libGLESv1_PVR_MESA.so ${libdir}/libGLESv2_PVR_MESA.so"
> -RDEPENDS_${PN} += "${PN}-plugins"
> -
> -ALLOW_EMPTY_${PN}-plugins = "1"
> -
>  INSANE_SKIP_${PN} += "dev-so ldflags useless-rpaths"
> -INSANE_SKIP_${PN}-plugins = "dev-so"
> -INSANE_SKIP_${PN} += "already-stripped"
> +INSANE_SKIP_${PN} += "already-stripped dev-deps"
>  
>  CLEANBROKEN = "1"
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-ti][zeus/master][PATCH 1/2] ti-sgx-ddk-um: bump SRCREV for zeus support
  2020-02-13 16:29 [meta-ti][zeus/master][PATCH 1/2] ti-sgx-ddk-um: bump SRCREV for zeus support Andrew F. Davis
  2020-02-13 16:29 ` [meta-ti][zeus/master][PATCH 2/2] ti-sgx-ddk-km: Enable SGX driver for Beagleboard and Pandaboard Andrew F. Davis
  2020-02-13 16:40 ` [meta-ti][zeus/master][PATCH 1/2] ti-sgx-ddk-um: bump SRCREV for zeus support Andrew F. Davis
@ 2020-02-13 18:49 ` Denys Dmytriyenko
  2020-02-13 20:06   ` Andrew F. Davis
  2 siblings, 1 reply; 5+ messages in thread
From: Denys Dmytriyenko @ 2020-02-13 18:49 UTC (permalink / raw)
  To: Andrew F. Davis; +Cc: Gowtham Tammana, meta-ti

On Thu, Feb 13, 2020 at 11:29:57AM -0500, Andrew F. Davis wrote:
> This also allows us to do two extra tasks so lets do them here:
>  - Add support back for Beagleboard and Pandaboard
>  - Remove plugins workaround as SO names are handled correctly now

Thanks for the update and for taking care of these 2 extra items!


> Signed-off-by: Andrew F. Davis <afd@ti.com>
> ---
>  .../libgles/ti-sgx-ddk-um_1.17.4948957.bb     | 19 +++++++------------
>  1 file changed, 7 insertions(+), 12 deletions(-)
> 
> diff --git a/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb b/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb
> index ecf3ffcc..129d5cee 100644
> --- a/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb
> +++ b/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb
> @@ -4,19 +4,21 @@ LICENSE = "TI-TSPA"
>  LIC_FILES_CHKSUM = "file://TI-Linux-Graphics-DDK-UM-Manifest.doc;md5=b17390502bc89535c86cfbbae961a2a8"
>  
>  PACKAGE_ARCH = "${MACHINE_ARCH}"
> -COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k3"
> +COMPATIBLE_MACHINE = "pandaboard|beagleboard|ti33x|ti43x|omap-a15|k3"
>  
> -PR = "r34"
> +PR = "r35"
>  
> -BRANCH = "ti-img-sgx/thud/${PV}"
> +BRANCH = "ti-img-sgx/zeus/${PV}"
>  
>  SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
> -SRCREV = "2a2e5bb090ced870d73ed4edbc54793e952cc6d8"
> +SRCREV = "ce7b96b88d31da27af5b3a2a890aba180a014fc4"
>  
>  TARGET_PRODUCT_omap-a15 = "jacinto6evm"
>  TARGET_PRODUCT_ti33x = "ti335x"
>  TARGET_PRODUCT_ti43x = "ti437x"
>  TARGET_PRODUCT_k3 = "ti654x"
> +TARGET_PRODUCT_beagleboard = "ti343x"
> +TARGET_PRODUCT_pandaboard = "ti443x"
>  
>  INITSCRIPT_NAME = "rc.pvr"
>  INITSCRIPT_PARAMS = "defaults 8"
> @@ -59,14 +61,7 @@ FILES_${PN} += " ${libdir}/*"
>  FILES_${PN} +=  "${includedir}/*"
>  FILES_${PN} +=  "${sysconfdir}/*"
>  
> -PACKAGES =+ "${PN}-plugins"
> -FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLESv1_CM.so ${libdir}/libGLES_CM.so ${libdir}/libGLESv1_PVR_MESA.so ${libdir}/libGLESv2_PVR_MESA.so"
> -RDEPENDS_${PN} += "${PN}-plugins"
> -
> -ALLOW_EMPTY_${PN}-plugins = "1"
> -
>  INSANE_SKIP_${PN} += "dev-so ldflags useless-rpaths"
> -INSANE_SKIP_${PN}-plugins = "dev-so"
> -INSANE_SKIP_${PN} += "already-stripped"
> +INSANE_SKIP_${PN} += "already-stripped dev-deps"

What's new dev-deps is for?


>  CLEANBROKEN = "1"
> -- 
> 2.17.1
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-ti][zeus/master][PATCH 1/2] ti-sgx-ddk-um: bump SRCREV for zeus support
  2020-02-13 18:49 ` Denys Dmytriyenko
@ 2020-02-13 20:06   ` Andrew F. Davis
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew F. Davis @ 2020-02-13 20:06 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: Gowtham Tammana, meta-ti

On 2/13/20 1:49 PM, Denys Dmytriyenko wrote:
> On Thu, Feb 13, 2020 at 11:29:57AM -0500, Andrew F. Davis wrote:
>> This also allows us to do two extra tasks so lets do them here:
>>  - Add support back for Beagleboard and Pandaboard
>>  - Remove plugins workaround as SO names are handled correctly now
> 
> Thanks for the update and for taking care of these 2 extra items!
> 
> 
>> Signed-off-by: Andrew F. Davis <afd@ti.com>
>> ---
>>  .../libgles/ti-sgx-ddk-um_1.17.4948957.bb     | 19 +++++++------------
>>  1 file changed, 7 insertions(+), 12 deletions(-)
>>
>> diff --git a/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb b/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb
>> index ecf3ffcc..129d5cee 100644
>> --- a/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb
>> +++ b/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb
>> @@ -4,19 +4,21 @@ LICENSE = "TI-TSPA"
>>  LIC_FILES_CHKSUM = "file://TI-Linux-Graphics-DDK-UM-Manifest.doc;md5=b17390502bc89535c86cfbbae961a2a8"
>>  
>>  PACKAGE_ARCH = "${MACHINE_ARCH}"
>> -COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k3"
>> +COMPATIBLE_MACHINE = "pandaboard|beagleboard|ti33x|ti43x|omap-a15|k3"
>>  
>> -PR = "r34"
>> +PR = "r35"
>>  
>> -BRANCH = "ti-img-sgx/thud/${PV}"
>> +BRANCH = "ti-img-sgx/zeus/${PV}"
>>  
>>  SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
>> -SRCREV = "2a2e5bb090ced870d73ed4edbc54793e952cc6d8"
>> +SRCREV = "ce7b96b88d31da27af5b3a2a890aba180a014fc4"
>>  
>>  TARGET_PRODUCT_omap-a15 = "jacinto6evm"
>>  TARGET_PRODUCT_ti33x = "ti335x"
>>  TARGET_PRODUCT_ti43x = "ti437x"
>>  TARGET_PRODUCT_k3 = "ti654x"
>> +TARGET_PRODUCT_beagleboard = "ti343x"
>> +TARGET_PRODUCT_pandaboard = "ti443x"
>>  
>>  INITSCRIPT_NAME = "rc.pvr"
>>  INITSCRIPT_PARAMS = "defaults 8"
>> @@ -59,14 +61,7 @@ FILES_${PN} += " ${libdir}/*"
>>  FILES_${PN} +=  "${includedir}/*"
>>  FILES_${PN} +=  "${sysconfdir}/*"
>>  
>> -PACKAGES =+ "${PN}-plugins"
>> -FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLESv1_CM.so ${libdir}/libGLES_CM.so ${libdir}/libGLESv1_PVR_MESA.so ${libdir}/libGLESv2_PVR_MESA.so"
>> -RDEPENDS_${PN} += "${PN}-plugins"
>> -
>> -ALLOW_EMPTY_${PN}-plugins = "1"
>> -
>>  INSANE_SKIP_${PN} += "dev-so ldflags useless-rpaths"
>> -INSANE_SKIP_${PN}-plugins = "dev-so"
>> -INSANE_SKIP_${PN} += "already-stripped"
>> +INSANE_SKIP_${PN} += "already-stripped dev-deps"
> 
> What's new dev-deps is for?
> 


The DRI driver is called: dri/pvr_dri.so, the check looks for anything
linking to a .so and thinks there is a runtime dependency on the -dev
package. There would be if we didn't force dri/pvr_dri.so to get shipped
as part of the normal package.

Andrew


> 
>>  CLEANBROKEN = "1"
>> -- 
>> 2.17.1
>>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-02-13 20:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-13 16:29 [meta-ti][zeus/master][PATCH 1/2] ti-sgx-ddk-um: bump SRCREV for zeus support Andrew F. Davis
2020-02-13 16:29 ` [meta-ti][zeus/master][PATCH 2/2] ti-sgx-ddk-km: Enable SGX driver for Beagleboard and Pandaboard Andrew F. Davis
2020-02-13 16:40 ` [meta-ti][zeus/master][PATCH 1/2] ti-sgx-ddk-um: bump SRCREV for zeus support Andrew F. Davis
2020-02-13 18:49 ` Denys Dmytriyenko
2020-02-13 20:06   ` Andrew F. Davis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.