Skip to contentSkip to conversation

uio-module-drv: Update to new version 2.1.0.0

PATCH In review Sam Nelson 1 participant 3 messages Jun 20, 2016

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

PATCH v2 1/2 uio-module-drv: Update to new version 2.1.0.0

One API change in read/write
Additional test code added

---
 recipes-bsp/uio-module-drv/uio-module-drv-test_git.bb | 18 +++++++++++++++---
 recipes-bsp/uio-module-drv/uio-module-drv.inc         |  6 +++---
 2 files changed, 18 insertions(+), 6 deletions(-)
recipes-bsp/uio-module-drv/uio-module-drv-test_git.bb +15 -3
index 3134a03..1923b36 100644
@@ -2,16 +2,28 @@ DESCRIPTION = "Test code for user space IO (UIO) driver"
 
 include uio-module-drv.inc
 
-PR = "r1"
+PR = "r0"
 
-COMPATIBLE_MACHINE = "keystone"
+COMPATIBLE_MACHINE = "keystone|am57xx-evm"
+
+DEVICE_NAME_am57xx-evm = "am57xx"
+DEVICE_NAME_keystone-evm = "keystone"
 RDEPENDS_${PN} = "uio-module-drv"
 
 do_compile() {
-	oe_runmake -C ${S} test
+	oe_runmake -C ${S} test "DEVICE=${DEVICE_NAME}"
 }
 
 do_install() {
 	install -d ${D}${bindir}/
+	install -c -m 755 ${S}/test/uio_mem_test ${D}${bindir}/.
+	install -c -m 755 ${S}/test/uio_int_test ${D}${bindir}/.
+}
+
+do_install_append_keystone () {
 	install -c -m 755 ${S}/test/uio_cic2_int_multithread_test ${D}${bindir}/.
 }
+
+do_install_append_am57xx-evm () {
+	install -c -m 755 ${S}/test/prussdrv_test/test/pruss_uio_test ${D}${bindir}/.
+}
recipes-bsp/uio-module-drv/uio-module-drv.inc +3 -3
index 161c45b..88eab76 100644
@@ -2,10 +2,10 @@ LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2b7c96eb2aed7b0f6f922214dbde9016"
 
 BRANCH = "master"
-# This corresponds to version 02.00.00.00
-SRCREV = "6a7eda36e390658593a5b8d87b0f00beb3997240"
+# This corresponds to version 02.01.00.00
+SRCREV = "19761495883bf8fb2670b0929d255135bd295dcb"
 
-PV = "2.0.0.0+git${SRCPV}"
+PV = "2.1.0.0+git${SRCPV}"
 
 SRC_URI = "git://git.ti.com/keystone-linux/uio-module-drv.git;protocol=git;branch=${BRANCH}"
 
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH v2 2/2 mpm-transport: Update to new version 2.0.1.2

- Adapts to API change in uio-module-drv

---
 recipes-ti/mpm-transport/mpm-transport_git.bb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
recipes-ti/mpm-transport/mpm-transport_git.bb +4 -4
index 473de20..280a5e1 100644
@@ -15,11 +15,11 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 SRC_URI = "git://git.ti.com/keystone-linux/mpm-transport.git;protocol=git;branch=${BRANCH}"
 
 BRANCH = "master"
-# This commit corresponds to tag DEV.MPM-TRANSPORT-02.00.00.01
-SRCREV = "489b669540c5545125ab5d9f3f2cdb5ec5fc09dd"
+# This commit corresponds to tag DEV.MPM-TRANSPORT-02.00.01.02
+SRCREV = "5c1f177b8d5802227dfe7e86fc026620e1e10189"
 
-PV = "2.0.0.1"
-PR = "r1"
+PV = "2.0.1.2"
+PR = "r0"
 
 EXTRA_OEMAKE = "PDK_INSTALL_PATH=${STAGING_INCDIR}"
 EXTRA_OEMAKE_append_k2hk-evm += "HYPLNK_TRANSPORT=true SRIO_TRANSPORT=true"
Signature · 1 line
1.9.1
#2 lore raw
In reply to Sam Nelson

Sorry missed adding change from previous version of patch
---
Version number corrected to 2.1.0.0
---

Quoted 80 lines

-----Original Message-----
From: Nelson, Sam
Sent: Monday, June 20, 2016 4:04 PM
To: [email protected]
Cc: Nelson, Sam
Subject: [PATCH v2 1/2] uio-module-drv: Update to new version 2.1.0.0

One API change in read/write
Additional test code added

---
 recipes-bsp/uio-module-drv/uio-module-drv-test_git.bb | 18
+++++++++++++++---
 recipes-bsp/uio-module-drv/uio-module-drv.inc         |  6 +++---
 2 files changed, 18 insertions(+), 6 deletions(-)
recipes-bsp/uio-module-drv/uio-module-drv-test_git.bb +0 -0
index 3134a03..1923b36 100644
@@ -2,16 +2,28 @@ DESCRIPTION = "Test code for user space IO (UIO)

driver"

include uio-module-drv.inc

recipes-bsp/uio-module-drv/uio-module-drv-test_git.bb +11 -3
-PR = "r1"
+PR = "r0"
 
-COMPATIBLE_MACHINE = "keystone"
+COMPATIBLE_MACHINE = "keystone|am57xx-evm"
+
+DEVICE_NAME_am57xx-evm = "am57xx"
+DEVICE_NAME_keystone-evm = "keystone"
 RDEPENDS_${PN} = "uio-module-drv"
 
 do_compile() {
-	oe_runmake -C ${S} test
+	oe_runmake -C ${S} test "DEVICE=${DEVICE_NAME}"
 }
 
 do_install() {
 	install -d ${D}${bindir}/
+	install -c -m 755 ${S}/test/uio_mem_test ${D}${bindir}/.
+	install -c -m 755 ${S}/test/uio_int_test ${D}${bindir}/.
+}
+
+do_install_append_keystone () {
 	install -c -m 755 ${S}/test/uio_cic2_int_multithread_test

${D}${bindir}/.
}

recipes-bsp/uio-module-drv/uio-module-drv-test_git.bb +3 -0
+
+do_install_append_am57xx-evm () {
+	install -c -m 755 ${S}/test/prussdrv_test/test/pruss_uio_test

${D}${bindir}/.

recipes-bsp/uio-module-drv/uio-module-drv-test_git.bb +1 -0
+}
recipes- renamed from recipes-bsp/uio-module-drv/uio-module-drv.inc +0 -0

bsp/uio-module-drv/uio-module-drv.inc
index 161c45b..88eab76 100644

recipes-bsp/uio-module-drv/uio-module-drv.inc +0 -0
@@ -2,10 +2,10 @@ LICENSE = "BSD"
 LIC_FILES_CHKSUM =

"file://LICENSE.txt;md5=2b7c96eb2aed7b0f6f922214dbde9016"

BRANCH = "master"
-# This corresponds to version 02.00.00.00 -SRCREV = "6a7eda36e390658593a5b8d87b0f00beb3997240"

recipes-bsp/uio-module-drv/uio-module-drv.inc +3 -1
+# This corresponds to version 02.01.00.00 SRCREV =
+"19761495883bf8fb2670b0929d255135bd295dcb"
 
-PV = "2.0.0.0+git${SRCPV}"
+PV = "2.1.0.0+git${SRCPV}"
 
 SRC_URI = "git://git.ti.com/keystone-linux/uio-module-

drv.git;protocol=git;branch=${BRANCH}"

--
1.9.1