Bug 6205 - Add support for building nativesdk-qemu to meta-mingw/meta-darwin
Summary: Add support for building nativesdk-qemu to meta-mingw/meta-darwin
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.6
Hardware: x86 Multiple
: Medium+ enhancement
Target Milestone: 1.7 M3
Assignee: Cristian Iorga
QA Contact: Cristian Iorga
URL:
Whiteboard: Moved from Laurentiu to Cristian
Depends on:
Blocks: 6206 6207
  Show dependency tree
 
Reported: 2014-04-22 15:46 UTC by Richard Purdie
Modified: 2014-10-10 13:49 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Purdie 2014-04-22 15:46:17 UTC
It would be helpful to be able to build qemu binaries that will run on windows and OS-X. The easiest path to doing this is to add support for building nativesdk-qemu to the meta-mingw and meta-darwin layers.

Ultimately this qemu binary could be used for running builds on those OSs.
Comment 1 Cristian Iorga 2014-07-09 06:07:21 UTC
Investigation started.
Comment 2 Cristian Iorga 2014-07-10 14:58:20 UTC
Implementation in progress.
Comment 3 Cristian Iorga 2014-09-15 09:45:50 UTC
Implementation complete, code has been integrated into master. The use of meta-darwin is needed in order to build a nastivesdk-qemu for Darwin/MacOSX.

In order to test this feature, qemux86-64 core-image-minimal and core-image-base Linux images has been successfully booted and run under qemu running in MacOSX 10.9 on an Intel 64bits MacBook Pro.

Network is functional.

Known limitations:

- Booting Linux into graphical support is not possible at the moment; Cocoa support needs to be added to nativesdk-qemu;
- Producing the OSX-sdk.zip sysroot tarball is not properly documented.
- No hardware acceleration is available, the emulation is purely software-based.

Fixed with commits:
poky: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=1ea36c8cd3b0d54621440962395d6cae6cb96e96
meta-darwin: http://git.yoctoproject.org/cgit/cgit.cgi/meta-darwin/commit/?id=87a0f58d9d436b802a25f897fac620e9e807cfd4
Comment 4 Alexandru Georgescu 2014-10-10 13:49:37 UTC
After a discussion with Cristi Iorga, no QA is needed atm for this particular feature since more work involving IoT Devkit needs to be done and the feature will be modified in the near future.

Also, since it is in it's early stage, no docs are needed atm so the flag is set correctly.