All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/3] Enable SGX on k3 (AM654x)
@ 2018-07-13 20:54 Eric Ruei
  2018-07-13 20:54 ` [PATCH v4 1/3] conf: machine: k3: enable sgx Eric Ruei
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Eric Ruei @ 2018-07-13 20:54 UTC (permalink / raw)
  To: meta-ti

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 ++--
 ...14.3699939.bb => ti-sgx-ddk-km_1.17.4948957.bb} | 12 +++++-------
 .../libgles/ti-sgx-ddk-um_1.14.3699939.bb          |  1 +
 ...14.3699939.bb => ti-sgx-ddk-um_1.17.4948957.bb} | 22 +++++-----------------
 4 files changed, 13 insertions(+), 26 deletions(-)
 copy recipes-bsp/powervr-drivers/{ti-sgx-ddk-km_1.14.3699939.bb => ti-sgx-ddk-km_1.17.4948957.bb} (73%)
 copy recipes-graphics/libgles/{ti-sgx-ddk-um_1.14.3699939.bb => ti-sgx-ddk-um_1.17.4948957.bb} (81%)

-- 
1.9.1



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

* [PATCH v4 1/3] conf: machine: k3: enable sgx
  2018-07-13 20:54 [PATCH v4 0/3] Enable SGX on k3 (AM654x) Eric Ruei
@ 2018-07-13 20:54 ` Eric Ruei
  2018-07-13 20:54 ` [PATCH v4 2/3] ti-sgx-ddk-um: add k3 (AM654x) support Eric Ruei
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Eric Ruei @ 2018-07-13 20:54 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
---
 conf/machine/include/k3.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/conf/machine/include/k3.inc b/conf/machine/include/k3.inc
index 96699db..1c540f3 100644
--- a/conf/machine/include/k3.inc
+++ b/conf/machine/include/k3.inc
@@ -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
-- 
1.9.1



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

* [PATCH v4 2/3] ti-sgx-ddk-um: add k3 (AM654x) support
  2018-07-13 20:54 [PATCH v4 0/3] Enable SGX on k3 (AM654x) Eric Ruei
  2018-07-13 20:54 ` [PATCH v4 1/3] conf: machine: k3: enable sgx Eric Ruei
@ 2018-07-13 20:54 ` Eric Ruei
  2018-07-13 20:54 ` [PATCH v4 3/3] ti-sgx-ddk-km: " Eric Ruei
  2018-07-14  1:15 ` [PATCH v4 0/3] Enable SGX on k3 (AM654x) Denys Dmytriyenko
  3 siblings, 0 replies; 6+ messages in thread
From: Eric Ruei @ 2018-07-13 20:54 UTC (permalink / raw)
  To: meta-ti

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

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
---
 .../libgles/ti-sgx-ddk-um_1.14.3699939.bb          |  1 +
 ...14.3699939.bb => ti-sgx-ddk-um_1.17.4948957.bb} | 22 +++++-----------------
 2 files changed, 6 insertions(+), 17 deletions(-)
 copy recipes-graphics/libgles/{ti-sgx-ddk-um_1.14.3699939.bb => ti-sgx-ddk-um_1.17.4948957.bb} (81%)

diff --git a/recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb b/recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb
index d17411e..ef33d3a 100644
--- a/recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb
+++ b/recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb
@@ -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}"
diff --git a/recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb b/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb
similarity index 81%
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..4718e12 100644
--- a/recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb
+++ b/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb
@@ -1,30 +1,18 @@
 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"
-
-# There's only hardfp version available
-python __anonymous() {
-    tunes = d.getVar("TUNE_FEATURES")
-    if not tunes:
-        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))
-}
+SRCREV = "a564d20ec1b6aed55b3e60aa9ff35f3809eca110"
 
-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"
-- 
1.9.1



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

* [PATCH v4 3/3] ti-sgx-ddk-km: add k3 (AM654x) support
  2018-07-13 20:54 [PATCH v4 0/3] Enable SGX on k3 (AM654x) Eric Ruei
  2018-07-13 20:54 ` [PATCH v4 1/3] conf: machine: k3: enable sgx Eric Ruei
  2018-07-13 20:54 ` [PATCH v4 2/3] ti-sgx-ddk-um: add k3 (AM654x) support Eric Ruei
@ 2018-07-13 20:54 ` Eric Ruei
  2018-07-14  1:15 ` [PATCH v4 0/3] Enable SGX on k3 (AM654x) Denys Dmytriyenko
  3 siblings, 0 replies; 6+ messages in thread
From: Eric Ruei @ 2018-07-13 20:54 UTC (permalink / raw)
  To: meta-ti

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

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
---
 ...-ddk-km_1.14.3699939.bb => ti-sgx-ddk-km_1.17.4948957.bb} | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)
 copy recipes-bsp/powervr-drivers/{ti-sgx-ddk-km_1.14.3699939.bb => ti-sgx-ddk-km_1.17.4948957.bb} (73%)

diff --git a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb b/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb
similarity index 73%
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..5931057 100644
--- a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.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"
+COMPATIBLE_MACHINE = "k3"
 
 MACHINE_KERNEL_PR_append = "o"
 PR = "${MACHINE_KERNEL_PR}"
@@ -26,18 +26,16 @@ 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}'
+EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" TARGET_PRODUCT=${TARGET_PRODUCT} WINDOW_SYSTEM=nulldrmws'
 
 do_compile_prepend() {
     cd ${S}/eurasia_km/eurasiacon/build/linux2/omap_linux
 }
 
 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_nulldrmws_release/target_aarch64/kbuild INSTALL_MOD_PATH=${D} PREFIX=${STAGING_DIR_HOST} modules_install
 }
-- 
1.9.1



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

* Re: [PATCH v4 0/3] Enable SGX on k3 (AM654x)
  2018-07-13 20:54 [PATCH v4 0/3] Enable SGX on k3 (AM654x) Eric Ruei
                   ` (2 preceding siblings ...)
  2018-07-13 20:54 ` [PATCH v4 3/3] ti-sgx-ddk-km: " Eric Ruei
@ 2018-07-14  1:15 ` Denys Dmytriyenko
  2018-07-14 17:36   ` Ruei, Eric
  3 siblings, 1 reply; 6+ messages in thread
From: Denys Dmytriyenko @ 2018-07-14  1:15 UTC (permalink / raw)
  To: Eric Ruei; +Cc: meta-ti

Thanks! Looks good now, I'll merge it.


On Fri, Jul 13, 2018 at 04:54:06PM -0400, Eric Ruei wrote:
> 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 ++--
>  ...14.3699939.bb => ti-sgx-ddk-km_1.17.4948957.bb} | 12 +++++-------
>  .../libgles/ti-sgx-ddk-um_1.14.3699939.bb          |  1 +
>  ...14.3699939.bb => ti-sgx-ddk-um_1.17.4948957.bb} | 22 +++++-----------------
>  4 files changed, 13 insertions(+), 26 deletions(-)
>  copy recipes-bsp/powervr-drivers/{ti-sgx-ddk-km_1.14.3699939.bb => ti-sgx-ddk-km_1.17.4948957.bb} (73%)
>  copy recipes-graphics/libgles/{ti-sgx-ddk-um_1.14.3699939.bb => ti-sgx-ddk-um_1.17.4948957.bb} (81%)
> 
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


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

* Re: [PATCH v4 0/3] Enable SGX on k3 (AM654x)
  2018-07-14  1:15 ` [PATCH v4 0/3] Enable SGX on k3 (AM654x) Denys Dmytriyenko
