[linux-yocto][linux-yocto v5.10/standard/ti-sdk-5.10/ti-j72xx][PATCH] can: m_can_platform: Fix freeing of can device from failed to get phy

2021-09-23 Thread Xulin Sun
Fix leaking can_netdev device from failed to get phy during m_can_plat_probe(), to avoid below kmemleak call trace: unreferenced object 0xfc08262d4e00 (size 512): comm "kworker/1:1", pid 29, jiffies 4294893754 (age 393.056s) hex dump (first 32 bytes): 00 80 31 25 08 fc ff ff 00 00 00 00 00

Re: [yocto] "stack smashing detected" when building aarch64 kernel

2021-09-23 Thread Khem Raj
its hard to say what might be going on. Perhaps enable builds with V=1 so you can see if its always failing to compile at same file. or atleast you can get one file where it fails then you can use preprocessed file to build it in a loop and see if you can get it to fail more. On Thu, Sep 23, 2021

Re: [yocto] gcov support for target in Yocto

2021-09-23 Thread Khem Raj
On Thu, Sep 23, 2021 at 9:53 AM Lijun Chen wrote: > > Hi, > > > Anybody knows how to enable gcov support for the target in Yocto? > IMAGE_INSTALL += "gcov gcov-symlinks" > > Thanks, > > Lijun > > > This transmission (including any attachments) may contain

Re: [yocto] [meta-rockchip][PATCH] use uuid instead of hard-coding root device

2021-09-23 Thread Khem Raj
are you both using systemd or sysvinit On Thu, Sep 23, 2021 at 3:26 PM Markus Volk wrote: > > I'm surprised mount doesn't complain about those first 5 lines! Those are not > properly-formed fstab(5) entries. > > No, it doesn't. Those entries are ignored except /boot. > One interesting thing: i

Re: [yocto] googletest shared library

2021-09-23 Thread Federico Pellegrin
Hi, Regarding the INSANE_SKIP: as that files get packed in the "-dev" package, you should probably then accordingly have: INSANE_SKIP_${PN}-dev += "dev-elf" Cheers, Federico Il giorno gio 23 set 2021 alle ore 16:46 Lijun Chen ha scritto: > I tried INSANE_SKIP_${PN} += "dev-elf" and "dev-so",

Re: [linux-yocto] [yocto-kernel-cache]: nxp- ls1043: enable CONFIG_FSL_RCPM kernel config

2021-09-23 Thread Bruce Ashfield
In message: [yocto-kernel-cache]: nxp- ls1043: enable CONFIG_FSL_RCPM kernel config on 24/09/2021 meng...@windriver.com wrote: > From: Limeng > > Hi Bruce, > > This patch is used to enable the rcpm driver for nxp-ls1043 platform. > > Could you please help to merge this patch into

Re: [linux-yocto][v5.10/standard/preempt-rt/sdkv5.10/axxia][PATCH 1/1] dts: arm: axxia: change pl022 spi controller to poll mode

2021-09-23 Thread Bruce Ashfield
In message: [linux-yocto][v5.10/standard/preempt-rt/sdkv5.10/axxia][PATCH 1/1] dts: arm: axxia: change pl022 spi controller to poll mode on 23/09/2021 quanyang.w...@windriver.com wrote: > From: Quanyang Wang > > The spi controller pl022 supports interrupt/dma/poll modes. But in > interrupt/dma

Re: [linux-yocto]: [kernel/kernel-rt]: arch: arm64: dts: add dts files for nxp-ls1023 platform

2021-09-23 Thread Bruce Ashfield
In message: [linux-yocto]: [kernel/kernel-rt]: arch: arm64: dts: add dts files for nxp-ls1023 platform on 23/09/2021 meng...@windriver.com wrote: > From: Limeng > > Hi Bruce, > > Based on nxp-ls1043 dts files, create dts files for nxp-ls1023 platform. > So, could you please help merge these

