All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] oeqa runtime parselogs: BeaglePlay and KV260 genericarm64 workarounds
@ 2026-03-06  9:33 Mikko Rapeli
  2026-03-06  9:33 ` [PATCH v2 1/2] oeqa runtime parselogs: workaround current TI BeaglePlay warnings Mikko Rapeli
  2026-03-06  9:33 ` [PATCH v2 2/2] oeqa runtime parselogs: ignore KV260 USB error on genericarm64 Mikko Rapeli
  0 siblings, 2 replies; 6+ messages in thread
From: Mikko Rapeli @ 2026-03-06  9:33 UTC (permalink / raw)
  To: poky; +Cc: Mikko Rapeli

These two have not been merged so sending again.

Mikko Rapeli (2):
  oeqa runtime parselogs: workaround current TI BeaglePlay warnings
  oeqa runtime parselogs: ignore KV260 USB error on genericarm64

 .../cases/parselogs-ignores-genericarm64.txt      | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v2 1/2] oeqa runtime parselogs: workaround current TI BeaglePlay warnings
  2026-03-06  9:33 [PATCH v2 0/2] oeqa runtime parselogs: BeaglePlay and KV260 genericarm64 workarounds Mikko Rapeli
@ 2026-03-06  9:33 ` Mikko Rapeli
  2026-03-06  9:33 ` [PATCH v2 2/2] oeqa runtime parselogs: ignore KV260 USB error on genericarm64 Mikko Rapeli
  1 sibling, 0 replies; 6+ messages in thread
From: Mikko Rapeli @ 2026-03-06  9:33 UTC (permalink / raw)
  To: poky; +Cc: Mikko Rapeli

On genericarm64 machine, parselogs test is currently failing
due to these error messages. They don't seem to affect functionality
so ignore them for now.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
---
 .../cases/parselogs-ignores-genericarm64.txt        | 13 +++++++++++++
 1 file changed, 13 insertions(+)

v2: no changes

v1: https://lists.yoctoproject.org/g/poky/message/13828

diff --git a/meta-yocto-bsp/lib/oeqa/runtime/cases/parselogs-ignores-genericarm64.txt b/meta-yocto-bsp/lib/oeqa/runtime/cases/parselogs-ignores-genericarm64.txt
index 039c4ad8923f..2bff23b1bcb6 100644
--- a/meta-yocto-bsp/lib/oeqa/runtime/cases/parselogs-ignores-genericarm64.txt
+++ b/meta-yocto-bsp/lib/oeqa/runtime/cases/parselogs-ignores-genericarm64.txt
@@ -33,6 +33,19 @@ deferred probe pending: xilinx-psgtr: Failed to get ref clock
 # small issue in devicetree
 OPP table can't be empty
 
