Re: [meta-intel] [meta-dpdk v3 1/3] dpdk_18.05: Make the LICENSE more accurate

2019-05-27 Thread Mittal, Anuj
Thanks, I have merged these and created warrior as well.

Thanks,
Anuj

On Mon, 2019-05-27 at 18:27 +0800, Kevin Hao wrote:
> Adjust the LICENSE according to the license files.
> 
> Signed-off-by: Kevin Hao 
> ---
> v3: A new patch.
> 
>  recipes-extended/dpdk/dpdk_18.05.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/recipes-extended/dpdk/dpdk_18.05.bb b/recipes-
> extended/dpdk/dpdk_18.05.bb
> index f914214b6e7e..108d6838aa6b 100644
> --- a/recipes-extended/dpdk/dpdk_18.05.bb
> +++ b/recipes-extended/dpdk/dpdk_18.05.bb
> @@ -2,7 +2,7 @@ include dpdk.inc
>  
>  SRCREV = "a5dce6286cc56655320d975c67b0dbe08693"
>  
> -LICENSE = "BSD & LGPLv2 & GPLv2"
> +LICENSE = "BSD-3-Clause & LGPLv2.1 & GPLv2"
>  LIC_FILES_CHKSUM = "file://license/gpl-
> 2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
>  file://license/lgpl-
> 2.1.txt;md5=4b54a1fd55a448865a0b32d41598759d \
>  file://license/bsd-3-
> clause.txt;md5=0f00d99239d922ffd13cabef83b33444"

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


Re: [meta-intel] (no subject)

2019-05-27 Thread Mittal, Anuj
Hi Richard

On Mon, 2019-05-27 at 13:57 +0800, Richard Liu wrote:
> Q1: why I must set the MACHINE to“intel-corei7-64”?  my cpu is atom
> E3845 Soc, not i7, if i set it to intel-core i7, dose the kernel can
> do best performance?  I just want to build a kernel for atom(not for
> i7).  In my opinion, generic kernel is not as good as customization
> kernel.

intel-corei7-64 is a MACHINE name used by meta-intel and doesn't mean
that it is specific to i7. You can use this machine value for Atom.

> 
> Q2:  What is the latest version of the kernel supported for Atom
> E3845, can you give me the refer link?  in the former refer link, the
> kernel version is 4.14.18, can i modify it to 5.0?

I'd request that you try out the latest 4.14 on warrior (or 4.19)
instead of 4.14.18 from rocko and report back if you see issues.

linux-intel doesn't have a 5.0 recipe since it's only based on LTS
kernels. You can switch to using 5.0 linux-yocto kernel though when
using warrior branch:

PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"

> 
> Q3: I found that the kernel code was retrieved from 
> https://github.com/intel/linux-intel-lts.git,  is there any
> difference bettween intel kernel (geted from  github.com/intel/linux-
> intel-lts.git) and official kernel(download from www.kernel.org)?

linux-intel carries Intel specific patches and backports that aren't 
part of stable/mainline kernel.