Re: [linux-yocto] [PATCH] arch: arm64: dts: correct the compatible string of ftm alarm node

2021-09-23 Thread Bruce Ashfield
In message: RE: [linux-yocto] [PATCH] arch: arm64: dts: correct the compatible string of ftm alarm node on 23/09/2021 Li, Meng wrote: > Hi Bruce, > > Very sorry. This is my mistake. > Could you please ignore this patch? > Because there has been another dts node for ftm-alarm driver. Thanks

[linux-yocto] [yocto-kernel-cache]: nxp- ls1043: enable CONFIG_FSL_RCPM kernel config

2021-09-23 Thread Meng Li
From: Limeng Hi Bruce, This patch is used to enable the rcpm driver for nxp-ls1043 platform. Could you please help to merge this patch into yocto-kernel-cache, branch is only yocto-5.10? diffstat info ad below: nxp-ls1043.cfg |1 + 1 file changed, 1 insertion(+) thanks, Limeng

[linux-yocto] [PATCH] nxp- ls1043: enable CONFIG_FSL_RCPM kernel config

2021-09-23 Thread Meng Li
From: Meng Li ftm-alarm driver on rcpm driver, so enable it for nxp-ls1043 platform. Signed-off-by: Meng Li --- bsp/nxp-ls1043/nxp-ls1043.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp/nxp-ls1043/nxp-ls1043.cfg b/bsp/nxp-ls1043/nxp-ls1043.cfg index 42ce3890..be705905 100644 ---

Re: [linux-yocto] [yocto-kernel-cache]: nxp- ls1043: enable fmt alarm driver for nxp-ls1043 platform

2021-09-23 Thread Bruce Ashfield
In message: [yocto-kernel-cache]: nxp- ls1043: enable fmt alarm driver for nxp-ls1043 platform on 22/09/2021 meng...@windriver.com wrote: > From: Limeng > > Hi Bruce, > > This patch is used to enable the specific alarm driver for nxp-ls1043 > platform. > > Could you please help to merge

Re: [linux-yocto][v5.10/standard/preempt-rt/sdkv5.10/axxia][PATCH 0/2] axxia: fix some issues

2021-09-23 Thread Bruce Ashfield
In message: [linux-yocto][v5.10/standard/preempt-rt/sdkv5.10/axxia][PATCH 0/2] axxia: fix some issues on 22/09/2021 quanyang.w...@windriver.com wrote: > From: Quanyang Wang > > Hi Bruce, > > Would you please help merge this patch to the branches of > linux-yocto: > >

Re: [linux-yocto]: [kernel/kernel-rt]: upgrade NXP BSP with latest sdk kernel patches

2021-09-23 Thread Bruce Ashfield
In message: [linux-yocto]: [kernel/kernel-rt]: upgrade NXP BSP with latest sdk kernel patches on 21/09/2021 meng...@windriver.com wrote: > From: Limeng > > Hi Bruce, > > I got latest patches from NXP sdk kernel repo > git://source.codeaurora.org/external/qoriq/qoriq-components/linux

Re: [linux-yocto] [kernel-cache][PATCH] README: Update mail address

2021-09-23 Thread Bruce Ashfield
good catch! I've merged this to 5.4+ (and it could go everywhere, but that's just overkill :) Bruce In message: [linux-yocto] [kernel-cache][PATCH] README: Update mail address on 16/09/2021 Jon Mason wrote: > linux-yo...@yoctoproject.org bounces with a: > I'm sorry to have to inform you that

Re: [linux-yocto] [kernel-cache][PATCH] bsp/qemuarm*-gfx: use virtio graphics

2021-09-23 Thread Bruce Ashfield
sorry for the slow reply, I was bogged down with 5.14 and 5.15. What branches (kernel versions) did you want this applied to ? 5.10+ ? Bruce In message: [linux-yocto] [kernel-cache][PATCH] bsp/qemuarm*-gfx: use virtio graphics on 16/09/2021 Jon Mason wrote: > Remove Bochs and start using

