Bug 10661 - Provide support to run Zephyr images in QEMU
Summary: Provide support to run Zephyr images in QEMU
Status: RESOLVED FIXED
Alias: None
Product: Other YP Layers
Classification: Build System, Metadata & Runtime
Component: meta-zephyr (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: Medium+ enhancement
Target Milestone: 2.3 M3
Assignee: Juro Bystricky
QA Contact:
URL:
Whiteboard:
Depends on: 10655
Blocks:
  Show dependency tree
 
Reported: 2016-11-14 23:31 UTC by Juro Bystricky
Modified: 2017-03-22 17:19 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juro Bystricky 2016-11-14 23:31:55 UTC
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.
Comment 1 Juro Bystricky 2017-01-25 18:48:37 UTC
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 "runqemu " itself.