+# TI BeaglePlay
+# firmware device setup error
+Failed to create device link (0x180) with supplier 600000.gpio
+# USB driver error messages but stack works
+dwc3-usb: error -EINVAL: invalid resource
+dwc3-usb: can't map PHY IOMEM resource. Won't apply i2409 fix.
+# wl18xx firmware load error, not available from linux-firmware
+wl18xx_driver wl18xx.6.auto: Direct firmware load for ti-connectivity/wl18xx-conf.bin failed
+wlcore: ERROR could not get configuration binary ti-connectivity/wl18xx-conf.bin
+# Audio SOC driver error messages
+davinci-mcasp 2b10000.audio-controller: ASoC error (-22): at snd_soc_dai_hw_params
+davinci-mcasp.0-i2s-hifi: ASoC error (-22): at __soc_pcm_hw_params() on davinci-mcasp.0-i2s-hifi
+
 # NXP imx8mp verdin with u-boot 2025.10rc2
 # RTC detection issue
 oscillator failed, set time!
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v2 2/2] oeqa runtime parselogs: ignore KV260 USB error on genericarm64
  2026-03-06  9:33 [PATCH v2 0/2] oeqa runtime parselogs: BeaglePlay and KV260 genericarm64 workarounds Mikko Rapeli
  2026-03-06  9:33 ` [PATCH v2 1/2] oeqa runtime parselogs: workaround current TI BeaglePlay warnings Mikko Rapeli
@ 2026-03-06  9:33 ` Mikko Rapeli
  2026-03-06 12:17   ` [poky] " Richard Purdie
  1 sibling, 1 reply; 6+ messages in thread
From: Mikko Rapeli @ 2026-03-06  9:33 UTC (permalink / raw)
  To: poky; +Cc: Mikko Rapeli

On AMD KV260 the USB 1-1 driver sometimes throws this new warning at boot but
continues and USB stack works so ignore the error:

usb 1-1: device descriptor read/64, error -71
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 5 ports detected
usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected

https://lists.yoctoproject.org/g/automated-testing/message/1525

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
---
 .../lib/oeqa/runtime/cases/parselogs-ignores-genericarm64.txt   | 2 ++
 1 file changed, 2 insertions(+)

v2: no changes

v1: https://lists.yoctoproject.org/g/poky/message/13836

diff --git a/meta-yocto-bsp/lib/oeqa/runtime/cases/parselogs-ignores-genericarm64.txt b/meta-yocto-bsp/lib/oeqa/runtime/cases/parselogs-ignores-genericarm64.txt
index 2bff23b1bcb6..623af74b0857 100644
--- a/meta-yocto-bsp/lib/oeqa/runtime/cases/parselogs-ignores-genericarm64.txt
+++ b/meta-yocto-bsp/lib/oeqa/runtime/cases/parselogs-ignores-genericarm64.txt
@@ -10,6 +10,8 @@ Error applying setting, reverse things back
 Can't lookup blockdev
 # X11 fails to start without connected display
 modeset(0): failed to set mode: Invalid argument
+# minor USB setup issue
+device descriptor read/64, error
 
 # Rockpi4b with u-boot 2025.10rc2 based firmware
 memory-controller: probe with driver rk3399-dmc-freq failed with error
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [poky] [PATCH v2 2/2] oeqa runtime parselogs: ignore KV260 USB error on genericarm64
  2026-03-06  9:33 ` [PATCH v2 2/2] oeqa runtime parselogs: ignore KV260 USB error on genericarm64 Mikko Rapeli
@ 2026-03-06 12:17   ` Richard Purdie
  2026-03-06 13:52     ` Mikko Rapeli
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Purdie @ 2026-03-06 12:17 UTC (permalink / raw)
  To: mikko.rapeli, poky

On Fri, 2026-03-06 at 11:33 +0200, Mikko Rapeli via lists.yoctoproject.org wrote:
> On AMD KV260 the USB 1-1 driver sometimes throws this new warning at boot but
> continues and USB stack works so ignore the error:
> 
> usb 1-1: device descriptor read/64, error -71
> hub 1-1:1.0: USB hub found
> hub 1-1:1.0: 5 ports detected
> usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
> hub 2-1:1.0: USB hub found
> hub 2-1:1.0: 4 ports detected
> 
> https://lists.yoctoproject.org/g/automated-testing/message/1525
> 
> Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>

I'm sure people will tell me I should just merge these and we move on.

Before I do that, I want to be really clear that this approach really
isn't great. It amounts to "oh, we have errors we don't even understand
but we'll just ignore them and hope for the best". Should we even
bother with the test if we're just going to ignore anything it shows
up?

I appreciate Mikko can't go and fight the world on issues like this and
this isn't directed at him, it is just a general frustration with the
"quality" of where software seems to be going.

Where do we draw the line if we're just going to ignore any error?

Cheers,

