All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4] cmem: Adding New recipe for cmem
@ 2013-12-13  4:06 Sam Nelson
  0 siblings, 0 replies; 6+ messages in thread
From: Sam Nelson @ 2013-12-13  4:06 UTC (permalink / raw)
  To: meta-ti

- Cmem module is used for user space contiguous memory alloation

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
---
 recipes-bsp/cmem/cmem-mod_git.bb |    4 ++--
 recipes-bsp/cmem/cmem.inc        |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/recipes-bsp/cmem/cmem-mod_git.bb b/recipes-bsp/cmem/cmem-mod_git.bb
index a072f77..bbd81d4 100644
--- a/recipes-bsp/cmem/cmem-mod_git.bb
+++ b/recipes-bsp/cmem/cmem-mod_git.bb
@@ -13,13 +13,13 @@ inherit module
 do_compile () {
     unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
     cd ${S}
-    make -f lu.mak module_clean
+    make -f lu.mak modules_clean
     make -f lu.mak module KERNEL_INSTALL_DIR=${STAGING_KERNEL_DIR} TOOLCHAIN_PREFIX=${CROSS_COMPILE}
 }
 
 do_install () {
     unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
     cd ${S}
-    make -f lu.mak module_install KERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" EXEC_DIR="${D}/lib/modules/${KERNEL_VERSION}/extra" INSTALL_MOD_PATH="${D}"
+    make -f lu.mak modules_install KERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" EXEC_DIR="${D}/lib/modules/${KERNEL_VERSION}/extra" INSTALL_MOD_PATH="${D}"
 }
 
diff --git a/recipes-bsp/cmem/cmem.inc b/recipes-bsp/cmem/cmem.inc
index 094b2dc..b1f441a 100644
--- a/recipes-bsp/cmem/cmem.inc
+++ b/recipes-bsp/cmem/cmem.inc
@@ -4,7 +4,7 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://include/ti/cmem.h;beginline=1;endline=30;md5=b86138d4028fb8310b3b983024edc620"
 
 BRANCH ?= "master"
-# This corresponds to version 4.00.00.06
-SRCREV = "c2cf2406702bcb889c10d0e6e7d298ba7b84ae7d"
+# This corresponds to version 4.00.01.08
+SRCREV = "0b68dfe9f155a1978cdb2178e052dc0d6f1e705b"
 
 SRC_URI = "git://git.ti.com/ipc/ludev.git;protocol=git;branch=${BRANCH}"
-- 
1.7.9.5



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

* [PATCH v4] cmem: Adding New recipe for cmem
@ 2013-12-18 21:25 Sam Nelson
  2013-12-18 22:09 ` Maupin, Chase
  2013-12-18 22:09 ` Denys Dmytriyenko
  0 siblings, 2 replies; 6+ messages in thread
From: Sam Nelson @ 2013-12-18 21:25 UTC (permalink / raw)
  To: meta-ti

- Cmem module is used for user space contiguous memory alloation

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
---
 recipes-bsp/cmem/cmem-mod_git.bb |    4 ++--
 recipes-bsp/cmem/cmem.inc        |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/recipes-bsp/cmem/cmem-mod_git.bb b/recipes-bsp/cmem/cmem-mod_git.bb
index a072f77..bbd81d4 100644
--- a/recipes-bsp/cmem/cmem-mod_git.bb
+++ b/recipes-bsp/cmem/cmem-mod_git.bb
@@ -13,13 +13,13 @@ inherit module
 do_compile () {
     unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
     cd ${S}
-    make -f lu.mak module_clean
+    make -f lu.mak modules_clean
     make -f lu.mak module KERNEL_INSTALL_DIR=${STAGING_KERNEL_DIR} TOOLCHAIN_PREFIX=${CROSS_COMPILE}
 }
 
 do_install () {
     unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
     cd ${S}
-    make -f lu.mak module_install KERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" EXEC_DIR="${D}/lib/modules/${KERNEL_VERSION}/extra" INSTALL_MOD_PATH="${D}"
+    make -f lu.mak modules_install KERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" EXEC_DIR="${D}/lib/modules/${KERNEL_VERSION}/extra" INSTALL_MOD_PATH="${D}"
 }
 
