[yocto] Newbie Question regarding custom layer and populate_rootfs

2016-05-19 Thread public-hk
Hi all, I have recently started to use Yocto. I also figured out a lot y myself already. However, there is one problem I just can not solve. Sorry if this is a dumb question.. My purpose is to create a customized distro for the Raspberry 2 which I managed to get up and running. Yesterday, I tried

[yocto] [meta-qt4][PATCH] qt4-native: Warning Fix

2016-05-19 Thread Dai Caiyun
The warning is as following: WARNING: File '...tmp/sysroots/x86_64-linux/usr/lib/libQtCore.so.4.8.7' from qt4-native was already stripped, this will prevent future debugging! WARNING: File '...tmp/sysroots/x86_64-linux/usr/lib/libQtGui.so.4.8.7' from qt4-native was already

Re: [yocto] [meta-raspberrypi][Question] How to build an hwup image for raspberrypi3

2016-05-19 Thread Andrei Gherzan
On Thu, May 19, 2016 at 09:40:13AM -0700, Khem Raj wrote: > > > On May 19, 2016, at 8:27 AM, Andrei Gherzan wrote: > > > > On Thu, May 19, 2016 at 05:26:15PM +0200, piotr.lewicki wrote: > >> On 19.05.2016 16:39, Andrei Gherzan wrote: > >>> On Thu, May 19, 2016 at 02:15:22PM

Re: [yocto] How to pre-install a .deb file into rootfs

2016-05-19 Thread Burton, Ross
On 19 May 2016 at 17:36, Colin Helliwell wrote: > I have a recipe (for kura) which uses a do_compile to run kura's build > process, and this in itself generates a .deb (i.e. I'm not doing anything > within the *recipe* to create the .deb - it's done for me by

[yocto] How to pre-install a .deb file into rootfs

2016-05-19 Thread Colin Helliwell
I have a recipe (for kura) which uses a do_compile to run kura's build process, and this in itself generates a .deb (i.e. I'm not doing anything within the *recipe* to create the .deb - it's done for me by kura's build steps). I can copy the .deb to the target and use dpkg on there to install it.

[yocto] [eclipse-poky][PATCH v3] OptionsPage.java: improved handling of path concatenation in new project

2016-05-19 Thread Humberto Ibarra
When creating a new Yocto Bitbake Commander project, the folder separator is not being handled corretly. The problem is a folder and a file to be concatenated are joined as Strings instead of paths. This patch solves the issue by using a path joioning mechanism instead of simply concatenating

Re: [yocto] [eclipse-poky][PATCH v2] OptionsPage.java: improved handling of path concatenation in new project

2016-05-19 Thread timothy . t . orling
Tested for luna-master plugin branch and yocto-2.0.1 docs branch. Tested-by: Tim Orling > Please add your 'Signed-off-by:' > (e.g. use 'git commit -s') > > --Tim > >> When creating a new Yocto Bitbake Commander project, the folder >> separator is not being

Re: [yocto] [meta-raspberrypi][Question] How to build an hwup image for raspberrypi3

2016-05-19 Thread Khem Raj
> On May 19, 2016, at 8:27 AM, Andrei Gherzan wrote: > > On Thu, May 19, 2016 at 05:26:15PM +0200, piotr.lewicki wrote: >> On 19.05.2016 16:39, Andrei Gherzan wrote: >>> On Thu, May 19, 2016 at 02:15:22PM +0200, piotr.lewicki wrote: Hello, I'm trying to build a

Re: [yocto] [meta-raspberrypi][PATCH 5/8] Support for vc4 graphics driver: upgrade 4.4 kernel to 4.4.10

2016-05-19 Thread Herve Jourdain
Hi Andrei, I have a v3 cooking, I will release it shortly after I have a good solution for the management of the dtbo - I guess I've just managed to get something working, but I need a few more tests. I'll try to take all your remarks into account, as well as those by Andreas and Khem. Herve

Re: [yocto] [meta-raspberrypi][PATCH 5/8] Support for vc4 graphics driver: upgrade 4.4 kernel to 4.4.10

2016-05-19 Thread Khem Raj
On Thu, May 19, 2016 at 8:11 AM, Andrei Gherzan wrote: > On Wed, May 18, 2016 at 11:46:39PM +0200, Andreas Müller wrote: >> On Wed, May 18, 2016 at 7:32 PM, Herve Jourdain >> wrote: >> > One thing I didn't make configurable, but that maybe could be, is

