Skip to contentSkip to conversation

mpm-transport: Update to new version 2.0.0.0

PATCH In review Sam Nelson 2 participants 10 messages Nov 25, 2015 – Nov 30, 2015 Broadcom iproc Arm architecture

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

PATCH 1/2 mpm-transport: Update to new version 2.0.0.0

- Updates to work with kernel version 4.1 and other uio driver changes
- Making the package machine specific and hence the dependencies according to the platform is updated
- Add use of oe_runmake instead of direct call to make

---
 recipes-ti/mpm-transport/mpm-transport_git.bb | 30 ++++++++++++++++-----------
 1 file changed, 18 insertions(+), 12 deletions(-)
recipes-ti/mpm-transport/mpm-transport_git.bb +18 -12
index 752ada5..cc211ce 100644
@@ -3,16 +3,27 @@ HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-transport.git"
 LICENSE = "BSD-3-Clause & MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=122b7757f366f3f6fe11988715258fc9"
 COMPATIBLE_MACHINE = "keystone"
-DEPENDS = "common-csl-ip hyplnk-lld edma3-lld mmap-lld cmem rm-lld qmss-lld cppi-lld srio-lld"
+
+DEPENDS = "common-csl-ip edma3-lld mmap-lld cmem rm-lld qmss-lld cppi-lld uio-module-drv syslog-ng"
+DEPENDS_append_k2hk-evm += "hyplnk-lld srio-lld"
+DEPENDS_append_k2e-evm += "hyplnk-lld"
+
+RDEPENDS_${PN} = "syslog-ng"
+
+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-01.00.08.03
-SRCREV = "f6c5426d68c2be832903b6d215370c94e134167f"
+BRANCH = "linux41"
+# This commit corresponds to tag DEV.MPM-TRANSPORT-02.00.00.00_ENG
+SRCREV = "892e93238b7f9f480ddceb7ade042026a4d178bd"
 
-PV = "1.0.8.3"
-PR = "r1"
+PV = "2.0.0.0"
+PR = "r0"
+
+EXTRA_OEMAKE = "PDK_INSTALL_PATH=${STAGING_INCDIR}"
+EXTRA_OEMAKE_append_k2hk-evm += "HYPLNK_TRANSPORT=true SRIO_TRANSPORT=true"
+EXTRA_OEMAKE_append_k2e-evm += "HYPLNK_TRANSPORT=true"
 
 S = "${WORKDIR}/git"
 
@@ -25,13 +36,8 @@ FILES_${PN}-test = "${bindir}/mpm_transport_test.out \
 					${bindir}/mpm_transport_qmss_arm_mt.out \
 					${bindir}/mpm_transport_srio_arm_mt.out"
 
