Re: [yocto] QA notification for completed autobuilder build (yocto-3.1.4.rc1)

2020-11-26 Thread Sangeeta Jain
Hi all, Intel and WR YP QA is planning for QA execution for YP build yocto-3.1.4.rc1 We are planning to execute following tests for this cycle: OEQA-manual tests for following module: 1. OE-Core 2. BSP-hw Runtime auto test for following platforms: 1. MinnowTurbot 32-bit 2. Coffee Lake 3. NUC 7

Re: [yocto] U-Boot sama5d3 xplained issue

2020-11-26 Thread Federico Pellegrin
Hi David, If you change it directly, changes may not be taken into account for the rebuild. And if the package build gets retriggered, then the whole repository is deleted (including your local changes), redownloaded, repatched and so on. So while it may by chance work by modifying locally in

Re: [linux-yocto] [linux-yocto-dev standard/xlnx-soc] xlnx-soc: porting SDK patches to kernel v5.10

2020-11-26 Thread quanyang.wang
Hi Michal, On 11/26/20 9:10 PM, Michal Simek wrote: On 26. 11. 20 14:06, quanyang.wang wrote: Hi Michal, On 11/26/20 8:20 PM, Michal Simek wrote: Hi, On 26. 11. 20 11:19, quanyang.w...@windriver.com wrote: From: Quanyang Wang Hi Bruce, Would you please help remove the obsolete branch

Re: [yocto] U-Boot sama5d3 xplained issue

2020-11-26 Thread David Novak
We changed the file directly. Since it's a custom file, I don't think it is being downloaded. What is the easiest way to determine if it's being downloaded? Thanks, David On 11/23/2020 2:16 AM, Federico Pellegrin wrote: Hi, I think it would be interesting information to know "how" you

Re: [yocto] How to Add Packages to Python3

2020-11-26 Thread Konrad Weihmann
Just add RDEPENDS_${PN] += "python3-json" to the recipe that creates the package, that contains the mentioned python script. Alternatively add IMAGE_INSTALL += "python3-json" to the image the script is in. As this is a core module (shipped by python3) the mapping is purely based on the

Re: [yocto] [OE-core][PATCH v2] kernel-dummy: fix executing unexpected tasks

2020-11-26 Thread Andrej Valek
No problem, you can keep the deploy task dependency, like it was. Regards, Andrej > On Thu, 2020-11-26 at 14:44 +, Valek, Andrej wrote: >> No it's not a leftover. I've just copied it from kernel.bbclass, where >> this task is written correctly. But you can change it to previous >> version

Re: [yocto] [OE-core][PATCH v2] kernel-dummy: fix executing unexpected tasks

2020-11-26 Thread Richard Purdie
On Thu, 2020-11-26 at 14:44 +, Valek, Andrej wrote: > No it's not a leftover. I've just copied it from kernel.bbclass, > where this task is written correctly. But you can change it to > previous version I guess. I'm trying to work out why we need the extra dependencies when the tasks are

Re: [yocto] [OE-core][PATCH v2] kernel-dummy: fix executing unexpected tasks

2020-11-26 Thread Andrej Valek
Hello Richard, No it's not a leftover. I've just copied it from kernel.bbclass, where this task is written correctly. But you can change it to previous version I guess. Regards, Andrej > On Wed, 2020-11-25 at 18:20 +0100, Andrej Valek wrote: >> - correctly save files into sstate >> - fix:

Re: [yocto] [OE-core][PATCH v2] kernel-dummy: fix executing unexpected tasks

2020-11-26 Thread Richard Purdie
On Wed, 2020-11-25 at 18:20 +0100, Andrej Valek wrote: > - correctly save files into sstate > - fix: ERROR: Task linux-dummy.do_fetch attempted to execute > unexpectedly > > Signed-off-by: Andrej Valek > --- > meta/recipes-kernel/linux/linux-dummy.bb | 6 -- > 1 file changed, 4

Re: [linux-yocto] [linux-yocto-dev standard/xlnx-soc] xlnx-soc: porting SDK patches to kernel v5.10

2020-11-26 Thread Michal Simek
On 26. 11. 20 14:06, quanyang.wang wrote: > Hi Michal, > > On 11/26/20 8:20 PM, Michal Simek wrote: >> Hi, >> >> On 26. 11. 20 11:19, quanyang.w...@windriver.com wrote: >>> From: Quanyang Wang >>> >>> Hi Bruce, >>> >>> Would you please help remove the obsolete branch standard/xlnx-soc in >>>

Re: [linux-yocto] [linux-yocto-dev standard/xlnx-soc] xlnx-soc: porting SDK patches to kernel v5.10

2020-11-26 Thread quanyang.wang
Hi Michal, On 11/26/20 8:20 PM, Michal Simek wrote: Hi, On 26. 11. 20 11:19, quanyang.w...@windriver.com wrote: From: Quanyang Wang Hi Bruce, Would you please help remove the obsolete branch standard/xlnx-soc in linux-yocto-dev and apply these patches for v5.10 as below to the new branch

