Re: [yocto] [meta-chip][RFC PATCH 3/3] chip: Add chip-u-boot-scr recipe and flash script

2017-06-21 Thread Petter Mabäcker
2017-06-19 16:40 skrev Trevor Woerner: > On Mon, Jun 19, 2017 at 7:22 AM, Drew Moseley wrote: > >>> On Jun 19, 2017, at 1:48 AM, Trevor Woerner wrote: >>> If you have a serial console connected to +your board, you will see the progress and

Re: [yocto] [meta-chip][RFC PATCH 0/3] Initial attempt at flashing instructions.

2017-06-21 Thread Petter Mabäcker
2017-06-16 23:15 skrev drew.mose...@mender.io: > From: Drew Moseley > > This set of patches adds the native tools and target components needed to > reflash the CHIP boards. Additionally a shell script is added to the deploy > directory showing how to kick off a flash

[yocto] [meta-selinux][PATCH] initscripts: use the 'i' option for restorecon command

2017-06-21 Thread Zhixiong Chi
Use the 'i' option for restorecon command to ignore the files that don't exist when building project. Signed-off-by: Zhixiong Chi --- recipes-core/initscripts/initscripts_1.0.bbappend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [yocto] AppArmor

2017-06-21 Thread Anders Montonen
On 21 Jun 2017, at 23:46, Khem Raj wrote: > On Tue, Jun 20, 2017 at 9:56 AM Anders Montonen > wrote: > Has anyone tried using AppArmor with Yocto? The recipe in the > meta-security layer is broken, and when fixed so it

Re: [yocto] [prelink-cross][PATCH] rtld: Add missing DT_NEEDED DSOs to needed_list

2017-06-21 Thread Mark Hatle
On 6/21/17 8:51 PM, Kyle Russell wrote: > Just wanted to follow-up on this so it doesn't get lost. Any chance this > could > be included in cross_prelink_staging? I just finished the sanity checking on it. It should be in staging in a few minutes. (There are a couple of x32 patches as well,

Re: [yocto] [prelink-cross][PATCH] rtld: Add missing DT_NEEDED DSOs to needed_list

2017-06-21 Thread Kyle Russell
Just wanted to follow-up on this so it doesn't get lost. Any chance this could be included in cross_prelink_staging? On Thu, Aug 25, 2016 at 1:03 PM, Mark Hatle wrote: > Thanks! I'll try to get this included soon. > > --Mark > > On 8/25/16 10:39 AM, Kyle Russell

[yocto] Any ideas why my RPi app won't load?

