Skip to contentSkip to conversation

uio-test-pruss: add support for k2g

PATCH In review Hongmei Gou 3 participants 4 messages Sep 25, 2017 – Sep 26, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 uio-test-pruss: add support for k2g

---
Note: the patch of "uio-test_pruss: Update to new version 1.0.2.0"
needs to be applied first before applying this patch.

 recipes-ti/uio-test-pruss/uio-test-pruss_git.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-ti/uio-test-pruss/uio-test-pruss_git.bb +2 -1
index 0fae726..cbae1b1 100644
@@ -21,7 +21,7 @@ SRCREV = "${UIO_TEST_PRUSS_SRCREV}"
 
 PR = "r0"
 
-COMPATIBLE_MACHINE = "omap-a15|ti33x|ti43x"
+COMPATIBLE_MACHINE = "omap-a15|ti33x|ti43x|k2g"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
@@ -29,6 +29,7 @@ DEVICE_NAME = ""
 DEVICE_NAME_append_am57xx-evm = "am57xx"
 DEVICE_NAME_append_ti33x = "am33xx"
 DEVICE_NAME_append_ti43x = "am43xx"
+DEVICE_NAME_append_k2g = "k2g"
 
 EXTRA_OEMAKE = "CGT_PRU=${TI_CGT_PRU_INSTALL_DIR} DEVICE=${DEVICE_NAME}"
 
Signature · 1 line
1.9.1
#1 lore raw

PATCH 2/2 uio-module-drv-test: include pruss_uio_test for k2g

---
 recipes-bsp/uio-module-drv/uio-module-drv-test_git.bb | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
recipes-bsp/uio-module-drv/uio-module-drv-test_git.bb +6 -1
index ccd8f2c..3a4fb1b 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "Test code for user space IO (UIO) driver"
 
 include uio-module-drv.inc
 
-PR = "r0"
+PR = "r1"
 
 COMPATIBLE_MACHINE = "keystone|omap-a15|ti33x|ti43x"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -11,6 +11,7 @@ DEVICE_NAME_omap-a15 = "am57xx"
 DEVICE_NAME_ti33x = "am33xx"
 DEVICE_NAME_ti43x = "am43xx"
 DEVICE_NAME_keystone = "keystone"
+DEVICE_NAME_k2g = "k2g"
 RDEPENDS_${PN} = "uio-module-drv"
 
 do_compile() {
@@ -27,6 +28,10 @@ do_install_append_keystone () {
 	install -c -m 755 ${S}/test/uio_cic2_int_multithread_test ${D}${bindir}/.
 }
 
+do_install_append_k2g () {
+        install -c -m 755 ${S}/test/prussdrv_test/test/pruss_uio_test ${D}${bindir}/.
+}
+
 do_install_append_omap-a15 () {
 	install -c -m 755 ${S}/test/prussdrv_test/test/pruss_uio_test ${D}${bindir}/.
 }
Signature · 1 line
1.9.1
#2 lore raw
In reply to Hongmei Gou
Quoted 4 lines · Hongmei Gou

---
Note: the patch of "uio-test_pruss: Update to new version 1.0.2.0"
needs to be applied first before applying this patch.

uio-test_pruss was already in morty-next for few days, along with some other patches, blocked by waiting for the final release tag on morty...

Quoted 32 lines
 recipes-ti/uio-test-pruss/uio-test-pruss_git.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-ti/uio-test-pruss/uio-test-pruss_git.bb +2 -1
index 0fae726..cbae1b1 100644
@@ -21,7 +21,7 @@ SRCREV = "${UIO_TEST_PRUSS_SRCREV}"
 
 PR = "r0"
 
-COMPATIBLE_MACHINE = "omap-a15|ti33x|ti43x"
+COMPATIBLE_MACHINE = "omap-a15|ti33x|ti43x|k2g"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
@@ -29,6 +29,7 @@ DEVICE_NAME = ""
 DEVICE_NAME_append_am57xx-evm = "am57xx"
 DEVICE_NAME_append_ti33x = "am33xx"
 DEVICE_NAME_append_ti43x = "am43xx"
+DEVICE_NAME_append_k2g = "k2g"
 
 EXTRA_OEMAKE = "CGT_PRU=${TI_CGT_PRU_INSTALL_DIR} DEVICE=${DEVICE_NAME}"
 
Signature · 7 lines
1.9.1

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

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Tuesday, September 26, 2017 1:24 PM
To: Gou, Hongmei
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH 1/2] uio-test-pruss: add support for k2g

Quoted 9 lines
Quoted 4 lines · Hongmei Gou

---
Note: the patch of "uio-test_pruss: Update to new version 1.0.2.0"
needs to be applied first before applying this patch.

uio-test_pruss was already in morty-next for few days, along with some other patches, blocked by waiting for the final release tag on morty...

Yes, this patch is on top of the version in morty-next to add the k2g support.

Quoted 35 lines

recipes-ti/uio-

Quoted 5 lines
 recipes-ti/uio-test-pruss/uio-test-pruss_git.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-ti/uio- renamed from recipes-ti/uio-test-pruss/uio-test-pruss_git.bb +0 -0

test-pruss/uio-test-pruss_git.bb

Quoted 13 lines

index 0fae726..cbae1b1 100644

recipes-ti/uio-test-pruss/uio-test-pruss_git.bb +1 -1
@@ -21,7 +21,7 @@ SRCREV = "${UIO_TEST_PRUSS_SRCREV}"
 
 PR = "r0"
 
-COMPATIBLE_MACHINE = "omap-a15|ti33x|ti43x"
+COMPATIBLE_MACHINE = "omap-a15|ti33x|ti43x|k2g"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 

recipes-ti/uio-test-pruss/uio-test-pruss_git.bb DEVICE_NAME = "" · line 34

Quoted 6 lines
recipes-ti/uio-test-pruss/uio-test-pruss_git.bb +1 -0
@@ -29,6 +29,7 @@ DEVICE_NAME = ""
 DEVICE_NAME_append_am57xx-evm = "am57xx"
 DEVICE_NAME_append_ti33x = "am33xx"
 DEVICE_NAME_append_ti43x = "am43xx"
+DEVICE_NAME_append_k2g = "k2g"
 
 EXTRA_OEMAKE = "CGT_PRU=${TI_CGT_PRU_INSTALL_DIR}

DEVICE=${DEVICE_NAME}"

Quoted 9 lines
recipes-ti/uio-test-pruss/uio-test-pruss_git.bb +0 -1
--

1.9.1

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