[OE-core] [PATCH] qemuarm/qa: whitelist amba and jitter

Bruce Ashfield bruce.ashfield at windriver.com
Wed Aug 31 14:54:11 UTC 2016


With the update to the 4.8 kernel the versatile platform (and hence
qemuarm) has switched to a device tree boot.

We are using an ummodified mainline kernel versatilepb device tree,
which includes definitions of multiple amba devices. These devices
are not present in the qemu system emulation, hence throw warnings
during boot.

These warnings are not unique to oe-core, and rather than carry kernel
patches to the device tree (for now), we whitelist the known warnings
so qa testing will pass. We also can't turn amba off completely, since
it is providing valid devices (like the serial port) and AMBA is
force selected by other kconfig values.

We also have a jitterentropy warning that shows up on some hosts.
This warning is harmless, and like amba we can't turn it off in a
fragment since it is force selected by crypto (and we'd rather not
turn all crypto off). So we add it to the whitelist while investigations
continue into what is needed in the host to support this fully.

Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>
---
 meta/lib/oeqa/runtime/parselogs.py | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/runtime/parselogs.py b/meta/lib/oeqa/runtime/parselogs.py
index 8a13554cc5da..2424da127422 100644
--- a/meta/lib/oeqa/runtime/parselogs.py
+++ b/meta/lib/oeqa/runtime/parselogs.py
@@ -92,7 +92,16 @@ ignore_errors = {
     'qemuarm' : [
         'mmci-pl18x: probe of fpga:05 failed with error -22',
         'mmci-pl18x: probe of fpga:0b failed with error -22',
-        'Failed to load module "glx"'
+        'Failed to load module "glx"',
+        'OF: amba_device_add() failed (-19) for /amba/smc at 10100000',
+        'OF: amba_device_add() failed (-19) for /amba/mpmc at 10110000',
+        'OF: amba_device_add() failed (-19) for /amba/sctl at 101e0000',
+        'OF: amba_device_add() failed (-19) for /amba/watchdog at 101e1000',
+        'OF: amba_device_add() failed (-19) for /amba/sci at 101f0000',
+        'OF: amba_device_add() failed (-19) for /amba/ssp at 101f4000',
+        'OF: amba_device_add() failed (-19) for /amba/fpga/sci at a000',
+        'Failed to initialize \'/amba/timer at 101e3000\': -22',
+        'jitterentropy: Initialization failed with host not compliant with requirements: 2',
         ] + common_errors,
     'qemuarm64' : [
         'Fatal server error:',
-- 
2.5.0




More information about the Openembedded-core mailing list