2017-06-21 Thread Paul D. DeRocco
I've built a custom 32-bit non-GUI Raspberry Pi image, built the corresponding SDK, and used the SDK's toolchain to build an app. When I run the app on the RPi, from a command prompt as root, the shell complains: -sh: /path/to/app: No such file or directory (with the real app name,

Re: [yocto] AppArmor

2017-06-21 Thread Khem Raj
On Tue, Jun 20, 2017 at 9:56 AM Anders Montonen wrote: > Hi, > > Has anyone tried using AppArmor with Yocto? The recipe in the > meta-security layer is broken, and when fixed so it actually builds, it > turns out the installed init script relies on functions not found in

Re: [yocto] AppArmor

2017-06-21 Thread Gunnar Andersson
Dominic ar Foll writes: > I have been presenting AGL  Smack based security model in quite a few  > conferences over the world and not many people have come to me > to talk about their "solution" working either on SE Linux or > AppArmor. So far I have the impression that AGL is quite unique in >

Re: [linux-yocto] [kernel-cache][PATCH 0/1] Update PWM config for leafhill platform

2017-06-21 Thread Bruce Ashfield
On 2017-06-20 5:30 PM, chong.yi.c...@intel.com wrote: From: "Chai, Chong Yi" Hi Bruce, This patch is targeted for yocto-kernel-cache yocto-4.1 branch. The changes on configs enable PWM to be built in driver rather than kernel module which is require by DC-IRIS camera

Re: [yocto] [meta-raspberrypi][PATCH] sdcard_image-rpi.bbclass: deploy vfat partition

2017-06-21 Thread Khem Raj
On Wed, Jun 21, 2017 at 10:29 AM Matthew McClintock wrote: > On Wed, Jun 21, 2017 at 9:26 AM, Andrei Gherzan wrote: > > On Sun, Jun 18, 2017 at 7:51 PM, Matthew McClintock < > msm-...@mcclintock.net> > > wrote: > >> > >> On Sat, Jun 17, 2017 at 11:41

Re: [yocto] AppArmor

2017-06-21 Thread Tom Rini
On Tue, Jun 20, 2017 at 04:19:24PM +0300, Anders Montonen wrote: > Hi, > > Has anyone tried using AppArmor with Yocto? The recipe in the > meta-security layer is broken, and when fixed so it actually builds, > it turns out the installed init script relies on functions not found > in Yocto's

Re: [yocto] AppArmor

2017-06-21 Thread Dominig ar Foll (Intel Open Source)
Anders, in the Automotive Grade Linux (AGL) we are using Smack + Cynara and that has required quite a bit of side work to make it operational.  - http://docs.automotivelinux.org/ I have been presenting AGL  Smack based security model in quite a

Re: [yocto] [PATCH V4 10/10] update_layer.py: delete layerbranch for non-existed branch

2017-06-21 Thread Paul Eggleton
On Tuesday, 13 June 2017 4:36:51 AM CEST Robert Yang wrote: > The branch is not needed any more when it has been removed from the repo, so > we also need remove its layerbranch, otherwise it still can be got from the > web, which causes confusions. I think I'd previously avoided this since I was

Re: [yocto] [meta-raspberrypi][PATCH] sdcard_image-rpi.bbclass: deploy vfat partition

2017-06-21 Thread Matthew McClintock
On Wed, Jun 21, 2017 at 9:26 AM, Andrei Gherzan wrote: > On Sun, Jun 18, 2017 at 7:51 PM, Matthew McClintock > wrote: >> >> On Sat, Jun 17, 2017 at 11:41 AM, Khem Raj wrote: >> > On Sat, Jun 17, 2017 at 8:20 AM, Tom Rini

Re: [yocto] [meta-raspberrypi][PATCH] sdcard_image-rpi.bbclass: deploy vfat partition

2017-06-21 Thread Andrei Gherzan
On Sun, Jun 18, 2017 at 7:51 PM, Matthew McClintock wrote: > On Sat, Jun 17, 2017 at 11:41 AM, Khem Raj wrote: > > On Sat, Jun 17, 2017 at 8:20 AM, Tom Rini wrote: > >> On Fri, Jun 16, 2017 at 06:05:07PM -0700, Khem Raj wrote: >

[yocto] Yocto eSDK nativesdk vs native vs normal

2017-06-21 Thread Aaron_Wright
I'm having a hard time figuring out what specific package to install when I'm in the eSDK environment. Say I want to install cmake, do I: devtool sdk-install cmake or: devtool sdk-install cmake-native or: devtool sdk-install nativesdk-cmake CMake is just one example, any other

Re: [yocto] [PATCH V4 06/10] update.py: update layers orderly

2017-06-21 Thread Paul Eggleton
Hi Robert, Thanks for solving this long-standing bug! Just a few notes below. On Tuesday, 13 June 2017 4:36:47 AM CEST Robert Yang wrote: > --- a/layerindex/update_layer.py > +++ b/layerindex/update_layer.py > @@ -188,6 +188,9 @@ def main(): > parser.add_option("", "--nocheckout", >

[yocto] [AUH] Upgrade status: 2017-06-21

2017-06-21 Thread auh
AUH finished upgrade batch the result patches/logs can be found at: https://logs.yoctoproject.org/auh//20170619081523, next are the statistics: Recipe upgrade statistics: * Failed(do_configure): 4 libinput, 1.7.901, Jussi Kukkonen

Re: [yocto] Yocto eSDK, Editing/Adding Recipes, and VCS

2017-06-21 Thread Paul Eggleton
Hi Aaron, On Tuesday, 20 June 2017 11:04:56 PM CEST aaron_wri...@selinc.com wrote: > I've been trying to document some workflows for my developers using the > Yocto eSDK for our image, but I am coming up empty when it comes to > editing or adding recipes. I can use devtool to edit a recipe like

Re: [yocto] [PATCH V4 03/10] utils.py: remove obsolete dependencies

2017-06-21 Thread Paul Eggleton
On Tuesday, 13 June 2017 4:36:44 AM CEST Robert Yang wrote: > Fixed: > - set LAYERDEPENDS_openembedded-layer = "core" > - $ "update.py -l meta-oe -b master" > Check from web, its dependency is "openembedded-core" > - Change LAYERDEPENDS_openembedded-layer = "foo" > - Run "update.py -l

Re: [yocto] [PATCH V4 01/10] update.py: update actual branch for layer and bitbake

2017-06-21 Thread Paul Eggleton
Hi Robert, Apologies for the delay on reviewing these patches. Some comments below. On Tuesday, 13 June 2017 4:36:42 AM CEST Robert Yang wrote: > Add an option "-a" to update actual branch for layer and bitbake, it is > useful when there are many layers and need update actual branches >

Re: [yocto] Raspberry Pi: how do I change cmdline.txt?

2017-06-21 Thread Piotr Lewicki
You need to create a bbappend for the linux recipe (i.e. "linux-raspberrypi_%.bbappend") and later override the variable "CMDLINE". For the original content of this variable see http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/tree/recipes-kernel/linux/linux-raspberrypi.inc ---

Re: [yocto] [EXTERNAL] Re: Openjdk-8 fetcher failure

2017-06-21 Thread Maxin B. John
Hi, On Wed, Jun 21, 2017 at 05:28:39AM +, Pawar, Alok wrote: > HI John, > > Using the 'wget', I am able to download the file. That could be a temporary issue then. Have you tried the build openjdk-8 again to verify it ? > Best Regards > Alok Pawar > Sr. Engineer Product Development Warm

Re: [yocto] Compiling meta-browser ==>chromium ? cleaning ?

2017-06-21 Thread Riko Ho
It's compiling now, I cross my finger, thanks Guys, EXTRA_OEGYP_prepend = "\ -Dcomponent=shared_library \ -Dremove_webcore_debug_symbols=1 -Dfastbuild=1 \ " On 21/06/17 15:37, Gunnar Andersson wrote: On Wed, 2017-06-21 at 12:42 +0800, Riko Ho wrote: did I put it wrongly ? ...

Re: [yocto] Compiling meta-browser ==>chromium ? cleaning ?

2017-06-21 Thread Riko Ho
Like this ? EXTRA_OEGYP_prepend = "\ -Dcomponent=shared_library -Dremove_webcore_debug_symbols=1 -Dfastbuild=1 \" On 21/06/17 15:37, Gunnar Andersson wrote: On Wed, 2017-06-21 at 12:42 +0800, Riko Ho wrote: did I put it wrongly ? ... browser/chromium/chromium_54.0.2810.2.bb:7: unparsed

[yocto] Raspberry Pi: how do I change cmdline.txt?

2017-06-21 Thread Paul D. DeRocco
I found cmdline.txt in a folder called bcm2835-bootfiles, so I thought this was related to the bcm2835-bootfiles.bb recipe. I created my own cmdline.txt and a .bbappend saying where I put it, but it didn't work. Looking at the recipe, it doesn't mention cmdline.txt. What recipe deals with that

Re: [yocto] Compiling meta-browser ==>chromium ? cleaning ?

2017-06-21 Thread Gunnar Andersson
On Wed, 2017-06-21 at 12:42 +0800, Riko Ho wrote: > did I put it wrongly ? ... > browser/chromium/chromium_54.0.2810.2.bb:7: unparsed line: > 'EXTRA_OEGYP_prepend = " -Dcomponent=shared_library Maybe your line break did not use a backslash? It was lost, or just assumed, in Khem's example.