Re: [yocto] [eclipse-poky][PATCH v2] OptionsPage.java: improved handling of path concatenation in new project

2016-05-19 Thread timothy . t . orling
Please add your 'Signed-off-by:' (e.g. use 'git commit -s') --Tim > When creating a new Yocto Bitbake Commander project, the folder > separator is not being handled corretly. The problem is a folder and > a file to be concatenated are joined as Strings instead of paths. > > This patch solves the

Re: [yocto] [meta-raspberrypi][PATCH 1/2] linux-rpi: Enable kconf options to enable initramfs support

2016-05-19 Thread Andrei Gherzan
On Thu, May 12, 2016 at 10:43:03PM -0700, Khem Raj wrote: > Additionally add few few file systems e.g. squashfs, overlayfs > to support booting with initramfs > > Drop checking for target triplet to set EABI, rpi probaly should > not have any legacy into OABI world. > Merged both to master.

Re: [yocto] [meta-raspberrypi][Question] How to build an hwup image for raspberrypi3

2016-05-19 Thread Andrei Gherzan
On Thu, May 19, 2016 at 05:26:15PM +0200, piotr.lewicki wrote: > On 19.05.2016 16:39, Andrei Gherzan wrote: > > On Thu, May 19, 2016 at 02:15:22PM +0200, piotr.lewicki wrote: > > > Hello, > > > I'm trying to build a Yocto image for raspberrypi3. > > > I'm using only two layers: > > > - poky

Re: [yocto] [meta-raspberrypi][PATCH 1/2] userland: Update to tip of tree

2016-05-19 Thread Andrei Gherzan
On Fri, May 13, 2016 at 09:32:32AM -0700, Khem Raj wrote: > Drop the patch which is upstreamed slightly differently > use VMCS_INSTALL_PREFIX to /usr via EXTRA_OECMAKE > > Signed-off-by: Khem Raj Merged to master. Thanks. -- Andrei Gherzan signature.asc Description: PGP

Re: [yocto] [meta-raspberrypi][PATCH 5/8] Support for vc4 graphics driver: upgrade 4.4 kernel to 4.4.10

2016-05-19 Thread Andrei Gherzan
On Wed, May 18, 2016 at 11:46:39PM +0200, Andreas Müller wrote: > On Wed, May 18, 2016 at 7:32 PM, Herve Jourdain > wrote: > > One thing I didn't make configurable, but that maybe could be, is the > > parameter passed to the overlay. > > I selected cma-256, based on

Re: [yocto] [meta-raspberrypi][PATCH 5/8] Support for vc4 graphics driver: upgrade 4.4 kernel to 4.4.10

2016-05-19 Thread Andrei Gherzan
On Thu, May 19, 2016 at 08:28:00AM +0200, Andreas Müller wrote: > On Thu, May 19, 2016 at 7:21 AM, Herve Jourdain > wrote: > > Hi Andreas, > > > > I've been able to do some testing with the latest 4.1 kernel. > > So it can actually "work" in a way, but both the device

Re: [yocto] [meta-raspberrypi][PATCH 2/8] Support for vc4 graphics driver: add vc4-kms-v3d to the overlays

