Re: [yocto] Postinstall scriptet failure

2023-04-19 Thread Pelle Windestam
> One interesting discovery from the build log when comparing to the > working application shows that the working application creates a link to > the systemd service, while the non-working application does not: > > Installing B on root > Downloading file:[...]/B.ipk. > Configuring B. > B.postinst

[linux-yocto][v5.10/standard/sdkv5.4/xlnx-soc][PATCH] drivers/usb/dwc3/gadget.c: fix compile error

2023-04-19 Thread Li Wang via lists.yoctoproject.org
In function 'dwc3_stop_active_transfer': error: 'cmd' undeclared Signed-off-by: Li Wang --- drivers/usb/dwc3/gadget.c | 21 - 1 file changed, 21 deletions(-) diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index bd1c944f903b..be6e3bc65689 100644 ---

[linux-yocto][v5.10/standard/sdkv5.10/xlnx-soc & v5.10/standard/preempt-rt/sdkv5.10/xlnx-soc][PATCH] drivers/usb/dwc3/gadget.c: fix compile error

2023-04-19 Thread Li Wang via lists.yoctoproject.org
In function 'dwc3_stop_active_transfer': error: 'cmd' undeclared Signed-off-by: Li Wang --- drivers/usb/dwc3/gadget.c | 26 -- 1 file changed, 26 deletions(-) diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index c44b7c199905..8460bb22badd 100644 ---

Re: [linux-yocto][v5.10/standard/nxp-sdk-5.10/nxp-soc & v5.10/standard/preempt-rt/nxp-sdk-5.10/nxp-soc][PATCH] drivers/tty/serial/fsl_lpuart.c: fix compile error