diff --git a/recipes-bsp/cmem/cmem.inc b/recipes-bsp/cmem/cmem.inc
index 094b2dc..b1f441a 100644
--- a/recipes-bsp/cmem/cmem.inc
+++ b/recipes-bsp/cmem/cmem.inc
@@ -4,7 +4,7 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://include/ti/cmem.h;beginline=1;endline=30;md5=b86138d4028fb8310b3b983024edc620"
 
 BRANCH ?= "master"
-# This corresponds to version 4.00.00.06
-SRCREV = "c2cf2406702bcb889c10d0e6e7d298ba7b84ae7d"
+# This corresponds to version 4.00.01.08
+SRCREV = "0b68dfe9f155a1978cdb2178e052dc0d6f1e705b"
 
 SRC_URI = "git://git.ti.com/ipc/ludev.git;protocol=git;branch=${BRANCH}"
-- 
1.7.9.5



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

* Re: [PATCH v4] cmem: Adding New recipe for cmem
  2013-12-18 21:25 [PATCH v4] cmem: Adding New recipe for cmem Sam Nelson
@ 2013-12-18 22:09 ` Maupin, Chase
  2013-12-18 23:30   ` Nelson, Sam
  2013-12-18 22:09 ` Denys Dmytriyenko
  1 sibling, 1 reply; 6+ messages in thread
From: Maupin, Chase @ 2013-12-18 22:09 UTC (permalink / raw)
  To: Nelson, Sam, meta-ti@yoctoproject.org

Sam,

Can you please include patch version notes in the patch?  i.e. 

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
---
Fixed in Version 4:
	* Item 1
	* Item 2

---
 recipes-bsp/cmem/cmem-mod_git.bb |    4 ++--
 recipes-bsp/cmem/cmem.inc        |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

Without that reviewing multiple patch revisions, particularly over time is extremely difficult.


Sincerely,
Chase Maupin
Integration Team Manager
Linux Core Product Development
e-mail: chase.maupin@ti.com
phone: (214) 567-2950

For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/ 


>-----Original Message-----
>From: meta-ti-bounces@yoctoproject.org [mailto:meta-ti-
>bounces@yoctoproject.org] On Behalf Of Nelson, Sam
>Sent: Wednesday, December 18, 2013 3:25 PM
>To: meta-ti@yoctoproject.org
>Subject: [meta-ti] [PATCH v4] cmem: Adding New recipe for cmem
>
>- Cmem module is used for user space contiguous memory alloation
>
>Signed-off-by: Sam Nelson <sam.nelson@ti.com>
>---
> recipes-bsp/cmem/cmem-mod_git.bb |    4 ++--
> recipes-bsp/cmem/cmem.inc        |    4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
>diff --git a/recipes-bsp/cmem/cmem-mod_git.bb b/recipes-
>bsp/cmem/cmem-mod_git.bb
>index a072f77..bbd81d4 100644
>--- a/recipes-bsp/cmem/cmem-mod_git.bb
>+++ b/recipes-bsp/cmem/cmem-mod_git.bb
>@@ -13,13 +13,13 @@ inherit module
> do_compile () {
>     unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
>     cd ${S}
>-    make -f lu.mak module_clean
>+    make -f lu.mak modules_clean
>     make -f lu.mak module
>KERNEL_INSTALL_DIR=${STAGING_KERNEL_DIR}
>TOOLCHAIN_PREFIX=${CROSS_COMPILE}
> }
>
> do_install () {
>     unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
>     cd ${S}
>-    make -f lu.mak module_install
>KERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}"
>EXEC_DIR="${D}/lib/modules/${KERNEL_VERSION}/extra"
>INSTALL_MOD_PATH="${D}"
>+    make -f lu.mak modules_install
>KERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}"
>EXEC_DIR="${D}/lib/modules/${KERNEL_VERSION}/extra"
>INSTALL_MOD_PATH="${D}"
> }
>
>diff --git a/recipes-bsp/cmem/cmem.inc b/recipes-bsp/cmem/cmem.inc
>index 094b2dc..b1f441a 100644
>--- a/recipes-bsp/cmem/cmem.inc
>+++ b/recipes-bsp/cmem/cmem.inc
>@@ -4,7 +4,7 @@ LICENSE = "GPLv2"
> LIC_FILES_CHKSUM =
>"file://include/ti/cmem.h;beginline=1;endline=30;md5=b86138d4028fb
>8310b3b983024edc620"
>
> BRANCH ?= "master"
>-# This corresponds to version 4.00.00.06
>-SRCREV = "c2cf2406702bcb889c10d0e6e7d298ba7b84ae7d"
>+# This corresponds to version 4.00.01.08
>+SRCREV = "0b68dfe9f155a1978cdb2178e052dc0d6f1e705b"
>
> SRC_URI =
>"git://git.ti.com/ipc/ludev.git;protocol=git;branch=${BRANCH}"
>--
>1.7.9.5
>
>_______________________________________________
>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] cmem: Adding New recipe for cmem
  2013-12-18 21:25 [PATCH v4] cmem: Adding New recipe for cmem Sam Nelson
  2013-12-18 22:09 ` Maupin, Chase
