Re: [meta-intel] [PATCH 0/1] Fix README on mohonpeak BSP

2014-07-16 Thread Tom Zanussi
On Wed, 2014-07-16 at 18:34 +0800, wei.sern.c...@intel.com wrote:
> From: Chan Wei Sern 
> 
> Hi All,
> 
> This patch is to fix the extra line inside
> meta-intel/meta-isg/meta-mohonpeak/README on the section of preparing
> mohonpeak BSP layers.
> 
> Please help to pull this into meta-intel:daisy branch and meta-intel:master 
> branch.
> 

Pulled into master and daisy.

Thanks,

Tom

> Thanks.
> Regards,
> Chan Wei Sern.
> The following changes since commit 50d1afd52a612dbf9a190bf869c37253864886cc:
> 
>   Provide a time limited kernel extension for the v3.14 kernel (2014-06-12 
> 11:58:21 -0500)
> 
> are available in the git repository at:
> 
>   git://git.yoctoproject.org/meta-intel-contrib wchan9/intel-common-daisy
>   
> http://git.yoctoproject.org/cgit.cgi/meta-intel-contrib/log/?h=wchan9/intel-common-daisy
> 
> Chan Wei Sern (1):
>   meta-mohonpeak: Fix README on building mohonpeak BSP layer
> 
>  meta-isg/meta-mohonpeak/README | 1 -
>  1 file changed, 1 deletion(-)
> 
> -- 
> 1.9.1
> 


-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


Re: [meta-intel] [PATCHv3 1/2] meta-intel/common: Initial Intel DPDK recipe under recipes-extended

2014-07-16 Thread Kamble, Nitin A


> -Original Message-
> From: Chan, Wei Sern
> Sent: Wednesday, July 16, 2014 7:50 AM
> To: Kamble, Nitin A; meta-intel@yoctoproject.org
> Cc: Chan, Wei Sern
> Subject: RE: [meta-intel] [PATCHv3 1/2] meta-intel/common: Initial Intel
> DPDK recipe under recipes-extended
> 
> Hi Nitin,
> This is an initial version that I've been working on last 2 weeks and they are
> customers waiting for it right now.
> For DPDK 1.7 recipe is working in progress at the moment.

Thanks for clarification.

Nitin