> 
> Q4:  what is the difference between these branch ?  (
> root@BUILD-Server:/home/work/yocto/yocto_build/tmp/work-shared/intel-
> corei7-64/kernel-source# git branch -a) 
> 4.14/base 
> 4.14/base-yocto

There is no difference. If you compare the branches, they should be
same.

Thanks,

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


[meta-intel] [meta-dpdk v3 1/3] dpdk_18.05: Make the LICENSE more accurate

2019-05-27 Thread Kevin Hao
Adjust the LICENSE according to the license files.

Signed-off-by: Kevin Hao 
---
v3: A new patch.

 recipes-extended/dpdk/dpdk_18.05.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-extended/dpdk/dpdk_18.05.bb 
b/recipes-extended/dpdk/dpdk_18.05.bb
index f914214b6e7e..108d6838aa6b 100644
--- a/recipes-extended/dpdk/dpdk_18.05.bb
+++ b/recipes-extended/dpdk/dpdk_18.05.bb
@@ -2,7 +2,7 @@ include dpdk.inc
 
 SRCREV = "a5dce6286cc56655320d975c67b0dbe08693"
 
-LICENSE = "BSD & LGPLv2 & GPLv2"
+LICENSE = "BSD-3-Clause & LGPLv2.1 & GPLv2"
 LIC_FILES_CHKSUM = 
"file://license/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 
file://license/lgpl-2.1.txt;md5=4b54a1fd55a448865a0b32d41598759d \
 
file://license/bsd-3-clause.txt;md5=0f00d99239d922ffd13cabef83b33444"
-- 
2.14.4

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


[meta-intel] [meta-dpdk v3 2/3] Move two patches to the version specific bb

2019-05-27 Thread Kevin Hao
These two patches can't be applied to the new version DPDK, so move
them to the version specific bb.

Signed-off-by: Kevin Hao 
---
v3: No change.

 recipes-extended/dpdk/dpdk.inc| 2 --
 recipes-extended/dpdk/dpdk_17.11.3.bb | 6 +-
 recipes-extended/dpdk/dpdk_18.05.bb   | 2 ++
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes-extended/dpdk/dpdk.inc
index 92042bb74d5d..a0e081a3a8fe 100644
--- a/recipes-extended/dpdk/dpdk.inc
+++ b/recipes-extended/dpdk/dpdk.inc
@@ -8,8 +8,6 @@ S = "${WORKDIR}/git"
 SRC_URI = "git://dpdk.org/dpdk${STABLE};branch=${BRANCH} \
   file://dpdk-16.04-add-RTE_KERNELDIR_OUT-to-split-kernel-bu.patch \
   file://dpdk-16.07-add-sysroot-option-within-app-makefile.patch \
-  file://dpdk-16.07-dpdk-fix-for-parellel-make-issue.patch \
-  file://dpdk-17.02-dpdk-fix-installation-warning-and-issue.patch \
  "
 
 COMPATIBLE_MACHINE = "null"
diff --git a/recipes-extended/dpdk/dpdk_17.11.3.bb 
b/recipes-extended/dpdk/dpdk_17.11.3.bb
index b4b002332be7..7fc89d2d7cc8 100644
--- a/recipes-extended/dpdk/dpdk_17.11.3.bb
+++ b/recipes-extended/dpdk/dpdk_17.11.3.bb
@@ -8,4 +8,8 @@ LICENSE = "LGPLv2 & GPLv2"
 LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=751419260aa954499f7abaabaa882bbe\
 file://LICENSE.LGPL;md5=4fbd65380cdd255951079008b364516c"
 
-SRC_URI += "file://dpdk-17.11-Fix-strncpy-error-for-GCC8.patch"
+SRC_URI += "\
+file://dpdk-16.07-dpdk-fix-for-parellel-make-issue.patch \
+file://dpdk-17.02-dpdk-fix-installation-warning-and-issue.patch \
+file://dpdk-17.11-Fix-strncpy-error-for-GCC8.patch \
+"
diff --git a/recipes-extended/dpdk/dpdk_18.05.bb 
b/recipes-extended/dpdk/dpdk_18.05.bb
index 108d6838aa6b..b6897a82c873 100644
--- a/recipes-extended/dpdk/dpdk_18.05.bb
+++ b/recipes-extended/dpdk/dpdk_18.05.bb
@@ -8,6 +8,8 @@ LIC_FILES_CHKSUM = 
"file://license/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4
 
file://license/bsd-3-clause.txt;md5=0f00d99239d922ffd13cabef83b33444"
 
 SRC_URI += "\
+file://dpdk-16.07-dpdk-fix-for-parellel-make-issue.patch \
+file://dpdk-17.02-dpdk-fix-installation-warning-and-issue.patch \
 
file://dpdk-16.04-dpdk-enable-ip_fragmentation-in-common_base-config.patch \
 file://0001-examples-Fix-maybe-uninitialized-warning.patch \
 "
-- 
2.14.4

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


[meta-intel] [meta-dpdk v3 3/3] Introduce the v18.11.1 bb

2019-05-27 Thread Kevin Hao
This is the latest LTS version.

Signed-off-by: Kevin Hao 
---
v3: Drop the two unneeded patches and adjust the LICENSE.

 recipes-extended/dpdk/dpdk_18.11.1.bb | 15 +++
 1 file changed, 15 insertions(+)
 create mode 100644 recipes-extended/dpdk/dpdk_18.11.1.bb

diff --git a/recipes-extended/dpdk/dpdk_18.11.1.bb 
b/recipes-extended/dpdk/dpdk_18.11.1.bb
new file mode 100644
index ..2d0434651bc4
--- /dev/null
+++ b/recipes-extended/dpdk/dpdk_18.11.1.bb
@@ -0,0 +1,15 @@
+include dpdk.inc
+
+STABLE = "-stable"
+BRANCH = "18.11"
+SRCREV = "16ece46735c9b70b7033ca7ae095930e9038d9fd"
+
+LICENSE = "BSD-3-Clause & LGPLv2.1 & GPLv2"
+LIC_FILES_CHKSUM = 
"file://license/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+
file://license/lgpl-2.1.txt;md5=4b54a1fd55a448865a0b32d41598759d \
+
file://license/bsd-3-clause.txt;md5=0f00d99239d922ffd13cabef83b33444"
+
+do_install_append () {
+# Remove the unneeded dir
+rm -rf ${D}/${INSTALL_PATH}/${RTE_TARGET}/app
+}
-- 
2.14.4

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


Re: [meta-intel] [meta-dpdk v2 2/2] Introduce the v18.11.1 bb

2019-05-27 Thread Kevin Hao
On Mon, May 27, 2019 at 01:48:52AM +, Mittal, Anuj wrote:
> On Sun, 2019-05-26 at 14:54 +0800, Kevin Hao wrote:
> > > If not, we should probably just remove it in do_install_append and
> > not
> > > carry this patch.
> > 
> > Do you mean something like this in the dpdk_18.11.1.bb:
> >   do_install_append () {
> >   # Remove the unneeded dir
> >   dir=${D}/${INSTALL_PATH}/${RTE_TARGET}/app
> >   test -d $dir && rm -rf $dir
> >   }
> 
> Yes but I don't think you need to check if the dir is present when
> using -f with rm.

OK, I will remove the test.

Thanks,
Kevin

> 
> Thanks,
> Anuj


signature.asc
Description: PGP signature
-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


Re: [meta-intel] minimal image disk size for old ATOM SOM

2019-05-27 Thread Ranran
Hi,

I haven't tried to deploy or to compile it yet.
I first wandered if building the minimal core image (without any
customization) will give result of image < 1GB.
Anyway, I guess it is something that I will know only after making the
build. I hope it will be < 1GB...

Thanks,
ranran

On Mon, May 27, 2019 at 4:53 AM Mittal, Anuj  wrote:
>
> On Sun, 2019-05-26 at 11:50 +0300, Ranran wrote:
> > Hello,
> >
> > We use older ATM (ATOM N450, advantech SOM-7562), with very limited
> > disk size of 1G (we now check if we can increase it to 16G).
> >
> > Is meta-intel can be used for ATOM N450 ?
> > What's the estimated size of the minimal core image ? Is it below 1GB
> > ?
>
> The image size would depend on what is included in the image. You can
> and should customize it according to your use case. Have you tried to
> build and boot the image? Do you see any problems?
-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel