Re: [yocto] do_patch through Yocto fails while "git am" succeed

2016-06-13 Thread Joshua G Lock
On Fri, 2016-06-10 at 20:32 +0100, Burton, Ross wrote: > > On 10 June 2016 at 19:12, Michael Hu wrote: > > What could be the difference? > > > > > > bitbake uses quilt to apply patches, not git am, so if the patch > isn't exactly right then they'll behave differently.  Stripping the > trailing

Re: [yocto] [yocto-autobuilder] [RFC] Add support for generate bitbake error reports

2016-06-13 Thread Beth 'pidge' Flanagan
On Thu, 2016-06-09 at 16:23 -0500, Aníbal Limón wrote: > Hi folks, > > Currently we support to send error reports to errors.yoctoproject.org > about failing tasks on bitbake using SendErrorReport buildstep but we > have a lack of bitbake related errors like exceptions. > > A bug exist to implemen

Re: [yocto] How to set KCONFIG_MODE for defconfig and fragments

2016-06-13 Thread Kunihiko Hayashi
On Sun, 12 Jun 2016 22:22:39 -0400 Bruce Ashfield wrote: > On 2016-06-12 9:40 PM, Kunihiko Hayashi wrote: > > Hello, all > > > > Now I'm trying to build my own kernel with linux-yocto recipe, > > and I make kernel configuration fragments (".cfg" file) according to > > "Linux Kernel Development Ma

[yocto] The build issue of ext2.gz and ext2.gz.u-boot rootfs

2016-06-13 Thread Zhenhua Luo
Hi all, I try to use the master branch of poky to build ext2.gz and ext2.gz.u-boot rootfs at the same time, the following error will appear. The same issue can be reproduced for other machines as well. [...snip...] | Image Name: core-image-minimal-b4860qds-2016 | Created: Sun Jun 12 23:18

[yocto] Antwort: Re: License problems when switching form RPM to DEB - looking for a easy way to fix it

2016-06-13 Thread S . Jaritz
Hej I deleted the tmp and rebuild it. But the error stays. I added a licence file to the repro and added the LICENSE="ESA" LIC_FILES_CHKSUM="files://ESAlicense.txt;md5=.." What's the connection between the LICENSE and LIC_FILES_CHKSUM field? How the license manifest is build? I think the error

Re: [yocto] [meta-raspberrypi][PATCH] linux-rpi: ensure config file is closed

2016-06-13 Thread Andrei Gherzan
Hello, On Sun, Jun 05, 2016 at 01:38:52AM +1000, Jonathan Liu wrote: > Avoids warnings like this with python3: > > WARNING: > .../meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_3.18.bb: > :16: ResourceWarning: unclosed file <_io.TextIOWrapper > name='.../meta-raspberrypi/recipes-ke

Re: [yocto] The build issue of ext2.gz and ext2.gz.u-boot rootfs

2016-06-13 Thread Zhenhua Luo
I have submitted a patch, please review. http://patchwork.openembedded.org/patch/124761/. Best Regards, Zhenhua From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On Behalf Of Zhenhua Luo Sent: Monday, June 13, 2016 5:53 PM To: yocto@yoctoproject.org Subject: [yocto]

Re: [yocto] Issue creating systemd service recipe

2016-06-13 Thread Matt Madison
On Sat, Jun 11, 2016 at 10:32 AM, Alexis Lothoré wrote: > Hello Matt, > thank you for your answer, I was typing a mail to, I found this fix too > minutes before your answer ^^ > However, I do not understand why the first syntax did not work, since the > systemd class seems to seek the service file

[linux-yocto] [PATCH] powercap / RAPL: disable the 2nd power limit properly

