<?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>1800</bug_id>
          
          <creation_ts>2011-12-01 02:01:03 +0000</creation_ts>
          <short_desc>u-boot env missing</short_desc>
          <delta_ts>2012-05-15 11:12:55 +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>BSPs</product>
          <component>bsps-configuration</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Frans Meulenbroeks">fransmeulenbroeks</reporter>
          <assigned_to name="Frans Meulenbroeks">fransmeulenbroeks</assigned_to>
          <cc>dvhart</cc>
    
    <cc>sgw</cc>
    
    <cc>yp.bsp.watcher</cc>
    
    <cc>yp.watcher</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>17446</commentid>
    <comment_count>0</comment_count>
    <who name="Frans Meulenbroeks">fransmeulenbroeks</who>
    <bug_when>2011-12-01 02:01:03 +0000</bug_when>
    <thetext>it would be nice if u-boot also would build the env tools
(fw_printenv, fw_setenv)
oe classic used to do this</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17534</commentid>
    <comment_count>1</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-12-08 15:23:54 +0000</bug_when>
    <thetext>Frans, can you prepare a patch series pulling in the features you would like to see from OE?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17536</commentid>
    <comment_count>2</comment_count>
    <who name="Frans Meulenbroeks">fransmeulenbroeks</who>
    <bug_when>2011-12-08 23:32:09 +0000</bug_when>
    <thetext>Actually found that the later versions of the u-boot recipe in OE classic also do not contain this functionality any more.
This is due to a change in the build system of u-boot introduced mid 2010.
As I needed it I fixed this locally. 
I&apos;ll try to submit a fix in the near future, but at the moment I am heavily loaded due to end-of-year project delivery things etc, so it may take some time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17865</commentid>
    <comment_count>3</comment_count>
    <who name="Frans Meulenbroeks">fransmeulenbroeks</who>
    <bug_when>2011-12-27 12:38:27 +0000</bug_when>
    <thetext>I&apos;ve just submitted a patch to the oe core mailing list.
As this is authored and tested under oe classic, I suggest it to be reviewed and tested carefully.

At least it shows the idea.
Note that tools and env need to have HOSTCC redefined.
(see also http://old.nabble.com/-U-Boot---PATCH-1-4--tools%3A-enable-img2srec-for-%22all%22-target-td29440508.html#a29440510)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17866</commentid>
    <comment_count>4</comment_count>
    <who name="Frans Meulenbroeks">fransmeulenbroeks</who>
    <bug_when>2011-12-27 12:39:19 +0000</bug_when>
    <thetext>oops, forgot to mention:

an alternative scenario would be to make this a separate recipe (like the u-boot-mkimage ones). I&apos;m leaving that up to the maintainer to decide.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20925</commentid>
    <comment_count>5</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-05-01 15:40:28 +0000</bug_when>
    <thetext>Frans, is this now resolved?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20926</commentid>
    <comment_count>6</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-05-01 15:40:48 +0000</bug_when>
    <thetext>.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21356</commentid>
    <comment_count>7</comment_count>
    <who name="Frans Meulenbroeks">fransmeulenbroeks</who>
    <bug_when>2012-05-15 11:12:55 +0000</bug_when>
    <thetext>I verified this in 1.2.

A new package u-boot-fw-utils has been added to recipes-bsp/u-boot.
This provides the requested functionality
I have build the package and it builds fine for my board.

Only minor remark I can make is that recipes-bsp/u-boot contains recipes for u-boot 2011.03 and 2011.06. For u-boot-fw-utils only a 2011.06 version exist.
(Then again the data format has not changed so the 2011.06 package will work without problems on a 2011.03 u-boot environment).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>