<?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>5077</bug_id>
          
          <creation_ts>2013-08-30 05:27:23 +0000</creation_ts>
          <short_desc>beagleboard can not boot up with 1.5_M4.rc2 image</short_desc>
          <delta_ts>2013-10-31 16:14:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>General Runtime</product>
          <component>General Runtime</component>
          <version>1.5</version>
          <rep_platform>Beagleboard</rep_platform>
          <op_sys>arm</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.5 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ning Zhang">ning.zhang</reporter>
          <assigned_to name="Liming Wang">liming.wang</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>bruce.ashfield</cc>
    
    <cc>corneliux.stoicescu</cc>
    
    <cc>ke.zou</cc>
    
    <cc>lpapp</cc>
    
    <cc>otavio</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>36064</commentid>
    <comment_count>0</comment_count>
    <who name="Ning Zhang">ning.zhang</who>
    <bug_when>2013-08-30 05:27:23 +0000</bug_when>
    <thetext>Poky: master: 5745e45b18e5099e94b4d5a73bc97dc6d4cdc91f

Steps:

1. download beagleboard core-image-sato-sdk image from http://autobuilder.yoctoproject.org/pub/releases/1.5_M4.rc2/machines/beagleboard/
2. use this image to boot up beagleboard xM, boot up failed.
It hangs at loading u-boot.bin:

Texas Instruments X-Loader 1.5.0 (Aug 28 2013 - 06:34:32)                                                              
Beagle xM
Reading boot sector
Loading u-boot.bin from mmc

This is a regression issue, 1.5M3_rc1 image worked well, its poky commit number is: 9de0ad47462c13ac4a2d73e12e92be6c1b4e0415</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36066</commentid>
    <comment_count>1</comment_count>
    <who name="Liming Wang">liming.wang</who>
    <bug_when>2013-08-30 06:44:53 +0000</bug_when>
    <thetext>1.5_M4.rc2 upgraded u-boot version to 2013.07 (./meta/recipes-bsp/u-boot/u-boot_2013.07.bb). And this version of u-boot may be not compatible with x-loader.
It seems that u-boot 2013.7 has its own MLO file after building. Please use the MLO file in u-boot building directory to test on xM board.

Maybe we should give up x-loader from building images and replace it with MLO from u-boot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36120</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-08-30 22:04:26 +0000</bug_when>
    <thetext>I thought that we had marked 2013.07 as DEFAULT_PREFERENCE = &quot;-1&quot;, apparently it not.

If liming suggestion does not work we have options below.

So we have 2 choices, either patch it with DEFAULT_PREFERENCE or add a PREFERRED_VERSION_u_boot ?= &quot;v2011.06%&quot; to the beagleboard.conf file, this is probably the preferred option.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36121</commentid>
    <comment_count>3</comment_count>
    <who name="Laszlo Papp">lpapp</who>
    <bug_when>2013-08-30 22:14:25 +0000</bug_when>
    <thetext>OK</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36128</commentid>
    <comment_count>4</comment_count>
    <who name="Otavio Salvador">otavio</who>
    <bug_when>2013-08-31 21:42:39 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; 1.5_M4.rc2 upgraded u-boot version to 2013.07
&gt; (./meta/recipes-bsp/u-boot/u-boot_2013.07.bb). And this version of u-boot
&gt; may be not compatible with x-loader.
&gt; It seems that u-boot 2013.7 has its own MLO file after building. Please use
&gt; the MLO file in u-boot building directory to test on xM board.
&gt; 
&gt; Maybe we should give up x-loader from building images and replace it with
&gt; MLO from u-boot.

Does this work? If it does we could get rid of old versions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36135</commentid>
    <comment_count>5</comment_count>
    <who name="Ning Zhang">ning.zhang</who>
    <bug_when>2013-09-02 01:54:57 +0000</bug_when>
    <thetext>Hi all,
I tried liming&apos;s workaround. It works.
But it needs to replace 2 files. MLO and u-boot.bin

workaround step:
1. build u-boot: bitbake u-boot
2. copy tmp/work/beagleboard-poky-linux-gnueabi/u-boot/v2013.07+gitAUTOINC+62c175fbb8-r0/git/MLO to replace MLO file
3. copy tmp/work/beagleboard-poky-linux-gnueabi/u-boot/v2013.07+gitAUTOINC+62c175fbb8-r0/git/u-boot.img to replace u-boot.bin
4. Then the beagleboard could be boot up.

But since this workaround used u-boot.img replace u-boot.bin, i am not sure whether it is necessary to continue the beagleboard test with 1.5_M4.rc2 image.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36186</commentid>
    <comment_count>6</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-09-03 09:25:54 +0000</bug_when>
    <thetext>Hey guys, 
can you update the target milestone? Currently it is set to 1.1.2.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36455</commentid>
    <comment_count>7</comment_count>
    <who name="Liming Wang">liming.wang</who>
    <bug_when>2013-09-10 06:27:45 +0000</bug_when>
    <thetext>
poky commit id &quot;3aa68fd9014a4745486a2e8ab03292b39ce11862&quot; has resolved the issue.
We should use the MLO of latest u-boot, not x-load.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38360</commentid>
    <comment_count>8</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-10-31 16:08:48 +0000</bug_when>
    <thetext>The final release candidate for 1.5: 1.5_M5.rc8 did manage to boot, even though it had some issues with X, network and USB. Regardless, this issue does not happen. Marking as VERIFIED.

The beagleboard status for 1.5: 1.5_M5.rc8 can be seen here: https://wiki.yoctoproject.org/wiki/WW41_-_2013-10-08_-_Full_Pass_Release_1.5_M5.rc8#Beagleboard:_core-image-sato-sdk</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38362</commentid>
    <comment_count>9</comment_count>
    <who name="Laszlo Papp">lpapp</who>
    <bug_when>2013-10-31 16:14:54 +0000</bug_when>
    <thetext>Thanks.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>