Skip to contentSkip to conversation

Enable SGX on k3 (AM654x)

PATCH Superseded Eric Ruei 2 participants 9 messages Jul 13, 2018

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Eric Ruei

author
#0 lore raw

v3 cover Enable SGX on k3 (AM654x)

Enable SGX on k3 (AM654x)

Eric Ruei (3):
conf: machine: k3: enable sgx
ti-sgx-ddk-um: add k3 (AM654x) support
ti-sgx-ddk-km: add k3 (AM654x) support

 conf/machine/include/k3.inc                                 |  4 ++--
 ...ddk-km_1.14.3699939.bb => ti-sgx-ddk-km_1.17.4948957.bb} | 10 ++++------
 recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb      |  1 +
 ...ddk-um_1.14.3699939.bb => ti-sgx-ddk-um_1.17.4948957.bb} | 13 +++++--------
 4 files changed, 12 insertions(+), 16 deletions(-)
 copy recipes-bsp/powervr-drivers/{ti-sgx-ddk-km_1.14.3699939.bb => ti-sgx-ddk-km_1.17.4948957.bb} (75%)
 copy recipes-graphics/libgles/{ti-sgx-ddk-um_1.14.3699939.bb => ti-sgx-ddk-um_1.17.4948957.bb} (87%)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH v3 1/3 conf: machine: k3: enable sgx

---
 conf/machine/include/k3.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
conf/machine/include/k3.inc +2 -2
index 96699db..1c540f3 100644
@@ -28,5 +28,5 @@ MACHINE_GUI_CLASS = "smallscreen"
 UBI_VOLNAME = "rootfs"
 
 # List common SoC features, may need to add touchscreen for specific machines
-MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet pci"
-# Not ready yet - sgx dsp mmip
+MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet pci sgx"
+# Not ready yet - dsp mmip
Signature · 1 line
1.9.1
author
#2 lore raw

PATCH v3 2/3 ti-sgx-ddk-um: add k3 (AM654x) support

In reply to Eric Ruei

- add COMPATIBLE_MACHINE to distinguish AM3/4/5 with K3 (AM654x)
- add k3 support based on SGX DDK 1.17

---
 recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb      |  1 +
 ...ddk-um_1.14.3699939.bb => ti-sgx-ddk-um_1.17.4948957.bb} | 13 +++++--------
 2 files changed, 6 insertions(+), 8 deletions(-)
 copy recipes-graphics/libgles/{ti-sgx-ddk-um_1.14.3699939.bb => ti-sgx-ddk-um_1.17.4948957.bb} (87%)
recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb +1 -0
index d17411e..ef33d3a 100644
@@ -3,6 +3,7 @@ HOMEPAGE = "https://git.ti.com/graphics/omap5-sgx-ddk-um-linux"
 LICENSE = "TI-TSPA"
 LIC_FILES_CHKSUM = "file://TI-Linux-Graphics-DDK-UM-Manifest.doc;md5=550702a031857e0426ef7d6f6cf2d9f4"
 
+COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 BRANCH = "ti-img-sgx/rocko/${PV}"
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb renamed from recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb +5 -8
similarity index 87%
copy from recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb
copy to recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb
index d17411e..8ac772d 100644
@@ -1,14 +1,16 @@
 DESCRIPTION = "Userspace libraries for PowerVR SGX chipset on TI SoCs"
 HOMEPAGE = "https://git.ti.com/graphics/omap5-sgx-ddk-um-linux"
 LICENSE = "TI-TSPA"
-LIC_FILES_CHKSUM = "file://TI-Linux-Graphics-DDK-UM-Manifest.doc;md5=550702a031857e0426ef7d6f6cf2d9f4"
+LIC_FILES_CHKSUM = "file://TI-Linux-Graphics-DDK-UM-Manifest.doc;md5=b17390502bc89535c86cfbbae961a2a8"
+
+COMPATIBLE_MACHINE = "k3"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 BRANCH = "ti-img-sgx/rocko/${PV}"
 
 SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