@ 2018-07-14 17:36   ` Ruei, Eric
  0 siblings, 0 replies; 6+ messages in thread
From: Ruei, Eric @ 2018-07-14 17:36 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-ti

Thank you very much!

Have a wonderful weekend!

Best regards,

Eric


-----Original Message-----
From: Dmytriyenko, Denys 
Sent: Friday, July 13, 2018 9:16 PM
To: Ruei, Eric
Cc: meta-ti@yoctoproject.org
Subject: Re: [meta-ti] [PATCH v4 0/3] Enable SGX on k3 (AM654x)

Thanks! Looks good now, I'll merge it.


On Fri, Jul 13, 2018 at 04:54:06PM -0400, Eric Ruei wrote:
> 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 ++--
>  ...14.3699939.bb => ti-sgx-ddk-km_1.17.4948957.bb} | 12 +++++-------
>  .../libgles/ti-sgx-ddk-um_1.14.3699939.bb          |  1 +
>  ...14.3699939.bb => ti-sgx-ddk-um_1.17.4948957.bb} | 22 +++++-----------------
>  4 files changed, 13 insertions(+), 26 deletions(-)
>  copy recipes-bsp/powervr-drivers/{ti-sgx-ddk-km_1.14.3699939.bb => ti-sgx-ddk-km_1.17.4948957.bb} (73%)
>  copy recipes-graphics/libgles/{ti-sgx-ddk-um_1.14.3699939.bb => ti-sgx-ddk-um_1.17.4948957.bb} (81%)
> 
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


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

end of thread, other threads:[~2018-07-14 17:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-13 20:54 [PATCH v4 0/3] Enable SGX on k3 (AM654x) Eric Ruei
2018-07-13 20:54 ` [PATCH v4 1/3] conf: machine: k3: enable sgx Eric Ruei
2018-07-13 20:54 ` [PATCH v4 2/3] ti-sgx-ddk-um: add k3 (AM654x) support Eric Ruei
2018-07-13 20:54 ` [PATCH v4 3/3] ti-sgx-ddk-km: " Eric Ruei
2018-07-14  1:15 ` [PATCH v4 0/3] Enable SGX on k3 (AM654x) Denys Dmytriyenko
2018-07-14 17:36   ` Ruei, Eric

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.