Bug 10214 - The current eclipse plugin cannot launch qemu or make a useable rootfs with the extensible sdk
Summary: The current eclipse plugin cannot launch qemu or make a useable rootfs with t...
Status: VERIFIED FIXED
Alias: None
Product: eSDK
Classification: Yocto Project Subprojects
Component: eSDK (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.2 M4
Assignee: Paul Eggleton
QA Contact: Humberto Ibarra
URL:
Whiteboard: YP 2.2 M4 RC1 BUILD BLOCKING BUG
Depends on: 10309
Blocks:
  Show dependency tree
 
Reported: 2016-09-03 00:27 UTC by brian avery
Modified: 2016-12-01 21:18 UTC (History)
1 user (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 brian avery 2016-09-03 00:27:47 UTC
If you point the Eclipse plugin at the eSDK and as the standalone pre-built toolchain, there are issues because the eSDK is missing a bunch of applications from the sysroots/<host>-pokysdk-linux/usr/bin directory.

things like runqemu-extract-image - this is needed to make the pseudo happy filesystem so eclipse can launch qemu.

also missing runqemu itself. 

Basically the std sdk has a large set of tools in the sysroot/<host> dir that we are missing from the eSDK and eclipse needs a subset of these.
Comment 1 Paul Eggleton 2016-10-04 20:07:10 UTC
I've prepared a patch for this, am currently waiting for feedback from Brian on it.
Comment 2 brian avery 2016-10-05 22:27:48 UTC
So, it's very close!  But it doesn't work yet.

It needs to have /opt/poky/esdk-22/tmp/sysroots/x86_64-linux/usr/bin/unfsd

note that its in sysroots/x86_64-linux/ not sysroots/x86_64-pokysdk-linux/

This is because eclipse runs qemu using user mode nfs to mount it's root filesystem.

If I copy the unfsd binary in, it works.
Comment 3 Paul Eggleton 2016-10-06 21:44:35 UTC
Patch sent for review - has been tested by Brian.
Comment 5 Humberto Ibarra 2016-12-01 21:18:37 UTC
Verified that eSDK can be used as toolchain now for eclipse. Everything works as expected.