<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>10661</bug_id>
          
          <creation_ts>2016-11-14 23:31:55 +0000</creation_ts>
          <short_desc>Provide support to run Zephyr images in QEMU</short_desc>
          <delta_ts>2017-03-22 17:19:30 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Other YP Layers</product>
          <component>meta-zephyr</component>
          <version>2.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.3 M3</target_milestone>
          <dependson>10655</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Juro Bystricky">juro.bystricky</reporter>
          <assigned_to name="Juro Bystricky">juro.bystricky</assigned_to>
          <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>68304</commentid>
    <comment_count>0</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2016-11-14 23:31:55 +0000</bug_when>
    <thetext>It should be possible to run some Zephyr images in QEMU. This is already supported in native Zephyr build environment. YP should allow it as well.


$ bitbake my-zephyr-image
$ runqemu zephyr.elf

This feature can be used to automate testing as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70147</commentid>
    <comment_count>1</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2017-01-25 18:48:37 +0000</bug_when>
    <thetext>This can be addressed by generating qemuboot.conf containing all needed info to run the Zephyr image in QEMU.
One problem remains thought: runqemu ALWAYS assumes a network is present. There is no way to disable network without patching the &quot;runqemu &quot; itself.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71592</commentid>
    <comment_count>2</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2017-03-22 17:19:30 +0000</bug_when>
    <thetext>Patches merged with master:
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=68e57fa7480fb7df0e7504df4ed75f2b4719786e

https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ae98051014463f71d501e686e363579081adb2ef

https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8b448ab0127cfc79df8ce601e2e8b93179ebbcbc</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>