Bug 610

Summary: no rootfs and dtb file in qemumpc8315e-rdb milestone build
Product: [Build System, Metadata & Runtime] BSPs Reporter: liang li <liang.li2>
Component: bsps-configurationAssignee: Bruce Ashfield <bruce.ashfield>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: bruce.ashfield, elizabeth.flanagan, jiajun.xu, ke.yu, liang.li2, liangliang.wang, sgw, yi.zhao, yp.bsp.watcher, yp.watcher
Version: 1.0   
Target Milestone: 1.0 M3   
Hardware: x86   
OS: ppc   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description liang li 2010-12-21 22:44:40 UTC
rootfs and dtb file not found in directory http://autobuilder.pokylinux.org/milestone/20101218-1/qemu/qemumpc8315e-rdb/ .
Comment 1 Bruce Ashfield 2010-12-22 06:39:39 UTC
I have no good ideas about this, no changes were made to 
the rdb for 1.0 M2. I'll be on vacation for the next week, so 
someone else with poky experience (i.e. this shouldn't
be related to kernel) can easily look at this.

But what is: qemu/qemumpc8315e-rdb ?

That seems like an incorrect machine config
Comment 2 Jiajun Xu 2010-12-22 16:40:05 UTC
cc Beth here, maybe she can help on this bug.
Comment 3 Saul Wold 2010-12-28 22:14:25 UTC
Please check the current nightly builds area and verify if the problem still exists, I think there may have been a problem with that milestone build.
Comment 4 liang li 2010-12-29 01:11:25 UTC
still not found in 
http://autobuilder.pokylinux.org/nightly/20101227-1/qemu/qemumpc8315e-rdb/
If more suggestiones, pls add comments, thanks.
Comment 5 Saul Wold 2010-12-29 09:35:48 UTC
There are two issues here, first is the hardware targets seem to be copied to a "qemu<hardware target>" name, which needs to be fixed and the second is that in the case of the mpc8315e-rdb target, the proper images are not being copied, they are created in the deploy/images directory.
Comment 6 Beth Flanagan 2011-01-13 07:16:48 UTC
Setting this as resolved. These are now in /machines/<machine name>/<arch>
Comment 7 liang li 2011-01-18 00:09:09 UTC
rootfs file of sdk and minimal has been found below:
http://autobuilder.pokylinux.org/nightly/20110114-1/machines/mpc8315e-rdb/ppc/
dtb file not found.
Comment 8 liang li 2011-01-18 00:11:00 UTC
dtb file not found (needed by mpc8315e-rdb board).
Comment 9 liang li 2011-01-18 23:38:34 UTC
In mpc8315e-rdb poky build directory (git master branch) ,the dtb file not found  in tmp/deploy/images subdir ((only module, kernel and rootfs files found).
Could dtb file be included in mpc8315e-rdb poky build ?
thanks.
Comment 10 Beth Flanagan 2011-01-19 01:40:35 UTC
(In reply to comment #9)
> In mpc8315e-rdb poky build directory (git master branch) ,the dtb file not
> found  in tmp/deploy/images subdir ((only module, kernel and rootfs files
> found).
> Could dtb file be included in mpc8315e-rdb poky build ?
> thanks.

If, as I'm understanding it, a build of mpc8315e-rdb is not creating the dtb file (I'm waiting for a build on the autobuilder to verify if it is building it or not) then you should open a bug against poky. If the dtb file is however being created (I'll know in a few hours), I'll get this corrected from the autobuilder side.

-b
Comment 11 Beth Flanagan 2011-02-01 09:48:11 UTC
(In reply to comment #10)
> (In reply to comment #9)
> > In mpc8315e-rdb poky build directory (git master branch) ,the dtb file not
> > found  in tmp/deploy/images subdir ((only module, kernel and rootfs files
> > found).
> > Could dtb file be included in mpc8315e-rdb poky build ?
> > thanks.
> 
> If, as I'm understanding it, a build of mpc8315e-rdb is not creating the dtb
> file (I'm waiting for a build on the autobuilder to verify if it is building it
> or not) then you should open a bug against poky. If the dtb file is however
> being created (I'll know in a few hours), I'll get this corrected from the
> autobuilder side.
> 
> -b

pokybuild@autobuilder:~/poky-slave/nightly-release/build/build/tmp/deploy/images> ls -al *mpc*
-rw-rw-rw- 1 pokybuild users  39M 2011-01-27 09:43 modules-2.6.34.7-wr-standard-r12-mpc8315e-rdb.tgz
-rwxrw-rw- 1 pokybuild users  29M 2011-01-27 10:10 poky-image-minimal-mpc8315e-rdb-20110127174839.rootfs.tar.gz*
lrwxrwxrwx 1 pokybuild users   60 2011-01-27 10:10 poky-image-minimal-mpc8315e-rdb.tar.gz -> poky-image-minimal-mpc8315e-rdb-20110127174839.rootfs.tar.gz*
-rwxrw-rw- 1 pokybuild users 266M 2011-01-27 10:08 poky-image-sdk-mpc8315e-rdb-20110127174838.rootfs.tar.gz*
lrwxrwxrwx 1 pokybuild users   56 2011-01-27 10:08 poky-image-sdk-mpc8315e-rdb.tar.gz -> poky-image-sdk-mpc8315e-rdb-20110127174838.rootfs.tar.gz*
-rw-r--r-- 1 pokybuild users 2.4M 2011-01-27 09:43 uImage-2.6.34+git0+b67e060194a38c6331da1532bd06446087a42b3b_0+986e6eb66c26007cee7916d5d12f4756e6b5436f-r12-mpc8315e-rdb-20110127174320.bin
lrwxrwxrwx 1 pokybuild users  138 2011-01-27 09:43 uImage-mpc8315e-rdb.bin -> uImage-2.6.34+git0+b67e060194a38c6331da1532bd06446087a42b3b_0+986e6eb66c26007cee7916d5d12f4756e6b5436f-r12-mpc8315e-rdb-20110127174320.bin


No dtb is being generated?
Comment 12 Bruce Ashfield 2011-02-08 13:29:06 UTC
FYI: I know what's wrong here. grabbing the bug, will pull
out the dtb generation in a form that we can use for the
linux-yocto recipes.
Comment 13 Bruce Ashfield 2011-02-09 06:06:52 UTC
changes are in tree now.
Comment 14 liang li 2011-02-15 22:54:21 UTC
(In reply to comment #13)
> changes are in tree now.
use git branch master (git info:974ea1a190167dcfd831ba1fc5f733e0dc9a6fda)
dtb file has been built out manually,
steps:
1.set build enverionment.
2.bitbake poky-image-minimal
from tmp/deploy/images of the build dir the dtb file is found (see below):
liangli@liangli-OptiPlex-745:~/poky-git-build_6/tmp/deploy/images$ ls 
licenses
modules-2.6.37-yocto-standard+-r15-mpc8315e-rdb.tgz
poky-image-minimal-mpc8315e-rdb-20110216031237.rootfs.tar.gz
poky-image-minimal-mpc8315e-rdb.tar.gz
uImage-2.6.37+git1+29047c254624e0bd8a0ac6da92862f7c6357cb0b_1+aefd36272f47de297a77feaa583cbeb4935f3abb-r15-mpc8315e-rdb-20110216031237.bin
uImage-2.6.37+git1+29047c254624e0bd8a0ac6da92862f7c6357cb0b_1+aefd36272f47de297a77feaa583cbeb4935f3abb-r15-mpc8315e-rdb-20110216031237.dtb
uImage-mpc8315e-rdb.bin
uImage-mpc8315e-rdb.dtb

The dtb file "uImage-2.6.37+git1+29047c254624e0bd8a0ac6da92862f7c6357cb0b_1+aefd36272f47de297a77feaa583cbeb4935f3abb-r15-mpc8315e-rdb-20110216031237.dtb"  is found.
Comment 15 liang li 2011-03-03 21:59:26 UTC
verified on nightly build 20110301-4:
dtb file is found :
http://autobuilder.pokylinux.org/nightly/20110301-4/machines/mpc8315e-rdb/ppc/uImage-2.6.37+git1+e2737075b79e4fc682e41051cf1c0bc47a47d502_1+6117f19403ccd5c288ce553def432925296a28b7-r16-mpc8315e-rdb-20110302163011.dtb

using the dtb file ,the mpc8315e-rdb board boot normally now.