> 
> Thanks.
> Regards,
> Wei Sern.
> > -Original Message-
> > From: Kamble, Nitin A
> > Sent: Wednesday, July 16, 2014 10:46 PM
> > To: Chan, Wei Sern; meta-intel@yoctoproject.org
> > Subject: RE: [meta-intel] [PATCHv3 1/2] meta-intel/common: Initial
> > Intel DPDK recipe under recipes-extended
> >
> >
> >
> > > -Original Message-
> > > From: meta-intel-boun...@yoctoproject.org [mailto:meta-intel-
> > > boun...@yoctoproject.org] On Behalf Of wei.sern.c...@intel.com
> > > Sent: Wednesday, July 16, 2014 2:52 AM
> > > To: meta-intel@yoctoproject.org
> > > Subject: [meta-intel] [PATCHv3 1/2] meta-intel/common: Initial Intel
> > > DPDK recipe under recipes-extended
> > >
> > > From: Chan Wei Sern 
> > >
> > > This is an initial version of Intel Data Plane Development Kits
> > > (DPDK) recipe support. This recipe is targetting on Intel DPDK
> > > v1.6.0r2. This recipe is created under meta-intel/common because
> > > Intel DPDK can be commonly used several Intel BSP platforms such as
> > > Romley, Crystal-Forest & Mohon-peak. We resolved examples apps build
> > > failure found in v1.6.0-r2 by cherry-picking patches from
> > > v1.7.0 as they are not planned to be fixed in v1.6.0-r2. The example
> > > app build failure are found in qos_sched, eal_flags_autotest and
> > cmdline_autotest.
> >
> > Hi Wei Sern,
> >   Why not use v1.7.0 then?
> >
> > Nitin
> >
> >
> > >
> > > Signed-off-by: Chan Wei Sern 
> > > ---
> > >  ...ix-build-switches-to-enable-cmdline-tests.patch |  53 +++
> > > ...dpdk- 1.6.0r2-eal-fix-option-base-virtaddr.patch |  35 +
> > > ...k-1.6.0r2-examples- qos_sched-fix-makefile.patch |  35 +
> > >  common/recipes-extended/dpdk/dpdk_1.6.0r2.bb   | 166
> > > +
> > >  4 files changed, 289 insertions(+)
> > >  create mode 100644 common/recipes-extended/dpdk/dpdk/dpdk-
> 1.6.0r2-
> > > app-test-fix-build-switches-to-enable-cmdline-tests.patch
> > >  create mode 100644 common/recipes-extended/dpdk/dpdk/dpdk-
> 1.6.0r2-
> > > eal-fix-option-base-virtaddr.patch
> > >  create mode 100644 common/recipes-extended/dpdk/dpdk/dpdk-
> 1.6.0r2-
> > > examples-qos_sched-fix-makefile.patch
> > >  create mode 100644 common/recipes-extended/dpdk/dpdk_1.6.0r2.bb
> > >
> > > diff --git
> > > a/common/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-app-test-
> > > fix-build-switches-to-enable-cmdline-tests.patch b/common/recipes-
> > > extended/dpdk/dpdk/dpdk-1.6.0r2-app-test-fix-build-switches-to-enabl
> > > e-
> > > cmdline-tests.patch
> > > new file mode 100644
> > > index 000..87d2ef7
> > > --- /dev/null
> > > +++ b/common/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-app-test-
> fix-
> > > build-
> > > +++ switches-to-enable-cmdline-tests.patch
> > > @@ -0,0 +1,53 @@
> > > +From cf953d2bfa7df9aa67459b333db4d4d8a9e72fd6 Mon Sep 17
> 00:00:00
> > > 2001
> > > +From: Thomas Monjalon 
> > > +Date: Fri, 27 Jun 2014 11:21:11 +0200
> > > +Subject: [PATCH] app/test: fix build switches to enable cmdline
> > > +tests
> > > +
> > > +Upstream-Status: backport
> > > +Imported patch from: http://dpdk.org/browse/dpdk/log/
> > > +
> > > +There were 2 typos since these commits (in 1.6.0 releases):
> > > + 21a7f4e264 fix build without librte_cmdline
> > > + cac6d08c8b replace --use-device option by --pci-whitelist and
> > > +--vdev In makefiles, the build options are prefixed with
> > > +CONFIG_RTE_ but in .c file, it is only RTE_.
> > > +
> > > +These typos were disabling cmdline unit tests and test of "--vdev
> > eth_ring"
> > > option.
> > > +
> > > +Signed-off-by: Thomas Monjalon 
> > > +Acked-by: Pablo de Lara 
> > > +Signed-off-by: Chan Wei Sern 
> > > +---
> > > + app/test/test_cmdline.c   | 2 +-
> > > + app/test/test_eal_flags.c | 2 +-
> > > + 2 files changed, 2 insertions(+), 2 deletions(-)
> > > +
> > > +diff --git a/app/test/test_cmdline.c b/app/test/test_cmdline.c
> > > +index
> > > +77475c4..10a3f77 100644
> > > +--- a/app/test/test_cmdline.c
> > >  b/app/test/test_cmdline.c
> > > +@@ -39,7 +39,7 @@
> > > + int
> > > + test_cmdline(void)
> > > + {
> > > +-#ifdef CONFIG_RTE_LIBRTE_CMDLINE
> > > ++#ifdef RTE_LIBRTE_CMDLINE
> > > + printf("Testind parsing ethernet addresses...\n");
> > > + if (test_parse_etheraddr_valid() < 0)
> > > + return -1;
> > > +diff --git a/app/test/test_eal_flags.c b/app/test/test_eal_flags.c
> > > +index a862654..1b80b80 100644
> > > +--- a/app/test/test_eal_flags.c
> > >  b/app/test/test_eal_flags.c
> > > +@@ -317,7 +3

Re: [meta-intel] [PATCHv3 1/2] meta-intel/common: Initial Intel DPDK recipe under recipes-extended

2014-07-16 Thread Chan, Wei Sern
Hi Nitin,
This is an initial version that I've been working on last 2 weeks and they are 
customers waiting for it right now.
For DPDK 1.7 recipe is working in progress at the moment.

Thanks.
Regards,
Wei Sern.
> -Original Message-
> From: Kamble, Nitin A
> Sent: Wednesday, July 16, 2014 10:46 PM
> To: Chan, Wei Sern; meta-intel@yoctoproject.org
> Subject: RE: [meta-intel] [PATCHv3 1/2] meta-intel/common: Initial Intel
> DPDK recipe under recipes-extended
> 
> 
> 
> > -Original Message-
> > From: meta-intel-boun...@yoctoproject.org [mailto:meta-intel-
> > boun...@yoctoproject.org] On Behalf Of wei.sern.c...@intel.com
> > Sent: Wednesday, July 16, 2014 2:52 AM
> > To: meta-intel@yoctoproject.org
> > Subject: [meta-intel] [PATCHv3 1/2] meta-intel/common: Initial Intel
> > DPDK recipe under recipes-extended
> >
> > From: Chan Wei Sern 
> >
> > This is an initial version of Intel Data Plane Development Kits
> > (DPDK) recipe support. This recipe is targetting on Intel DPDK
> > v1.6.0r2. This recipe is created under meta-intel/common because Intel
> > DPDK can be commonly used several Intel BSP platforms such as Romley,
> > Crystal-Forest & Mohon-peak. We resolved examples apps build failure
> > found in v1.6.0-r2 by cherry-picking patches from
> > v1.7.0 as they are not planned to be fixed in v1.6.0-r2. The example
> > app build failure are found in qos_sched, eal_flags_autotest and
> cmdline_autotest.
> 
> Hi Wei Sern,
>   Why not use v1.7.0 then?
> 
> Nitin
> 
> 
> >
> > Signed-off-by: Chan Wei Sern 
> > ---
> >  ...ix-build-switches-to-enable-cmdline-tests.patch |  53 +++
> > ...dpdk- 1.6.0r2-eal-fix-option-base-virtaddr.patch |  35 +
> > ...k-1.6.0r2-examples- qos_sched-fix-makefile.patch |  35 +
> >  common/recipes-extended/dpdk/dpdk_1.6.0r2.bb   | 166
> > +
> >  4 files changed, 289 insertions(+)
> >  create mode 100644 common/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-
> > app-test-fix-build-switches-to-enable-cmdline-tests.patch
> >  create mode 100644 common/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-
> > eal-fix-option-base-virtaddr.patch
> >  create mode 100644 common/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-
> > examples-qos_sched-fix-makefile.patch
> >  create mode 100644 common/recipes-extended/dpdk/dpdk_1.6.0r2.bb
> >
> > diff --git a/common/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-app-test-
> > fix-build-switches-to-enable-cmdline-tests.patch b/common/recipes-
> > extended/dpdk/dpdk/dpdk-1.6.0r2-app-test-fix-build-switches-to-enable-
> > cmdline-tests.patch
> > new file mode 100644
> > index 000..87d2ef7
> > --- /dev/null
> > +++ b/common/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-app-test-fix-
> > build-
> > +++ switches-to-enable-cmdline-tests.patch
> > @@ -0,0 +1,53 @@
> > +From cf953d2bfa7df9aa67459b333db4d4d8a9e72fd6 Mon Sep 17 00:00:00
> > 2001
> > +From: Thomas Monjalon 
> > +Date: Fri, 27 Jun 2014 11:21:11 +0200
> > +Subject: [PATCH] app/test: fix build switches to enable cmdline tests
> > +
> > +Upstream-Status: backport
> > +Imported patch from: http://dpdk.org/browse/dpdk/log/
> > +
> > +There were 2 typos since these commits (in 1.6.0 releases):
> > +   21a7f4e264 fix build without librte_cmdline
> > +   cac6d08c8b replace --use-device option by --pci-whitelist and --vdev
> > +In makefiles, the build options are prefixed with CONFIG_RTE_ but in
> > +.c file, it is only RTE_.
> > +
> > +These typos were disabling cmdline unit tests and test of "--vdev
> eth_ring"
> > option.
> > +
> > +Signed-off-by: Thomas Monjalon 
> > +Acked-by: Pablo de Lara 
> > +Signed-off-by: Chan Wei Sern 
> > +---
> > + app/test/test_cmdline.c   | 2 +-
> > + app/test/test_eal_flags.c | 2 +-
> > + 2 files changed, 2 insertions(+), 2 deletions(-)
> > +
> > +diff --git a/app/test/test_cmdline.c b/app/test/test_cmdline.c index
> > +77475c4..10a3f77 100644
> > +--- a/app/test/test_cmdline.c
> >  b/app/test/test_cmdline.c
> > +@@ -39,7 +39,7 @@
> > + int
> > + test_cmdline(void)
> > + {
> > +-#ifdef CONFIG_RTE_LIBRTE_CMDLINE
> > ++#ifdef RTE_LIBRTE_CMDLINE
> > +   printf("Testind parsing ethernet addresses...\n");
> > +   if (test_parse_etheraddr_valid() < 0)
> > +   return -1;
> > +diff --git a/app/test/test_eal_flags.c b/app/test/test_eal_flags.c
> > +index a862654..1b80b80 100644
> > +--- a/app/test/test_eal_flags.c
> >  b/app/test/test_eal_flags.c
> > +@@ -317,7 +317,7 @@ test_whitelist_flag(void)
> > +   const char *wlval3[] = {prgname, prefix, mp_flag, "-n", "1", "-c", "1",
> > +   pci_whitelist, "09:0B.3,type=test",
> > +   pci_whitelist, "08:00.1,type=normal", -#ifdef
> > +CONFIG_RTE_LIBRTE_PMD_RING
> > ++#ifdef RTE_LIBRTE_PMD_RING
> > +   vdev, "eth_ring,arg=test",
> > + #endif
> > +   };
> > +--
> > +1.9.1
> > +
> > diff --git a/common/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-eal-fix-
> > option-base-virtaddr.patch b/common/recipes-extended/dpdk/dpdk/dpdk-
> > 1.6.0r2-eal-fix-option-base-virtaddr.

Re: [meta-intel] [PATCHv3 1/2] meta-intel/common: Initial Intel DPDK recipe under recipes-extended

2014-07-16 Thread Kamble, Nitin A


> -Original Message-
> From: meta-intel-boun...@yoctoproject.org [mailto:meta-intel-
> boun...@yoctoproject.org] On Behalf Of wei.sern.c...@intel.com
> Sent: Wednesday, July 16, 2014 2:52 AM
> To: meta-intel@yoctoproject.org
> Subject: [meta-intel] [PATCHv3 1/2] meta-intel/common: Initial Intel DPDK
> recipe under recipes-extended
> 
> From: Chan Wei Sern 
> 
> This is an initial version of Intel Data Plane Development Kits
> (DPDK) recipe support. This recipe is targetting on Intel DPDK v1.6.0r2. This
> recipe is created under meta-intel/common because Intel DPDK can be
> commonly used several Intel BSP platforms such as Romley, Crystal-Forest &
> Mohon-peak. We resolved examples apps build failure found in v1.6.0-r2 by
> cherry-picking patches from
> v1.7.0 as they are not planned to be fixed in v1.6.0-r2. The example app build
> failure are found in qos_sched, eal_flags_autotest and cmdline_autotest.

Hi Wei Sern,
  Why not use v1.7.0 then?

Nitin


> 
> Signed-off-by: Chan Wei Sern 
> ---
>  ...ix-build-switches-to-enable-cmdline-tests.patch |  53 +++  ...dpdk-
> 1.6.0r2-eal-fix-option-base-virtaddr.patch |  35 +  ...k-1.6.0r2-examples-
> qos_sched-fix-makefile.patch |  35 +
>  common/recipes-extended/dpdk/dpdk_1.6.0r2.bb   | 166
> +
>  4 files changed, 289 insertions(+)
>  create mode 100644 common/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-
> app-test-fix-build-switches-to-enable-cmdline-tests.patch
>  create mode 100644 common/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-
> eal-fix-option-base-virtaddr.patch
>  create mode 100644 common/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-
> examples-qos_sched-fix-makefile.patch
>  create mode 100644 common/recipes-extended/dpdk/dpdk_1.6.0r2.bb
> 
> diff --git a/common/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-app-test-
> fix-build-switches-to-enable-cmdline-tests.patch b/common/recipes-
> extended/dpdk/dpdk/dpdk-1.6.0r2-app-test-fix-build-switches-to-enable-
> cmdline-tests.patch
> new file mode 100644
> index 000..87d2ef7
> --- /dev/null
> +++ b/common/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-app-test-fix-
> build-
> +++ switches-to-enable-cmdline-tests.patch
> @@ -0,0 +1,53 @@
> +From cf953d2bfa7df9aa67459b333db4d4d8a9e72fd6 Mon Sep 17 00:00:00
> 2001
> +From: Thomas Monjalon 
> +Date: Fri, 27 Jun 2014 11:21:11 +0200
> +Subject: [PATCH] app/test: fix build switches to enable cmdline tests
> +
> +Upstream-Status: backport
> +Imported patch from: http://dpdk.org/browse/dpdk/log/
> +
> +There were 2 typos since these commits (in 1.6.0 releases):
> + 21a7f4e264 fix build without librte_cmdline
> + cac6d08c8b replace --use-device option by --pci-whitelist and --vdev
> +In makefiles, the build options are prefixed with CONFIG_RTE_ but in .c
> +file, it is only RTE_.
> +
> +These typos were disabling cmdline unit tests and test of "--vdev eth_ring"
> option.
> +
> +Signed-off-by: Thomas Monjalon 
> +Acked-by: Pablo de Lara 
> +Signed-off-by: Chan Wei Sern 
> +---
> + app/test/test_cmdline.c   | 2 +-
> + app/test/test_eal_flags.c | 2 +-
> + 2 files changed, 2 insertions(+), 2 deletions(-)
> +
> +diff --git a/app/test/test_cmdline.c b/app/test/test_cmdline.c index
> +77475c4..10a3f77 100644
> +--- a/app/test/test_cmdline.c
>  b/app/test/test_cmdline.c
> +@@ -39,7 +39,7 @@
> + int
> + test_cmdline(void)
> + {
> +-#ifdef CONFIG_RTE_LIBRTE_CMDLINE
> ++#ifdef RTE_LIBRTE_CMDLINE
> + printf("Testind parsing ethernet addresses...\n");
> + if (test_parse_etheraddr_valid() < 0)
> + return -1;
> +diff --git a/app/test/test_eal_flags.c b/app/test/test_eal_flags.c
> +index a862654..1b80b80 100644
> +--- a/app/test/test_eal_flags.c
>  b/app/test/test_eal_flags.c
> +@@ -317,7 +317,7 @@ test_whitelist_flag(void)
> + const char *wlval3[] = {prgname, prefix, mp_flag, "-n", "1", "-c", "1",
> + pci_whitelist, "09:0B.3,type=test",
> + pci_whitelist, "08:00.1,type=normal", -#ifdef
> +CONFIG_RTE_LIBRTE_PMD_RING
> ++#ifdef RTE_LIBRTE_PMD_RING
> + vdev, "eth_ring,arg=test",
> + #endif
> + };
> +--
> +1.9.1
> +
> diff --git a/common/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-eal-fix-
> option-base-virtaddr.patch b/common/recipes-extended/dpdk/dpdk/dpdk-
> 1.6.0r2-eal-fix-option-base-virtaddr.patch
> new file mode 100644
> index 000..e724591
> --- /dev/null
> +++ b/common/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-eal-fix-option-
> base
> +++ -virtaddr.patch
> @@ -0,0 +1,35 @@
> +From be1816f59e772e427fc5815281f9458a9314973a Mon Sep 17 00:00:00
> 2001
> +From: Pablo de Lara 
> +Date: Thu, 19 Jun 2014 16:35:22 +0100
> +Subject: [PATCH] eal: fix option --base-virtaddr
> +
> +Upstream-Status: backport
> +Imported patch from: http://dpdk.org/browse/dpdk/log/
> +
> +When parsing EAL option --base-virtaddr errno was not being set to 0
> +before calling strtoull, therefore function might fail unnecesarily.
> +
> +Signed-off-by: Pablo de Lara 
> +Signed-off-by: A

Re: [meta-intel] [PATCH 1/1] meta-mohonpeak: Fix README on building mohonpeak BSP layer

2014-07-16 Thread Kamble, Nitin A


> -Original Message-
> From: meta-intel-boun...@yoctoproject.org [mailto:meta-intel-
> boun...@yoctoproject.org] On Behalf Of wei.sern.c...@intel.com
> Sent: Wednesday, July 16, 2014 3:34 AM
> To: meta-intel@yoctoproject.org
> Subject: [meta-intel] [PATCH 1/1] meta-mohonpeak: Fix README on building
> mohonpeak BSP layer
> 
> From: Chan Wei Sern 
> 
> By following this bblayer prepartion instruction will cause bitbake to fail
> during parsing stage.So to fix this, need to remove the extra line of
> yocto/meta-intel/meta-isg.
> 
> Signed-off-by: Chan Wei Sern 
Acked-By: Nitin A Kamble 


> ---
>  meta-isg/meta-mohonpeak/README | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/meta-isg/meta-mohonpeak/README b/meta-isg/meta-
> mohonpeak/README index 94ceb2b..cd948de 100644
> --- a/meta-isg/meta-mohonpeak/README
> +++ b/meta-isg/meta-mohonpeak/README
> @@ -83,7 +83,6 @@ bblayers.conf, along with the meta-intel layer itself (to
> access  common metadata shared between BSPs) e.g.:
> 
>yocto/meta-intel \
> -  yocto/meta-intel/meta-isg \
>yocto/meta-intel/meta-isg/meta-mohonpeak \
> 
>  To enable the 32-bit Mohon Peak layer, add the mohonpeak-32 MACHINE to
> local.conf:
> --
> 1.9.1
> 
> --
> ___
> meta-intel mailing list
> meta-intel@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-intel
-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


[meta-intel] [PATCH 1/1] meta-mohonpeak: Fix README on building mohonpeak BSP layer

2014-07-16 Thread wei . sern . chan
From: Chan Wei Sern 

By following this bblayer prepartion instruction will cause
bitbake to fail during parsing stage.So to fix this,
need to remove the extra line of yocto/meta-intel/meta-isg.

Signed-off-by: Chan Wei Sern 
---
 meta-isg/meta-mohonpeak/README | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-isg/meta-mohonpeak/README b/meta-isg/meta-mohonpeak/README
index 94ceb2b..cd948de 100644
--- a/meta-isg/meta-mohonpeak/README
+++ b/meta-isg/meta-mohonpeak/README
@@ -83,7 +83,6 @@ bblayers.conf, along with the meta-intel layer itself (to 
access
 common metadata shared between BSPs) e.g.:
 
   yocto/meta-intel \
-  yocto/meta-intel/meta-isg \
   yocto/meta-intel/meta-isg/meta-mohonpeak \
 
 To enable the 32-bit Mohon Peak layer, add the mohonpeak-32 MACHINE to 
local.conf:
-- 
1.9.1

-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


[meta-intel] [PATCH 0/1] Fix README on mohonpeak BSP

2014-07-16 Thread wei . sern . chan
From: Chan Wei Sern 

Hi All,

This patch is to fix the extra line inside
meta-intel/meta-isg/meta-mohonpeak/README on the section of preparing
mohonpeak BSP layers.

Please help to pull this into meta-intel:daisy branch and meta-intel:master 
branch.

Thanks.
Regards,
Chan Wei Sern.
The following changes since commit 50d1afd52a612dbf9a190bf869c37253864886cc:

  Provide a time limited kernel extension for the v3.14 kernel (2014-06-12 
11:58:21 -0500)

are available in the git repository at:

  git://git.yoctoproject.org/meta-intel-contrib wchan9/intel-common-daisy
  
http://git.yoctoproject.org/cgit.cgi/meta-intel-contrib/log/?h=wchan9/intel-common-daisy

Chan Wei Sern (1):
  meta-mohonpeak: Fix README on building mohonpeak BSP layer

 meta-isg/meta-mohonpeak/README | 1 -
 1 file changed, 1 deletion(-)

-- 
1.9.1

-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


[meta-intel] [PATCHv3 2/2] meta-romley: add Intel DPDK v1.6.0r2 support Romley machine config

2014-07-16 Thread wei . sern . chan
From: Chan Wei Sern 

Added MACHINE_EXTRA_RRECOMMENDS to include dpdk for romley machine
configuration so that building on Romley will automatically pick up
Intel DPDK. This is an initial version of Intel DPDK support in Romley
that is default target version 1.6.0r2.

Signed-off-by: Chan Wei Sern 
---
 meta-romley/conf/machine/romley-ivb.conf | 4 +++-
 meta-romley/conf/machine/romley.conf | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/meta-romley/conf/machine/romley-ivb.conf 
b/meta-romley/conf/machine/romley-ivb.conf
index af52897..54d2d30 100644
--- a/meta-romley/conf/machine/romley-ivb.conf
+++ b/meta-romley/conf/machine/romley-ivb.conf
@@ -7,7 +7,6 @@
 #@DESCRIPTION: Machine configuration for Romley systems
 # i.e. Xeon E5-2600 and E5-2400 + Intel CC604/C602-J
 
-
 PREFERRED_VERSION_linux-yocto ?= "3.10%"
 
 require conf/machine/include/intel-corei7-64-common.inc
@@ -18,3 +17,6 @@ XSERVER ?= "${XSERVER_X86_BASE} \
${XSERVER_X86_EXT} \
   ${XSERVER_X86_MATROX_MGA} \
"
+
+MACHINE_EXTRA_RRECOMMENDS += "dpdk \
+  "
diff --git a/meta-romley/conf/machine/romley.conf 
b/meta-romley/conf/machine/romley.conf
index ed52a1e..2e17114 100644
--- a/meta-romley/conf/machine/romley.conf
+++ b/meta-romley/conf/machine/romley.conf
@@ -7,7 +7,6 @@
 #@DESCRIPTION: Machine configuration for Romley systems
 # i.e. Xeon E5-2600 and E5-2400 + Intel CC604/C602-J
 
-
 PREFERRED_VERSION_linux-yocto ?= "3.10%"
 
 require conf/machine/include/intel-corei7-64-common.inc
@@ -18,3 +17,6 @@ XSERVER ?= "${XSERVER_X86_BASE} \
${XSERVER_X86_EXT} \
   ${XSERVER_X86_MATROX_MGA} \
"
+
+MACHINE_EXTRA_RRECOMMENDS += "dpdk \
+  "
-- 
1.9.1

-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


[meta-intel] [PATCHv3 1/2] meta-intel/common: Initial Intel DPDK recipe under recipes-extended

2014-07-16 Thread wei . sern . chan
From: Chan Wei Sern 

This is an initial version of Intel Data Plane Development Kits
(DPDK) recipe support. This recipe is targetting on Intel DPDK
v1.6.0r2. This recipe is created under meta-intel/common because
Intel DPDK can be commonly used several Intel BSP platforms such
as Romley, Crystal-Forest & Mohon-peak. We resolved examples apps
build failure found in v1.6.0-r2 by cherry-picking patches from
v1.7.0 as they are not planned to be fixed in v1.6.0-r2. The
example app build failure are found in qos_sched, eal_flags_autotest
and cmdline_autotest.

Signed-off-by: Chan Wei Sern 
---
 ...ix-build-switches-to-enable-cmdline-tests.patch |  53 +++
 ...dpdk-1.6.0r2-eal-fix-option-base-virtaddr.patch |  35 +
 ...k-1.6.0r2-examples-qos_sched-fix-makefile.patch |  35 +
 common/recipes-extended/dpdk/dpdk_1.6.0r2.bb   | 166 +
 4 files changed, 289 insertions(+)
 create mode 100644 
common/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-app-test-fix-build-switches-to-enable-cmdline-tests.patch
 create mode 100644 
common/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-eal-fix-option-base-virtaddr.patch
 create mode 100644 
common/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-examples-qos_sched-fix-makefile.patch
 create mode 100644 common/recipes-extended/dpdk/dpdk_1.6.0r2.bb

diff --git 
a/common/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-app-test-fix-build-switches-to-enable-cmdline-tests.patch
 
b/common/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-app-test-fix-build-switches-to-enable-cmdline-tests.patch
new file mode 100644
index 000..87d2ef7
--- /dev/null
+++ 
b/common/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-app-test-fix-build-switches-to-enable-cmdline-tests.patch
@@ -0,0 +1,53 @@
+From cf953d2bfa7df9aa67459b333db4d4d8a9e72fd6 Mon Sep 17 00:00:00 2001
+From: Thomas Monjalon 
+Date: Fri, 27 Jun 2014 11:21:11 +0200
+Subject: [PATCH] app/test: fix build switches to enable cmdline tests
+
+Upstream-Status: backport
+Imported patch from: http://dpdk.org/browse/dpdk/log/
+
+There were 2 typos since these commits (in 1.6.0 releases):
+   21a7f4e264 fix build without librte_cmdline
+   cac6d08c8b replace --use-device option by --pci-whitelist and --vdev
+In makefiles, the build options are prefixed with CONFIG_RTE_
+but in .c file, it is only RTE_.
+
+These typos were disabling cmdline unit tests and test of "--vdev eth_ring" 
option.
+
+Signed-off-by: Thomas Monjalon 
+Acked-by: Pablo de Lara 
+Signed-off-by: Chan Wei Sern 
+---
+ app/test/test_cmdline.c   | 2 +-
+ app/test/test_eal_flags.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/app/test/test_cmdline.c b/app/test/test_cmdline.c
+index 77475c4..10a3f77 100644
+--- a/app/test/test_cmdline.c
 b/app/test/test_cmdline.c
+@@ -39,7 +39,7 @@
+ int
+ test_cmdline(void)
+ {
+-#ifdef CONFIG_RTE_LIBRTE_CMDLINE
++#ifdef RTE_LIBRTE_CMDLINE
+   printf("Testind parsing ethernet addresses...\n");
+   if (test_parse_etheraddr_valid() < 0)
+   return -1;
+diff --git a/app/test/test_eal_flags.c b/app/test/test_eal_flags.c
+index a862654..1b80b80 100644
+--- a/app/test/test_eal_flags.c
 b/app/test/test_eal_flags.c
+@@ -317,7 +317,7 @@ test_whitelist_flag(void)
+   const char *wlval3[] = {prgname, prefix, mp_flag, "-n", "1", "-c", "1",
+   pci_whitelist, "09:0B.3,type=test",
+   pci_whitelist, "08:00.1,type=normal",
+-#ifdef CONFIG_RTE_LIBRTE_PMD_RING
++#ifdef RTE_LIBRTE_PMD_RING
+   vdev, "eth_ring,arg=test",
+ #endif
+   };
+-- 
+1.9.1
+
diff --git 
a/common/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-eal-fix-option-base-virtaddr.patch
 
b/common/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-eal-fix-option-base-virtaddr.patch
new file mode 100644
index 000..e724591
--- /dev/null
+++ 
b/common/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-eal-fix-option-base-virtaddr.patch
@@ -0,0 +1,35 @@
+From be1816f59e772e427fc5815281f9458a9314973a Mon Sep 17 00:00:00 2001
+From: Pablo de Lara 
+Date: Thu, 19 Jun 2014 16:35:22 +0100
+Subject: [PATCH] eal: fix option --base-virtaddr
+
+Upstream-Status: backport
+Imported patch from: http://dpdk.org/browse/dpdk/log/
+
+When parsing EAL option --base-virtaddr
+errno was not being set to 0 before calling strtoull,
+therefore function might fail unnecesarily.
+
+Signed-off-by: Pablo de Lara 
+Signed-off-by: Aaron Campbell 
+Acked-by: Anatoly Burakov 
+Signed-off-by: Chan Wei Sern 
+---
+ lib/librte_eal/linuxapp/eal/eal.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/lib/librte_eal/linuxapp/eal/eal.c 
b/lib/librte_eal/linuxapp/eal/eal.c
+index 6994303..d204387 100644
+--- a/lib/librte_eal/linuxapp/eal/eal.c
 b/lib/librte_eal/linuxapp/eal/eal.c
+@@ -562,6 +562,7 @@ eal_parse_base_virtaddr(const char *arg)
+   char *end;
+   uint64_t addr;
+ 
++  errno = 0;
+   addr = strtoull(arg, &end, 16);
+ 
+   /* check for errors */
+-- 
+1.9.1
+
diff --git 
a/common/recipes-extended/dpdk/dpdk/dp

Re: [meta-intel] Yocto + mohonpeak BSP build probelm

2014-07-16 Thread Chang, Rebecca Swee Fun
Thanks for pointing that out. We will update it soon.

-Rebecca

From: Lai Eddy [mailto:eddy.lai...@gmail.com]
Sent: 16 July, 2014 5:39 PM
To: Chang, Rebecca Swee Fun
Cc: meta-intel@yoctoproject.org
Subject: Re: [meta-intel] Yocto + mohonpeak BSP build probelm

Thanks Rebecca,

Bblayers.conf:
- Remove line : /media/eddylai/datahd/poky/meta-intel/meta-isg \
fixed the problem, and I just add the 3 layer path according to Mohonpeak BSP's 
README file ( 
http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/tree/meta-isg/meta-mohonpeak/README?h=daisy
 ), maybe this file need to be updated.

BRGDS
Eddy Lai

2014-07-16 16:51 GMT+08:00 Chang, Rebecca Swee Fun 
mailto:rebecca.swee.fun.ch...@intel.com>>:
Hi Eddy,

Thanks for using Mohonpeak Yocto Project BSP. I’ve checked your attachments. 
Here are my comments:

Bblayers.conf:
- Remove line : /media/eddylai/datahd/poky/meta-intel/meta-isg \
- You only add layers that contains conf/ directory. In this case, meta-isg 
layer does not contain any layer configurations, so you don’t need to add that.

Layer.conf:
- You have duplicated parallelism options
Note that you have:
BB_NUMBER_THREADS ?= "8"
BB_NUMBER_THREADS ?= 
${@oe.utils.cpu_count()}

Choose 1 option and comment out the other option.
BB_NUMBER_THREADS ?= 
${@oe.utils.cpu_count()} will allocate max 
number of threads based on your machine capability.
If you would like to specify your own, comment this line.

Same for this:
PARALLEL_MAKE ?= "-j 8"
PARALLEL_MAKE ?= "-j 
${@oe.utils.cpu_count()}"

- You are building two MACHINE type
MACHINE ?= "mohonpeak-32"
MACHINE ??= "qemux86"

Choose one and comment out the other option.

Regards
Rebecca



From: 
meta-intel-boun...@yoctoproject.org 
[mailto:meta-intel-boun...@yoctoproject.org]
 On Behalf Of Lai Eddy
Sent: 16 July, 2014 4:39 PM
To: meta-intel@yoctoproject.org
Subject: [meta-intel] Yocto + mohonpeak BSP build probelm


I have just download Yocto YP Core - Daisy 1.6.1 and  Intel® Atom® Processor 
C2000 (Mohon Peak) BSP , modified .conf files (as attached) then try the first 
time build, got errors as below, anything else I did wrong? (have tried both 
32/64 arch )
checked there's no conf/layer.conf under meta-isg folder included in the 
original downloaded BSP( tryied both "git" and "download the .bz2 file from YP 
site")
Eddy Lai

$ bitbake core-image-sato
ERROR: Traceback (most recent call last):
  File "/media/eddylai/datahd/poky/bitbake/lib/bb/cookerdata.py", line 163, in 
wrapped
return func(fn, *args)
  File "/media/eddylai/datahd/poky/bitbake/lib/bb/cookerdata.py", line 173, in 
parse_config_file
return bb.parse.handle(fn, data, include)
  File "/media/eddylai/datahd/poky/bitbake/lib/bb/parse/__init__.py", line 99, 
in handle
return h['handle'](fn, data, include)
  File 
"/media/eddylai/datahd/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 
120, in handle
abs_fn = resolve_file(fn, data)
  File "/media/eddylai/datahd/poky/bitbake/lib/bb/parse/__init__.py", line 122, 
in resolve_file
raise IOError("file %s not found" % fn)
IOError: file /media/eddylai/datahd/poky/meta-intel/meta-isg/conf/layer.conf 
not found

ERROR: Unable to parse 
/media/eddylai/datahd/poky/meta-intel/meta-isg/conf/layer.conf: file 
/media/eddylai/datahd/poky/meta-intel/meta-isg/conf/layer.conf not found


-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


Re: [meta-intel] Yocto + mohonpeak BSP build probelm

2014-07-16 Thread Lai Eddy
Thanks Rebecca,

Bblayers.conf:

- Remove line : /media/eddylai/datahd/poky/meta-intel/meta-isg \

fixed the problem, and I just add the 3 layer path according to Mohonpeak
BSP's README file (
http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/tree/meta-isg/meta-mohonpeak/README?h=daisy
), maybe this file need to be updated.


BRGDS

Eddy Lai


2014-07-16 16:51 GMT+08:00 Chang, Rebecca Swee Fun <
rebecca.swee.fun.ch...@intel.com>:

>  Hi Eddy,
>
>
>
> Thanks for using Mohonpeak Yocto Project BSP. I’ve checked your
> attachments. Here are my comments:
>
>
>
> Bblayers.conf:
>
> - Remove line : /media/eddylai/datahd/poky/meta-intel/meta-isg \
>
> - You only add layers that contains conf/ directory. In this case,
> meta-isg layer does not contain any layer configurations, so you don’t need
> to add that.
>
>
>
> Layer.conf:
>
> - You have duplicated parallelism options
>
> Note that you have:
>
> BB_NUMBER_THREADS ?= "8"
>
> BB_NUMBER_THREADS ?= ${@oe.utils.cpu_count()}
>
>
>
> Choose 1 option and comment out the other option.
>
> BB_NUMBER_THREADS ?= ${@oe.utils.cpu_count()} will allocate max number of
> threads based on your machine capability.
>
> If you would like to specify your own, comment this line.
>
>
>
> Same for this:
>
> PARALLEL_MAKE ?= "-j 8"
>
> PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
>
>
>
> - You are building two MACHINE type
>
> MACHINE ?= "mohonpeak-32"
>
> MACHINE ??= "qemux86"
>
>
>
> Choose one and comment out the other option.
>
>
>
> Regards
>
> Rebecca
>
>
>
>
>
>
>
> *From:* meta-intel-boun...@yoctoproject.org [mailto:
> meta-intel-boun...@yoctoproject.org] *On Behalf Of *Lai Eddy
> *Sent:* 16 July, 2014 4:39 PM
> *To:* meta-intel@yoctoproject.org
> *Subject:* [meta-intel] Yocto + mohonpeak BSP build probelm
>
>
>
>
>
> I have just download Yocto YP Core - Daisy 1.6.1 and  Intel® Atom®
> Processor C2000 (Mohon Peak) BSP , modified .conf files (as attached) then
> try the first time build, got errors as below, anything else I did wrong?
> (have tried both 32/64 arch )
>
> checked there's no conf/layer.conf under meta-isg folder included in the
> original downloaded BSP( tryied both "git" and "download the .bz2 file from
> YP site")
>
> Eddy Lai
>
> 
> $ bitbake core-image-sato
> ERROR: Traceback (most recent call last):
>   File "/media/eddylai/datahd/poky/bitbake/lib/bb/cookerdata.py", line
> 163, in wrapped
> return func(fn, *args)
>   File "/media/eddylai/datahd/poky/bitbake/lib/bb/cookerdata.py", line
> 173, in parse_config_file
> return bb.parse.handle(fn, data, include)
>   File "/media/eddylai/datahd/poky/bitbake/lib/bb/parse/__init__.py", line
> 99, in handle
> return h['handle'](fn, data, include)
>   File
> "/media/eddylai/datahd/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py",
> line 120, in handle
> abs_fn = resolve_file(fn, data)
>   File "/media/eddylai/datahd/poky/bitbake/lib/bb/parse/__init__.py", line
> 122, in resolve_file
> raise IOError("file %s not found" % fn)
> IOError: file
> /media/eddylai/datahd/poky/meta-intel/meta-isg/conf/layer.conf not found
>
> ERROR: Unable to parse
> /media/eddylai/datahd/poky/meta-intel/meta-isg/conf/layer.conf: file
> /media/eddylai/datahd/poky/meta-intel/meta-isg/conf/layer.conf not found
>
>
>
-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


Re: [meta-intel] Yocto + mohonpeak BSP build probelm

2014-07-16 Thread Chang, Rebecca Swee Fun
Hi Eddy,

Thanks for using Mohonpeak Yocto Project BSP. I’ve checked your attachments. 
Here are my comments:

Bblayers.conf:
- Remove line : /media/eddylai/datahd/poky/meta-intel/meta-isg \
- You only add layers that contains conf/ directory. In this case, meta-isg 
layer does not contain any layer configurations, so you don’t need to add that.

Layer.conf:
- You have duplicated parallelism options
Note that you have:
BB_NUMBER_THREADS ?= "8"
BB_NUMBER_THREADS ?= ${@oe.utils.cpu_count()}

Choose 1 option and comment out the other option.
BB_NUMBER_THREADS ?= ${@oe.utils.cpu_count()} will allocate max number of 
threads based on your machine capability.
If you would like to specify your own, comment this line.

Same for this:
PARALLEL_MAKE ?= "-j 8"
PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"

- You are building two MACHINE type
MACHINE ?= "mohonpeak-32"
MACHINE ??= "qemux86"

Choose one and comment out the other option.

Regards
Rebecca



From: meta-intel-boun...@yoctoproject.org 
[mailto:meta-intel-boun...@yoctoproject.org] On Behalf Of Lai Eddy
Sent: 16 July, 2014 4:39 PM
To: meta-intel@yoctoproject.org
Subject: [meta-intel] Yocto + mohonpeak BSP build probelm


I have just download Yocto YP Core - Daisy 1.6.1 and  Intel® Atom® Processor 
C2000 (Mohon Peak) BSP , modified .conf files (as attached) then try the first 
time build, got errors as below, anything else I did wrong? (have tried both 
32/64 arch )
checked there's no conf/layer.conf under meta-isg folder included in the 
original downloaded BSP( tryied both "git" and "download the .bz2 file from YP 
site")
Eddy Lai

$ bitbake core-image-sato
ERROR: Traceback (most recent call last):
  File "/media/eddylai/datahd/poky/bitbake/lib/bb/cookerdata.py", line 163, in 
wrapped
return func(fn, *args)
  File "/media/eddylai/datahd/poky/bitbake/lib/bb/cookerdata.py", line 173, in 
parse_config_file
return bb.parse.handle(fn, data, include)
  File "/media/eddylai/datahd/poky/bitbake/lib/bb/parse/__init__.py", line 99, 
in handle
return h['handle'](fn, data, include)
  File 
"/media/eddylai/datahd/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 
120, in handle
abs_fn = resolve_file(fn, data)
  File "/media/eddylai/datahd/poky/bitbake/lib/bb/parse/__init__.py", line 122, 
in resolve_file
raise IOError("file %s not found" % fn)
IOError: file /media/eddylai/datahd/poky/meta-intel/meta-isg/conf/layer.conf 
not found

ERROR: Unable to parse 
/media/eddylai/datahd/poky/meta-intel/meta-isg/conf/layer.conf: file 
/media/eddylai/datahd/poky/meta-intel/meta-isg/conf/layer.conf not found

-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


[meta-intel] Yocto + mohonpeak BSP build probelm

2014-07-16 Thread Lai Eddy
I have just download Yocto YP Core - Daisy 1.6.1 and  Intel® Atom®
Processor C2000 (Mohon Peak) BSP , modified .conf files (as attached) then
try the first time build, got errors as below, anything else I did wrong?
(have tried both 32/64 arch )
checked there's no conf/layer.conf under meta-isg folder included in the
original downloaded BSP( tryied both "git" and "download the .bz2 file from
YP site")

Eddy Lai

 
$ bitbake core-image-sato
ERROR: Traceback (most recent call last):
  File "/media/eddylai/datahd/poky/bitbake/lib/bb/cookerdata.py", line 163,
in wrapped
return func(fn, *args)
  File "/media/eddylai/datahd/poky/bitbake/lib/bb/cookerdata.py", line 173,
in parse_config_file
return bb.parse.handle(fn, data, include)
  File "/media/eddylai/datahd/poky/bitbake/lib/bb/parse/__init__.py", line
99, in handle
return h['handle'](fn, data, include)
  File
"/media/eddylai/datahd/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py",
line 120, in handle
abs_fn = resolve_file(fn, data)
  File "/media/eddylai/datahd/poky/bitbake/lib/bb/parse/__init__.py", line
122, in resolve_file
raise IOError("file %s not found" % fn)
IOError: file
/media/eddylai/datahd/poky/meta-intel/meta-isg/conf/layer.conf not found

ERROR: Unable to parse
/media/eddylai/datahd/poky/meta-intel/meta-isg/conf/layer.conf: file
/media/eddylai/datahd/poky/meta-intel/meta-isg/conf/layer.conf not found


bblayers.conf
Description: Binary data


local.conf
Description: Binary data
-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel