[yocto] Out-of-tree kernel module is unbuildable

2018-07-13 Thread Clay D. Montgomery
Hello, I'm trying to add an external kernel module to my layer by following this guide in the Yocto Kernel Development Manual and using the recommended template: 2.10.2. Incorporating Out-of-Tree

Re: [linux-yocto] [PATCH] tiny: Remove CONFIG_TINY_RCU

2018-07-13 Thread Bruce Ashfield
On 07/12/2018 04:42 AM, He Zhe wrote: Currently CONFIG_SMP and CONFIG_PREEMPT are enabled for tiny by default which prevents CONFIG_TINY_RCU from being enabled and causes the follow warning. merged. Bruce When CONFIG_SMP and CONFIG_PREEMPT are disabled, like when building UP kernel,

Re: [linux-yocto] [PATCH] intel-x86: Add intel-x86 BSPs

2018-07-13 Thread Bruce Ashfield
On 07/10/2018 03:52 AM, Yongxin Liu wrote: Create intel-x86-32/64 descriptions in yocto-kernel-cache. These BSPs include all the core support for intel-x86 BSP. This is an initial step to get the machines available and testing. merged. Bruce Signed-off-by: Yongxin Liu ---

[yocto] Why can diffsigs take sometimes really looooong?

2018-07-13 Thread Uwe Geuder
Hi! At times I find the diffsigs command useful/educational to understand what is going on in my build. $ bitbake-diffsigs -t myimage do_image Often the result is shown in no time. However, recently I got some cases were it takes 150 (!) minutes to show a simple difference (1 line changed in

Re: [yocto] LLVM: error adding symbols: File in wrong format

2018-07-13 Thread Giordon Stark
Hi Khem, For meta-clang -- I'm on rocko. Is that truly too old? I'm going to switch to sumo in the next few weeks, but I was hoping to nail some of these recipes before I switch to sumo (one of the bigger things is the update to the linux kernel when switching will give me a bunch of patches for

Re: [yocto] LLVM: error adding symbols: File in wrong format

2018-07-13 Thread Khem Raj
Hi Giordon I realised that you are on an older release can you cherry pick https://github.com/kraj/meta-clang/commit/e9def8f1 I hope that will be helpful this was done for armv7ve/rpi3 I think that you need to add following for your case. If it works you can send the patches for the branch you

Re: [yocto] [PATCH] runtime: Add support to manual BSP test cases

2018-07-13 Thread akuster808
On 07/13/2018 05:08 AM, mohamad.noor.alim.hus...@intel.com wrote: > From: Mohamad Noor Alim Hussin > > This is manual BSP test cases that have converted to auto test cases > for QA release. Manualbsp.py has dependency on file bsphardware that run > on hardware. How do the TestID get

Re: [yocto] LLVM: error adding symbols: File in wrong format

2018-07-13 Thread Giordon Stark
Hi Khem, I've uploaded the gist here: https://gist.github.com/ef8b964d563b9b0c5249b199033d7b6e Looks like the error is: clang-5.0: error: the clang compiler does not support '-march=armv7-a' Giordon On Fri, Jul 13, 2018 at 1:30 AM Khem Raj wrote: > Hi Giordon > > I think there is something

[yocto] [PATCH] runtime: Add support to manual BSP test cases

2018-07-13 Thread mohamad . noor . alim . hussin
From: Mohamad Noor Alim Hussin This is manual BSP test cases that have converted to auto test cases for QA release. Manualbsp.py has dependency on file bsphardware that run on hardware. Signed-off-by: Mohamad Noor Alim Hussin --- meta/lib/oeqa/runtime/cases/manualbsp.py | 122

[yocto] [PATCH] [yocto-ab-helper] scripts/run-jinja-parser: Add parser to generate LAVA job-config

2018-07-13 Thread Aaron Chan
This patch is added to generate the LAVA job-config based on config-intelqa-x86_64-lava.json,lava.py, jinja2 template to construct the job definition in YAML using autobuilder. Signed-off-by: Aaron Chan --- scripts/run-jinja-parser | 121 +++ 1 file

[yocto] [PATCH] [yocto-ab-helper] config-intelqa-x86_64-lava.json: Update job-config to enable BSP on Minnowboard (x86_64)

2018-07-13 Thread Aaron Chan
This patch is to update the nightly-x86-64-bsp job configuration and include the TEST_TARGET_IP, TEST_SERVER_IP & TEST_SUITES to enable OEQA Automated BSP test case(s) using server client connection. Signed-off-by: Aaron Chan --- config-intelqa-x86_64-lava.json | 17 ++--- 1 file

Re: [yocto] Writing a recipe that allows for extra depends, depending on the extra_oemake configurations

2018-07-13 Thread Burton, Ross
On 12 July 2018 at 23:12, Giordon Stark wrote: > Hi Ross, > > Thanks. I saw that but the documentation doesn't explicitly mentioned > EXTRA_OEMAKE. Is that the same as EXTRA_OECONF? EXTRA_OEMAKE is what is passed to 'make' calls. Your recipe is using cmake, so you're extending EXTRA_OECMAKE,

Re: [yocto] [layerindex-web] RFC: layer index docker fixes

2018-07-13 Thread Paul Eggleton
On Thursday, 12 July 2018 10:16:12 PM CEST you wrote: > I just noticed that the image doesn't contain git. Was this > deliberate or an oversight? Ah, no, it wasn't deliberate - perhaps it was there earlier with buildpack- deps? It doesn't appear that we ever explicitly had it in there. I've

[yocto] License information of statically linked libraries

2018-07-13 Thread Piotr Figiel
Hi, do license files for statically linked libraries get somehow on the target image? I'm thinking of how license.bbclass works, as far as I understand it gathers all relevant license files basing on the recipe fields like LICENSE and LIC_FILES_CHKSUM of installed packages. If a recipe is only

Re: [yocto] LLVM: error adding symbols: File in wrong format

2018-07-13 Thread Khem Raj
Hi Giordon I think there is something else going on. Can you check /local/d4/gstark/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/root/6.14.00-r0/build/CMakeFiles/CMakeError.log and see what error message is being spit out by clang when its trying to compile the sample file to detect

Re: [yocto] Issues in getting wiringpi and openvpn through Yocto built image

2018-07-13 Thread Khem Raj
On Thu, Jul 12, 2018 at 10:09 PM AKASH BHARDWAJ wrote: > > I was actually trying to install wiringpi,wiringpi-dev and openvpn on Yocto. > > > I used the command > >> IMAGE_INSTALL_APPEND = " git apt dpkg opkg rpm sudo wiringpi wiringpi-dev >> cmake connman connman-client tzdata i2c-tools