[linux-yocto] [PATCH 2/2] pinctrl: intel: fix offset calculation issue of register PAD_OWN

2016-06-13 Thread Tan Jui Nee
From: Qipeng Zha The calculation equation of PAD_OWN register offset is not correct for Broxton, verified this fix will get right offset for Broxton. Signed-off-by: Qi Zheng Signed-off-by: Qipeng Zha Acked-by: Mika Westerberg

[linux-yocto] [PATCH 0/2] Backport pinctrl/intel patches from mainline kernel into linux-yocto-4.1

2016-06-13 Thread Tan Jui Nee
Hi Bruce, The patches are to backport Intel Broxton / Apollo Lake patches that are available in the mainline Linux kernel, upstreamed by Qipeng Zha. The patches are to fix GPIO register offset calculation for Intel Broxton / Apollo Lake. The patches are targetted to merge into linux-yocto-4.1

[linux-yocto] [PATCH] MAINTAINERS: add new maintainer for TPM DEVICE DRIVER

2016-06-13 Thread jonathan . yong
From: Jarkko Sakkinen At the moment, no one has time to pay enough attention to this subsystem so that patches get eventually merged into linux-next. Even critical bug fixes can lie for weeks. I'm happy to continue with the current maintainers if they are able

[linux-yocto] [PATCH] MAINTAINER file update for TPM 2.0 series

2016-06-13 Thread jonathan . yong
From: "Yong, Jonathan" Oops, missed this commit, this should be part of the TPM 2.0 series. For linux-yocto-4.1 standard/base. Jarkko Sakkinen (1): MAINTAINERS: add new maintainer for TPM DEVICE DRIVER MAINTAINERS | 1 + 1 file changed, 1 insertion(+) -- 2.7.3 --

[linux-yocto] [PATCH 7/8] tpm: fix missing migratable flag in sealing functionality for TPM2

2016-06-13 Thread jonathan . yong
From: Jarkko Sakkinen The 'migratable' flag was not added to the key payload. This patch fixes the problem. Fixes: 0fe5480303a1 ("keys, trusted: seal/unseal with TPM 2.0 chips") Signed-off-by: Jarkko Sakkinen Acked-by: Peter

[linux-yocto] [PATCH 5/8] tpm: seal/unseal for TPM 2.0

2016-06-13 Thread jonathan . yong
From: Jarkko Sakkinen Added tpm_trusted_seal() and tpm_trusted_unseal() API for sealing trusted keys. This patch implements basic sealing and unsealing functionality for TPM 2.0: * Seal with a parent key using a 20 byte auth value. * Unseal with a parent key

[linux-yocto] [PATCH 2/8] tpm: move the PPI attributes to character device directory.

2016-06-13 Thread jonathan . yong
From: Jarkko Sakkinen Moved PPI attributes to the character device directory. This aligns with the sysfs guidelines and makes them race free because they are created atomically with the character device as part of device_register().The character device and the

[linux-yocto] [PATCH 3/8] tpm: introduce tpm_buf

2016-06-13 Thread jonathan . yong
From: Jarkko Sakkinen This patch introduces struct tpm_buf that provides a string buffer for constructing TPM commands. This allows to construct variable sized TPM commands. For the buffer a page is allocated and mapped, which limits maximum size to PAGE_SIZE.

[linux-yocto] [PATCH 4/8] keys, trusted: move struct trusted_key_options to trusted-type.h