2016-06-13 Thread ong . hock . yu
From: Seiichi Ikarashi Let rapl_unregister_powercap() disable the second power limit only if it exists. Intel64 SDM Vol.3 14.9 says that the package domain has it but neither the power plane domain nor the DRAM domain has it. Signed-off-by: Seiichi Ikarashi Signed-off-by: Rafael J. Wysocki (ch

Re: [yocto] [yocto-autobuilder] [RFC] Add support for generate bitbake error reports

2016-06-13 Thread Aníbal Limón
On 06/13/2016 03:48 AM, Beth 'pidge' Flanagan wrote: > On Thu, 2016-06-09 at 16:23 -0500, Aníbal Limón wrote: >> Hi folks, >> >> Currently we support to send error reports to errors.yoctoproject.org >> about failing tasks on bitbake using SendErrorReport buildstep but we >> have a lack of bitbake

Re: [yocto] [yocto-autobuilder] [RFC] Add support for generate bitbake error reports

2016-06-13 Thread Beth 'pidge' Flanagan
On Mon, 2016-06-13 at 10:09 -0500, Aníbal Limón wrote: > > On 06/13/2016 03:48 AM, Beth 'pidge' Flanagan wrote: > > > > On Thu, 2016-06-09 at 16:23 -0500, Aníbal Limón wrote: > > > > > > Hi folks, > > > > > > Currently we support to send error reports to > > > errors.yoctoproject.org > > > abou

Re: [yocto] Yocto Project Status WW24

2016-06-13 Thread akuster
On 06/10/2016 08:21 AM, Jolley, Stephen K wrote: > Current Dev Position: YP 2.2 M1 > > Next Deadline: YP 2.2 cut off: June 13, 2016 [3 days - Monday!] > > > SWAT team rotation: Jussi -> Maxim > > https://wiki.yoctoproject.org/wiki/Yocto_Build_Failure_Swat_Team > > > Key Status/Updates: > >

[yocto] IPMI server using OpenIPMI ?

2016-06-13 Thread Hariharasubramanian Ramasubramanian
This OpenIPMI recipe (https://layers.openembedded.org/layerindex/recipe/24126/) is enabled by the OpenClovis layer. While OpenIPMI is a framework for implementing an IPMI management "client" tool, it does provide a "lanserv" module. This module acts as an IPMI simulator (on qemu) which helps in ver

[yocto] Script being installed under /etc/init.d instead of /usr/lib/systemd folder

2016-06-13 Thread Dey, Megha
Hi, I am trying to use the systemd init system from the existing system. I have added the following to my conf file: DISTRO_FEATURES_append = " systemd" VIRTUAL-RUNTIME_init_manager = "systemd" VIRTUAL-RUNTIME_initscripts = "" DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit" I have also added t

[yocto] [[meta-xilinx-community][PATCH] 1/2] Create a new independant recipe for ze7000 kernel

2016-06-13 Thread Alexandre Bard
Upgrade to yocto 2.0 jethro brings compatibility issues between the default xilinx-kernel configuration and it extention for for ZE7000 machine. Signed-off-by: Alexandre Bard --- conf/machine/ze7000-zynq7.conf| 4 ++-- recipes-kernel/linux/linux-xlnx_3.10.bbappend | 16 -

[yocto] [[meta-xilinx-community][PATCH] 2/2] Remove useless copy of kernel config

2016-06-13 Thread Alexandre Bard
Former code from daisy branch copied the kernel config to the kernel source directory. This is now useless and creates a issue when bitbake builds the kernel Signed-off-by: Alexandre Bard --- recipes-kernel/linux/linux-xlnx_3.14.bb | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) d

[yocto] [meta-raspberrypi] PL2303 instability on RPi 3 but not on RPi 2

2016-06-13 Thread Martin Bergek
Hi, I am testing an image on a system including a PL2303 (USB to serial bridge) and have noticed an issue on the Raspberry Pi 3. The system will run fine for an hour or two but then the kernel logs the following error: pl2303 ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped

[yocto] resolvconf nameserver

2016-06-13 Thread Rajasekaran, Monica
Hi, How do I add a dns nameserver ? I am able to ping 8.8.8.8 but not google.com I thought it would be the usual method as in other linux versions such as Ubuntu. But there is no /etc/resolv.conf file. I tried including "resolvconf" to my image. But that only created a directory called "resolv.

[yocto] Mounting USB drives on a "read-only-rootfs" based system

2016-06-13 Thread Jeffrey D Boyer
Hello, New to the list here, so I'm sorry if this question has been asked before, but I couldn't find a direct answer to it. I have a yocto image that was built using the following bb script line: IMAGE_FEATURES += " read-only-rootfs". As this image eventually resides on a static flash device,

Re: [yocto] resolvconf nameserver

2016-06-13 Thread Burton, Ross
On 13 June 2016 at 22:47, Rajasekaran, Monica < monica.rajaseka...@us.fujitsu.com> wrote: > I thought it would be the usual method as in other linux versions such as > Ubuntu. But there is no /etc/resolv.conf file. > > Did you try just creating a /etc/resolv.conf with the nameserver entries you wa

Re: [yocto] Mounting USB drives on a "read-only-rootfs" based system

2016-06-13 Thread Christopher Larson
Afaik usb storage is already automounted by udev on /run/media/, so there's no need to use /media for that purpose. On Mon, Jun 13, 2016 at 2:22 PM, Jeffrey D Boyer wrote: > Hello, > > > > New to the list here, so I’m sorry if this question has been asked before, > but I couldn’t find a direct a

[yocto] [[PATCH][error-report-web] 0/8] Allow other type of errors and django 1.8

2016-06-13 Thread Aníbal Limón
The next patches enables support of django 1.8 LTS (two patches) and the other are for enable to display other type of errors not only task related ones based on design [1]. Also the changes could be reviewed at, http://git.yoctoproject.org/cgit/cgit.cgi/error-report-web/log/?h=alimon/devel [1]

[yocto] [[PATCH][error-report-web] 1/8] requirements.txt: Update requeriments for use 1.8 LTS Django version.

2016-06-13 Thread Aníbal Limón
[YOCTO #9733] Signed-off-by: Aníbal Limón --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 9521321..909d054 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -Django==1.7.3 +Django<1.9 python-Le

[yocto] [[PATCH][error-report-web] 4/8] Post/migrations/0003_auto_20150603_0913.py: Replace tabs for spaces

2016-06-13 Thread Aníbal Limón
When try to migrate using python3 it raises an exception because found tabs inside the migration. Signed-off-by: Aníbal Limón --- Post/migrations/0003_auto_20150603_0913.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Post/migrations/0003_auto_20150603_0913.py b/Pos

[yocto] [[PATCH][error-report-web] 5/8] Post/models.py: Build model add support for Error type.

2016-06-13 Thread Aníbal Limón
In order to support other errors not only Recipe ones adds a ERROR_TYPE field to the Build model defaults to "Recipe". Add a class for store BuildErrorType currently supported Recipe, Core, Bitbake selftest and OE selftest. [YOCTO #7583] Signed-off-by: Aníbal Limón --- Post/migrations/0005_bui

[yocto] [[PATCH][error-report-web] 6/8] Post/{models, parser}.py: Add support for receive/store error_type.

2016-06-13 Thread Aníbal Limón
For compatibility reasons if error_type isn't specified in the JSON payload use BuildErrorType.RECIPE by default. [YOCTO #7584] Signed-off-by: Aníbal Limón --- Post/models.py | 10 ++ Post/parser.py | 11 +-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/Post/m

[yocto] [[PATCH][error-report-web] 2/8] urls.py: RedirectView, fix warnings about change of default value in django 1.9

2016-06-13 Thread Aníbal Limón
RemovedInDjango19Warning: Default value of 'RedirectView.permanent' will change from True to False in Django 1.9. Set an explicit value to silence this warning. url(r'^$', RedirectView.as_view(pattern_name="main")), RemovedInDjango19Warning: Default value of 'RedirectView.permanent' will change

[yocto] [[PATCH][error-report-web] 3/8] Post/models.py: Increase the TASK field length

2016-06-13 Thread Aníbal Limón
Now bitbake exception/errors can be published into ERW so TASK in bitbake is the command line executed. [YOCTO #7583] Signed-off-by: Aníbal Limón --- Post/migrations/0004_auto_20160530_1126.py | 20 Post/models.py | 2 +- 2 files changed, 21 ins

[yocto] [[PATCH][error-report-web] 7/8] views/templates: Add support for display different type of errors

2016-06-13 Thread Aníbal Limón
Now we have a set of different type of errors not only Recipe ones this change enable support for display it based on design did by Belen Barros [1]. [YOCTO #7583] [1] https://bugzilla.yoctoproject.org/attachment.cgi?id=3214 Signed-off-by: Aníbal Limón --- Post/views.py| 16 +++

[yocto] [[PATCH][error-report-web] 8/8] Post/{models, views}.py: Add FAILURE field on BuildFailure model

2016-06-13 Thread Aníbal Limón
In order to support filters using django Paginator adds a FAILURE field by default contains "RECIPE: TASK" when ERROR_TYPE is Recipe instead contains only "TASK". [YOCTO #7583] Signed-off-by: Aníbal Limón --- Post/migrations/0006_buildfailure_failure.py | 28 Post/m

Re: [yocto] Mounting USB drives on a "read-only-rootfs" based system

2016-06-13 Thread Richard Leitner
Hi, you can adjust the mount behaviour for example in your udev mount script (if you use udev). If you have a fixed name/mountpoint for your media you can pre-create that folder (for example /media/data-logging) and let udev's mount.sh mount media which matches your criteria to that path. kind re