<?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>2769</bug_id>
          
          <creation_ts>2012-07-16 09:14:19 +0000</creation_ts>
          <short_desc>[Autobuilder] No dtb file for mpc8315e-rdb in directory with 1.3 M2 RC1</short_desc>
          <delta_ts>2012-08-15 09:39:57 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Kernel</product>
          <component>linux-yocto</component>
          <version>1.3</version>
          <rep_platform>mpc8315e-rdb</rep_platform>
          <op_sys>ppc</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Beth Flanagan">elizabeth.flanagan</assigned_to>
          <cc>bruce.ashfield</cc>
    
    <cc>elizabeth.flanagan</cc>
    
    <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>laurentiu.serban</cc>
    
    <cc>liang.li2</cc>
    
    <cc>msm-oss</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</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>23114</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2012-07-16 09:14:19 +0000</bug_when>
    <thetext>Tree/Branch: poky/master
Commit: eb0cb7e8234f5d2e5623406e9660be91cf52f65e

There is no dtb file in http://autobuilder.pokylinux.org/pub/nightly/20120712-1/machines/mpc8315e-rdb/

I built the image in local and found the dtb file was generated. 
###################
$ ls uImage*
uImage                                                                           

uImage-mpc8315e-rdb.bin

uImage-3.4.4+git1+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_1+47d3076aa7e2a640a1dab8d663529a784709f697-r4.0-mpc8315e-rdb-20120716052256.bin

uImage-mpc8315erdb.dtb

uImage-3.4.4+git1+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_1+47d3076aa7e2a640a1dab8d663529a784709f697-r4.0-mpc8315erdb-20120716052256.dtb

############

The current dtb file&apos;s name is different with 1.3 M1. There is no &quot;-&quot; between &quot;mpc8315e&quot; and &quot;rdb&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23121</commentid>
    <comment_count>1</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2012-07-16 15:19:27 +0000</bug_when>
    <thetext>I&apos;m pretty sure that this is not an autobuilder bug:

The artifacts are published as such:

cp -Rd *%s* %s/machines/qemu/%s

Which means if the file existed, it would have been copied.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23851</commentid>
    <comment_count>2</comment_count>
    <who name="Zhenhua Luo">zhenhua.luo</who>
    <bug_when>2012-08-07 10:20:38 +0000</bug_when>
    <thetext>May I know what&apos;s the problem here? 

I tried to build virtual/kernel with eb0cb7e8234f5d2e5623406e9660be91cf52f65, and following images can be generated successfully. 

$ ls -l tmp/deploy/images/
total 46376
-rw-r--r-- 1 b19537 b19537 43660746 Aug  7 05:06 modules-3.4.4-yocto-standard-r4.0-mpc8315e-rdb.tgz
-rw-r--r-- 1 b19537 b19537      294 Aug  7 05:06 README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
lrwxrwxrwx 1 b19537 b19537      138 Aug  7 05:06 uImage -&gt; uImage-3.4.4+git1+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_1+47d3076aa7e2a640a1dab8d663529a784709f697-r4.0-mpc8315e-rdb-20120807092932.bin
-rw-r--r-- 1 b19537 b19537  3778536 Aug  7 05:06 uImage-3.4.4+git1+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_1+47d3076aa7e2a640a1dab8d663529a784709f697-r4.0-mpc8315e-rdb-20120807092932.bin
-rw-r--r-- 1 b19537 b19537    21042 Aug  7 05:06 uImage-3.4.4+git1+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_1+47d3076aa7e2a640a1dab8d663529a784709f697-r4.0-mpc8315erdb-20120807092932.dtb
lrwxrwxrwx 1 b19537 b19537      138 Aug  7 05:06 uImage-mpc8315e-rdb.bin -&gt; uImage-3.4.4+git1+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_1+47d3076aa7e2a640a1dab8d663529a784709f697-r4.0-mpc8315e-rdb-20120807092932.bin
lrwxrwxrwx 1 b19537 b19537      137 Aug  7 05:06 uImage-mpc8315erdb.dtb -&gt; uImage-3.4.4+git1+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_1+47d3076aa7e2a640a1dab8d663529a784709f697-r4.0-mpc8315erdb-20120807092932.dtb</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23870</commentid>
    <comment_count>3</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2012-08-08 02:22:23 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; May I know what&apos;s the problem here? 