Re: [yocto] [meta-rockchip][PATCH] use uuid instead of hard-coding root device

2021-09-23 Thread Markus Volk
I'm surprised mount doesn't complain about those first 5 lines! Those are not properly-formed fstab(5) entries. No, it doesn't. Those entries are ignored except /boot. One interesting thing: i always had that bunch of malformed fstab entries. Before the change from static to uuid it looked like

[yocto][meta-rockchip][PATCH v2 1/2] rockchip.wks: use uuid for all partitions

2021-09-23 Thread Markus Volk
My rock pi 4 refused to boot with the latest changes because there are false entries written to fstab. Fix this by using uuid for all partitions Signed-off-by: MarkusVolk --- wic/rockchip.wks | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/wic/rockchip.wks

[yocto][meta-rockchip][PATCH v2 2/2] rockchip-wic.inc: dont let wic edit fstab by default

2021-09-23 Thread Markus Volk
Signed-off-by: MarkusVolk --- conf/machine/include/rockchip-wic.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/machine/include/rockchip-wic.inc b/conf/machine/include/rockchip-wic.inc index 15010a0..30b0d57 100644 --- a/conf/machine/include/rockchip-wic.inc +++

Re: [yocto] [meta-rockchip][PATCH] use uuid instead of hard-coding root device

2021-09-23 Thread Trevor Woerner
On Thu 2021-09-23 @ 09:45:06 PM, Markus Volk wrote: > > Am 23.09.21 um 13:59 schrieb Trevor Woerner: > > Curious. I boot tested my patch on multiple boards and I've built and booted > > numerous images on my rock-pi-4b and rock64 boards in the last day or so > > since > > I applied the patch.

[yocto] scikit-learn #gatesgarth #yocto

2021-09-23 Thread abhi
hi guys, i am trying to build scikit-learn on yocto but i am getting error of setup.py ,it is showing failed i build all dependencies but it is giving error please try to give some i dea ERROR: python3-sklearn-1.0-r0 do_compile: 'python3 setup.py build ' execution failed. ERROR:

Re: [yocto] [meta-rockchip][PATCH] use uuid instead of hard-coding root device

2021-09-23 Thread Markus Volk
Am 23.09.21 um 13:59 schrieb Trevor Woerner: Curious. I boot tested my patch on multiple boards and I've built and booted numerous images on my rock-pi-4b and rock64 boards in the last day or so since I applied the patch. I'll try some "clean" builds and see if that makes a difference. I don't

Re: [yocto] Minutes: Yocto Project Weekly Triage Meeting 9/23/2021

2021-09-23 Thread Steve Sakoman
On Thu, Sep 23, 2021 at 5:40 AM Trevor Gamblin wrote: > > Wiki: https://wiki.yoctoproject.org/wiki/Bug_Triage > > Attendees: Alex, Bruce, Kiran, Randy, Richard, Ross, Saul, Stephen, Steve, > Trevor > > ARs: > > - Steve to review failure logs for 14557 and post any that might be useful I was

Re: [yocto] Using bitbake with external SDK #zeus #toolchain #sdk

2021-09-23 Thread Khem Raj
On Thu, Sep 23, 2021 at 6:46 AM wrote: > > Hello, > > It has been 2 years that i'm using the yocto project to build the image for > an embedded system on IMX8M. > Now the system basic image is done outside and i receive the SDK. > All the additional packages that i was installing with my yocto

Re: [yocto] googletest shared library

2021-09-23 Thread Khem Raj
look into package-split/ directory inside googletest build area and see how things changes when you use SOLIBS option. I wonder why its ignoring .h files On Thu, Sep 23, 2021 at 6:36 AM Lijun Chen wrote: > > Hi, > > > If I switch to the default setting of the googletest recipe, the header files

Re: [yocto] Minutes: Yocto Project Weekly Triage Meeting 9/23/2021

