Re: [linux-yocto] [PATCH] dmm.cfg: Change dm-multipath from built-in kernel module to LKM

2018-08-22 Thread Changqing Li
It is for: kernel version:    yocto-kernel-cahe: linux-yocto-dev   master linux-yocto-4.12  yocto-4.12 On 08/23/2018 09:49 AM, changqing...@windriver.com wrote: From: Changqing Li It is better to use LKM for dm-multipath. 1. For multipathd service, it will modprobe dm-multipath

Re: [yocto] Cleaning out build without re-downloading sources

2018-08-22 Thread ChenQi
On 08/22/2018 11:28 PM, Paul Sheer wrote: There is a separate directory, which is usually downloads/ under the build directory, to keep downloaded git repos and tarballs. [network] ---> [downloads] ---> [tmp/work/] So you don't have to worry about the downloading when

[linux-yocto] [PATCH] dmm.cfg: Change dm-multipath from built-in kernel module to LKM

2018-08-22 Thread changqing.li
From: Changqing Li It is better to use LKM for dm-multipath. 1. For multipathd service, it will modprobe dm-multipath before start the daemon. 2. In package multipath, there is a script mpathconf which can config or check configuration of mutltipath, which will use lsmod to check if

Re: [linux-yocto] Custom kernel recipe based on linux-yocto fails due to wrong make call

2018-08-22 Thread Bruce Ashfield
On Wed, Aug 22, 2018 at 7:31 AM, David Daniel wrote: > Hi all > > I am trying to get a custom kernel recipe to work and it fails by > issuing a weird make command - the command contains the arguments one > would pass to gcc when cross-compiling. Bitbake spits a NOTE about the > error that looks

[linux-yocto] Custom kernel recipe based on linux-yocto fails due to wrong make call

2018-08-22 Thread David Daniel
Hi all I am trying to get a custom kernel recipe to work and it fails by issuing a weird make command - the command contains the arguments one would pass to gcc when cross-compiling. Bitbake spits a NOTE about the error that looks like the following: -- ERROR:

Re: [yocto] Creating meta-ocaml layer - how to handle system-wide OCaml library manager?

2018-08-22 Thread Christopher Clark
> > On Tue, 14 Aug 2018 17:23:55 +, Wolfgang Tolkien > wrote: > > > > I need some help and direction: > > > > I've started working on a 'meta-ocaml' layer to add support for the > > OCaml language to Yocto: > > > > https://gitlab.com/wtolkien/meta-ocaml > > > > However, many OCaml projects

Re: [yocto] Recipe re-build when variable in local.conf changes

2018-08-22 Thread Khem Raj
On Wed, Aug 22, 2018 at 8:21 AM Amol Lad wrote: > > Hi, > > > > Is there a way to re-build a recipe if I change a variable in local.conf? > > > > I’ve defined a variable – BUILDVERSION = “1.0.0” in local.conf. There is a > recipe which uses this variable, creates a version file and populates it

Re: [yocto] nativesdk-gcc tries to link with host

2018-08-22 Thread Khem Raj
On Wed, Aug 22, 2018 at 7:35 AM Paulo Neves wrote: > > Hello, > > I am trying to use nativesdk-gcc to have a gcc compiler for my sdk > machine. Everything looks to work correctly but some code make the > linker attempt to use host libraries. > > This is weird because this only happens when I use

Re: [yocto] Yocto build using eclipse

2018-08-22 Thread Khem Raj
On Tue, Aug 21, 2018 at 11:54 PM Sharmila wrote: > > Hi Team, > > I am using i.Mx8 Family processor. Can you please tell whether it is possible > to build the yocto bsp using eclipse to get the images > (uboot,zImage,rootfs,dtb files). If yes then what is the procedure for the > same. > a bit

Re: [yocto] Cloning

2018-08-22 Thread Khem Raj
On Tue, Aug 21, 2018 at 11:54 PM pawanKumar wrote: > > Hi, > > I'm new to this clearlinux environment and I want to know how to clone poky > in clearlinux and generate image. > > Please forward any link regarding cloning and generating yocto image in > clearlinux. > I don't think we have

Re: [yocto] [pseudo] Pseudo 1.8+ xattr sqlite corruption

2018-08-22 Thread Seebs
On Wed, 22 Aug 2018 14:54:02 + wrote: > So failure mode is the target filesystem is devoid of SELinux file > contexts, all files are unlabeled_t, which pretty much breaks > everything in enforcing mode. So whatever the corruption > cause/effect in the Psuedo database, the end result is when