2023-04-19 Thread Bruce Ashfield
merged. Bruce In message: [linux-yocto][v5.10/standard/nxp-sdk-5.10/nxp-soc & v5.10/standard/preempt-rt/nxp-sdk-5.10/nxp-soc][PATCH] drivers/tty/serial/fsl_lpuart.c: fix compile error on 19/04/2023 Li Wang wrote: > In function 'lpuart_suspend': > error: 'irq_wake' undeclared (first use in

Re: [linux-yocto][v5.15/standard/nxp-sdk-5.10/nxp-s32g][PATCH V2 0/6] tools/resolve_btfids: fix missing host libelf after enable CONFIG_DEBUG_INFO_BTF

2023-04-19 Thread Bruce Ashfield
In message: [linux-yocto][v5.15/standard/nxp-sdk-5.10/nxp-s32g][PATCH V2 0/6] tools/resolve_btfids: fix missing host libelf after enable CONFIG_DEBUG_INFO_BTF on 18/04/2023 Xiangyu Chen wrote: > From: Xiangyu Chen > > Hi Bruce, > > Resend a v2 patch, changes: > Add mainline commit id in

Re: [yocto] [meta-raspberrypi] - problem adding meta-qt6 SDK #qt #sdk

2023-04-19 Thread Khem Raj
what is your build distro/container ? It seems a build race in gcc, I have seen it in distant past, IIRC it was some issue with assembler on host but not sure if this is it. On Wed, Apr 19, 2023 at 7:11 AM Electronic Consult wrote: > > Hello all, > > I'm using dunfell with meta-raspberrypi &

Re: [yocto] #kernelmodule #kirkstone Kernel configuration fragment overriden by netfilter.cfg

2023-04-19 Thread Bruce Ashfield
On Wed, Apr 19, 2023 at 12:08 PM Gary Huband via lists.yoctoproject.org wrote: > > > I'm using kirkstone and meta-intel for a build. I have a few kernel > configuration fragments but one of the fragment files, modbusbs.cfg, is not > applied. > It is of course being applied, but as you

[yocto] #kernelmodule #kirkstone Kernel configuration fragment overriden by netfilter.cfg

2023-04-19 Thread Gary Huband via lists.yoctoproject.org
I'm using kirkstone and meta-intel for a build.  I have a few kernel configuration fragments but one of the fragment files, modbusbs.cfg, is not applied. I created each fragment with bitbake -c menuconfig virtual/kernel bitbake -c diffconfig virtual/kernel Then copied fragment.cfg to my layer.

[yocto] [meta-zephyr][PATCH] zephyr-core/zephyr-kernel: Fix arm32 binutils 2.40 incompatibility

2023-04-19 Thread Peter Hoyes
From: Peter Hoyes Armv7 boards are currently failing with binutils 2.40 if certain statements are combined on the same line without a semicolon. Introduce a patch to fix this by inserting a semicolon. Signed-off-by: Peter Hoyes --- ...x-separator-between-directives-on-sa.patch | 44

[yocto] [meta-zephyr][PATCH 3/3] zephyr-core/zephyr-kernel: Use SHA for zcbor module

2023-04-19 Thread Peter Hoyes
From: Peter Hoyes Re-run the generate-version.py script for 3.3.0 to convert the tag for zcbor to a SHA. Signed-off-by: Peter Hoyes --- .../recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.3.0.inc| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[yocto] [meta-zephyr][PATCH 2/3] zephyr-core/scripts: Resolve West revisions to SHAs

2023-04-19 Thread Peter Hoyes
From: Peter Hoyes The West manifest in Zephyr 3.3 contains a tag (instead of a SHA) for zcbor [1]. OE standard practice is to always specifiy revisions using SHAs, so in the Jinja template, use the new resolve_revision filter to resolve any tags. [1]

[yocto] [meta-zephyr][PATCH 1/3] zephyr-core/scripts: Resolve Zephyr tag using git ls-remote

2023-04-19 Thread Peter Hoyes
From: Peter Hoyes To simplify the logic to resolve Git tags to SHAs, and so that it works with non-Github repositories, use git ls-remote instead of the Github API. Make the resolve_revision function available as a Jinja filter and move the version resolution to the template. Signed-off-by:

[yocto] [meta-zephyr][PATCH] CI: Update Kas version to 3.2.3

2023-04-19 Thread Peter Hoyes
From: Peter Hoyes Signed-off-by: Peter Hoyes --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d5462a4..2ecf132 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: ghcr.io/siemens/kas/kas:3.2

[linux-yocto][v5.10/standard/nxp-sdk-5.10/nxp-soc & v5.10/standard/preempt-rt/nxp-sdk-5.10/nxp-soc][PATCH] drivers/tty/serial/fsl_lpuart.c: fix compile error

2023-04-19 Thread Li Wang via lists.yoctoproject.org
In function 'lpuart_suspend': error: 'irq_wake' undeclared (first use in this function) Signed-off-by: Li Wang --- drivers/tty/serial/fsl_lpuart.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c index

[yocto] [meta-raspberrypi] - problem adding meta-qt6 SDK #qt #sdk

2023-04-19 Thread Electronic Consult
Hello all, I'm using dunfell with meta-raspberrypi & meta-qt6 ( https://code.qt.io/yocto/meta-qt6.git ), v6.2.24 under the open-source license. I've successfully built a simple qt6 application with the setup but now trying to build the SDK to support Qt6 development on the RPi. As per Qt

Re: [yocto] Postinstall scriptet failure

2023-04-19 Thread Pelle Windestam
> On 19/04/2023 11:02, Pelle Windestam wrote: >> Any ideas? I do not know where to continue troubleshooting from here. Is >> it possible to "debug" the postinstall scriptlet in the environment that >> it is running in? >> > It's a shell script. You can add pwd, ls, echo commands, and > whatever

[yocto] nativesdk-packagegroup-sdk-host - allarch vs arch-specific

2023-04-19 Thread paulo . sogari
Hi all, I’m currently facing an issue when trying to build an SDK for an aarch64 host also with an aarch64 target board on Kirkstone. I’ve appended both nativesdk-protobuf and nativesdk-protobuf-compiler to nativesdk-packagegroup-sdk-host. When building the SDK for an x86 host, everything

Re: [yocto] Postinstall scriptet failure

2023-04-19 Thread Uwe Geuder via lists.yoctoproject.org
On 19/04/2023 11:02, Pelle Windestam wrote: > Any ideas? I do not know where to continue troubleshooting from here. Is > it possible to "debug" the postinstall scriptlet in the environment that > it is running in? > It's a shell script. You can add pwd, ls, echo commands, and whatever else you

[yocto] How to increase memory in a RISCV32 image? Stuck with 988MB

2023-04-19 Thread Mikhail R. Gadelha
Hi all, I'm using yocto to generate a riscv32 image but qemu seems to be ignoring the -m argument from the command line and forcing the image to run with 988MB of RAM. I'm trying to track down where the issue comes from and maybe it's from the linux-yocto kernel? Here's also the boot log:

[yocto] cleaning/rebuilding recipes with multiconfigs

2023-04-19 Thread Sutton, Chris (FP) - IC via lists.yoctoproject.org
Hi, I have setup a multiconfig build. This is working fine. I can build using bitbake core-image-minimal mc:myconfig:core-image-minimal If I want to clean a specific recipe I use the command: bitbake -c u-boot However, only recipe for core-image-minimal is cleaned. The recipe for

[yocto] Postinstall scriptet failure

2023-04-19 Thread Pelle Windestam
Hello everyone, I'm having an issue with a postinstall scriptlet failing for a package that I am trying to add to my Yocto image. Initially I had a simple CMake C++ application that installs itself (a single binary file), a systemd service and a d-bus interface file. This was causing no issues.