2016-05-19 Thread Andrei Gherzan
On Wed, May 18, 2016 at 08:21:16PM +0800, Herve Jourdain wrote: > This patch series enables the support for the VC4 graphics driver from Eric > Anholt. > Add vc4-kms-v3d overlay if 'vc4graphics' is in MACHINE_FEATURES. > (This patch has a dependency on the patch that enables the support of .dtbo

Re: [yocto] [meta-raspberrypi][PATCH 2/8] Support for vc4 graphics driver: add vc4-kms-v3d to the overlays

2016-05-19 Thread Andrei Gherzan
On Thu, May 19, 2016 at 01:25:34AM +0800, Herve Jourdain wrote: > Hi Khem, > > Well, it seems to be the way it will be activated in the future as well, > through a device tree overlay. > The rationale being that people may not want/need the VC4 driver, because > they prefer to use userland or

Re: [yocto] [meta-raspberrypi][PATCH 2/8] Support for vc4 graphics driver: add vc4-kms-v3d to the overlays

2016-05-19 Thread Andrei Gherzan
On Wed, May 18, 2016 at 08:21:16PM +0800, Herve Jourdain wrote: > This patch series enables the support for the VC4 graphics driver from Eric > Anholt. > Add vc4-kms-v3d overlay if 'vc4graphics' is in MACHINE_FEATURES. > (This patch has a dependency on the patch that enables the support of .dtbo

Re: [yocto] [meta-raspberrypi][PATCH 6/8] Support for vc4 graphics driver: modify the wayland configuration for vc4

2016-05-19 Thread Andrei Gherzan
On Wed, May 18, 2016 at 08:21:20PM +0800, Herve Jourdain wrote: > This patch series enables the support for the VC4 graphics driver from Eric > Anholt. > Configure the configuration options for Wayland, depending on whether > 'vc4graphics' is in MACHINE_FEATURES or not. > > Signed-off-by: Herve

Re: [yocto] [meta-raspberrypi][PATCH 1/8] Support for vc4 graphics driver: change the default providers

2016-05-19 Thread Andrei Gherzan
Hello, Try to keep the commit log format as we currently have the layer. http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines On Wed, May 18, 2016 at 08:21:15PM +0800, Herve Jourdain wrote: > This patch series enables the support for the VC4 graphics driver from Eric > Anholt. >

Re: [yocto] [meta-raspberrypi][PATCH v2 0/1] Support for .dtbo files for dtb overlays, required by firmware after 2016/04/12

2016-05-19 Thread Andrei Gherzan
On Thu, May 19, 2016 at 09:43:47AM +0200, Herve Jourdain wrote: > Hi, > > Sorry, it seems there has been some mismatch in my test setup... > So while .dtbo are required for 4.4.9+, there NOT to be used for 4.1.21 it > seems... > I will therefore send soon a v3 patchset, that will work fine for 4.4

Re: [yocto] [meta-raspberrypi][Question] How to build an hwup image for raspberrypi3

2016-05-19 Thread Andrei Gherzan
On Thu, May 19, 2016 at 02:15:22PM +0200, piotr.lewicki wrote: > Hello, > I'm trying to build a Yocto image for raspberrypi3. > I'm using only two layers: > - poky (krogoth: rev eff84a76acea1a0842194106a66684511f409842) > - meta-raspberrypi (master: rev 9912d38e97671704822d1aa05312a0439cb650d3) >

[yocto] How to include packages for the cmake build process?

2016-05-19 Thread S . Jaritz
Hej I have some general question. Actual I am try to build an older software. It is based on cmake. At the build process doxygen, python, sed, dbusxx-xml2cpp are called. They are included via the "findprogram"/"find_package" command. How to include external programs like python, sed etc. in

[yocto] [meta-raspberrypi][Question] How to build an hwup image for raspberrypi3

2016-05-19 Thread piotr.lewicki
Hello, I'm trying to build a Yocto image for raspberrypi3. I'm using only two layers: - poky (krogoth: rev eff84a76acea1a0842194106a66684511f409842) - meta-raspberrypi (master: rev 9912d38e97671704822d1aa05312a0439cb650d3) I have built it by cloning both layers from git (and changing poky

Re: [yocto] [meta-raspberrypi][PATCH v2 0/1] Support for .dtbo files for dtb overlays, required by firmware after 2016/04/12

2016-05-19 Thread Herve Jourdain
Hi, Sorry, it seems there has been some mismatch in my test setup... So while .dtbo are required for 4.4.9+, there NOT to be used for 4.1.21 it seems... I will therefore send soon a v3 patchset, that will work fine for 4.4 (what's laid out here is needed for 4.4) without breaking overlay support

Re: [yocto] [meta-raspberrypi][PATCH 5/8] Support for vc4 graphics driver: upgrade 4.4 kernel to 4.4.10

2016-05-19 Thread Herve Jourdain
Hi Andreas, Don't worry about "misunderstanding" on my part, I actually value other people's input. I started this for some needs I had, I'm happy to share it, but I'm also not able to test it in all configurations, and I might overlook some other people's needs, so I'm fine with suggestions.

Re: [yocto] [meta-raspberrypi][PATCH 5/8] Support for vc4 graphics driver: upgrade 4.4 kernel to 4.4.10

2016-05-19 Thread Andreas Müller
On Thu, May 19, 2016 at 7:21 AM, Herve Jourdain wrote: > Hi Andreas, > > I've been able to do some testing with the latest 4.1 kernel. > So it can actually "work" in a way, but both the device tree overlay and the > driver in the kernel are "old". > This has an impact on