Re: [oe] [meta-oe][PATCH 1/1] kernel-selftest: Add a recipe on kernel selftest

2018-07-31 Thread Hongzhi, Song
Hi Raj, I have fixed the error for poky-lsb with patch sent to oe-core. The patch fixed the error, 'No libelf found' and 'BPF API too old'. With the patch above, please compile the kernel-selftest recipe again. If there is no problem, please merge it. --Hongzhi On 2018年07月31日 02:38, Khem

Re: [oe] [meta-oe][PATCH 1/1] kernel-selftest: Add a recipe on kernel selftest

2018-07-30 Thread Khem Raj
These are generic layers so adding recipes which limit them to a certain kernel or setup is Not preferred generally I would suggest keep This recipe in BSP layers where it’s certain that They will be provided with needed pre requisites On Mon, Jul 30, 2018 at 5:12 AM Hongzhi, Song wrote: > Hi Ra

Re: [oe] [meta-oe][PATCH 1/1] kernel-selftest: Add a recipe on kernel selftest

2018-07-30 Thread Hongzhi, Song
Hi Raj, I can continue to fix the error with rpi that you build. But I found that rpi gets kernel from git://github.com/raspberrypi/linux.git;branch=rpi-4.14.y, which is not belong to openembeded. I think that the rpi recipe must make some special change which cause the error. And the

Re: [oe] [meta-oe][PATCH 1/1] kernel-selftest: Add a recipe on kernel selftest

2018-07-29 Thread Khem Raj
I can not get it compiling for musl and rpi with poky lsb equivalent distro until there are clean builds it won’t be possible for me to get this in On Sun, Jul 29, 2018 at 8:34 PM Hongzhi, Song wrote: > ping > > --Hongzhi > > > On 2018年07月27日 17:00, Hongzhi, Song wrote: > > Hi Raj, > > > > Could

Re: [oe] [meta-oe][PATCH 1/1] kernel-selftest: Add a recipe on kernel selftest

2018-07-29 Thread Hongzhi, Song
ping --Hongzhi On 2018年07月27日 17:00, Hongzhi, Song wrote: Hi Raj, Could you help to confirm that if the libelf exists in your recipe-sysroot? Because I can't reproduce your error. --Hongzhi On 2018年07月27日 16:40, Khem Raj wrote: this fails on rpi ERROR: Logfile of failure stored in: /

Re: [oe] [meta-oe][PATCH 1/1] kernel-selftest: Add a recipe on kernel selftest

2018-07-27 Thread Hongzhi, Song
Hi Raj, Could you help to confirm that if the libelf exists in your recipe-sysroot? Because I can't reproduce your error. --Hongzhi On 2018年07月27日 16:40, Khem Raj wrote: this fails on rpi ERROR: Logfile of failure stored in: /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-se

Re: [oe] [meta-oe][PATCH 1/1] kernel-selftest: Add a recipe on kernel selftest

2018-07-27 Thread Khem Raj
this fails on rpi ERROR: Logfile of failure stored in: /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/temp/log.do_compile.22198 Log data follows: | DEBUG: Executing shell function do_compile | NOTE: make -j 16 CROSS_COMPILE=arm-bec-linux-gnueabi- ARCH=arm CC=arm-bec

Re: [oe] [meta-oe][PATCH 1/1] kernel-selftest: Add a recipe on kernel selftest

2018-07-16 Thread Hongzhi, Song
On 2018年07月14日 00:23, Burton, Ross wrote: On 13 July 2018 at 15:06, Hongzhi.Song wrote: +LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7 \ Why are you shipping your own copy of the kernel's COPYING file even though you copy another in that prefunc? Isn't it possible

Re: [oe] [meta-oe][PATCH 1/1] kernel-selftest: Add a recipe on kernel selftest

2018-07-13 Thread Burton, Ross
On 13 July 2018 at 15:06, Hongzhi.Song wrote: >+LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7 \ Why are you shipping your own copy of the kernel's COPYING file even though you copy another in that prefunc? Isn't it possible to just depend on kernel-source and build dire

[oe] [meta-oe][PATCH 1/1] kernel-selftest: Add a recipe on kernel selftest

2018-07-13 Thread Hongzhi.Song
The recipe builds the framework for kernel-selftest. Now, it just contains two sets of testcase, bpf and vm. We are appending others to the recipe. It needs some features which will be written into relevant recipe. But now, you should add them to conf/local.conf manually. KERNEL_FEATURES_append +=