Re: [yocto] Error during do_install for linux-libc-headers_5.8 recipe during 'bitbake core-image-minimal'

2020-11-26 Thread Quentin Schulz
Hi, On Thu, Nov 26, 2020 at 04:26:34AM -0800, aloofbynat...@gmail.com wrote: > Hello, > > I am just starting using Yocto Project and I've been following along with the > getting started section of the mega manual. I am working on Ubuntu 20.04 LTS > through WSL2 on Windows 10 (not sure if it

Re: [yocto] Error during do_install for linux-libc-headers_5.8 recipe during 'bitbake core-image-minimal'

2020-11-26 Thread Paul Barker
On Thu, 26 Nov 2020 at 12:26, wrote: > > Hello, > > I am just starting using Yocto Project and I've been following along with the > getting started section of the mega manual. I am working on Ubuntu 20.04 LTS > through WSL2 on Windows 10 (not sure if it matters but I'm running OS build >

[yocto] Error during do_install for linux-libc-headers_5.8 recipe during 'bitbake core-image-minimal'

2020-11-26 Thread aloofbynature
Hello, I am just starting using Yocto Project and I've been following along with the getting started section of the mega manual. I am working on Ubuntu 20.04 LTS through WSL2 on Windows 10 (not sure if it matters but I'm running OS build 20231) trying to create an image using poky-yocto-3.2.

Re: [linux-yocto] [linux-yocto-dev standard/xlnx-soc] xlnx-soc: porting SDK patches to kernel v5.10

2020-11-26 Thread Michal Simek
Hi, On 26. 11. 20 11:19, quanyang.w...@windriver.com wrote: > From: Quanyang Wang > > Hi Bruce, > > Would you please help remove the obsolete branch standard/xlnx-soc in > linux-yocto-dev > and apply these patches for v5.10 as below to the new branch > standard/xlnx-soc? > > There are 1451

Re: [linux-yocto] [linux-yocto-dev standard/xlnx-soc] xlnx-soc: porting SDK patches to kernel v5.10

2020-11-26 Thread Michal Simek
Hi, On 26. 11. 20 11:19, quanyang.w...@windriver.com wrote: > From: Quanyang Wang > > Hi Bruce, > > Would you please help remove the obsolete branch standard/xlnx-soc in > linux-yocto-dev > and apply these patches for v5.10 as below to the new branch > standard/xlnx-soc? > > There are 1451

[yocto] How to Add Packages to Python3

2020-11-26 Thread vijayrakeshmunganda
Hi, I had installed a python file into the rootfs and when I tried to run, it throws an error as "ModuleNotFoundError: No module named 'json'". I tried to find bb file for jsonlib, but I couldn't find at https://layers.openembedded.org/layerindex/branch/master/recipes/?q=python+json. Also

[linux-yocto] [PATCH 4/4] spi: spi-zynqmp-gqspi: fix zynqmp_qspi_read_op assign wrong transfer_len

2020-11-26 Thread quanyang.wang
From: Quanyang Wang For some scenarios, the wrong transfer_len is written to genfifoentry. Take 10 bytes data reading operation for instance, 8 bytes will be read from the flash by using DMA mode and 2 bytes left in IO mode. Thus we need to create an 8-byte size transfer genfifoentry in

[linux-yocto] [PATCH 3/4] spi: spi-zynqmp-gqspi: use wait_for_completion_timeout instead of wait_for_completion_interruptible_timeout

2020-11-26 Thread quanyang.wang
From: Quanyang Wang The function wait_for_completion_interruptible_timeout will return a non-zero value -ERESTARTSYS when the current process receives a signal "SIGKILL". So there is a scene that the function wait_for_completion_interruptible_timeout exits not because the handler zynqmp_qspi_irq

[linux-yocto] [PATCH 2/4] spi: spi-zynqmp-gqspi: add mutex locking for exec_op

2020-11-26 Thread quanyang.wang
From: Quanyang Wang The spi-mem framework has no locking to prevent ctlr->mem_ops->exec_op from concurrency. So add the locking to zynqmp_qspi_exec_op. Signed-off-by: Quanyang Wang --- drivers/spi/spi-zynqmp-gqspi.c | 5 + 1 file changed, 5 insertions(+) diff --git

[linux-yocto] [PATCH 1/4] spi: spi-zynqmp-gqspi: transmit dummy circles by using controller's internal functionality

2020-11-26 Thread quanyang.wang
From: Quanyang Wang When reading from mt25qu512a on zcu102 board, it will return wrong data. There are two problems: 1. The gqspi controller has a functionality to send dummy clock circles. When write data with the fields [receive, transmit, data_xfer] = [0,0,1] to the Generic FIFO, the

Re: [yocto] Use of USERADD_PACKAGES with out recipe package files

2020-11-26 Thread Paul Barker
On Thu, 26 Nov 2020 at 03:21, wrote: > > I have for an image append which I would like to add some users to but I do > not want to add any files as part of the package > so I have a layer which contains a recipe called user-config-0.1.bb which > has a useradd package USERADD_PACKAGES = "