[linux-yocto] [PATCH 2/3] yaffs2: NULL ->read/->write

2016-02-23 Thread Kevin Hao
As stated in commit 5d5d56897530 ("make new_sync_{read,write}() static"), we shouldn't use new_sync_{read_write} for ->read/->write. We should NULL ->read/->write with non-NULL ->{read,write}_iter will do the right thing. Signed-off-by: Kevin Hao ---

[linux-yocto] [PATCH 3/3] yaffs2: using new ->follow_link() and ->put_link() calling conventions

2016-02-23 Thread Kevin Hao
As what we did in commit 680baacbca69 ("new ->follow_link() and ->put_link() calling conventions"). Signed-off-by: Kevin Hao --- fs/yaffs2/yaffs_vfs.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/yaffs2/yaffs_vfs.c

[linux-yocto] [PATCH 1/3] yaffs2: replace f_dentry to f_path.dentry

2016-02-23 Thread Kevin Hao
From: Yang Shi Upstream commit 78d28e651f97866d608d9b41f8ad291e65d47dd5 ("kill f_dentry macro") removed f_dentry from struct file, so replace it to f_path.dentry to fix the build failure. Signed-off-by: Yang Shi Signed-off-by: Bruce Ashfield

[linux-yocto] [PATCH 0/3] linux-yocto 4.4: fix the build errors when yaffs2 is enabled

2016-02-23 Thread Kevin Hao
Hi, With these patches applied, we can use a yaffs2 rootfs on mpc8315e-rdb board: root@mpc8315e-rdb:~# cat /proc/version Linux version 4.4.1-yocto-standard (khao@pek-lpggp4) (gcc version 5.3.0 (GCC) ) #2 PREEMPT Wed Feb 24 10:30:40 CST 2016 root@mpc8315e-rdb:~# cat /proc/cmdline

Re: [yocto] [meta-raspberrypi][PATCH] linux-raspberrypi: Adjust for libexecdir changes

2016-02-23 Thread Khem Raj
> On Feb 23, 2016, at 4:37 PM, Andreas Müller > wrote: > > On Tue, Feb 23, 2016 at 10:02 PM, Anders Darander > wrote: >> Ping? >> >> We can't build on master branch without this fix... >> >> Cheers, >> Anders >> >> * Khem Raj

[linux-yocto] FW: [PATCH] iwlwifi: mvm: don't allow sched scans without matches to be started

2016-02-23 Thread Zheng, Wu
Hi, Can the maintainer of linux-yocto have a look for the patch? Any comments? Thanks. Best Regards Zheng Wu >-Original Message- >From: Zheng, Wu >Sent: Friday, February 19, 2016 2:36 PM >To: linux-yocto@yoctoproject.org >Cc: Zheng, Wu ; Coelho, Luciano

Re: [yocto] Does CVE-2015-7547 affect eglibc?

