Bug 10214

Summary: The current eclipse plugin cannot launch qemu or make a useable rootfs with the extensible sdk
Product: [Yocto Project Subprojects] eSDK Reporter: brian avery <brian.avery>
Component: eSDKAssignee: Paul Eggleton <bluelightning>
Status: VERIFIED FIXED QA Contact: Humberto Ibarra <humberto.ibarra.lopez>
Severity: normal    
Priority: Medium+ CC: richard.purdie
Version: unspecified   
Target Milestone: 2.2 M4   
Hardware: x86   
OS: Multiple   
Whiteboard: YP 2.2 M4 RC1 BUILD BLOCKING BUG
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on: 10309    
Bug Blocks:    

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.