<?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>10214</bug_id>
          
          <creation_ts>2016-09-03 00:27:47 +0000</creation_ts>
          <short_desc>The current eclipse plugin cannot launch qemu or make a useable rootfs with the extensible sdk</short_desc>
          <delta_ts>2016-12-01 21:18:37 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>eSDK</product>
          <component>eSDK</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>YP 2.2 M4 RC1 BUILD BLOCKING BUG</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2 M4</target_milestone>
          <dependson>10309</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="brian avery">brian.avery</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>richard.purdie</cc>
          
          <qa_contact name="Humberto Ibarra">humberto.ibarra.lopez</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>65780</commentid>
    <comment_count>0</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2016-09-03 00:27:47 +0000</bug_when>
    <thetext>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/&lt;host&gt;-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/&lt;host&gt; dir that we are missing from the eSDK and eclipse needs a subset of these.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66898</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-10-04 20:07:10 +0000</bug_when>
    <thetext>I&apos;ve prepared a patch for this, am currently waiting for feedback from Brian on it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66970</commentid>
    <comment_count>2</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2016-10-05 22:27:48 +0000</bug_when>
    <thetext>So, it&apos;s very close!  But it doesn&apos;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&apos;s root filesystem.

If I copy the unfsd binary in, it works.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67023</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-10-06 21:44:35 +0000</bug_when>
    <thetext>Patch sent for review - has been tested by Brian.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67073</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-10-08 08:33:24 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=35362715b1fa0bbdc052d81a327a0a36131be4d1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68796</commentid>
    <comment_count>5</comment_count>
    <who name="Humberto Ibarra">humberto.ibarra.lopez</who>
    <bug_when>2016-12-01 21:18:37 +0000</bug_when>
    <thetext>Verified that eSDK can be used as toolchain now for eclipse. Everything works as expected.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>