Re: [yocto] [pseudo] Pseudo 1.8+ xattr sqlite corruption

2018-08-22 Thread Jack.Fewx
> On Wed, 2018-08-22 at 14:54 +, jack.f...@dell.com wrote: > > So failure mode is the target filesystem is devoid of SELinux file > > contexts, all files are unlabeled_t, which pretty much breaks > > everything in enforcing mode. So whatever the corruption cause/effect > > in the Psuedo

Re: [yocto] Cleaning out build without re-downloading sources

2018-08-22 Thread Paul Sheer
> > >> > There is a separate directory, which is usually downloads/ under the build > directory, to keep downloaded git repos and tarballs. > > [network] ---> [downloads] ---> [tmp/work/] > > So you don't have to worry about the downloading when you clean up tmp/. > > Best Regards, > Chen Qi

[yocto] Recipe re-build when variable in local.conf changes

2018-08-22 Thread Amol Lad
Hi, Is there a way to re-build a recipe if I change a variable in local.conf? I've defined a variable - BUILDVERSION = "1.0.0" in local.conf. There is a recipe which uses this variable, creates a version file and populates it in the root file system. Now if I change this variable to say

Re: [yocto] LXD on yocto

2018-08-22 Thread Bruce Ashfield
On 08/22/2018 10:40 AM, Sarayu Sivanandam wrote: Hi all, Is anyone currently working on creating a recipe for LXD? I want to create a recipe for LXD for my project and any inputs for the same is welcome. Thanks and Regards check on the meta-virtualization list. We already have lxc and the

Re: [yocto] [pseudo] Pseudo 1.8+ xattr sqlite corruption

2018-08-22 Thread Richard Purdie
On Wed, 2018-08-22 at 14:54 +, jack.f...@dell.com wrote: > So failure mode is the target filesystem is devoid of SELinux file > contexts, all files are unlabeled_t, which pretty much breaks > everything in enforcing mode. So whatever the corruption > cause/effect in the Psuedo database, the

Re: [yocto] require/include recipe.bb

2018-08-22 Thread Maciej Pijanowski
How about moving the common part which is supposed to get included into the `.inc` file? To be fair, I have not seen any case of `include` or `require` statement with a recipe (.bb) file rather than with the (`.inc`) file. Did you? On 22.08.2018 15:34, Tomasz Michalski wrote: Hi I have

Re: [yocto] [pseudo] Pseudo 1.8+ xattr sqlite corruption

2018-08-22 Thread Jack.Fewx
Dell - Internal Use - Confidential > Dell - Internal Use - Confidential > > > 2018-08-20 20:45 GMT+02:00 : > > > We are encountering a build problem after migrating to Poky 2.3 > > > and Pseudo 1.8.1, and need help to resolve this. > > > It is hampering our development efforts, forcing us to

Re: [yocto] [pseudo] Pseudo 1.8+ xattr sqlite corruption

2018-08-22 Thread Alexander Kanavin
2018-08-22 15:58 GMT+02:00 : > I should add that the same problem exists in Poky 2.5, and top of Pseudo git > repo. The problem was introduced, best I can tell, was when the entire > Pseudo database structure was rewritten. As a result of the major overhaul > messing with patches is

Re: [yocto] [pseudo] Pseudo 1.8+ xattr sqlite corruption

2018-08-22 Thread Joshua Watt
On Wed, 2018-08-22 at 13:58 +, jack.f...@dell.com wrote: > Dell - Internal Use - Confidential > > > 2018-08-20 20:45 GMT+02:00 : > > > We are encountering a build problem after migrating to Poky 2.3 > > > and Pseudo 1.8.1, and need help to resolve this. > > > It is hampering our

[yocto] LXD on yocto

2018-08-22 Thread Sarayu Sivanandam
Hi all, Is anyone currently working on creating a recipe for LXD? I want to create a recipe for LXD for my project and any inputs for the same is welcome. Thanks and Regards Sarayu -- ___ yocto mailing list yocto@yoctoproject.org

[yocto] nativesdk-gcc tries to link with host

2018-08-22 Thread Paulo Neves
Hello, I am trying to use nativesdk-gcc to have a gcc compiler for my sdk machine. Everything looks to work correctly but some code make the linker attempt to use host libraries. This is weird because this only happens when I use libraries that are in the ${SDKROOT}/lib and not in