2016-06-13 Thread jonathan . yong
From: Jarkko Sakkinen Moved struct trusted_key_options to trustes-type.h so that the fields can be accessed from drivers/char/tpm. Signed-off-by: Jarkko Sakkinen Signed-off-by: Peter Huewe (cherry picked from

[linux-yocto] [PATCH 8/8] sysfs: added __compat_only_sysfs_link_entry_to_kobj()

2016-06-13 Thread jonathan . yong
From: Jarkko Sakkinen Added a new function __compat_only_sysfs_link_group_to_kobj() that adds a symlink from attribute or group to a kobject. This needed for maintaining backwards compatibility with PPI attributes in the TPM driver. Signed-off-by: Jarkko

[linux-yocto] [PATCH 0/8] TPM 2.0 support for linux-yocto-4.1

2016-06-13 Thread jonathan . yong
From: "Yong, Jonathan" These patches introduces TPM 2.0 support, and are backported from Linus's tree. Should apply cleanly for linux-yocto-4.1 stadard/base. Jarkko Sakkinen (8): tpm, tpm_crb: fix unaligned read of the command buffer address tpm: move the PPI

[linux-yocto] [PULL REQUEST] Watchdog parenting fix for linux-yocto-4.1

2016-06-13 Thread Yong, Jonathan
This series of 11 patches from Linus's tree fixes the parenting of watchdog devices. To do that, a lot of OMAP watchdog fixes are pulled in as dependencies. Adds Conexant Digicolor CX9 and STMicroelectronics LPC Watchdog. https://github.com/jyong2/yocto-backports.git branch:

[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

[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 ---

[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 |

[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] 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

[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

[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

[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 @@

[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]

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

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

[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

[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

[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

[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

[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 ++--

[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

[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

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: >

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 > > >

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

Re: [linux-yocto] [PATCH 0/5] powerclamp: backport APL CPU support to 4.1

2016-06-13 Thread Bruce Ashfield
On 2016-06-13 6:11 AM, ong.hock...@intel.com wrote: From: "Yu, Ong Hock" These patches backport the upstream changes for powerclamp to support APL CPU. These patches are intended for kernel 4.1 merged. Build testing is underway, Bruce Dasaratharaman Chandramouli

Re: [linux-yocto] [PATCH 0/6] Always Running Timer Support for 4.1

2016-06-13 Thread Bruce Ashfield
On 2016-06-13 3:07 AM, jonathan.y...@intel.com wrote: From: "Yong, Jonathan" This series introduces convert_art_to_tsc, to convert ART time to TSC. The main advantage of ART is that ART can be captured simultaneous to the capture of audio and network device clocks,

Re: [linux-yocto] [PATCH 0/5] intel_idle: backport BXT CPU support to kernel 4.1

2016-06-13 Thread Bruce Ashfield
On 2016-06-11 3:05 AM, ong.hock...@intel.com wrote: From: "Yu, Ong Hock" These patch series backported the upstream changes for intel_idle to support BXT CPU. Manual changes was done on "intel_idle: add BXT support" patch due to upstream patch is based on msr-index.h

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

[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

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

2016-06-13 Thread ong . hock . yu
From: "Yu, Ong Hock" This patch back port the upstream patch to properly handle the 2nd RAPL limit. This patch is intended for kernel 4.1. Seiichi Ikarashi (1): powercap / RAPL: disable the 2nd power limit properly drivers/powercap/intel_rapl.c | 6 -- 1 file

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:

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 >

[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

[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

[linux-yocto] [PATCH 5/5] thermal/powerclamp: remove cpu whitelist

2016-06-13 Thread ong . hock . yu
From: Jacob Pan Powerclamp works by aligning idle time to achieve package level idle states, aka cstates. As long as one of the package cstates is available, synchronized idle injection is meaningful. This patch replaces the CPU whitelist with CPU feature and

[linux-yocto] [PATCH 4/5] thermal/powerclamp: add cpu id for Skylake u/y

2016-06-13 Thread ong . hock . yu
From: Radivoje Jovanovic Add support for Intel Skylake u/y Signed-off-by: Radivoje Jovanovic Signed-off-by: Zhang Rui (cherry picked from commit 35676de2164ff37209431e7e0e49a7466720d9be) Signed-off-by: Yu, Ong

[linux-yocto] [PATCH 3/5] thermal/powerclamp: add cpu id for denlow platform

2016-06-13 Thread ong . hock . yu
From: Jacob Pan Add support for Intel Denlow UP server platform. Signed-off-by: Jacob Pan Signed-off-by: Zhang Rui (cherry picked from commit 1f22dc4494e203d6987fc708f414b4adf8614036) Signed-off-by: Yu, Ong

[linux-yocto] [PATCH 1/5] intel powerclamp: support Knights Landing

2016-06-13 Thread ong . hock . yu
From: Dasaratharaman Chandramouli This patch enables intel_powerclamp driver to run on the next-generation Intel(R) Xeon Phi Microarchitecture code named "Knights Landing" Signed-off-by: Dasaratharaman Chandramouli

[linux-yocto] [PATCH 2/5] thermal/powerclamp: add cpu id for skylake h/s

2016-06-13 Thread ong . hock . yu
From: Radivoje Jovanovic Add support for Intel Skylake H/S Signed-off-by: Radivoje Jovanovic Signed-off-by: Zhang Rui (cherry picked from commit 286272137f66199f87ea254397181b9bab5e5467) Signed-off-by: Yu, Ong

[linux-yocto] [PATCH 0/5] powerclamp: backport APL CPU support to 4.1

2016-06-13 Thread ong . hock . yu
From: "Yu, Ong Hock" These patches backport the upstream changes for powerclamp to support APL CPU. These patches are intended for kernel 4.1 Dasaratharaman Chandramouli (1): intel powerclamp: support Knights Landing Jacob Pan (2): thermal/powerclamp: add cpu id for

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 >

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

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. 

[linux-yocto] [PATCH 5/6] time: Add driver cross timestamp interface for higher precision time synchronization

2016-06-13 Thread jonathan . yong
From: "Christopher S. Hall" ACKNOWLEDGMENT: cross timestamp code was developed by Thomas Gleixner . It has changed considerably and any mistakes are mine. The precision with which events on multiple networked systems can be synchronized using,

[linux-yocto] [PATCH 6/6] x86/tsc: Always Running Timer (ART) correlated clocksource

2016-06-13 Thread jonathan . yong
From: "Christopher S. Hall" On modern Intel systems TSC is derived from the new Always Running Timer (ART). ART can be captured simultaneous to the capture of audio and network device clocks, allowing a correlation between timebases to be constructed. Upon capture,

[linux-yocto] [PATCH 4/6] time: Add timekeeping snapshot code capturing system time and counter

2016-06-13 Thread jonathan . yong
From: "Christopher S. Hall" In the current timekeeping code there isn't any interface to atomically capture the current relationship between the system counter and system time. ktime_get_snapshot() returns this triple (counter, monotonic raw, realtime) in the

[linux-yocto] [PATCH 2/6] time: Add cycles to nanoseconds translation

2016-06-13 Thread jonathan . yong
From: "Christopher S. Hall" The timekeeping code does not currently provide a way to translate externally provided clocksource cycles to system time. The cycle count is always provided by the result clocksource read() method internal to the timekeeping code. The

[linux-yocto] [PATCH 1/6] ntp/pps: replace getnstime_raw_and_real with 64-bit version

2016-06-13 Thread jonathan . yong
From: Arnd Bergmann There is exactly one caller of getnstime_raw_and_real in the kernel, which is the pps_get_ts function. This changes the caller and the implementation to work on timespec64 types rather than timespec, to avoid the time_t overflow on 32-bit architectures. For

[linux-yocto] [PATCH 0/6] Always Running Timer Support for 4.1

2016-06-13 Thread jonathan . yong
From: "Yong, Jonathan" This series introduces convert_art_to_tsc, to convert ART time to TSC. The main advantage of ART is that ART can be captured simultaneous to the capture of audio and network device clocks, allowing a correlation between timebases to be constructed.

[linux-yocto] [PATCH 3/6] timekeeping: Provide internal function __ktime_get_real_seconds

2016-06-13 Thread jonathan . yong
From: DengChao In order to fix Y2038 issues in the ntp code we will need replace get_seconds() with ktime_get_real_seconds() but as the ntp code uses the timekeeping lock which is also used by ktime_get_real_seconds(), we need a version without locking. Add a new function