2016-02-23 Thread akuster808
On 02/23/2016 02:52 PM, Darcy Watkins wrote: > On Tue, 2016-02-23 at 13:51 -0800, Mark Hatle wrote: >> On 2/23/16 1:53 PM, Khem Raj wrote: >>> On Tue, Feb 23, 2016 at 2:25 PM, Darcy Watkins CVE-2015-7547 glibc vulnerability has been published as affecting glibc since ver 2.9 (fixed in

Re: [linux-yocto] [PATCH 0/7] clkdev: Backport some clkdev API from 4.4, for linux-yocto-4.1

2016-02-23 Thread Yong, Jonathan
Sorry for the spam, looks like Bruce already got these. -Original Message- From: Yong, Jonathan Sent: Wednesday, February 24, 2016 08:10 To: linux-yocto@yoctoproject.org Cc: Yong, Jonathan Subject: [PATCH 0/7] clkdev: Backport some clkdev API from 4.4, for

[linux-yocto] [PATCH 6/7] clk: update clk API documentation to clarify clk_round_rate()

2016-02-23 Thread Yong, Jonathan
From: Russell King The idea is that rate = clk_round_rate(clk, r) is equivalent to: clk_set_rate(clk, r); rate = clk_get_rate(clk); except that clk_round_rate() does not change the hardware in any way. Signed-off-by: Russell King

[linux-yocto] [PATCH 7/7] clkdev: get rid of redundant clk_add_alias() prototype in linux/clk.h

2016-02-23 Thread Yong, Jonathan
From: Russell King clk_add_alias() is provided by clkdev, and is not part of the clk API. Howver, it is prototyped in two locations: linux/clkdev.h and linux/clk.h. This is a mess. Get rid of the redundant and unnecessary version in linux/clk.h. Acked-by: Tony

[linux-yocto] [PATCH 1/7] clkdev: use clk_hw internally

2016-02-23 Thread Yong, Jonathan
From: Russell King clk_add_alias() calls clk_get() followed by clk_put() but in between those two calls it saves away the struct clk pointer to a clk_lookup structure. This leaves the 'clk' member of the clk_lookup pointing at freed memory on configurations where

[linux-yocto] [PATCH 5/7] clkdev: fix clk_add_alias() with a NULL alias device name

2016-02-23 Thread Yong, Jonathan
From: Russell King clk_add_alias() was not correctly handling the case where alias_dev_name was NULL: rather than producing an entry with a NULL dev_id pointer, it would produce a device name of (null). Fix this. Cc: Fixes: 2568999835d7

[linux-yocto] [PATCH 2/7] clkdev: drop __init from clkdev_add_table()

2016-02-23 Thread Yong, Jonathan
From: Russell King We want to be able to call clkdev_add_table() from non-init code, so we need to drop the __init marker from it. Signed-off-by: Russell King (cherry picked from commit fba3acd961ee167a5ffe4c094deccb7d99a0e963)

[linux-yocto] [PATCH 0/7] clkdev: Backport some clkdev API from 4.4, for linux-yocto-4.1

2016-02-23 Thread Yong, Jonathan
Hello Linux-yocto, We would want to use the same clkdev API for our drivers against bleeding edge kernel versions. These patches are already upstream and should apply cleanly against linux-yocto-4.1 standard/base. Thanks. [Resent: Seems to be missing from archive] Russell King (7): clkdev:

Re: [yocto] How to deal with patch failures due to new source?

2016-02-23 Thread Burton, Ross
On 23 February 2016 at 20:16, Paul D. DeRocco wrote: > All of a sudden, I'm getting massive patch failures in OE's Samba 4 > package. (Last night it was fine.) Looking at the main log, the > samba-4.1.12-r0 recipe did a do_fetch, do_unpack and do_patch. This is a > huge

Re: [yocto] Does CVE-2015-7547 affect eglibc?

2016-02-23 Thread Darcy Watkins
On Tue, 2016-02-23 at 13:51 -0800, Mark Hatle wrote: > On 2/23/16 1:53 PM, Khem Raj wrote: > > On Tue, Feb 23, 2016 at 2:25 PM, Darcy Watkins > >> CVE-2015-7547 glibc vulnerability has been published as affecting glibc > >> since ver 2.9 (fixed in 2.23 and patched in 2.22 and 2.21). > >> > >>

Re: [yocto] [meta-chip] How to flash yocto's output into CHIP

2016-02-23 Thread Valentin Le bescond
I searched a bit more : The sunxi-spl-with-ecc.bin is built using the spl-image-builder bin in the CHIP-tools folder (found here : https://github.com/NextThingCo/CHIP-tools.git) I found a set of parameters (here : line 52 :

Re: [linux-yocto] [PATCH v3 00/12] ktype refactoring: move DEBUG_KERNEL, EXPERT and EMBEDDED

2016-02-23 Thread Bruce Ashfield
On 2016-02-17 7:47 PM, California Sullivan wrote: Targetted for yocto-4.4 and master Sorry for the delay, I've been fighting some 4.4 and 4.1 kernel issues, and bisecting has been taking up my cycles. This looks reasonable to me, I've pulled it into my queue to see if there's any fallout

Re: [yocto] Does CVE-2015-7547 affect eglibc?

2016-02-23 Thread Mark Hatle
On 2/23/16 1:53 PM, Khem Raj wrote: > On Tue, Feb 23, 2016 at 2:25 PM, Darcy Watkins > wrote: >> Hi, >> >> CVE-2015-7547 glibc vulnerability has been published as affecting glibc >> since ver 2.9 (fixed in 2.23 and patched in 2.22 and 2.21). >> >> Anyone know if we

[yocto] [yocto-autobuilder][PATCH 4/6] bin/release_scripts/release.py: add ADT publishing feature to release script

2016-02-23 Thread Graydon, Tracy
This is part of the release automation work, related to Yocto bug #8942. This patch adds the ADT repo publishing functionality for backward compatability for point releases, etc. Not used going forward since we have moved to the eSDK instead, so this defaults to NOT publishing the ADT repo. A flag

[yocto] [yocto-autobuilder][PATCH 3/6] bin/release_scripts/release.py: add a check for valid rc candidate

2016-02-23 Thread Graydon, Tracy
This is part of the release automation work, related to Yocto bug #8942. This patch adds a check for a valid release candidate ID passed in from command line and quits if it is bogus. Adds a few comments/output for the user for the various release steps to improve clarity. Signed-off-by: Graydon,

[yocto] [yocto-autobuilder][PATCH 5/6] bin/release_scripts/release.py: fix the tarball naming

2016-02-23 Thread Graydon, Tracy
Fixed tarball repackaging to add missing branch name to the new tarball name. i.e. -.tar.bz2 was being renamed to -.14.0.1.tar.bz2, which is wrong. Should be renamed to --.tar.bz2. Signed-off-by: Graydon, Tracy --- bin/release_scripts/release.py | 3 ++- 1 file changed,

[yocto] [yocto-autobuilder][PATCH 2/6] bin/release_scripts/release.py: remove stuff only used for initial testing

2016-02-23 Thread Graydon, Tracy
This is part of the release automation work, related to Yocto bug #8942. This patch removes the print_vars function and some other lines that were only used for testing and are otherwise useless. Signed-off-by: Graydon, Tracy --- bin/release_scripts/release.py | 37

[yocto] [yocto-autobuilder][PATCH 1/6] bin/release_scripts/relnotes.sh: Add script to generate release notes template.

2016-02-23 Thread Graydon, Tracy
This is a capture of the command-line ickiness that we have been using to generate the basic release notes draft. It's frightfully ugly, but gets the job done for now. Signed-off-by: Graydon, Tracy --- bin/release_scripts/relnotes.sh | 82

Re: [yocto] [meta-raspberrypi][PATCH] linux-raspberrypi: Adjust for libexecdir changes

2016-02-23 Thread Andreas Müller
On Tue, Feb 23, 2016 at 10:02 PM, Anders Darander wrote: > Ping? > > We can't build on master branch without this fix... > > Cheers, > Anders > > * Khem Raj [160130 18:07]: > >> libexecdir has changed its location in latest OE core, it used to be >>

[yocto] How to deal with patch failures due to new source?

2016-02-23 Thread Paul D. DeRocco
All of a sudden, I'm getting massive patch failures in OE's Samba 4 package. (Last night it was fine.) Looking at the main log, the samba-4.1.12-r0 recipe did a do_fetch, do_unpack and do_patch. This is a huge patch, a megabyte in size, applying to 525 files, and it now has 31 failures, because

Re: [yocto] [meta-raspberrypi][PATCH] linux-raspberrypi: Adjust for libexecdir changes

2016-02-23 Thread Anders Darander
Ping? We can't build on master branch without this fix... Cheers, Anders * Khem Raj [160130 18:07]: > libexecdir has changed its location in latest OE core, it used to be > pointing to /usr/lib which was essentially same as libdir and when > hardcoded in do_rpiboot_mkimage

[yocto] [meta-raspberrypi][PATCH] linux-raspberrypi: make a machine defconfig work

2016-02-23 Thread Anders Darander
If we have a machine specific defconfig 'defconfig' in our meta-data, the install command fails. OTOH, in that case it's not necessary to copy it into twe WORKDIR either. Signed-off-by: Anders Darander --- recipes-kernel/linux/linux-raspberrypi.inc | 4 +++- 1 file

Re: [yocto] Does CVE-2015-7547 affect eglibc?

2016-02-23 Thread Khem Raj
On Tue, Feb 23, 2016 at 2:25 PM, Darcy Watkins wrote: > Hi, > > CVE-2015-7547 glibc vulnerability has been published as affecting glibc > since ver 2.9 (fixed in 2.23 and patched in 2.22 and 2.21). > > Anyone know if we need the same security fixes in eglibc? yes you

[yocto] Does CVE-2015-7547 affect eglibc?

2016-02-23 Thread Darcy Watkins
Hi, CVE-2015-7547 glibc vulnerability has been published as affecting glibc since ver 2.9 (fixed in 2.23 and patched in 2.22 and 2.21). Anyone know if we need the same security fixes in eglibc? -- Regards, Darcy --- Darcy Watkins Staff Engineer, Firmware Sierra Wireless 13811 Wireless Way,

Re: [yocto] [RFC] [autobuilder] Autobuilder.py: add verbose buildset parse error

2016-02-23 Thread Flanagan, Elizabeth
On 23 February 2016 at 15:42, Alex Franco wrote: > From: Alejandro Franco > > Add a more verbose Exception when a buildset parse operation fails > Approved and in master. -b > Signed-off-by: Alejandro Franco

Re: [yocto] Embedded Linux Conference, YP DevDay, and OEDAM

2016-02-23 Thread Paul Eggleton
On Tue, 23 Feb 2016 08:53:13 akuster808 wrote: > On 01/27/2016 01:49 PM, Philip Balister wrote: > > On 01/27/2016 07:49 PM, akuster wrote: > >> On 01/27/2016 10:15 AM, Jeff Osier-Mixon wrote: > >>> If you are planning to attend the Embedded Linux Conference in San > >>> Diego this April, I wanted

Re: [yocto] Embedded Linux Conference, YP DevDay, and OEDAM

2016-02-23 Thread akuster808
On 01/27/2016 01:49 PM, Philip Balister wrote: > On 01/27/2016 07:49 PM, akuster wrote: >> >> >> On 01/27/2016 10:15 AM, Jeff Osier-Mixon wrote: >>> If you are planning to attend the Embedded Linux Conference in San >>> Diego this April, I wanted to let you know about the Yocto Project >>>

Re: [yocto] [RFC] [autobuilder] Autobuilder.py: add verbose buildset parse error

2016-02-23 Thread Alex Franco
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Not sure this how this should be done, but at least it's been helpful in my case Alex Franco On 02/23/2016 09:42 AM, Alex Franco wrote: > From: Alejandro Franco > > Add a more verbose Exception when a buildset

[yocto] [RFC] [autobuilder] Autobuilder.py: add verbose buildset parse error

2016-02-23 Thread Alex Franco
From: Alejandro Franco Add a more verbose Exception when a buildset parse operation fails Signed-off-by: Alejandro Franco --- lib/python2.7/site-packages/autobuilder/Autobuilder.py | 15 +-- 1 file changed, 9

Re: [yocto] [meta-chip][PATCH] added md5 for ntc's modified u-boot Licences/README file.

2016-02-23 Thread Oliver
Not yet @Valentin, This is in my TODO list. I did spend an afternoon checking for their scripts inside the SDK at least to retrieve a backup copy of the oficial firmware. I guess this is the starting point to work out something within yocto:

Re: [yocto] Post Generation of debug information

2016-02-23 Thread Oliver
In this special case the tool is Lauterbach's Trace32. If I understand properly each piece of output I would eventually need, I would need to modify its origin recipes to ensure they deploy the such files in DEPLOY_DIR_IMAGE/SOME_WHERE. There I could proceed in a similar way as the

Re: [yocto] [meta-chip][PATCH] added md5 for ntc's modified u-boot Licences/README file.

2016-02-23 Thread Valentin Le bescond
Cool, By the way @Olivier, did you manage to flash the board at some point ? I spent a hole weekend trying to... Le lun. 22 févr. 2016 à 19:00, Khem Raj a écrit : > On Sun, Feb 21, 2016 at 4:30 AM, Valentin Le bescond > wrote: > > Hi, sorry it