Re: [yocto] [pseudo] Pseudo 1.8+ xattr sqlite corruption

2018-08-22 Thread Jack.Fewx
Dell - Internal Use - Confidential > 2018-08-20 20:45 GMT+02:00 : >> We are encountering a build problem after migrating to Poky 2.3 and Pseudo >> 1.8.1, and need help to resolve this. >> It is hampering our development efforts, forcing us to rebuild images >> frequently. >> >> Background:

[yocto] require/include recipe.bb

2018-08-22 Thread Tomasz Michalski
Hi I have recipes: recipe_1.0.0.bb recipe_1.0.1.bb ... recipe_3.4.0.bb If in some meta-layer I want to write some bbappend file to the latest fresh version I create file recipe_%.bbappend. I have file otherRecipe.bb which is not versioned and inherit to auto_package_version. In definition of

[yocto] Problem with TI SDK Build 05.

2018-08-22 Thread David Castelow
Hi, I had an issue building the latest TI SDK for Sitara processors (05_00_00_15), and Kemal from TI suggested I post my findings here for comment. So the build I attempted was for $ MACHINE=am335x-evm bitbake arago-base-tisdk-image following instructions from http

Re: [yocto] Id "s0" respawning too fast on Raspberry pi3

2018-08-22 Thread ChenQi
On 08/22/2018 04:24 PM, benxi wrote: Hi Qi, Thanks for your reply. It indeed solves the problem, however I'm afraid that modifying SERIAL_CONSOLES can have side effects on other recipes. I also wonder if there 're any way to enable ttyS0 on my raspberry pi(Since ENABLE_UART doesn't work).

Re: [yocto] [pseudo] Pseudo 1.8+ xattr sqlite corruption

2018-08-22 Thread Alexander Kanavin
2018-08-20 20:45 GMT+02:00 : > We are encountering a build problem after migrating to Poky 2.3 and Pseudo > 1.8.1, and need help to resolve this. > It is hampering our development efforts, forcing us to rebuild images > frequently. > > Background: > Our build applies SELinux file contexts,

Re: [yocto] Id "s0" respawning too fast on Raspberry pi3

2018-08-22 Thread benxi
Hi Qi, Thanks for your reply. It indeed solves the problem, however I'm afraid that modifying SERIAL_CONSOLES can have side effects on other recipes. I also wonder if there 're any way to enable ttyS0 on my raspberry pi(Since ENABLE_UART doesn't work). 在 2018-08-22 15:59:44,"ChenQi" 写道: On

Re: [yocto] Cleaning out build without re-downloading sources

2018-08-22 Thread ChenQi
On 08/22/2018 06:52 AM, Paul Sheer wrote: Hi, I am trying to do a clean out all packages within my build due to a change in my GCC environment. I updated my GCC so, for assurance reasons, I want a rebuild of everything. However I want to avoid re-downloading gigs of source packages. I am

Re: [yocto] Id "s0" respawning too fast on Raspberry pi3

2018-08-22 Thread ChenQi
On 08/22/2018 12:24 PM, benxi wrote: Hello Everyone, I build a rpi-hwup-image and run it on my raspberry pi3(Model B V1.2). After the system boots up, I keep seeing such message: INIT: Id "S0" respawning too fast: disabled for 5 minutes. I notice that yocto adds the following line to

[yocto] Cloning

2018-08-22 Thread pawanKumar
Hi, I'm new to this clearlinux environment and I want to know how to clone poky in clearlinux and generate image. Please forward any link regarding cloning and generating yocto image in clearlinux. Thanks, Pavan -- ___ yocto mailing list

[yocto] Yocto build using eclipse

2018-08-22 Thread Sharmila
Hi Team, I am using i.Mx8 Family processor. Can you please tell whether it is possible to build the yocto bsp using *eclipse* to get the images (uboot,zImage,rootfs,dtb files). If yes then what is the procedure for the same. Regards, Sharmila --

[yocto] [pseudo] Pseudo 1.8+ xattr sqlite corruption

2018-08-22 Thread Jack.Fewx
We are encountering a build problem after migrating to Poky 2.3 and Pseudo 1.8.1, and need help to resolve this. It is hampering our development efforts, forcing us to rebuild images frequently. Background: Our build applies SELinux file contexts, during build time since our rootfs is