Skip to contentSkip to conversation

zephyrtargetcontrol: fix missing native_sysroot

PATCH New [email protected] 1 participant 2 messages Mar 30

lore
Share & tools
lore
#1 lore raw

PATCH 2/2 README: update for testimage and machine

In reply to [email protected]

From: Lee Chee Yang <[email protected]>

remove reference to qemu-nios2

---
 README.md | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
README.md +2 -5
index 4a7d75a..e66f158 100644
@@ -163,12 +163,12 @@ metadata, you can also inject its value from command line with something like:
 
 ## Building and Running Zephyr Tests
 
-Presently only toolchains for ARM, x86, IAMCU and Nios2 are supported.
+Presently only toolchains for ARM, x86 and IAMCU are supported.
 (For ARM we use CortexM3 toolchain)
 
 To run Zephyr Test using Yocto Image Tests, ensure following in local.conf:
 ```
-    INHERIT += "testimage"
+    IMAGE_CLASSES += "testimage"
 ```
 
 You can build and test an individual existing Zephyr test.
@@ -187,9 +187,6 @@ zephyr-kernel-test.inc). For example:
 or 
     $ MACHINE=qemu-cortex-m3 bitbake zephyr-kernel-test-all
     $ MACHINE=qemu-cortex-m3 bitbake zephyr-kernel-test-all -c testimage
-or 
-    $ MACHINE=qemu-nios2 bitbake zephyr-kernel-test-all
-    $ MACHINE=qemu-nios2 bitbake zephyr-kernel-test-all -c testimage
 ```
 
 ## Generating OE Machines based on Zephyr board definitions
Signature · 1 line
2.37.3
#0 lore raw

PATCH 1/2 zephyrtargetcontrol: fix missing native_sysroot

From: Lee Chee Yang <[email protected]>

fix
Exception: TypeError: QemuTargetZephyr.__init__() got an unexpected keyword argument 'native_sysroot'

---
 meta-zephyr-core/lib/oeqa/controllers/zephyrtargetcontrol.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-zephyr-core/lib/oeqa/controllers/zephyrtargetcontrol.py +1 -1
index d342314..e9bc6bb 100644
@@ -15,7 +15,7 @@ class QemuTargetZephyr(OETarget):
             machine='', rootfs='', tmpdir ='',dir_image ='',display=None,
             kernel='',boottime=60,bootlog='',kvm=False,slirp=False,
             dump_dir='',serial_ports=0,ovmf=None,tmpfsdir='' ,target_modules_path='',powercontrol_cmd='',powercontrol_extra_args='',
-            serialcontrol_cmd=None,serialcontrol_extra_args='',testimage_dump_target='',testimage_dump_monitor=''):
+            serialcontrol_cmd=None,serialcontrol_extra_args='',testimage_dump_target='',testimage_dump_monitor='',native_sysroot=None):
 
         timeout =  300
         user = 'root'
Signature · 1 line
2.37.3