-do_compile () {
-	cd ${S}
-	make PDK_INSTALL_PATH=${STAGING_INCDIR}
-}
-
 do_install() {
-	make installbin BASE_DIR=${S} INSTALL_BIN_BASE_DIR=${D}/${bindir}
+	oe_runmake installbin BASE_DIR=${S} INSTALL_BIN_BASE_DIR=${D}/${bindir}
 
 	install -d ${D}${includedir}/
 	install -c -m 755 ${S}/include/* ${D}${includedir}/
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 2/2 multiprocmgr: Update to new version 3.0.0.0

- Update to work with kernel version 4.1 and also other uio driver changes.

---
 recipes-ti/multiprocmgr/multiprocmgr.inc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
recipes-ti/multiprocmgr/multiprocmgr.inc +4 -4
index d9360b5..94fa707 100644
@@ -4,10 +4,10 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fce208c498eb9669223724dc9c1d8fe4"
 SECTION = "console"
 COMPATIBLE_MACHINE = "keystone"
 
-BRANCH = "master"
-# The following commits correspond to DEV.MPM-2.00.01.10D
-SRCREV = "4cb6009d6a3c94cea41ae6155a974e9ca44d982f"
-PV = "2.0.1.10"
+BRANCH = "linux41"
+# The following commits correspond to DEV.MPM-3.00.00.00_ENG
+SRCREV = "158e7d419662b482a089fb66ecdfced1104654ae"
+PV = "3.0.0.0"
 
 SRC_URI = "git://git.ti.com/keystone-linux/multi-proc-manager.git;protocol=git;branch=${BRANCH}"
 
Signature · 1 line
1.9.1
#2 lore raw
In reply to Sam Nelson
Quoted 15 lines · Sam Nelson

- Updates to work with kernel version 4.1 and other uio driver changes
- Making the package machine specific and hence the dependencies according to the platform is updated
- Add use of oe_runmake instead of direct call to make

---
 recipes-ti/mpm-transport/mpm-transport_git.bb | 30 ++++++++++++++++-----------
 1 file changed, 18 insertions(+), 12 deletions(-)
recipes-ti/mpm-transport/mpm-transport_git.bb +0 -0
index 752ada5..cc211ce 100644

recipes-ti/mpm-transport/mpm-transport_git.bb HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-transport.git" · line 7

Quoted 6 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +2 -1
@@ -3,16 +3,27 @@ HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-transport.git"
 LICENSE = "BSD-3-Clause & MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=122b7757f366f3f6fe11988715258fc9"
 COMPATIBLE_MACHINE = "keystone"
-DEPENDS = "common-csl-ip hyplnk-lld edma3-lld mmap-lld cmem rm-lld qmss-lld cppi-lld srio-lld"
+
+DEPENDS = "common-csl-ip edma3-lld mmap-lld cmem rm-lld qmss-lld cppi-lld uio-module-drv syslog-ng"

http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-bsp/mmap-lld/mmap-lld.inc?h=fido#n3
Will fail for k2l and k2g...

Quoted 50 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +16 -11
+DEPENDS_append_k2hk-evm += "hyplnk-lld srio-lld"
+DEPENDS_append_k2e-evm += "hyplnk-lld"
+
+RDEPENDS_${PN} = "syslog-ng"
+
+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-01.00.08.03
-SRCREV = "f6c5426d68c2be832903b6d215370c94e134167f"
+BRANCH = "linux41"
+# This commit corresponds to tag DEV.MPM-TRANSPORT-02.00.00.00_ENG
+SRCREV = "892e93238b7f9f480ddceb7ade042026a4d178bd"
 
-PV = "1.0.8.3"
-PR = "r1"
+PV = "2.0.0.0"
+PR = "r0"
+
+EXTRA_OEMAKE = "PDK_INSTALL_PATH=${STAGING_INCDIR}"
+EXTRA_OEMAKE_append_k2hk-evm += "HYPLNK_TRANSPORT=true SRIO_TRANSPORT=true"
+EXTRA_OEMAKE_append_k2e-evm += "HYPLNK_TRANSPORT=true"
 
 S = "${WORKDIR}/git"
 
@@ -25,13 +36,8 @@ FILES_${PN}-test = "${bindir}/mpm_transport_test.out \
 					${bindir}/mpm_transport_qmss_arm_mt.out \
 					${bindir}/mpm_transport_srio_arm_mt.out"
 
-do_compile () {
-	cd ${S}
-	make PDK_INSTALL_PATH=${STAGING_INCDIR}
-}
-
 do_install() {
-	make installbin BASE_DIR=${S} INSTALL_BIN_BASE_DIR=${D}/${bindir}
+	oe_runmake installbin BASE_DIR=${S} INSTALL_BIN_BASE_DIR=${D}/${bindir}
 
 	install -d ${D}${includedir}/
 	install -c -m 755 ${S}/include/* ${D}${includedir}/
Signature · 7 lines
1.9.1

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

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, November 25, 2015 5:17 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH 1/2] mpm-transport: Update to new version 2.0.0.0

recipes-ti/mpm-transport/mpm-transport_git.bb HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-

Quoted 17 lines · Sam Nelson

- Updates to work with kernel version 4.1 and other uio driver changes
- Making the package machine specific and hence the dependencies according to the platform is updated
- Add use of oe_runmake instead of direct call to make

---
 recipes-ti/mpm-transport/mpm-transport_git.bb | 30
++++++++++++++++-----------
 1 file changed, 18 insertions(+), 12 deletions(-)
recipes-ti/mpm-transport/mpm-transport_git.bb +0 -0
index 752ada5..cc211ce 100644
@@ -3,16 +3,27 @@ HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-

linux/mpm-transport.git"

recipes-ti/mpm-transport/mpm-transport_git.bb HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone- · line 4

Quoted 2 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +0 -0
 LICENSE = "BSD-3-Clause & MIT"
 LIC_FILES_CHKSUM =

"file://LICENSE.txt;md5=122b7757f366f3f6fe11988715258fc9"

recipes-ti/mpm-transport/mpm-transport_git.bb HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone- · line 6

Quoted 2 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +0 -1
 COMPATIBLE_MACHINE = "keystone"
-DEPENDS = "common-csl-ip hyplnk-lld edma3-lld mmap-lld cmem rm-lld
Quoted 8 lines

qmss-lld cppi-lld srio-lld"

recipes-ti/mpm-transport/mpm-transport_git.bb HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone- · line 7

Quoted 2 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +2 -0
+
+DEPENDS = "common-csl-ip edma3-lld mmap-lld cmem rm-lld qmss-lld

cppi-lld uio-module-drv syslog-ng"

http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-bsp/mmap-
lld/mmap-lld.inc?h=fido#n3
Will fail for k2l and k2g...

The mmap-lld recipes need to be updated to build for k2l and k2g. My understanding is same drivers should work.

Quoted 60 lines

recipes-ti/mpm-transport/mpm-transport_git.bb HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-transport.git"

Quoted 10 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +6 -0
+DEPENDS_append_k2hk-evm += "hyplnk-lld srio-lld"
+DEPENDS_append_k2e-evm += "hyplnk-lld"
+
+RDEPENDS_${PN} = "syslog-ng"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 SRC_URI = "git://git.ti.com/keystone-linux/mpm-

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

recipes-ti/mpm-transport/mpm-transport_git.bb HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-transport.git"

Quoted 6 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +2 -3
-BRANCH = "master"
-# This commit corresponds to tag DEV.MPM-TRANSPORT-01.00.08.03
-SRCREV = "f6c5426d68c2be832903b6d215370c94e134167f"
+BRANCH = "linux41"
+# This commit corresponds to tag DEV.MPM-TRANSPORT-

02.00.00.00_ENG

recipes-ti/mpm-transport/mpm-transport_git.bb HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-transport.git"

Quoted 9 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +6 -2
+SRCREV = "892e93238b7f9f480ddceb7ade042026a4d178bd"
 
-PV = "1.0.8.3"
-PR = "r1"
+PV = "2.0.0.0"
+PR = "r0"
+
+EXTRA_OEMAKE = "PDK_INSTALL_PATH=${STAGING_INCDIR}"
+EXTRA_OEMAKE_append_k2hk-evm += "HYPLNK_TRANSPORT=true

SRIO_TRANSPORT=true"

recipes-ti/mpm-transport/mpm-transport_git.bb FILES_${PN}-test =

Quoted 5 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +1 -0
+EXTRA_OEMAKE_append_k2e-evm += "HYPLNK_TRANSPORT=true"
 
 S = "${WORKDIR}/git"
 
@@ -25,13 +36,8 @@ FILES_${PN}-test =

"${bindir}/mpm_transport_test.out \

Quoted 1 line
	${bindir}/mpm_transport_qmss_arm_mt.out \
Quoted 1 line
	${bindir}/mpm_transport_srio_arm_mt.out"

recipes-ti/mpm-transport/mpm-transport_git.bb FILES_${PN}-test = "${bindir}/mpm_transport_test.out \

Quoted 8 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +0 -6
-do_compile () {
-	cd ${S}
-	make PDK_INSTALL_PATH=${STAGING_INCDIR}
-}
-
 do_install() {
-	make installbin BASE_DIR=${S}

INSTALL_BIN_BASE_DIR=${D}/${bindir}

Quoted 13 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +2 -1
+	oe_runmake installbin BASE_DIR=${S}
+INSTALL_BIN_BASE_DIR=${D}/${bindir}
 
 	install -d ${D}${includedir}/
 	install -c -m 755 ${S}/include/* ${D}${includedir}/
--

1.9.1

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

#4 lore raw
Quoted 35 lines · Sam
Quoted 35 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, November 25, 2015 5:17 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH 1/2] mpm-transport: Update to new version 2.0.0.0

recipes-ti/mpm-transport/mpm-transport_git.bb HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-

Quoted 17 lines · Sam Nelson

- Updates to work with kernel version 4.1 and other uio driver changes
- Making the package machine specific and hence the dependencies according to the platform is updated
- Add use of oe_runmake instead of direct call to make

---
 recipes-ti/mpm-transport/mpm-transport_git.bb | 30
++++++++++++++++-----------
 1 file changed, 18 insertions(+), 12 deletions(-)
recipes-ti/mpm-transport/mpm-transport_git.bb +0 -0
index 752ada5..cc211ce 100644
@@ -3,16 +3,27 @@ HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-

linux/mpm-transport.git"

recipes-ti/mpm-transport/mpm-transport_git.bb HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone- · line 4

Quoted 2 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +0 -0
 LICENSE = "BSD-3-Clause & MIT"
 LIC_FILES_CHKSUM =

"file://LICENSE.txt;md5=122b7757f366f3f6fe11988715258fc9"

recipes-ti/mpm-transport/mpm-transport_git.bb HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone- · line 6

Quoted 2 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +0 -1
 COMPATIBLE_MACHINE = "keystone"
-DEPENDS = "common-csl-ip hyplnk-lld edma3-lld mmap-lld cmem rm-lld

qmss-lld cppi-lld srio-lld"

Quoted 8 lines
Quoted 7 lines

recipes-ti/mpm-transport/mpm-transport_git.bb HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone- · line 7

Quoted 2 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +2 -0
+
+DEPENDS = "common-csl-ip edma3-lld mmap-lld cmem rm-lld qmss-lld

cppi-lld uio-module-drv syslog-ng"

http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-bsp/mmap-
lld/mmap-lld.inc?h=fido#n3
Will fail for k2l and k2g...

The mmap-lld recipes need to be updated to build for k2l and k2g. My understanding is same drivers should work.

Well, at least the test part has only k/h/e devices in the list:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-bsp/mmap-lld/mmap-lld-test_git.bb?h=fido#n11

Quoted 58 lines
Quoted 58 lines

recipes-ti/mpm-transport/mpm-transport_git.bb HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-transport.git"

Quoted 8 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +6 -0
+DEPENDS_append_k2hk-evm += "hyplnk-lld srio-lld"
+DEPENDS_append_k2e-evm += "hyplnk-lld"
+
+RDEPENDS_${PN} = "syslog-ng"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 SRC_URI = "git://git.ti.com/keystone-linux/mpm-

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

recipes-ti/mpm-transport/mpm-transport_git.bb HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-transport.git"

Quoted 6 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +2 -3
-BRANCH = "master"
-# This commit corresponds to tag DEV.MPM-TRANSPORT-01.00.08.03
-SRCREV = "f6c5426d68c2be832903b6d215370c94e134167f"
+BRANCH = "linux41"
+# This commit corresponds to tag DEV.MPM-TRANSPORT-

02.00.00.00_ENG

recipes-ti/mpm-transport/mpm-transport_git.bb HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-transport.git"

Quoted 9 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +6 -2
+SRCREV = "892e93238b7f9f480ddceb7ade042026a4d178bd"
 
-PV = "1.0.8.3"
-PR = "r1"
+PV = "2.0.0.0"
+PR = "r0"
+
+EXTRA_OEMAKE = "PDK_INSTALL_PATH=${STAGING_INCDIR}"
+EXTRA_OEMAKE_append_k2hk-evm += "HYPLNK_TRANSPORT=true

SRIO_TRANSPORT=true"

recipes-ti/mpm-transport/mpm-transport_git.bb FILES_${PN}-test =

Quoted 5 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +1 -0
+EXTRA_OEMAKE_append_k2e-evm += "HYPLNK_TRANSPORT=true"
 
 S = "${WORKDIR}/git"
 
@@ -25,13 +36,8 @@ FILES_${PN}-test =

"${bindir}/mpm_transport_test.out \

Quoted 1 line
	${bindir}/mpm_transport_qmss_arm_mt.out \
Quoted 1 line
	${bindir}/mpm_transport_srio_arm_mt.out"

recipes-ti/mpm-transport/mpm-transport_git.bb FILES_${PN}-test = "${bindir}/mpm_transport_test.out \

Quoted 8 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +0 -6
-do_compile () {
-	cd ${S}
-	make PDK_INSTALL_PATH=${STAGING_INCDIR}
-}
-
 do_install() {
-	make installbin BASE_DIR=${S}

INSTALL_BIN_BASE_DIR=${D}/${bindir}

Quoted 13 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +2 -1
+	oe_runmake installbin BASE_DIR=${S}
+INSTALL_BIN_BASE_DIR=${D}/${bindir}
 
 	install -d ${D}${includedir}/
 	install -c -m 755 ${S}/include/* ${D}${includedir}/
--

1.9.1

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

#5 lore raw
Quoted 58 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, November 25, 2015 5:41 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH 1/2] mpm-transport: Update to new version 2.0.0.0

Quoted 47 lines · Sam
Quoted 47 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, November 25, 2015 5:17 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH 1/2] mpm-transport: Update to new version
2.0.0.0

Quoted 18 lines · Sam Nelson

- Updates to work with kernel version 4.1 and other uio driver changes
- Making the package machine specific and hence the dependencies according to the platform is updated
- Add use of oe_runmake instead of direct call to make

---
 recipes-ti/mpm-transport/mpm-transport_git.bb | 30
++++++++++++++++-----------
 1 file changed, 18 insertions(+), 12 deletions(-)
recipes-ti/mpm-transport/mpm-transport_git.bb +0 -0
index 752ada5..cc211ce 100644
@@ -3,16 +3,27 @@ HOMEPAGE =
Quoted 1 line

"http://git.ti.com/cgit/cgit.cgi/keystone-

linux/mpm-transport.git"

Quoted 2 lines

LICENSE = "BSD-3-Clause & MIT"
LIC_FILES_CHKSUM =

"file://LICENSE.txt;md5=122b7757f366f3f6fe11988715258fc9"

Quoted 3 lines

COMPATIBLE_MACHINE = "keystone"
-DEPENDS = "common-csl-ip hyplnk-lld edma3-lld mmap-lld cmem rm-lld

qmss-lld cppi-lld srio-lld"

recipes-ti/mpm-transport/mpm-transport_git.bb

Quoted 2 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +2 -0
+
+DEPENDS = "common-csl-ip edma3-lld mmap-lld cmem rm-lld qmss-lld

cppi-lld uio-module-drv syslog-ng"

http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-bsp/m
map-
lld/mmap-lld.inc?h=fido#n3
Will fail for k2l and k2g...

Quoted 7 lines
Quoted 1 line

The mmap-lld recipes need to be updated to build for k2l and k2g. My

understanding is same drivers should work.

Well, at least the test part has only k/h/e devices in the list:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-bsp/mmap-
lld/mmap-lld-test_git.bb?h=fido#n11

Test part may need update per device. Currently hope this is not a show stopper.

Quoted 60 lines
Quoted 60 lines
Quoted 60 lines

recipes-ti/mpm-transport/mpm-transport_git.bb HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-transport.git"

Quoted 10 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +6 -0
+DEPENDS_append_k2hk-evm += "hyplnk-lld srio-lld"
+DEPENDS_append_k2e-evm += "hyplnk-lld"
+
+RDEPENDS_${PN} = "syslog-ng"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 SRC_URI = "git://git.ti.com/keystone-linux/mpm-

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

recipes-ti/mpm-transport/mpm-transport_git.bb HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-transport.git"

Quoted 6 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +2 -3
-BRANCH = "master"
-# This commit corresponds to tag DEV.MPM-TRANSPORT-01.00.08.03
-SRCREV = "f6c5426d68c2be832903b6d215370c94e134167f"
+BRANCH = "linux41"
+# This commit corresponds to tag DEV.MPM-TRANSPORT-

02.00.00.00_ENG

recipes-ti/mpm-transport/mpm-transport_git.bb HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-transport.git"

Quoted 9 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +6 -2
+SRCREV = "892e93238b7f9f480ddceb7ade042026a4d178bd"
 
-PV = "1.0.8.3"
-PR = "r1"
+PV = "2.0.0.0"
+PR = "r0"
+
+EXTRA_OEMAKE = "PDK_INSTALL_PATH=${STAGING_INCDIR}"
+EXTRA_OEMAKE_append_k2hk-evm += "HYPLNK_TRANSPORT=true

SRIO_TRANSPORT=true"

recipes-ti/mpm-transport/mpm-transport_git.bb FILES_${PN}-test =

Quoted 5 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +1 -0
+EXTRA_OEMAKE_append_k2e-evm += "HYPLNK_TRANSPORT=true"
 
 S = "${WORKDIR}/git"
@@ -25,13 +36,8 @@ FILES_${PN}-test =

"${bindir}/mpm_transport_test.out \

Quoted 1 line
	${bindir}/mpm_transport_qmss_arm_mt.out \
Quoted 1 line
	${bindir}/mpm_transport_srio_arm_mt.out"

recipes-ti/mpm-transport/mpm-transport_git.bb FILES_${PN}-test = "${bindir}/mpm_transport_test.out \

Quoted 8 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +0 -6
-do_compile () {
-	cd ${S}
-	make PDK_INSTALL_PATH=${STAGING_INCDIR}
-}
-
 do_install() {
-	make installbin BASE_DIR=${S}

INSTALL_BIN_BASE_DIR=${D}/${bindir}

Quoted 13 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +2 -1
+	oe_runmake installbin BASE_DIR=${S}
+INSTALL_BIN_BASE_DIR=${D}/${bindir}
 
 	install -d ${D}${includedir}/
 	install -c -m 755 ${S}/include/* ${D}${includedir}/
--

1.9.1

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

#6 lore raw
Quoted 58 lines · Sam
Quoted 58 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, November 25, 2015 5:41 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH 1/2] mpm-transport: Update to new version 2.0.0.0

Quoted 47 lines · Sam
Quoted 47 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, November 25, 2015 5:17 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH 1/2] mpm-transport: Update to new version
2.0.0.0

Quoted 18 lines · Sam Nelson

- Updates to work with kernel version 4.1 and other uio driver changes
- Making the package machine specific and hence the dependencies according to the platform is updated
- Add use of oe_runmake instead of direct call to make

---
 recipes-ti/mpm-transport/mpm-transport_git.bb | 30
++++++++++++++++-----------
 1 file changed, 18 insertions(+), 12 deletions(-)
recipes-ti/mpm-transport/mpm-transport_git.bb +0 -0
index 752ada5..cc211ce 100644
@@ -3,16 +3,27 @@ HOMEPAGE =
Quoted 1 line

"http://git.ti.com/cgit/cgit.cgi/keystone-

linux/mpm-transport.git"

Quoted 2 lines

LICENSE = "BSD-3-Clause & MIT"
LIC_FILES_CHKSUM =

"file://LICENSE.txt;md5=122b7757f366f3f6fe11988715258fc9"

Quoted 3 lines

COMPATIBLE_MACHINE = "keystone"
-DEPENDS = "common-csl-ip hyplnk-lld edma3-lld mmap-lld cmem rm-lld

qmss-lld cppi-lld srio-lld"

recipes-ti/mpm-transport/mpm-transport_git.bb

Quoted 2 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +2 -0
+
+DEPENDS = "common-csl-ip edma3-lld mmap-lld cmem rm-lld qmss-lld

cppi-lld uio-module-drv syslog-ng"

http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-bsp/m
map-
lld/mmap-lld.inc?h=fido#n3
Will fail for k2l and k2g...

Quoted 8 lines
Quoted 7 lines
Quoted 1 line

The mmap-lld recipes need to be updated to build for k2l and k2g. My

understanding is same drivers should work.

Well, at least the test part has only k/h/e devices in the list:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-bsp/mmap-
lld/mmap-lld-test_git.bb?h=fido#n11

Test part may need update per device. Currently hope this is not a show stopper.

So, are you saying mmap-lld can lax the restrictions in the same version? Or do you mean a new version is required?

Quoted 58 lines
Quoted 58 lines
Quoted 58 lines
Quoted 58 lines

recipes-ti/mpm-transport/mpm-transport_git.bb HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-transport.git"

Quoted 8 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +6 -0
+DEPENDS_append_k2hk-evm += "hyplnk-lld srio-lld"
+DEPENDS_append_k2e-evm += "hyplnk-lld"
+
+RDEPENDS_${PN} = "syslog-ng"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 SRC_URI = "git://git.ti.com/keystone-linux/mpm-

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

recipes-ti/mpm-transport/mpm-transport_git.bb HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-transport.git"

Quoted 6 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +2 -3
-BRANCH = "master"
-# This commit corresponds to tag DEV.MPM-TRANSPORT-01.00.08.03
-SRCREV = "f6c5426d68c2be832903b6d215370c94e134167f"
+BRANCH = "linux41"
+# This commit corresponds to tag DEV.MPM-TRANSPORT-

02.00.00.00_ENG

recipes-ti/mpm-transport/mpm-transport_git.bb HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-transport.git"

Quoted 9 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +6 -2
+SRCREV = "892e93238b7f9f480ddceb7ade042026a4d178bd"
 
-PV = "1.0.8.3"
-PR = "r1"
+PV = "2.0.0.0"
+PR = "r0"
+
+EXTRA_OEMAKE = "PDK_INSTALL_PATH=${STAGING_INCDIR}"
+EXTRA_OEMAKE_append_k2hk-evm += "HYPLNK_TRANSPORT=true

SRIO_TRANSPORT=true"

recipes-ti/mpm-transport/mpm-transport_git.bb FILES_${PN}-test =

Quoted 5 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +1 -0
+EXTRA_OEMAKE_append_k2e-evm += "HYPLNK_TRANSPORT=true"
 
 S = "${WORKDIR}/git"
@@ -25,13 +36,8 @@ FILES_${PN}-test =

"${bindir}/mpm_transport_test.out \

Quoted 1 line
	${bindir}/mpm_transport_qmss_arm_mt.out \
Quoted 1 line
	${bindir}/mpm_transport_srio_arm_mt.out"

recipes-ti/mpm-transport/mpm-transport_git.bb FILES_${PN}-test = "${bindir}/mpm_transport_test.out \

Quoted 8 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +0 -6
-do_compile () {
-	cd ${S}
-	make PDK_INSTALL_PATH=${STAGING_INCDIR}
-}
-
 do_install() {
-	make installbin BASE_DIR=${S}

INSTALL_BIN_BASE_DIR=${D}/${bindir}

Quoted 13 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +2 -1
+	oe_runmake installbin BASE_DIR=${S}
+INSTALL_BIN_BASE_DIR=${D}/${bindir}
 
 	install -d ${D}${includedir}/
 	install -c -m 755 ${S}/include/* ${D}${includedir}/
--

1.9.1

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

#7 lore raw
Quoted 78 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, November 25, 2015 5:55 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH 1/2] mpm-transport: Update to new version 2.0.0.0

Quoted 67 lines · Sam
Quoted 67 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, November 25, 2015 5:41 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH 1/2] mpm-transport: Update to new version
2.0.0.0

Quoted 44 lines · Sam
Quoted 44 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, November 25, 2015 5:17 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH 1/2] mpm-transport: Update to new version
2.0.0.0

Quoted 18 lines · Sam Nelson

- Updates to work with kernel version 4.1 and other uio driver changes
- Making the package machine specific and hence the dependencies according to the platform is updated
- Add use of oe_runmake instead of direct call to make

---
 recipes-ti/mpm-transport/mpm-transport_git.bb | 30
++++++++++++++++-----------
 1 file changed, 18 insertions(+), 12 deletions(-)
recipes-ti/mpm-transport/mpm-transport_git.bb +0 -0
index 752ada5..cc211ce 100644
@@ -3,16 +3,27 @@ HOMEPAGE =
Quoted 1 line

"http://git.ti.com/cgit/cgit.cgi/keystone-

linux/mpm-transport.git"

Quoted 2 lines

LICENSE = "BSD-3-Clause & MIT"
LIC_FILES_CHKSUM =

"file://LICENSE.txt;md5=122b7757f366f3f6fe11988715258fc9"

Quoted 3 lines

COMPATIBLE_MACHINE = "keystone"
-DEPENDS = "common-csl-ip hyplnk-lld edma3-lld mmap-lld cmem rm-lld

qmss-lld cppi-lld srio-lld"

recipes-ti/mpm-transport/mpm-transport_git.bb

Quoted 3 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +3 -0
+
+DEPENDS = "common-csl-ip edma3-lld mmap-lld cmem rm-lld
+qmss-lld

cppi-lld uio-module-drv syslog-ng"

Quoted 7 lines
Quoted 5 lines

http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-b
sp/m
map-
lld/mmap-lld.inc?h=fido#n3
Will fail for k2l and k2g...

The mmap-lld recipes need to be updated to build for k2l and k2g. My

understanding is same drivers should work.

Well, at least the test part has only k/h/e devices in the list:

Quoted 9 lines
Quoted 4 lines
Quoted 3 lines

http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-bsp/m
map-
lld/mmap-lld-test_git.bb?h=fido#n11

Test part may need update per device. Currently hope this is not a show

stopper.

So, are you saying mmap-lld can lax the restrictions in the same version? Or do you mean a new version is required?

Same version can work.

Quoted 60 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +6 -0
+DEPENDS_append_k2hk-evm += "hyplnk-lld srio-lld"
+DEPENDS_append_k2e-evm += "hyplnk-lld"
+
+RDEPENDS_${PN} = "syslog-ng"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 1 line

SRC_URI = "git://git.ti.com/keystone-linux/mpm-

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

recipes-ti/mpm-transport/mpm-transport_git.bb

Quoted 3 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +0 -2
-BRANCH = "master"
-# This commit corresponds to tag DEV.MPM-TRANSPORT-

01.00.08.03

Quoted 46 lines
Quoted 46 lines
Quoted 46 lines
Quoted 46 lines

recipes-ti/mpm-transport/mpm-transport_git.bb HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-transport.git"

Quoted 3 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +2 -1
-SRCREV = "f6c5426d68c2be832903b6d215370c94e134167f"
+BRANCH = "linux41"
+# This commit corresponds to tag DEV.MPM-TRANSPORT-

02.00.00.00_ENG

recipes-ti/mpm-transport/mpm-transport_git.bb HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-transport.git"

Quoted 9 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +6 -2
+SRCREV = "892e93238b7f9f480ddceb7ade042026a4d178bd"
 
-PV = "1.0.8.3"
-PR = "r1"
+PV = "2.0.0.0"
+PR = "r0"
+
+EXTRA_OEMAKE = "PDK_INSTALL_PATH=${STAGING_INCDIR}"
+EXTRA_OEMAKE_append_k2hk-evm += "HYPLNK_TRANSPORT=true

SRIO_TRANSPORT=true"

recipes-ti/mpm-transport/mpm-transport_git.bb FILES_${PN}-test =

Quoted 5 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +1 -0
+EXTRA_OEMAKE_append_k2e-evm += "HYPLNK_TRANSPORT=true"
 
 S = "${WORKDIR}/git"
@@ -25,13 +36,8 @@ FILES_${PN}-test =

"${bindir}/mpm_transport_test.out \

Quoted 1 line
	${bindir}/mpm_transport_qmss_arm_mt.out \
Quoted 1 line
	${bindir}/mpm_transport_srio_arm_mt.out"

recipes-ti/mpm-transport/mpm-transport_git.bb FILES_${PN}-test = "${bindir}/mpm_transport_test.out \

Quoted 8 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +0 -6
-do_compile () {
-	cd ${S}
-	make PDK_INSTALL_PATH=${STAGING_INCDIR}
-}
-
 do_install() {
-	make installbin BASE_DIR=${S}

INSTALL_BIN_BASE_DIR=${D}/${bindir}

Quoted 13 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +2 -1
+	oe_runmake installbin BASE_DIR=${S}
+INSTALL_BIN_BASE_DIR=${D}/${bindir}
 
 	install -d ${D}${includedir}/
 	install -c -m 755 ${S}/include/* ${D}${includedir}/
--

1.9.1

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

#8 lore raw

Sam,

After bunch of fixes to pull the necessary dependencies for k2g, mpm-transport still fails due to this:

| sharedmem/mpm_transport_sharedmem.c:44:28: fatal error: uio_module_drv.h: No such file or directory | #include "uio_module_drv.h"

The version of uio_module_drv we have doesn't even have the necessary header file:
http://git.ti.com/gitweb/?p=keystone-linux/uio-module-drv.git;a=tree

If it expects said header to be part of mpm-transport, it's not in that repo either:
http://git.ti.com/gitweb/?p=keystone-linux/mpm-transport.git;a=tree;h=refs/heads/linux41;hb=refs/heads/linux41

Signature · 1 line
Denys
Quoted 148 lines · Sam
Quoted 78 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, November 25, 2015 5:55 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH 1/2] mpm-transport: Update to new version 2.0.0.0

Quoted 67 lines · Sam
Quoted 67 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, November 25, 2015 5:41 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH 1/2] mpm-transport: Update to new version
2.0.0.0

Quoted 44 lines · Sam
Quoted 44 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, November 25, 2015 5:17 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH 1/2] mpm-transport: Update to new version
2.0.0.0

Quoted 18 lines · Sam Nelson

- Updates to work with kernel version 4.1 and other uio driver changes
- Making the package machine specific and hence the dependencies according to the platform is updated
- Add use of oe_runmake instead of direct call to make

---
 recipes-ti/mpm-transport/mpm-transport_git.bb | 30
++++++++++++++++-----------
 1 file changed, 18 insertions(+), 12 deletions(-)
recipes-ti/mpm-transport/mpm-transport_git.bb +0 -0
index 752ada5..cc211ce 100644
@@ -3,16 +3,27 @@ HOMEPAGE =
Quoted 1 line

"http://git.ti.com/cgit/cgit.cgi/keystone-

linux/mpm-transport.git"

Quoted 2 lines

LICENSE = "BSD-3-Clause & MIT"
LIC_FILES_CHKSUM =

"file://LICENSE.txt;md5=122b7757f366f3f6fe11988715258fc9"

Quoted 3 lines

COMPATIBLE_MACHINE = "keystone"
-DEPENDS = "common-csl-ip hyplnk-lld edma3-lld mmap-lld cmem rm-lld

qmss-lld cppi-lld srio-lld"

recipes-ti/mpm-transport/mpm-transport_git.bb

Quoted 3 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +3 -0
+
+DEPENDS = "common-csl-ip edma3-lld mmap-lld cmem rm-lld
+qmss-lld

cppi-lld uio-module-drv syslog-ng"

Quoted 7 lines
Quoted 5 lines

http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-b
sp/m
map-
lld/mmap-lld.inc?h=fido#n3
Will fail for k2l and k2g...

The mmap-lld recipes need to be updated to build for k2l and k2g. My

understanding is same drivers should work.

Well, at least the test part has only k/h/e devices in the list:

Quoted 9 lines
Quoted 4 lines
Quoted 3 lines

http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-bsp/m
map-
lld/mmap-lld-test_git.bb?h=fido#n11

Test part may need update per device. Currently hope this is not a show

stopper.

So, are you saying mmap-lld can lax the restrictions in the same version? Or do you mean a new version is required?

Same version can work.

Quoted 60 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +6 -0
+DEPENDS_append_k2hk-evm += "hyplnk-lld srio-lld"
+DEPENDS_append_k2e-evm += "hyplnk-lld"
+
+RDEPENDS_${PN} = "syslog-ng"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 1 line

SRC_URI = "git://git.ti.com/keystone-linux/mpm-

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

recipes-ti/mpm-transport/mpm-transport_git.bb

Quoted 3 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +0 -2
-BRANCH = "master"
-# This commit corresponds to tag DEV.MPM-TRANSPORT-

01.00.08.03

Quoted 46 lines
Quoted 46 lines
Quoted 46 lines
Quoted 46 lines

recipes-ti/mpm-transport/mpm-transport_git.bb

Quoted 3 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +2 -1
-SRCREV = "f6c5426d68c2be832903b6d215370c94e134167f"
+BRANCH = "linux41"
+# This commit corresponds to tag DEV.MPM-TRANSPORT-

02.00.00.00_ENG

recipes-ti/mpm-transport/mpm-transport_git.bb

Quoted 9 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +6 -2
+SRCREV = "892e93238b7f9f480ddceb7ade042026a4d178bd"
 
-PV = "1.0.8.3"
-PR = "r1"
+PV = "2.0.0.0"
+PR = "r0"
+
+EXTRA_OEMAKE = "PDK_INSTALL_PATH=${STAGING_INCDIR}"
+EXTRA_OEMAKE_append_k2hk-evm += "HYPLNK_TRANSPORT=true

SRIO_TRANSPORT=true"

recipes-ti/mpm-transport/mpm-transport_git.bb FILES_${PN}-test =

Quoted 5 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +1 -0
+EXTRA_OEMAKE_append_k2e-evm += "HYPLNK_TRANSPORT=true"
 
 S = "${WORKDIR}/git"
@@ -25,13 +36,8 @@ FILES_${PN}-test =

"${bindir}/mpm_transport_test.out \

Quoted 1 line
	${bindir}/mpm_transport_qmss_arm_mt.out \
Quoted 1 line
	${bindir}/mpm_transport_srio_arm_mt.out"

recipes-ti/mpm-transport/mpm-transport_git.bb

Quoted 8 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +0 -6
-do_compile () {
-	cd ${S}
-	make PDK_INSTALL_PATH=${STAGING_INCDIR}
-}
-
 do_install() {
-	make installbin BASE_DIR=${S}

INSTALL_BIN_BASE_DIR=${D}/${bindir}

Quoted 13 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +2 -1
+	oe_runmake installbin BASE_DIR=${S}
+INSTALL_BIN_BASE_DIR=${D}/${bindir}
 
 	install -d ${D}${includedir}/
 	install -c -m 755 ${S}/include/* ${D}${includedir}/
--

1.9.1

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

#9 lore raw

This needs update to uio-module-drv as well. I will send update to uio-module-drv. Sorry I missed.
Sam

Quoted 183 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Monday, November 30, 2015 12:02 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH 1/2] mpm-transport: Update to new version 2.0.0.0

Sam,

After bunch of fixes to pull the necessary dependencies for k2g, mpm- transport still fails due to this:

| sharedmem/mpm_transport_sharedmem.c:44:28: fatal error:
| uio_module_drv.h: No such file or directory #include "uio_module_drv.h"

The version of uio_module_drv we have doesn't even have the necessary header
file:
http://git.ti.com/gitweb/?p=keystone-linux/uio-module-drv.git;a=tree

If it expects said header to be part of mpm-transport, it's not in that repo either:
http://git.ti.com/gitweb/?p=keystone-linux/mpm-
transport.git;a=tree;h=refs/heads/linux41;hb=refs/heads/linux41

--
Denys

Quoted 55 lines · Sam
Quoted 55 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, November 25, 2015 5:55 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH 1/2] mpm-transport: Update to new version 2.0.0.0

Quoted 44 lines · Sam
Quoted 44 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, November 25, 2015 5:41 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH 1/2] mpm-transport: Update to new version
2.0.0.0

Quoted 32 lines · Sam
Quoted 32 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, November 25, 2015 5:17 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH 1/2] mpm-transport: Update to new version
2.0.0.0

Quoted 18 lines · Sam Nelson

- Updates to work with kernel version 4.1 and other uio driver changes
- Making the package machine specific and hence the dependencies according to the platform is updated
- Add use of oe_runmake instead of direct call to make

---
 recipes-ti/mpm-transport/mpm-transport_git.bb | 30
++++++++++++++++-----------
 1 file changed, 18 insertions(+), 12 deletions(-)
recipes-ti/mpm-transport/mpm-transport_git.bb +0 -0
index 752ada5..cc211ce 100644
@@ -3,16 +3,27 @@ HOMEPAGE =
Quoted 1 line

"http://git.ti.com/cgit/cgit.cgi/keystone-

linux/mpm-transport.git"

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 2 lines

LICENSE = "BSD-3-Clause & MIT"
LIC_FILES_CHKSUM =

"file://LICENSE.txt;md5=122b7757f366f3f6fe11988715258fc9"

Quoted 2 lines

COMPATIBLE_MACHINE = "keystone"
-DEPENDS = "common-csl-ip hyplnk-lld edma3-lld mmap-lld

cmem

Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 7 lines
Quoted 7 lines
Quoted 1 line

rm-lld

qmss-lld cppi-lld srio-lld"

recipes-ti/mpm-transport/mpm-transport_git.bb

Quoted 3 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +3 -0
+
+DEPENDS = "common-csl-ip edma3-lld mmap-lld cmem rm-lld
+qmss-lld

cppi-lld uio-module-drv syslog-ng"

Quoted 7 lines
Quoted 5 lines

http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-b
sp/m
map-
lld/mmap-lld.inc?h=fido#n3
Will fail for k2l and k2g...

The mmap-lld recipes need to be updated to build for k2l and k2g. My

understanding is same drivers should work.

Well, at least the test part has only k/h/e devices in the list:

Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
Quoted 3 lines

http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-bsp/m
map-
lld/mmap-lld-test_git.bb?h=fido#n11

Test part may need update per device. Currently hope this is not a show

stopper.

So, are you saying mmap-lld can lax the restrictions in the same version?

Or

Quoted 23 lines
Quoted 2 lines

do you mean a new version is required?

Same version can work.

Quoted 20 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +6 -0
+DEPENDS_append_k2hk-evm += "hyplnk-lld srio-lld"
+DEPENDS_append_k2e-evm += "hyplnk-lld"
+
+RDEPENDS_${PN} = "syslog-ng"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 1 line

SRC_URI = "git://git.ti.com/keystone-linux/mpm-

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

recipes-ti/mpm-transport/mpm-transport_git.bb

Quoted 3 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +0 -2
-BRANCH = "master"
-# This commit corresponds to tag DEV.MPM-TRANSPORT-

01.00.08.03

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

recipes-ti/mpm-transport/mpm-transport_git.bb

Quoted 3 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +2 -1
-SRCREV = "f6c5426d68c2be832903b6d215370c94e134167f"
+BRANCH = "linux41"
+# This commit corresponds to tag DEV.MPM-TRANSPORT-

02.00.00.00_ENG

Quoted 2 lines

+SRCREV = "892e93238b7f9f480ddceb7ade042026a4d178bd"

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

recipes-ti/mpm-transport/mpm-transport_git.bb

Quoted 7 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +5 -2
-PV = "1.0.8.3"
-PR = "r1"
+PV = "2.0.0.0"
+PR = "r0"
+
+EXTRA_OEMAKE = "PDK_INSTALL_PATH=${STAGING_INCDIR}"
+EXTRA_OEMAKE_append_k2hk-evm +=

"HYPLNK_TRANSPORT=true

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

SRIO_TRANSPORT=true"

Quoted 1 line

+EXTRA_OEMAKE_append_k2e-evm +=

"HYPLNK_TRANSPORT=true"

Quoted 31 lines
Quoted 31 lines
Quoted 31 lines
Quoted 31 lines
Quoted 31 lines
Quoted 31 lines

recipes-ti/mpm-transport/mpm-transport_git.bb FILES_${PN}-test =

Quoted 4 lines

S = "${WORKDIR}/git"

recipes-ti/mpm-transport/mpm-transport_git.bb +0 -0
@@ -25,13 +36,8 @@ FILES_${PN}-test =

"${bindir}/mpm_transport_test.out \

Quoted 1 line
	${bindir}/mpm_transport_qmss_arm_mt.out \
Quoted 1 line
	${bindir}/mpm_transport_srio_arm_mt.out"

recipes-ti/mpm-transport/mpm-transport_git.bb

Quoted 8 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +0 -6
-do_compile () {
-	cd ${S}
-	make PDK_INSTALL_PATH=${STAGING_INCDIR}
-}
-
 do_install() {
-	make installbin BASE_DIR=${S}

INSTALL_BIN_BASE_DIR=${D}/${bindir}

Quoted 13 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +2 -1
+	oe_runmake installbin BASE_DIR=${S}
+INSTALL_BIN_BASE_DIR=${D}/${bindir}
 
 	install -d ${D}${includedir}/
 	install -c -m 755 ${S}/include/* ${D}${includedir}/
--

1.9.1

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