<?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>9176</bug_id>
          
          <creation_ts>2016-02-26 14:15:33 +0000</creation_ts>
          <short_desc>Default u-boot script is not able boot from eMMC on BeagleBone Black</short_desc>
          <delta_ts>2016-11-01 01:14:51 +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-meta-yocto</component>
          <version>unspecified</version>
          <rep_platform>BeagleBone</rep_platform>
          <op_sys>arm</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jussi Laako">jussi.laako</reporter>
          <assigned_to name="Kevin Hao">kexin.hao</assigned_to>
          <cc>sgw</cc>
    
    <cc>tim.orling</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</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>59495</commentid>
    <comment_count>0</comment_count>
      <attachid>3005</attachid>
    <who name="Jussi Laako">jussi.laako</who>
    <bug_when>2016-02-26 14:15:33 +0000</bug_when>
    <thetext>Created attachment 3005
u-boot patch

Default u-boot boot script on BeagleBone Black maps rootfs using partition UUID, but the function for the UUID lookup doesn&apos;t look at eMMC at all. As a result, when booting from eMMC kernel panics since it cannot find the rootfs.

Attached patch fixes the problem and prioritizes boot from microSD over eMMC.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59505</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2016-02-26 22:39:51 +0000</bug_when>
    <thetext>Since you developed the patch, please submit it to poky@yoctoproject.org for 
inclusion in master</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59532</commentid>
    <comment_count>2</comment_count>
    <who name="Jussi Laako">jussi.laako</who>
    <bug_when>2016-02-29 15:28:17 +0000</bug_when>
    <thetext>Patch posted to the mailinglist.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62148</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2016-05-12 15:00:49 +0000</bug_when>
    <thetext>https://lists.yoctoproject.org/pipermail/poky/2016-March/010419.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62201</commentid>
    <comment_count>4</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2016-05-13 21:42:05 +0000</bug_when>
    <thetext>Please note, I assigned this back to Jussi since the patch itself (the 0001-...patch file)needs a Upstream-Status: tag added to it.  This is a requirement for Yocto Project patches.

I replied to this and re-assigned it back to Jussi since he is the contributor.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62419</commentid>
    <comment_count>5</comment_count>
    <who name="Jussi Laako">jussi.laako</who>
    <bug_when>2016-05-24 11:39:39 +0000</bug_when>
    <thetext>I don&apos;t have time to deal with this, please do what ever you consider necessary to fix this. My patch is just an example how this could be fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62443</commentid>
    <comment_count>6</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2016-05-25 14:46:10 +0000</bug_when>
    <thetext>Kevin, can you please take a look at this patch and updated it as required and submit it to oe-core.  Thx</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67811</commentid>
    <comment_count>7</comment_count>
    <who name="Kevin Hao">kexin.hao</who>
    <bug_when>2016-11-01 01:14:51 +0000</bug_when>
    <thetext>A patch [1] has been made to try to fix this issue in yocto. But it was not picked by the maintainer. I also don&apos;t think that this is a bug that we have to fix.

[1] - https://lists.yoctoproject.org/pipermail/poky/2016-June/010563.html</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>3005</attachid>
            <date>2016-02-26 14:15:33 +0000</date>
            <delta_ts>2016-02-26 14:15:33 +0000</delta_ts>
            <desc>u-boot patch</desc>
            <filename>0001-Search-for-bootable-partitions-on-both-SD-and-eMMC.patch</filename>
            <type>text/plain</type>
            <size>1259</size>
            <attacher name="Jussi Laako">jussi.laako</attacher>
            
              <data encoding="base64">RnJvbSA4NmNjNTYwZmY5YTY1NzgzMjY1MzJlMjc3ZDk4N2UyNDY2MWU1ZjA0IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBKdXNzaSBMYWFrbyA8anVzc2kubGFha29AbGludXguaW50ZWwu
Y29tPgpEYXRlOiBGcmksIDI2IEZlYiAyMDE2IDE0OjU4OjMyICswMjAwClN1YmplY3Q6IFtQQVRD
SF0gU2VhcmNoIGZvciBib290YWJsZSBwYXJ0aXRpb25zIG9uIGJvdGggU0QgYW5kIGVNTUMKCk9u
IEJlYWdsZUJvbmUgQmxhY2ssIGZpcnN0IGF0dGVtcHQgdG8gYm9vdCBmcm9tIG1pY3JvU0QgYW5k
IHRoZW4gZnJvbQplTU1DIGlmIG5vdCBhdmFpbGFibGUuCgpTaWduZWQtb2ZmLWJ5OiBKdXNzaSBM
YWFrbyA8anVzc2kubGFha29AbGludXguaW50ZWwuY29tPgotLS0KIGluY2x1ZGUvY29uZmlncy90
aV9hcm12N19jb21tb24uaCB8IDExICsrKysrKysrKystCiAxIGZpbGUgY2hhbmdlZCwgMTAgaW5z
ZXJ0aW9ucygrKSwgMSBkZWxldGlvbigtKQoKZGlmZiAtLWdpd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