Re: [yocto] sysroot question

2017-02-09 Thread Gary Thomas
On 2017-02-09 08:49, Anders Darander wrote: * Gary Thomas [170209 05:25]: On 2017-02-08 20:36, Paul Eggleton wrote: I think the problem is that the task that prepares the sysroot (do_prepare_recipe_sysroot) isn't a dependency of your task. module.bbclass uses this: addtask make_scripts afte

Re: [yocto] [meta-rockchip][PATCH 2/7] machine: Add machine file for the rk3288 linux Boards

2017-02-09 Thread Eddie Cai
HI 2017-02-09 14:49 GMT+08:00 Jacob Chen : > Hi > > > Trevor Woerner wrote on 2017年01月28日 03:41: > > On Fri, Jan 27, 2017 at 9:37 AM, Romain Perier > wrote: > > Could you: > - Make one patch per new machine file and not one patch for all new added > machine > > Agreed. > > Are all of these machin

Re: [yocto] [meta-raspberrypi][PATCH 4/9] linux-raspberrypi_dev.bb: Add recipe for tracking development tip

2017-02-09 Thread Paul Barker
On Wed, 8 Feb 2017 21:48:58 -0800 Khem Raj wrote: > Signed-off-by: Khem Raj > --- > recipes-kernel/linux/linux-raspberrypi_dev.bb | 8 > 1 file changed, 8 insertions(+) > create mode 100644 recipes-kernel/linux/linux-raspberrypi_dev.bb > > diff --git a/recipes-kernel/linux/linux-ras

Re: [yocto] [meta-raspberrypi][PATCH 7/9] linux-raspberrypi_4.9.bb: Upgrade to 4.9.8

2017-02-09 Thread Paul Barker
On Wed, 8 Feb 2017 21:49:01 -0800 Khem Raj wrote: > Signed-off-by: Khem Raj > --- > recipes-kernel/linux/linux-raspberrypi_4.9.bb | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/recipes-kernel/linux/linux-raspberrypi_4.9.bb > b/recipes-kernel/linux/linux-raspberr

Re: [yocto] [meta-raspberrypi][PATCH 8/9] userland: Upgrade to latest

2017-02-09 Thread Paul Barker
On Wed, 8 Feb 2017 21:49:02 -0800 Khem Raj wrote: > Signed-off-by: Khem Raj > --- > recipes-graphics/userland/userland_git.bb | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/recipes-graphics/userland/userland_git.bb > b/recipes-graphics/userland/userland_git.bb > ind

Re: [yocto] [meta-raspberrypi][PATCH 1/9] Add raspberrypi3-64.conf

2017-02-09 Thread Gary Thomas
On 2017-02-09 06:48, Khem Raj wrote: From: Herve Jourdain Signed-off-by: Herve Jourdain Signed-off-by: Khem Raj --- conf/machine/raspberrypi3-64.conf | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 conf/machine/raspberrypi3-64.conf diff --git a/conf/machine/raspbe

Re: [yocto] [meta-rockchip][PATCH 2/7] machine: Add machine file for the rk3288 linux Boards

2017-02-09 Thread Jacob Chen
Hi, Eddie Cai wrote on 2017年02月09日 16:20: HI 2017-02-09 14:49 GMT+08:00 Jacob Chen : Hi Trevor Woerner wrote on 2017年01月28日 03:41: On Fri, Jan 27, 2017 at 9:37 AM, Romain Perier wrote: Could you: - Make one patch per new machine file and not one patch for all new added machine Agreed.

[yocto] meta-swupdate layer with precompiled uboot

2017-02-09 Thread Andreas Enbacka
Hello, I am looking into using your custom meta-swupate with our current Yocto 1.8.1 (fido) based image. However, as we are using Kontron SMARC sAMX6i for our platform, Kontron supplies a pre-compiled uBoot. Is it possible to use meta-swupdate to some extent without uBoot support, or is it pos

Re: [yocto] [meta-rockchip][PATCH 2/7] machine: Add machine file for the rk3288 linux Boards

2017-02-09 Thread Eddie Cai
Hi 2017-02-09 17:18 GMT+08:00 Jacob Chen : > Hi, > > > > Eddie Cai wrote on 2017年02月09日 16:20: >> >> HI >> >> 2017-02-09 14:49 GMT+08:00 Jacob Chen : >>> >>> Hi >>> >>> >>> Trevor Woerner wrote on 2017年01月28日 03:41: >>> >>> On Fri, Jan 27, 2017 at 9:37 AM, Romain Perier >>> wrote: >>> >>> Could y

Re: [yocto] meta-swupdate layer with precompiled uboot