@ 2013-12-18 22:09 ` Denys Dmytriyenko
  1 sibling, 0 replies; 6+ messages in thread
From: Denys Dmytriyenko @ 2013-12-18 22:09 UTC (permalink / raw)
  To: Sam Nelson; +Cc: meta-ti

Sam,

Your last email to the list from few days ealier also worked, I just didn't 
have time to reply.

As of the patch itself, it is based on a previous commit with cmem, which 
never made it to meta-ti, so please make sure all the dependencies are met.

-- 
Denys


On Wed, Dec 18, 2013 at 04:25:01PM -0500, Sam Nelson wrote:
> - Cmem module is used for user space contiguous memory alloation
> 
> Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> ---
>  recipes-bsp/cmem/cmem-mod_git.bb |    4 ++--
>  recipes-bsp/cmem/cmem.inc        |    4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/recipes-bsp/cmem/cmem-mod_git.bb b/recipes-bsp/cmem/cmem-mod_git.bb
> index a072f77..bbd81d4 100644
> --- a/recipes-bsp/cmem/cmem-mod_git.bb
> +++ b/recipes-bsp/cmem/cmem-mod_git.bb
> @@ -13,13 +13,13 @@ inherit module
>  do_compile () {
>      unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
>      cd ${S}
> -    make -f lu.mak module_clean
> +    make -f lu.mak modules_clean
>      make -f lu.mak module KERNEL_INSTALL_DIR=${STAGING_KERNEL_DIR} TOOLCHAIN_PREFIX=${CROSS_COMPILE}
>  }
>  
>  do_install () {
>      unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
>      cd ${S}
> -    make -f lu.mak module_install KERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" EXEC_DIR="${D}/lib/modules/${KERNEL_VERSION}/extra" INSTALL_MOD_PATH="${D}"
> +    make -f lu.mak modules_install KERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" EXEC_DIR="${D}/lib/modules/${KERNEL_VERSION}/extra" INSTALL_MOD_PATH="${D}"
>  }
>  
> diff --git a/recipes-bsp/cmem/cmem.inc b/recipes-bsp/cmem/cmem.inc
> index 094b2dc..b1f441a 100644
> --- a/recipes-bsp/cmem/cmem.inc
> +++ b/recipes-bsp/cmem/cmem.inc
> @@ -4,7 +4,7 @@ LICENSE = "GPLv2"
>  LIC_FILES_CHKSUM = "file://include/ti/cmem.h;beginline=1;endline=30;md5=b86138d4028fb8310b3b983024edc620"
>  
>  BRANCH ?= "master"
> -# This corresponds to version 4.00.00.06
> -SRCREV = "c2cf2406702bcb889c10d0e6e7d298ba7b84ae7d"
> +# This corresponds to version 4.00.01.08
> +SRCREV = "0b68dfe9f155a1978cdb2178e052dc0d6f1e705b"
>  
>  SRC_URI = "git://git.ti.com/ipc/ludev.git;protocol=git;branch=${BRANCH}"
> -- 
> 1.7.9.5
> 
> _______________________________________________
> 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] cmem: Adding New recipe for cmem
  2013-12-18 22:09 ` Maupin, Chase