&gt; 

The problem is: our autobuilder will copy all artifacts to a publish directory when building complete. But now the dtb file doesn&apos;t copy. The root cause is the dtb file name is not correct. 
Please see the autobuilder log : http://autobuilder.yoctoproject.org:8010/builders/nightly-ppc/builds/516/steps/shell_50/logs/stdio
The first line is: sh -c &apos;cp -Rd *mpc8315e-rdb* /srv/www/vhosts/autobuilder.yoctoproject.org/pub/nightly/20120807-1/machines/mpc8315e-rdb&apos; 
It will copy all *mpc8315e-rdb* file to the directory. But the dtb file name is &quot;uImage-mpc8315erdb.dtb&quot;, missing &quot;-&quot; between &quot;mpc8315e&quot; and &quot;rdb&quot;. So it doesn&apos;t copy.
Please modify the dtb file name like this : uImage-mpc8315e-rdb.dtb  

Thanks

&gt; I tried to build virtual/kernel with
&gt; eb0cb7e8234f5d2e5623406e9660be91cf52f65, and following images can be
&gt; generated successfully. 
&gt; 
&gt; $ ls -l tmp/deploy/images/
&gt; total 46376
&gt; -rw-r--r-- 1 b19537 b19537 43660746 Aug  7 05:06
&gt; modules-3.4.4-yocto-standard-r4.0-mpc8315e-rdb.tgz
&gt; -rw-r--r-- 1 b19537 b19537      294 Aug  7 05:06
&gt; README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
&gt; lrwxrwxrwx 1 b19537 b19537      138 Aug  7 05:06 uImage -&gt;
&gt; uImage-3.4.
&gt; 4+git1+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_1+47d3076aa7e2a640a1dab8d6635
&gt; 29a784709f697-r4.0-mpc8315e-rdb-20120807092932.bin
&gt; -rw-r--r-- 1 b19537 b19537  3778536 Aug  7 05:06
&gt; uImage-3.4.
&gt; 4+git1+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_1+47d3076aa7e2a640a1dab8d6635
&gt; 29a784709f697-r4.0-mpc8315e-rdb-20120807092932.bin
&gt; -rw-r--r-- 1 b19537 b19537    21042 Aug  7 05:06
&gt; uImage-3.4.
&gt; 4+git1+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_1+47d3076aa7e2a640a1dab8d6635
&gt; 29a784709f697-r4.0-mpc8315erdb-20120807092932.dtb
&gt; lrwxrwxrwx 1 b19537 b19537      138 Aug  7 05:06 uImage-mpc8315e-rdb.bin -&gt;
&gt; uImage-3.4.
&gt; 4+git1+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_1+47d3076aa7e2a640a1dab8d6635
&gt; 29a784709f697-r4.0-mpc8315e-rdb-20120807092932.bin
&gt; lrwxrwxrwx 1 b19537 b19537      137 Aug  7 05:06 uImage-mpc8315erdb.dtb -&gt;
&gt; uImage-3.4.
&gt; 4+git1+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_1+47d3076aa7e2a640a1dab8d6635
&gt; 29a784709f697-r4.0-mpc8315erdb-20120807092932.dtb</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23888</commentid>
    <comment_count>4</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2012-08-08 17:09:07 +0000</bug_when>
    <thetext>Ok, relooking at this and have a fix pending for the AB. I don&apos;t like the fact that names are getting changed like this because it has the possibility of being a real nightmare to maintain from the AB.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23893</commentid>
    <comment_count>5</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2012-08-08 21:45:16 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder/commit/?id=dd04d2dde867a60429480556c4a720ad612a6875</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23999</commentid>
    <comment_count>6</comment_count>
    <who name="Matthew McClintock">msm-oss</who>
    <bug_when>2012-08-13 22:03:48 +0000</bug_when>
    <thetext>Just for the record the file name changed because it switched to basing the name off what&apos;s in the kernel tree - this should not change again...

$ find  arch/powerpc/boot/dts/ | grep mpc8315
arch/powerpc/boot/dts/mpc8315erdb.dts

IMO, This makes a sense because now we can have many device tree&apos;s and the kernel names are usually appropriate to differentiate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24054</commentid>
    <comment_count>7</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2012-08-15 09:39:57 +0000</bug_when>
    <thetext>Verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>