Richard


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [poky] [PATCH v2 2/2] oeqa runtime parselogs: ignore KV260 USB error on genericarm64
  2026-03-06 12:17   ` [poky] " Richard Purdie
@ 2026-03-06 13:52     ` Mikko Rapeli
  2026-03-07 22:23       ` Richard Purdie
  0 siblings, 1 reply; 6+ messages in thread
From: Mikko Rapeli @ 2026-03-06 13:52 UTC (permalink / raw)
  To: Richard Purdie; +Cc: poky

Hi,

On Fri, Mar 06, 2026 at 12:17:32PM +0000, Richard Purdie wrote:
> On Fri, 2026-03-06 at 11:33 +0200, Mikko Rapeli via lists.yoctoproject.org wrote:
> > On AMD KV260 the USB 1-1 driver sometimes throws this new warning at boot but
> > continues and USB stack works so ignore the error:
> > 
> > usb 1-1: device descriptor read/64, error -71
> > hub 1-1:1.0: USB hub found
> > hub 1-1:1.0: 5 ports detected
> > usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
> > hub 2-1:1.0: USB hub found
> > hub 2-1:1.0: 4 ports detected
> > 
> > https://lists.yoctoproject.org/g/automated-testing/message/1525
> > 
> > Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
> 
> I'm sure people will tell me I should just merge these and we move on.
> 
> Before I do that, I want to be really clear that this approach really
> isn't great. It amounts to "oh, we have errors we don't even understand
> but we'll just ignore them and hope for the best". Should we even
> bother with the test if we're just going to ignore anything it shows
> up?
> 
> I appreciate Mikko can't go and fight the world on issues like this and
> this isn't directed at him, it is just a general frustration with the
> "quality" of where software seems to be going.
> 
> Where do we draw the line if we're just going to ignore any error?

I think the maintainers needs to decide.

I maintain yocto genericarm64 testing on real target HW like the AMD KV260 and thus
I've decided that I accept these workarounds. These changes do not impact
other SW or maintainers in meta-yocto git repo so I think applying the commit
is safe.

The parselogs test is really good, too good infact, in finding issues coming from DUT HW,
lab setup with DUT, firmware, kernel and rest of the high level yocto
based OS image. Since my maintenance time is limited I need to
decide which issues to fix and which to just accept. It is ok to challenge my
decisions and especially help with fixing the actual root causes. Any HW vendors,
please step in to help!

I have been able to fix DUT HW setup issues for example by adding dummy HDMI
adapters so that Xorg startup completes, fix firmware and kernel issues for
some of the devices like Xorg 16bpp graphics output, and fix higher level
oddities like systemd udev breakages so I do some analysis and try fix issues
before adding these workarounds.

Another aspect is the reuse of oeqa runtime tests in other environments and
genericarm64 showing an example how to do that in the imperfect world. I
would like to see more of this since they are actually pretty good basis for
doing CI and on target testing. But that testing environment is complex and
target HW and firmware by definition unstable since they are under development,
even after vendors ship the HW and provide the BSP SW adaptations. Thus
these layer specific ignore lists are likely needed in custom
environments to get basic set of tests working and to stop new issues from popping
up, which is actually really important. It is important to get stable testing results
and it is important to find bugs and fixes for them. The parselogs findings are
sometimes rare oddities but sadly common with real HW, firmware and yocto based OSes.
That world is never perfect black and white, the gray zone is quite thick. That
is where parselogs ignore lists fit, into the gray zone when someone needs make
something imperfect but usable to produce reliable pass or fail results in testing.

Cheers,

-Mikko


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [poky] [PATCH v2 2/2] oeqa runtime parselogs: ignore KV260 USB error on genericarm64
  2026-03-06 13:52     ` Mikko Rapeli
