<?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>1614</bug_id>
          
          <creation_ts>2011-10-04 13:29:00 +0000</creation_ts>
          <short_desc>Target module build</short_desc>
          <delta_ts>2012-07-24 12:08:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>kernel</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>(P1)(patch review) (Jun 28)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.3 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Song Liu">song.liu</reporter>
          <assigned_to name="Darren Hart">dvhart</assigned_to>
          <cc>bruce.ashfield</cc>
    
    <cc>dvhart</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>kishore.k.bodke</cc>
    
    <cc>laurentiu.serban</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>tom.zanussi</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>16682</commentid>
    <comment_count>0</comment_count>
    <who name="Song Liu">song.liu</who>
    <bug_when>2011-10-04 13:29:00 +0000</bug_when>
    <thetext>Allow for building kernel modules on the target device (on janitor&apos;s list?)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16746</commentid>
    <comment_count>1</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-10-06 10:20:05 +0000</bug_when>
    <thetext>This would involve reworking the kernel recipes to install the required kernel headers, Makefiles, etc. on the target. I wouldn&apos;t rank this as particularly high priority personally unless have seen more demand for it than I have.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16875</commentid>
    <comment_count>2</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2011-10-14 11:38:48 +0000</bug_when>
    <thetext>ECG asked me about this yesterday, and it&apos;s not the first time.  I think this should be given some amount of priority.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18049</commentid>
    <comment_count>3</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-01-10 08:20:22 +0000</bug_when>
    <thetext>Moving to Medium and M3. We may need another owner for this, I&apos;ll ask for volunteers if needed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20661</commentid>
    <comment_count>4</comment_count>
    <who name="kishore">kishore.k.bodke</who>
    <bug_when>2012-04-18 17:11:08 +0000</bug_when>
    <thetext>Updating with my comments.

This is nice to have, as we are getting this request from the BSP requestors. They  want to build and test the out of tree kernel modules on the target.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20665</commentid>
    <comment_count>5</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-04-18 17:54:25 +0000</bug_when>
    <thetext>Kishore, can you provide a reason for why they want to do this? It is more inline with the Yocto Project development methodologies to add the modules you want to a simple recipe, following the hello-mod recipe in meta-skeleton, and build them as part of the image. Typically the target is not meant to be the development platform.

It can be - but I&apos;d like to understand WHY people are wanting to development this way? Is it just not wanting how to work within the Yocto Project environment?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20693</commentid>
    <comment_count>6</comment_count>
    <who name="kishore">kishore.k.bodke</who>
    <bug_when>2012-04-19 01:56:09 +0000</bug_when>
    <thetext>The details what I have from the BSP requestors, is that instead of going through a recipe, they directly want to use the target machine as a development machine to modify and recompile and load.  

They want to shift from the existing Fedora based development to Yocto based development system.

For every new version of driver alpha/beta/gold , doing from a recipe and building the image is a time consuming.

Instead they have one image booted and can build different versions of driver on the target machine directly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20695</commentid>
    <comment_count>7</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-04-19 02:57:47 +0000</bug_when>
    <thetext>We can certainly work with them to make that process much less time consuming with the use of prebuilt images, etc. However, a transition goes more smoothly if small changes are made instead of everything all at once. I can see the desire for this feature.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20994</commentid>
    <comment_count>8</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-05-02 16:29:15 +0000</bug_when>
    <thetext>Switching to P1 due to popular demand.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22566</commentid>
    <comment_count>9</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-06-25 23:34:03 +0000</bug_when>
    <thetext>I have this working with the exception of having to first build the kernel scripts binaries on the target before building a module. I&apos;ve solicited ideas on how to build the target-arch scripts binaries and package them along with the kernel-headers package.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22960</commentid>
    <comment_count>10</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-07-10 15:33:20 +0000</bug_when>
    <thetext>Fixed im master: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=68a8caa738caa25f313a0bccfd8179cc5584afa5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23435</commentid>
    <comment_count>11</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2012-07-24 12:08:46 +0000</bug_when>
    <thetext>Verified in 0ffb02eec2beaea27ff0ec9d3d31b0a09e675a4c
A kernel module was built and loaded on the target.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>