2021-09-23 Thread Richard Purdie
On Thu, 2021-09-23 at 11:40 -0400, Trevor Gamblin wrote: > Wiki: https://wiki.yoctoproject.org/wiki/Bug_Triage > Attendees: Alex, Bruce, Kiran, Randy, Richard, Ross, Saul, Stephen, Steve, > Trevor > ARs: > - Steve to review failure logs for 14557 and post any that might be useful > - Richard to

[yocto] gcov support for target in Yocto

2021-09-23 Thread Lijun Chen
Hi, Anybody knows how to enable gcov support for the target in Yocto? Thanks, Lijun -- This transmission (including any attachments) may contain confidential information, privileged material (including material protected by

Re: [yocto] [ptest-runner][PATCH 3/3] utils.c: add system data collection when a test gets stuck.

2021-09-23 Thread Alexander Kanavin
Not sure what happened here, I published the patches in https://github.com/kanavin/ptest-runner2 Alex On Thu, 23 Sept 2021 at 18:33, Anibal Limon wrote: > Hi Alex, > > Do you have a repo/branch for this patch?. > > I'm having issues applying... > > ... >

Re: [yocto] [ptest-runner][PATCH 3/3] utils.c: add system data collection when a test gets stuck.

2021-09-23 Thread Anibal Limon
Hi Alex, Do you have a repo/branch for this patch?. I'm having issues applying... ... alimon@blackbox:~/upstream/ptest-runner2$ git am -3 ~/Downloads/\[ptest-runner\]\[PATCH\ 3_3\]\ utils.c_\ add\ system\ data\ collection\ when\ a\ test\ gets\ stuck..eml Applying: utils.c: add system data

Re: [yocto] [PATCH v2 ptest-runner 2/2] main: Do not return number of failed tests when calling ptest-runner

2021-09-23 Thread Anibal Limon
On Mon, 20 Sept 2021 at 04:23, Alexander Kanavin wrote: > I think we might be having an 'unresponsive maintainer' situation? How can > Anibal be reached? > I was OOO for futher you can find me with nickname alimon at #yocto at Libera. > > Alex > > On Mon, 20 Sept 2021 at 11:19, ?ukasz

[yocto] [meta-security][PATCH] dmverity: Make use of DATA_BLOCK_SIZE variable in initrdscript.

2021-09-23 Thread Paulo Neves
From: Christer Fletcher DATA_BLOCK_SIZE variable was set in dm-verity-img.bbclass at build time but the initrdscript was not updated to pass the DATA_BLOCK_SIZE to the veritysetup. Now the functionality is complete. Signed-off-by: Paulo Neves ---

[yocto] Minutes: Yocto Project Weekly Triage Meeting 9/23/2021

2021-09-23 Thread Trevor Gamblin
*Wiki: *https://wiki.yoctoproject.org/wiki/Bug_Triage *Attendees:* Alex, Bruce, Kiran, Randy, Richard, Ross, Saul, Stephen, Steve, Trevor *ARs:* - Steve to review failure logs for 14557 and post any that might be useful - Richard to have a look at bug 11801 *Notes:* * * - (carried over)

[yocto] "stack smashing detected" when building aarch64 kernel

2021-09-23 Thread Rasmus Villemoes via lists.yoctoproject.org
I've recently started getting an internal compiler error when building an aarch64 kernel. It only happens once in a while, and re-running the task usually just succeeds, so I don't know how to reproduce or trigger this at will. Two examples: === CC [M]

Re: [yocto] googletest shared library

2021-09-23 Thread Lijun Chen
I tried INSANE_SKIP_${PN} += "dev-elf" and "dev-so", still got the QA error: ERROR: googletest-1.10.0-r0 do_package_qa: QA Issue: -dev package googletest-dev contains non-symlink .so '/usr/lib/libgmock.so' -dev package googletest-dev contains non-symlink .so '/usr/lib/libgtest_main.so' -dev

Re: [yocto] googletest shared library

2021-09-23 Thread Federico Pellegrin
Hi, To skip the QA you can use: INSANE_SKIP_${PN} += "dev-elf" (or any QA part you'd like to skip, ie. dev-elf or dev-so ...) Cheers, Federico Il giorno gio 23 set 2021 alle ore 15:33 Lijun Chen ha scritto: > Hi, > > > If I switch to the default setting of the googletest recipe, the header

[yocto] Using bitbake with external SDK #zeus #toolchain #sdk

2021-09-23 Thread enrico . buffoli1994
Hello, It has been 2 years that i'm using the yocto project to build the image for an embedded system on IMX8M. Now the system basic image is done outside and i receive the SDK. All the additional packages that i was installing with my yocto project are missing because i receive the standard os

Re: [yocto] googletest shared library

2021-09-23 Thread Lijun Chen
Hi, If I switch to the default setting of the googletest recipe, the header files are included in the SDK image. However, the libgtest libraries are static. Looks FILES_SOLIBSDEV = "" disables googletest-dev to be included in the SDK. Is there a way to change the library to dynamic and keep

Re: [yocto] [meta-rockchip][PATCH 2/2] rockchip-wic.inc: dont let wic edit fstab by default

2021-09-23 Thread Trevor Woerner
On Wed 2021-09-22 @ 09:09:50 PM, Markus Volk wrote: > --- > conf/machine/include/rockchip-wic.inc | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/conf/machine/include/rockchip-wic.inc > b/conf/machine/include/rockchip-wic.inc > index 15010a0..30b0d57 100644 > ---

Re: [linux-yocto] [PATCH] arch: arm64: dts: correct the compatible string of ftm alarm node

2021-09-23 Thread Meng Li
Hi Bruce, Very sorry. This is my mistake. Could you please ignore this patch? Because there has been another dts node for ftm-alarm driver. Thanks, Limeng > -Original Message- > From: linux-yocto@lists.yoctoproject.org > On Behalf Of Meng Li > Sent: Wednesday, September 22, 2021 4:32

Re: [yocto] [meta-rockchip][PATCH] use uuid instead of hard-coding root device

2021-09-23 Thread Trevor Woerner
On Wed 2021-09-22 @ 08:49:43 PM, Markus Volk wrote: > Hi, Hi Markus, thanks for your report. I appreciate the feedback! > with this change my rock-pi-4 doesnt boot up and falls to emergency shell > because wic includes wrong devices into fstab. For some reason it assumes > /dev/sda1. The next

[linux-yocto][v5.10/standard/preempt-rt/sdkv5.10/axxia][PATCH 1/1] dts: arm: axxia: change pl022 spi controller to poll mode

2021-09-23 Thread quanyang.wang
From: Quanyang Wang The spi controller pl022 supports interrupt/dma/poll modes. But in interrupt/dma modes, there is calltrace as below which indicates that the driver calls sleeping function under atomic context: BUG: sleeping function called from invalid context at drivers/spi/spi.c:1211

[linux-yocto] [PATCH] arch: arm64: dts: add dts files for nxp-ls1023 platform

2021-09-23 Thread Meng Li
From: Meng Li Based on nxp-ls1043 dts files, create dts files for nxp-ls1023 platform. Signed-off-by: Meng Li --- arch/arm64/boot/dts/freescale/Makefile| 2 + .../dts/freescale/fsl-ls1023a-rdb-sdk.dts | 78 +++ .../dts/freescale/fsl-ls1023a-rdb-usdpaa.dts | 42

[linux-yocto]: [kernel/kernel-rt]: arch: arm64: dts: add dts files for nxp-ls1023 platform

2021-09-23 Thread Meng Li
From: Limeng Hi Bruce, Based on nxp-ls1043 dts files, create dts files for nxp-ls1023 platform. So, could you please help merge these patches into linux-ycoto kernel, both below 2 branchs? v5.10/standard/nxp-sdk-5.10/nxp-soc v5.10/standard/preempt-rt/nxp-sdk-5.10/nxp-soc diffstat info as