-SRCREV = "358fe42d34a7570896e5d1639869da564ddd0484"
+SRCREV = "a564d20ec1b6aed55b3e60aa9ff35f3809eca110"
 
 # There's only hardfp version available
 python __anonymous() {
@@ -17,14 +19,9 @@ python __anonymous() {
         return
     pkgn = d.getVar("PN")
     pkgv = d.getVar("PV")
-    if "callconvention-hard" not in tunes:
-        bb.warn("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv))
-        raise bb.parse.SkipPackage("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv))
 }
 
-TARGET_PRODUCT_omap-a15 = "jacinto6evm"
-TARGET_PRODUCT_ti33x = "ti335x"
-TARGET_PRODUCT_ti43x = "ti437x"
+TARGET_PRODUCT_k3 = "ti654x"
 
 INITSCRIPT_NAME = "rc.pvr"
 INITSCRIPT_PARAMS = "defaults 8"
Signature · 1 line
1.9.1
#3 lore raw

Re: [PATCH v3 2/3] ti-sgx-ddk-um: add k3 (AM654x) support

Quoted 49 lines · Eric Ruei

- add COMPATIBLE_MACHINE to distinguish AM3/4/5 with K3 (AM654x)
- add k3 support based on SGX DDK 1.17

---
 recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb      |  1 +
 ...ddk-um_1.14.3699939.bb => ti-sgx-ddk-um_1.17.4948957.bb} | 13 +++++--------
 2 files changed, 6 insertions(+), 8 deletions(-)
 copy recipes-graphics/libgles/{ti-sgx-ddk-um_1.14.3699939.bb => ti-sgx-ddk-um_1.17.4948957.bb} (87%)
recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb +1 -0
index d17411e..ef33d3a 100644
@@ -3,6 +3,7 @@ HOMEPAGE = "https://git.ti.com/graphics/omap5-sgx-ddk-um-linux"
 LICENSE = "TI-TSPA"
 LIC_FILES_CHKSUM = "file://TI-Linux-Graphics-DDK-UM-Manifest.doc;md5=550702a031857e0426ef7d6f6cf2d9f4"
 
+COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 BRANCH = "ti-img-sgx/rocko/${PV}"
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb renamed from recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb +4 -2
similarity index 87%
copy from recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb
copy to recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb
index d17411e..8ac772d 100644
@@ -1,14 +1,16 @@
 DESCRIPTION = "Userspace libraries for PowerVR SGX chipset on TI SoCs"
 HOMEPAGE = "https://git.ti.com/graphics/omap5-sgx-ddk-um-linux"
 LICENSE = "TI-TSPA"
-LIC_FILES_CHKSUM = "file://TI-Linux-Graphics-DDK-UM-Manifest.doc;md5=550702a031857e0426ef7d6f6cf2d9f4"
+LIC_FILES_CHKSUM = "file://TI-Linux-Graphics-DDK-UM-Manifest.doc;md5=b17390502bc89535c86cfbbae961a2a8"
+
+COMPATIBLE_MACHINE = "k3"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 BRANCH = "ti-img-sgx/rocko/${PV}"
 
 SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
-SRCREV = "358fe42d34a7570896e5d1639869da564ddd0484"
+SRCREV = "a564d20ec1b6aed55b3e60aa9ff35f3809eca110"
 
 # There's only hardfp version available
 python __anonymous() {

recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb python __anonymous() { · line 22

Quoted 6 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb renamed from recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb +0 -3
@@ -17,14 +19,9 @@ python __anonymous() {
         return
     pkgn = d.getVar("PN")
     pkgv = d.getVar("PV")
-    if "callconvention-hard" not in tunes:
-        bb.warn("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv))
-        raise bb.parse.SkipPackage("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv))

Please remove the anonymous function entirely - it's useless now.

Quoted 17 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb renamed from recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb +1 -3
 }
 
-TARGET_PRODUCT_omap-a15 = "jacinto6evm"
-TARGET_PRODUCT_ti33x = "ti335x"
-TARGET_PRODUCT_ti43x = "ti437x"
+TARGET_PRODUCT_k3 = "ti654x"
 
 INITSCRIPT_NAME = "rc.pvr"
 INITSCRIPT_PARAMS = "defaults 8"
Signature · 7 lines
1.9.1

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
author
#4 lore raw

Re: [PATCH v3 2/3] ti-sgx-ddk-um: add k3 (AM654x) support

Got it finally.
V4 is coming.

Eric

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Friday, July 13, 2018 3:12 PM
To: Ruei, Eric
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH v3 2/3] ti-sgx-ddk-um: add k3 (AM654x) support

Quoted 49 lines · Eric Ruei

- add COMPATIBLE_MACHINE to distinguish AM3/4/5 with K3 (AM654x)
- add k3 support based on SGX DDK 1.17

---
 recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb      |  1 +
 ...ddk-um_1.14.3699939.bb => ti-sgx-ddk-um_1.17.4948957.bb} | 13 +++++--------
 2 files changed, 6 insertions(+), 8 deletions(-)
 copy recipes-graphics/libgles/{ti-sgx-ddk-um_1.14.3699939.bb => ti-sgx-ddk-um_1.17.4948957.bb} (87%)
recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb +1 -0
index d17411e..ef33d3a 100644
@@ -3,6 +3,7 @@ HOMEPAGE = "https://git.ti.com/graphics/omap5-sgx-ddk-um-linux"
 LICENSE = "TI-TSPA"
 LIC_FILES_CHKSUM = "file://TI-Linux-Graphics-DDK-UM-Manifest.doc;md5=550702a031857e0426ef7d6f6cf2d9f4"
 
+COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 BRANCH = "ti-img-sgx/rocko/${PV}"
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb renamed from recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb +4 -2
similarity index 87%
copy from recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb
copy to recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb
index d17411e..8ac772d 100644
@@ -1,14 +1,16 @@
 DESCRIPTION = "Userspace libraries for PowerVR SGX chipset on TI SoCs"
 HOMEPAGE = "https://git.ti.com/graphics/omap5-sgx-ddk-um-linux"
 LICENSE = "TI-TSPA"
-LIC_FILES_CHKSUM = "file://TI-Linux-Graphics-DDK-UM-Manifest.doc;md5=550702a031857e0426ef7d6f6cf2d9f4"
+LIC_FILES_CHKSUM = "file://TI-Linux-Graphics-DDK-UM-Manifest.doc;md5=b17390502bc89535c86cfbbae961a2a8"
+
+COMPATIBLE_MACHINE = "k3"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 BRANCH = "ti-img-sgx/rocko/${PV}"
 
 SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
-SRCREV = "358fe42d34a7570896e5d1639869da564ddd0484"
+SRCREV = "a564d20ec1b6aed55b3e60aa9ff35f3809eca110"
 
 # There's only hardfp version available
 python __anonymous() {

recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb python __anonymous() { · line 22

Quoted 6 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb renamed from recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb +0 -3
@@ -17,14 +19,9 @@ python __anonymous() {
         return
     pkgn = d.getVar("PN")
     pkgv = d.getVar("PV")
-    if "callconvention-hard" not in tunes:
-        bb.warn("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv))
-        raise bb.parse.SkipPackage("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv))

Please remove the anonymous function entirely - it's useless now.

Quoted 17 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb renamed from recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb +1 -3
 }
 
-TARGET_PRODUCT_omap-a15 = "jacinto6evm"
-TARGET_PRODUCT_ti33x = "ti335x"
-TARGET_PRODUCT_ti43x = "ti437x"
+TARGET_PRODUCT_k3 = "ti654x"
 
 INITSCRIPT_NAME = "rc.pvr"
 INITSCRIPT_PARAMS = "defaults 8"
Signature · 7 lines
1.9.1

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
author
#5 lore raw

PATCH v3 3/3 ti-sgx-ddk-km: add k3 (AM654x) support

In reply to Eric Ruei

- add K3 (AM654x) support based on SGX DDK 1.17

---
 ...gx-ddk-km_1.14.3699939.bb => ti-sgx-ddk-km_1.17.4948957.bb} | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
 copy recipes-bsp/powervr-drivers/{ti-sgx-ddk-km_1.14.3699939.bb => ti-sgx-ddk-km_1.17.4948957.bb} (75%)
recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb renamed from recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb +4 -6
similarity index 75%
copy from recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb
copy to recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb
index a4eb82a..3ce9105 100644
@@ -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"
+COMPATIBLE_MACHINE = "k3"
 
 MACHINE_KERNEL_PR_append = "o"
 PR = "${MACHINE_KERNEL_PR}"
@@ -26,11 +26,9 @@ SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch
 
 S = "${WORKDIR}/git"
 
-SRCREV = "d2b3959738cfcc6209e8e882d1989de790866c8f"
+SRCREV = "b630d462f5fbb86e5f98965ba1af35da1207822f"
 
-TARGET_PRODUCT_omap-a15 = "jacinto6evm"
-TARGET_PRODUCT_ti33x = "ti335x"
-TARGET_PRODUCT_ti43x = "ti437x"
+TARGET_PRODUCT_k3 = "ti654x"
 
 EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" TARGET_PRODUCT=${TARGET_PRODUCT}'
 
@@ -39,5 +37,5 @@ do_compile_prepend() {
 }
 
 do_install() {
-    make -C ${STAGING_KERNEL_DIR} SUBDIRS=${B}/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild INSTALL_MOD_PATH=${D} PREFIX=${STAGING_DIR_HOST} modules_install
+    make -C ${STAGING_KERNEL_DIR} SUBDIRS=${B}/eurasia_km/eurasiacon/binary_omap_linux_xorg_release/target_aarch64/kbuild INSTALL_MOD_PATH=${D} PREFIX=${STAGING_DIR_HOST} modules_install
 }
Signature · 1 line
1.9.1
#6 lore raw

Re: [PATCH v3 3/3] ti-sgx-ddk-km: add k3 (AM654x) support

Quoted 39 lines · Eric Ruei

- add K3 (AM654x) support based on SGX DDK 1.17

---
 ...gx-ddk-km_1.14.3699939.bb => ti-sgx-ddk-km_1.17.4948957.bb} | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
 copy recipes-bsp/powervr-drivers/{ti-sgx-ddk-km_1.14.3699939.bb => ti-sgx-ddk-km_1.17.4948957.bb} (75%)
recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb renamed from recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb +3 -5
similarity index 75%
copy from recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb
copy to recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb
index a4eb82a..3ce9105 100644
@@ -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"
+COMPATIBLE_MACHINE = "k3"
 
 MACHINE_KERNEL_PR_append = "o"
 PR = "${MACHINE_KERNEL_PR}"
@@ -26,11 +26,9 @@ SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch
 
 S = "${WORKDIR}/git"
 
-SRCREV = "d2b3959738cfcc6209e8e882d1989de790866c8f"
+SRCREV = "b630d462f5fbb86e5f98965ba1af35da1207822f"
 
-TARGET_PRODUCT_omap-a15 = "jacinto6evm"
-TARGET_PRODUCT_ti33x = "ti335x"
-TARGET_PRODUCT_ti43x = "ti437x"
+TARGET_PRODUCT_k3 = "ti654x"
 
 EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" TARGET_PRODUCT=${TARGET_PRODUCT}'
 

recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb do_compile_prepend() { · line 40

Quoted 5 lines
recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb renamed from recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb +1 -1
@@ -39,5 +37,5 @@ do_compile_prepend() {
 }
 
 do_install() {
-    make -C ${STAGING_KERNEL_DIR} SUBDIRS=${B}/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild INSTALL_MOD_PATH=${D} PREFIX=${STAGING_DIR_HOST} modules_install
+    make -C ${STAGING_KERNEL_DIR} SUBDIRS=${B}/eurasia_km/eurasiacon/binary_omap_linux_xorg_release/target_aarch64/kbuild INSTALL_MOD_PATH=${D} PREFIX=${STAGING_DIR_HOST} modules_install

BTW, are these binaries with X11 or Wayland support? I see path has xorg here ^^^

Quoted 9 lines
recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb renamed from recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb +0 -0
 }
Signature · 7 lines
1.9.1

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
author
#7 lore raw

Re: [PATCH v3 3/3] ti-sgx-ddk-km: add k3 (AM654x) support

The kernel module is the same for all window system.
The DDK 1.17 provides three window systems (nulldrmws, wayland and org (default)).
I can create the one for nulldrmws by export the environment variable WINDOW_SYSTEM=nulldrmws
Is there a way that I can do that at the recipe?

Best regards,

Eric

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Friday, July 13, 2018 3:15 PM
To: Ruei, Eric
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH v3 3/3] ti-sgx-ddk-km: add k3 (AM654x) support

Quoted 39 lines · Eric Ruei

- add K3 (AM654x) support based on SGX DDK 1.17

---
 ...gx-ddk-km_1.14.3699939.bb => ti-sgx-ddk-km_1.17.4948957.bb} | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
 copy recipes-bsp/powervr-drivers/{ti-sgx-ddk-km_1.14.3699939.bb => ti-sgx-ddk-km_1.17.4948957.bb} (75%)
recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb renamed from recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb +3 -5
similarity index 75%
copy from recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb
copy to recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb
index a4eb82a..3ce9105 100644
@@ -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"
+COMPATIBLE_MACHINE = "k3"
 
 MACHINE_KERNEL_PR_append = "o"
 PR = "${MACHINE_KERNEL_PR}"
@@ -26,11 +26,9 @@ SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch
 
 S = "${WORKDIR}/git"
 
-SRCREV = "d2b3959738cfcc6209e8e882d1989de790866c8f"
+SRCREV = "b630d462f5fbb86e5f98965ba1af35da1207822f"
 
-TARGET_PRODUCT_omap-a15 = "jacinto6evm"
-TARGET_PRODUCT_ti33x = "ti335x"
-TARGET_PRODUCT_ti43x = "ti437x"
+TARGET_PRODUCT_k3 = "ti654x"
 
 EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" TARGET_PRODUCT=${TARGET_PRODUCT}'
 

recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb do_compile_prepend() { · line 40

Quoted 5 lines
recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb renamed from recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb +1 -1
@@ -39,5 +37,5 @@ do_compile_prepend() {
 }
 
 do_install() {
-    make -C ${STAGING_KERNEL_DIR} SUBDIRS=${B}/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild INSTALL_MOD_PATH=${D} PREFIX=${STAGING_DIR_HOST} modules_install
+    make -C ${STAGING_KERNEL_DIR} SUBDIRS=${B}/eurasia_km/eurasiacon/binary_omap_linux_xorg_release/target_aarch64/kbuild INSTALL_MOD_PATH=${D} PREFIX=${STAGING_DIR_HOST} modules_install

BTW, are these binaries with X11 or Wayland support? I see path has xorg here ^^^

Quoted 9 lines
recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb renamed from recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb +0 -0
 }
Signature · 7 lines
1.9.1

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#8 lore raw

Re: [PATCH v3 3/3] ti-sgx-ddk-km: add k3 (AM654x) support

Fair point about kernel module. I was more concerned about UM binaries. I wonder if we should keep the kernel module and its path synced up with UM part, or otherwise it may be confusing...

Signature · 1 line
Denys
Quoted 76 lines · Eric

The kernel module is the same for all window system.
The DDK 1.17 provides three window systems (nulldrmws, wayland and org (default)).
I can create the one for nulldrmws by export the environment variable WINDOW_SYSTEM=nulldrmws
Is there a way that I can do that at the recipe?

Best regards,

Eric

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Friday, July 13, 2018 3:15 PM
To: Ruei, Eric
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH v3 3/3] ti-sgx-ddk-km: add k3 (AM654x) support

Quoted 39 lines · Eric Ruei

- add K3 (AM654x) support based on SGX DDK 1.17

---
 ...gx-ddk-km_1.14.3699939.bb => ti-sgx-ddk-km_1.17.4948957.bb} | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
 copy recipes-bsp/powervr-drivers/{ti-sgx-ddk-km_1.14.3699939.bb => ti-sgx-ddk-km_1.17.4948957.bb} (75%)
recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb renamed from recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb +3 -5
similarity index 75%
copy from recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb
copy to recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb
index a4eb82a..3ce9105 100644
@@ -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"
+COMPATIBLE_MACHINE = "k3"
 
 MACHINE_KERNEL_PR_append = "o"
 PR = "${MACHINE_KERNEL_PR}"
@@ -26,11 +26,9 @@ SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch
 
 S = "${WORKDIR}/git"
 
-SRCREV = "d2b3959738cfcc6209e8e882d1989de790866c8f"
+SRCREV = "b630d462f5fbb86e5f98965ba1af35da1207822f"
 
-TARGET_PRODUCT_omap-a15 = "jacinto6evm"
-TARGET_PRODUCT_ti33x = "ti335x"
-TARGET_PRODUCT_ti43x = "ti437x"
+TARGET_PRODUCT_k3 = "ti654x"
 
 EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" TARGET_PRODUCT=${TARGET_PRODUCT}'
 

recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb do_compile_prepend() { · line 40

Quoted 5 lines
recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb renamed from recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb +1 -1
@@ -39,5 +37,5 @@ do_compile_prepend() {
 }
 
 do_install() {
-    make -C ${STAGING_KERNEL_DIR} SUBDIRS=${B}/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild INSTALL_MOD_PATH=${D} PREFIX=${STAGING_DIR_HOST} modules_install
+    make -C ${STAGING_KERNEL_DIR} SUBDIRS=${B}/eurasia_km/eurasiacon/binary_omap_linux_xorg_release/target_aarch64/kbuild INSTALL_MOD_PATH=${D} PREFIX=${STAGING_DIR_HOST} modules_install

BTW, are these binaries with X11 or Wayland support? I see path has xorg here ^^^

Quoted 9 lines
recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb renamed from recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb +0 -0
 }
Signature · 7 lines
1.9.1

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti