[yocto] Force rebuild to regenerate .ko

2018-10-12 Thread Raymond Yeung
I've a Intel Ethernet driver, ixgbe.ko. I made some changes (debug logs) to the source file. How do I force the .ko to be regenerated within yocto environment, without rebuilding the entire yocto code base? I tried to do bitbake of the image name earlier, but bitbake decides that there's

Re: [linux-yocto] : [yocto-4.18]: intel-socfpga: kernel patches

2018-10-12 Thread Bruce Ashfield
On 2018-10-12 7:03 PM, Li, Meng wrote: Hi Bruce, My pull request have been at the end of this email thread. ahahah! I see it now. The head part of pull request as below. I push these patches into https://github.com/limeng-linux/linux-yocto-4.18.git, on branch v4.18/standard/intel-socfpga.

Re: [linux-yocto] : [yocto-4.18]: intel-socfpga: kernel patches

2018-10-12 Thread Li, Meng
Hi Bruce, My pull request have been at the end of this email thread. The head part of pull request as below. I push these patches into https://github.com/limeng-linux/linux-yocto-4.18.git, on branch v4.18/standard/intel-socfpga. A public repo. Can you access them? Or I need to send pull request

Re: [yocto] [prelink-cross] [PATCH] x86_64: allow prelinking of PIE executables with COPY relocs

2018-10-12 Thread Mark Hatle
On 10/10/18 3:50 PM, Sergei Trofimovich wrote: > COPY relocs are fine to have in PIE executables (as opposed to > shared libraries). > > By enabling prelink on PIEs we achieve a few goals: > - prelink more PIE files on system: nicer for uniformity, > - avoid spurious warnings about shared

[yocto] [prelink-cross][PATCH] Add option to return an error if all binaries cannot be prelinked

2018-10-12 Thread Kyle Russell
Otherwise, there's no way to validate whether or not the operation was actually successful without rescanning. Signed-off-by: Kyle Russell --- src/doit.c| 16 +++- src/main.c| 8 +++- src/prelink.h | 2 +- 3 files changed, 19 insertions(+), 7 deletions(-) diff --git

Re: [yocto] [prelink-cross][PATCH] Support copy relocations in .data.rel.ro

2018-10-12 Thread Mark Hatle
On 10/12/18 9:06 AM, Kyle Russell wrote: > Do you want me to just resent my last two patches?  I don't mind if that would > be easier, and I'll remember to add the Signed-off-by. :) I was able to pull them from the mailing list archives and have them applied to my local tree. I have a few other

Re: [linux-yocto] : [yocto-4.18]: intel-socfpga: kernel patches

2018-10-12 Thread Bruce Ashfield
On 10/10/2018 09:49 PM, meng...@windriver.com wrote: From: Limeng Hi Bruce, I am working on BSP intel-socfpga. Could you please help to create branch "v4.18/standard/intel-socfpga" in linux-yocto kernel? And then merge these kernel patches into this branch. I created the branch, but the

Re: [yocto] [Yocto][poky][meta] already-stripped ignore if set for any other package then INSANE_SKIP_${PN}

2018-10-12 Thread Burton, Ross
On Thu, 11 Oct 2018 at 18:14, Måns Zigher wrote: > I have been struggling with a problem where I need to create a package in a > recipe and set already-stripped for that package. The package in question is > not the the default one so I am trying to set it by using > > INSANE_SKIP_${PN} += " \

Re: [yocto] [prelink-cross][PATCH] Support copy relocations in .data.rel.ro

2018-10-12 Thread Kyle Russell
Do you want me to just resent my last two patches? I don't mind if that would be easier, and I'll remember to add the Signed-off-by. :) On Fri, Oct 12, 2018 at 10:00 AM Mark Hatle wrote: > On 10/4/18 9:12 AM, Kyle Russell wrote: > > Hey Mark, > > > > Do you think this approach is reasonable?

Re: [yocto] [prelink-cross][PATCH] Support copy relocations in .data.rel.ro

2018-10-12 Thread Mark Hatle
On 10/4/18 9:12 AM, Kyle Russell wrote: > Hey Mark, > > Do you think this approach is reasonable?  If so, I have another patch I'd > like > to propose that would enable us to better catch error scenarios (like the last > two patches address) that we might encounter during do_image_prelink.  We

[yocto] [meta-cgl][PATCH 1/2] cluster-glue: support multiple dbg packages

2018-10-12 Thread Hongxu Jia
Since `da5ec06 package: Add auto package splitting of .debug file' applied in oe-core, only one dbg package is split by default, set NOAUTOPACKAGEDEBUG = '1' to support multiple dbg packages Use `=+' to replace `+=', it will split user define sub package first Add missing dirs to FILES_${PN}-dbg

[yocto] [meta-cgl][PATCH 2/2] resource-agents: support multiple dbg packages

2018-10-12 Thread Hongxu Jia
Since `da5ec06 package: Add auto package splitting of .debug file' applied in oe-core, only one dbg package is split by default, set NOAUTOPACKAGEDEBUG = '1' to support multiple dbg packages Correct dirs for FILES_${PN}-extra/FILES_${PN}-extra-dbg/ FILES_${PN}-dbg, previously dirs are obsolete.