@ 2026-03-07 22:23       ` Richard Purdie
  0 siblings, 0 replies; 6+ messages in thread
From: Richard Purdie @ 2026-03-07 22:23 UTC (permalink / raw)
  To: Mikko Rapeli; +Cc: poky

On Fri, 2026-03-06 at 15:52 +0200, Mikko Rapeli wrote:
> Hi,
> 
> On Fri, Mar 06, 2026 at 12:17:32PM +0000, Richard Purdie wrote:
> > On Fri, 2026-03-06 at 11:33 +0200, Mikko Rapeli via lists.yoctoproject.org wrote:
> > > On AMD KV260 the USB 1-1 driver sometimes throws this new warning at boot but
> > > continues and USB stack works so ignore the error:
> > > 
> > > usb 1-1: device descriptor read/64, error -71
> > > hub 1-1:1.0: USB hub found
> > > hub 1-1:1.0: 5 ports detected
> > > usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
> > > hub 2-1:1.0: USB hub found
> > > hub 2-1:1.0: 4 ports detected
> > > 
> > > https://lists.yoctoproject.org/g/automated-testing/message/1525
> > > 
> > > Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
> > 
> > I'm sure people will tell me I should just merge these and we move on.
> > 
> > Before I do that, I want to be really clear that this approach really
> > isn't great. It amounts to "oh, we have errors we don't even understand
> > but we'll just ignore them and hope for the best". Should we even
> > bother with the test if we're just going to ignore anything it shows
> > up?
> > 
> > I appreciate Mikko can't go and fight the world on issues like this and
> > this isn't directed at him, it is just a general frustration with the
> > "quality" of where software seems to be going.
> > 
> > Where do we draw the line if we're just going to ignore any error?
> 
> I think the maintainers needs to decide.
> 
> I maintain yocto genericarm64 testing on real target HW like the AMD KV260 and thus
> I've decided that I accept these workarounds. These changes do not impact
> other SW or maintainers in meta-yocto git repo so I think applying the commit
> is safe.
> 
> The parselogs test is really good, too good infact, in finding issues coming from DUT HW,
> lab setup with DUT, firmware, kernel and rest of the high level yocto
> based OS image. Since my maintenance time is limited I need to
> decide which issues to fix and which to just accept. It is ok to challenge my
> decisions and especially help with fixing the actual root causes. Any HW vendors,
> please step in to help!
> 
> I have been able to fix DUT HW setup issues for example by adding dummy HDMI
> adapters so that Xorg startup completes, fix firmware and kernel issues for
> some of the devices like Xorg 16bpp graphics output, and fix higher level
> oddities like systemd udev breakages so I do some analysis and try fix issues
> before adding these workarounds.

That is good to know, I knew you'd fixed some things but I am glad it
it doesn't have a totally bad reputation!

> Another aspect is the reuse of oeqa runtime tests in other environments and
> genericarm64 showing an example how to do that in the imperfect world. I
> would like to see more of this since they are actually pretty good basis for
> doing CI and on target testing. But that testing environment is complex and
> target HW and firmware by definition unstable since they are under development,
> even after vendors ship the HW and provide the BSP SW adaptations. Thus
> these layer specific ignore lists are likely needed in custom
> environments to get basic set of tests working and to stop new issues from popping
> up, which is actually really important. It is important to get stable testing results
> and it is important to find bugs and fixes for them. The parselogs findings are
> sometimes rare oddities but sadly common with real HW, firmware and yocto based OSes.
> That world is never perfect black and white, the gray zone is quite thick. That
> is where parselogs ignore lists fit, into the gray zone when someone needs make
> something imperfect but usable to produce reliable pass or fail results in testing.

The higher level software tests struggle with many of the same issues.
We're slowly winning there but it has taken a lot to get to where we
are. Definitely worthwhile in the long run though.

Cheers,

Richard



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-03-07 22:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-06  9:33 [PATCH v2 0/2] oeqa runtime parselogs: BeaglePlay and KV260 genericarm64 workarounds Mikko Rapeli
2026-03-06  9:33 ` [PATCH v2 1/2] oeqa runtime parselogs: workaround current TI BeaglePlay warnings Mikko Rapeli
2026-03-06  9:33 ` [PATCH v2 2/2] oeqa runtime parselogs: ignore KV260 USB error on genericarm64 Mikko Rapeli
2026-03-06 12:17   ` [poky] " Richard Purdie
2026-03-06 13:52     ` Mikko Rapeli
2026-03-07 22:23       ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.