2017-02-09 Thread Stefano Babic
Hi Andreas, On 09/02/2017 10:17, Andreas Enbacka wrote: > Hello, > > > > I am looking into using your custom meta-swupate with our current Yocto > 1.8.1 (fido) based image. Please take a look - I know from ML that there is people still using fido and they pushed patches to this branch, but I

Re: [yocto] meta-swupdate layer with precompiled uboot

2017-02-09 Thread Andreas Enbacka
Hello, Thanks for the info. I tried to download the fido branch of the meta-swupdate layer, and executed bitbake -c menuconfig swupdate. I got the following error output (using Kontron SMARC sAMX6i machine config): ERROR: Nothing PROVIDES 'u-boot-fw-utils' (but /home/andreas/yocto1.8/fsl-communit

Re: [yocto] meta-swupdate layer with precompiled uboot

2017-02-09 Thread Stefano Babic
Hi Andreas, On 09/02/2017 12:13, Andreas Enbacka wrote: > Hello, > > Thanks for the info. I tried to download the fido branch of the > meta-swupdate layer, and executed bitbake -c menuconfig swupdate. I got the > following error output (using Kontron SMARC sAMX6i machine config): > > ERROR: Noth

[yocto] Trimming images

2017-02-09 Thread Gary Thomas
I just upgraded to the latest Yocto master and now this doesn't seem to have any effect: BAD_RECOMMENDATIONS = "eudev-hwdb" I still end up with eudev-hwdb in my image (a wasted 6+MB in my tiny ramdisk!) This used to work - what am I doing wrong now? Thanks for any pointers -- ---

Re: [yocto] Trimming images

2017-02-09 Thread Burton, Ross
On 9 February 2017 at 13:53, Gary Thomas wrote: > This used to work - what am I doing wrong now? > usbutils depends on hwdb as it's mostly useless without it. Maybe this is the cause? Ross -- ___ yocto mailing list yocto@yoctoproject.org https://lis

Re: [yocto] Trimming images

2017-02-09 Thread Gary Thomas
On 2017-02-09 15:21, Burton, Ross wrote: On 9 February 2017 at 13:53, Gary Thomas mailto:g...@mlbassoc.com>> wrote: This used to work - what am I doing wrong now? usbutils depends on hwdb as it's mostly useless without it. Maybe this is the cause? I'm sure it is (and it's a recent cha

Re: [yocto] Trimming images

2017-02-09 Thread Burton, Ross
On 9 February 2017 at 14:33, Gary Thomas wrote: > usbutils depends on hwdb as it's mostly useless without it. Maybe this is >> the cause? >> > > I'm sure it is (and it's a recent change, 2017-02-02, while I was on > holiday) > > Is there some way to disable this, certainly in a case where I > do

Re: [yocto] Trimming images

2017-02-09 Thread Gary Thomas
On 2017-02-09 15:35, Burton, Ross wrote: On 9 February 2017 at 14:33, Gary Thomas mailto:g...@mlbassoc.com>> wrote: usbutils depends on hwdb as it's mostly useless without it. Maybe this is the cause? I'm sure it is (and it's a recent change, 2017-02-02, while I was on holiday)

Re: [yocto] Trimming images

2017-02-09 Thread Burton, Ross
On 9 February 2017 at 14:48, Gary Thomas wrote: > > Is it possible to make this "image" specific? I have some ramdisk > based images as well as full fledged "disk" images and I really only > care about the size issues for the ramdisk ones. Is there a way to > say "for my ramdisk image, leave th

Re: [yocto] Trimming images

2017-02-09 Thread Gary Thomas
On 2017-02-09 15:33, Gary Thomas wrote: On 2017-02-09 15:21, Burton, Ross wrote: On 9 February 2017 at 13:53, Gary Thomas mailto:g...@mlbassoc.com>> wrote: This used to work - what am I doing wrong now? usbutils depends on hwdb as it's mostly useless without it. Maybe this is the cause

Re: [yocto] Trimming images

2017-02-09 Thread Burton, Ross
On 9 February 2017 at 14:39, Gary Thomas wrote: > I can see in the usbutils recipe > RDEPENDS_${PN} = "udev-hwdb" > > If I have this, shouldn't that override it? or maybe it's because > the actual package is eudev-hwdb and not udev-hwdb? > BAD_RECOMMENDATIONS = " eudev-hwdb" > Recommends !=

[yocto] [bitbake] Custom LIC_FILES_CHKSUM location

2017-02-09 Thread Karim ATIKI
I need to integrate a custom licence file in the recipes we're creating. Basically, the layer strcutureis: meta-mylayer + recipes-connectivity / + bootscripts / + bootscript_0-1.bb + recipes-qt ... MYLICENSE.TXT In bootscript_0-1.bb: I've

Re: [yocto] meta-raspberrypi issue

2017-02-09 Thread Usman Haider
Thanks, I'll definitely move to morty. I was following I guide that uses daisy. -- Usman On Wed, Feb 8, 2017 at 5:09 PM, Gary Thomas wrote: > On 2017-02-01 18:24, Khem Raj wrote: > >> >> >> On 2/1/17 8:08 AM, Usman Haider wrote: >> >>> Hi, >>> >>> I am new to yocto and just started working on

[yocto] [PATCH v2 0/5] [meta-intel][rmc] Add fingerprint quering and database extraction functionality to RMC

2017-02-09 Thread Todor Minchev
This is V2 of the patchset. It addresses all feedback received in V1. Changes from previous version: * remove default silent mode from Makefile * extract fingerprint with -E instead of -F * add is_rmcdb(db_blob) for database validation * add -o option to specify an output directory to extract the

[yocto] [PATCH v2 1/5] Makefile: disable silent mode in Makefiles

2017-02-09 Thread Todor Minchev
By default make will output the commands that are executed for each target. Silent mode can be enabled with the '-s' option. Example: make -s Signed-off-by: Todor Minchev --- Makefile | 21 +++-- Makefile.efi | 10 +- 2 files changed, 16 insertions(+), 15 deletions(-

[yocto] [PATCH v2 2/5] Makefile: add debug target

2017-02-09 Thread Todor Minchev
A debug version of the rmc binary can be built by using the debug Makefile target. This will include debug symbols and will disable compiler optimizations. Example: make debug Signed-off-by: Todor Minchev --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile in

[yocto] [PATCH v2 3/5] rmc: Enable reading the contents of an existing fingerprint file

2017-02-09 Thread Todor Minchev
The contents of an existing fingerprint file can be read and output on the command line with the following options: rmc -E -f input_fingerprint_file Signed-off-by: Todor Minchev --- src/rmc.c | 98 ++- 1 file changed, 65 insertions(+),

[yocto] [PATCH v2 4/5] rmc: remove unnecessary return variable

2017-02-09 Thread Todor Minchev
Signed-off-by: Todor Minchev --- src/rmc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/rmc.c b/src/rmc.c index f3a2a5e..b5c7847 100644 --- a/src/rmc.c +++ b/src/rmc.c @@ -218,7 +218,6 @@ read_fp_done: static rmc_file_t *read_policy_file(char *pathname, int type) {

[yocto] [PATCH v2 5/5] rmc: add database extraction functionality

2017-02-09 Thread Todor Minchev
The contents of an existing database file can be extracted with the -E option. By default the top level of the directory tree is rmc_db_dump, an alternative path can be specified with the -o option. The file blobs corresponding to a given record will be saved in a separate sub-directory. The sub-di

[yocto] [patchtest-oe][PATCH] test/test_mbox_mailinglist.py: check if series was intended for other project

2017-02-09 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval People working on the Poky project often send patches to the wrong mailing list, the most common scenarios area: bitbake patches sent to the oe-core list, OE patches sent to OE-Core. This new code checks these possible scenarios (and two other projects, Poky and OE) and s

Re: [yocto] [meta-raspberrypi][PATCH 8/9] userland: Upgrade to latest

2017-02-09 Thread Khem Raj
On Thu, Feb 9, 2017 at 12:24 AM, Paul Barker wrote: > On Wed, 8 Feb 2017 21:49:02 -0800 > Khem Raj wrote: > >> Signed-off-by: Khem Raj >> --- >> recipes-graphics/userland/userland_git.bb | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/recipes-graphics/userland/userl

[yocto] hiawatha build error

2017-02-09 Thread Yogesh Tyagi
Hi, I am using arago build system (git clone git:// arago-project.org/git/projects/oe-layersetup.git tisdk). I was trying to add hiawatha web server to "core-image-minimal". hiawatha exist in following layer: ../sources/meta-openembedded/meta-webserver/recipes-httpd/hiawatha/ hiawatha_9.2.bb So

Re: [yocto] [PATCH 3/7] machine: firefly: use linux-rockchip by default

2017-02-09 Thread Jacob Chen
Hi, Romain Perier wrote on 2017年01月27日 23:27: Hi all, 1. Add more details to your commits 2. As I said in a previous patch, I don't like this... rk-linux.inc , the name of the file is not clear at all... and I don't like its content for now. 3. There is really a small differences between a k

Re: [yocto] [PATCH 5/7] recipes-bsp: add u-boot-rockchip support

2017-02-09 Thread Jacob Chen
Hi, Romain Perier wrote on 2017年01月27日 22:48: Hi all, 2017-01-19 11:09 GMT+01:00 Jacob Chen >: Rockchip next-dev U-boot is the next generation of rockchip u-boot, will also be an upstream tracking branch. At present, this branch is just a rebased up