@ 2013-12-18 23:30   ` Nelson, Sam
  0 siblings, 0 replies; 6+ messages in thread
From: Nelson, Sam @ 2013-12-18 23:30 UTC (permalink / raw)
  To: Maupin, Chase, meta-ti@yoctoproject.org

Sorry, this is a fresh commit for meta-ti. I will  resubmit again as the whole patch.
With regards,
sam
> -----Original Message-----
> From: Maupin, Chase
> Sent: Wednesday, December 18, 2013 5:09 PM
> To: Nelson, Sam; meta-ti@yoctoproject.org
> Subject: RE: [meta-ti] [PATCH v4] cmem: Adding New recipe for cmem
> 
> Sam,
> 
> Can you please include patch version notes in the patch?  i.e.
> 
> Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> ---
> Fixed in Version 4:
> 	* Item 1
> 	* Item 2
> 
> ---
>  recipes-bsp/cmem/cmem-mod_git.bb |    4 ++--
>  recipes-bsp/cmem/cmem.inc        |    4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> Without that reviewing multiple patch revisions, particularly over time is
> extremely difficult.
> 
> 
> Sincerely,
> Chase Maupin
> Integration Team Manager
> Linux Core Product Development
> e-mail: chase.maupin@ti.com
> phone: (214) 567-2950
> 
> For support:
> Forums - http://community.ti.com/forums/
> Wiki - http://wiki.davincidsp.com/
> 
> 
> >-----Original Message-----
> >From: meta-ti-bounces@yoctoproject.org [mailto:meta-ti-
> >bounces@yoctoproject.org] On Behalf Of Nelson, Sam
> >Sent: Wednesday, December 18, 2013 3:25 PM
> >To: meta-ti@yoctoproject.org
> >Subject: [meta-ti] [PATCH v4] cmem: Adding New recipe for cmem
> >
> >- Cmem module is used for user space contiguous memory alloation
> >
> >Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> >---
> > recipes-bsp/cmem/cmem-mod_git.bb |    4 ++--
> > recipes-bsp/cmem/cmem.inc        |    4 ++--
> > 2 files changed, 4 insertions(+), 4 deletions(-)
> >
> >diff --git a/recipes-bsp/cmem/cmem-mod_git.bb b/recipes-
> >bsp/cmem/cmem-mod_git.bb
> >index a072f77..bbd81d4 100644
> >--- a/recipes-bsp/cmem/cmem-mod_git.bb
> >+++ b/recipes-bsp/cmem/cmem-mod_git.bb
> >@@ -13,13 +13,13 @@ inherit module
> > do_compile () {
> >     unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
> >     cd ${S}
> >-    make -f lu.mak module_clean
> >+    make -f lu.mak modules_clean
> >     make -f lu.mak module
> >KERNEL_INSTALL_DIR=${STAGING_KERNEL_DIR}
> >TOOLCHAIN_PREFIX=${CROSS_COMPILE}
> > }
> >
> > do_install () {
> >     unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
> >     cd ${S}
> >-    make -f lu.mak module_install
> >KERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}"
> >EXEC_DIR="${D}/lib/modules/${KERNEL_VERSION}/extra"
> >INSTALL_MOD_PATH="${D}"
> >+    make -f lu.mak modules_install
> >KERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}"
> >EXEC_DIR="${D}/lib/modules/${KERNEL_VERSION}/extra"
> >INSTALL_MOD_PATH="${D}"
> > }
> >
> >diff --git a/recipes-bsp/cmem/cmem.inc b/recipes-bsp/cmem/cmem.inc
> >index 094b2dc..b1f441a 100644
> >--- a/recipes-bsp/cmem/cmem.inc
> >+++ b/recipes-bsp/cmem/cmem.inc
> >@@ -4,7 +4,7 @@ LICENSE = "GPLv2"
> > LIC_FILES_CHKSUM =
> >"file://include/ti/cmem.h;beginline=1;endline=30;md5=b86138d4028fb
> >8310b3b983024edc620"
> >
> > BRANCH ?= "master"
> >-# This corresponds to version 4.00.00.06
> >-SRCREV = "c2cf2406702bcb889c10d0e6e7d298ba7b84ae7d"
> >+# This corresponds to version 4.00.01.08
> >+SRCREV = "0b68dfe9f155a1978cdb2178e052dc0d6f1e705b"
> >
> > SRC_URI =
> >"git://git.ti.com/ipc/ludev.git;protocol=git;branch=${BRANCH}"
> >--
> >1.7.9.5
> >
> >_______________________________________________
> >meta-ti mailing list
> >meta-ti@yoctoproject.org
> >https://lists.yoctoproject.org/listinfo/meta-ti


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

* [PATCH v4] cmem: Adding new recipe for cmem
@ 2013-12-18 23:54 Sam Nelson
  0 siblings, 0 replies; 6+ messages in thread
From: Sam Nelson @ 2013-12-18 23:54 UTC (permalink / raw)
  To: meta-ti

cmem module provides user space contiguous memory allocation

Signed-off-by: Sam Nelson <sam.nelson@ti.com>

---
Fixed compared to previous version
- Updated recipe to use commit id
- Updated make targets module_clean-->modules_clean,
  module_install --> modules_install
---
---
 recipes-bsp/cmem/cmem-mod_git.bb |   24 ++++++++++++++++++++++++
 recipes-bsp/cmem/cmem.inc        |   10 ++++++++++
 recipes-bsp/cmem/cmem_git.bb     |   15 +++++++++++++++
 3 files changed, 49 insertions(+)
 create mode 100644 recipes-bsp/cmem/cmem-mod_git.bb
 create mode 100644 recipes-bsp/cmem/cmem.inc
 create mode 100644 recipes-bsp/cmem/cmem_git.bb

diff --git a/recipes-bsp/cmem/cmem-mod_git.bb b/recipes-bsp/cmem/cmem-mod_git.bb
new file mode 100644
index 0000000..5809d08
--- /dev/null
+++ b/recipes-bsp/cmem/cmem-mod_git.bb
@@ -0,0 +1,24 @@
+DESCRIPTION="Contiguous memory allocation kernel module for contiguous memory allocation from userspace "
+
+include cmem.inc
+
+# This package builds a kernel module, use kernel PR as base and append a local
+PR = "${MACHINE_KERNEL_PR}"
+PR_append = "a"
+
+S = "${WORKDIR}/git"
+
+inherit module
+
+do_compile () {
+    unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+    cd ${S}
+    make -f lu.mak modules_clean
+    make -f lu.mak module KERNEL_INSTALL_DIR=${STAGING_KERNEL_DIR} TOOLCHAIN_PREFIX=${CROSS_COMPILE}
+}
+
+do_install () {
+    unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+    cd ${S}
+    make -f lu.mak modules_install KERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" EXEC_DIR="${D}/lib/modules/${KERNEL_VERSION}/extra" INSTALL_MOD_PATH="${D}"
+}
diff --git a/recipes-bsp/cmem/cmem.inc b/recipes-bsp/cmem/cmem.inc
new file mode 100644
index 0000000..b1f441a
--- /dev/null
+++ b/recipes-bsp/cmem/cmem.inc
@@ -0,0 +1,10 @@
+HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:CMEM"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://include/ti/cmem.h;beginline=1;endline=30;md5=b86138d4028fb8310b3b983024edc620"
+
+BRANCH ?= "master"
+# This corresponds to version 4.00.01.08
+SRCREV = "0b68dfe9f155a1978cdb2178e052dc0d6f1e705b"
+
+SRC_URI = "git://git.ti.com/ipc/ludev.git;protocol=git;branch=${BRANCH}"
diff --git a/recipes-bsp/cmem/cmem_git.bb b/recipes-bsp/cmem/cmem_git.bb
new file mode 100644
index 0000000..ca3ed89
--- /dev/null
+++ b/recipes-bsp/cmem/cmem_git.bb
@@ -0,0 +1,15 @@
+DESCRIPTION="The cmem component supports contiguous memory allocation from userspace "
+
+include cmem.inc
+
+RDEPENDS_${PN} = "cmem-mod"
+
+S = "${WORKDIR}/git"
+
+PR = "r0"
+
+PACKAGES =+ "${PN}-test"
+
+FILES_${PN}-test = "${bindir}/*"
+
+inherit autotools
-- 
1.7.9.5



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

end of thread, other threads:[~2013-12-18 23:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-18 21:25 [PATCH v4] cmem: Adding New recipe for cmem Sam Nelson
2013-12-18 22:09 ` Maupin, Chase
2013-12-18 23:30   ` Nelson, Sam
2013-12-18 22:09 ` Denys Dmytriyenko
  -- strict thread matches above, loose matches on Subject: below --
2013-12-18 23:54 [PATCH v4] cmem: Adding new " Sam Nelson
2013-12-13  4:06 [PATCH v4] cmem: Adding New " Sam Nelson

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.