<?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>2612</bug_id>
          
          <creation_ts>2012-06-14 21:55:00 +0000</creation_ts>
          <short_desc>runqemu can&apos;t launch a poky-tiny image</short_desc>
          <delta_ts>2012-12-07 18:18:21 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>1.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>2012-08-10: Patch out for review on ML</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Darren Hart">dvhart</reporter>
          <assigned_to name="Scott Garman">scott.a.garman</assigned_to>
          <cc>corneliux.stoicescu</cc>
    
    <cc>david.c.stewart</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</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>22230</commentid>
    <comment_count>0</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-06-14 21:55:00 +0000</bug_when>
    <thetext>poky-tiny builds systems without block support by default. The intended method for booting a poky-tiny core-image-minimal image is using the cpio.gz image with /dev/ram0 as the rootfs. For example:

$ qemu -kernel bzImage-qemux86.bin -initrd core-image-minimal-qemux86.cpio.gz -nographic -append &quot;console=ttyS0 root=/dev/ram0&quot;

runqemu doesn&apos;t have anyway to run in this mode that I could see. This impacts Hob&apos;s ability to run a poky-tiny image.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22432</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2012-06-20 16:28:33 +0000</bug_when>
    <thetext>Looks like Kai has a full or partial fix for this in his work on bug #2579.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24193</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2012-08-19 17:03:55 +0000</bug_when>
    <thetext>Fixed in oe-core and poky master as of:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5bffd94316d9e6d49afea001c6f0a1d09624379a</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24194</commentid>
    <comment_count>3</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2012-08-19 17:04:22 +0000</bug_when>
    <thetext>Marking bug as fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24777</commentid>
    <comment_count>4</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2012-09-04 05:59:14 +0000</bug_when>
    <thetext>Verified with master branch: 37c8597e7600385367257e8a513e003947ebef5b

#############
$ bitbake core-image-minimal
$ runqemu qemux86 ramfs

Continuing with the following parameters:
KERNEL: [/buildarea2/yzhao-test/poky-build/build-tiny/tmp/deploy/images/bzImage-qemux86.bin]
ROOTFS: [/buildarea2/yzhao-test/poky-build/build-tiny/tmp/deploy/images/core-image-minimal-qemux86.cpio.gz]
FSTYPE: [cpio.gz]
Setting up tap interface under sudo
Acquiring lockfile for tap0...
WARNING: distccd not present, no distcc support loaded.
Running qemu...
/buildarea2/yzhao-test/poky-build/build-tiny/tmp/sysroots/x86_64-linux/usr/bin/qemu -kernel /buildarea2/yzhao-test/poky-build/build-tiny/tmp/deploy/images/bzImage-qemux86.bin -initrd /buildarea2/yzhao-test/poky-build/build-tiny/tmp/deploy/images/core-image-minimal-qemux86.cpio.gz -nographic -no-reboot -m 128 --append &quot;root=/dev/ram0 &quot;
Could not open option rom &apos;sgabios.bin&apos;: No such file or directory
[    0.000000] Linux version 3.2.18-yocto-tiny (builder@pek-yocto-build1) (gcc version 4.7.2 20120706 (prerelease) (GCC) ) #1 SMP PREEMPT Tue Sep 4 10:37:22 CST 2012
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009f400 (usable)
[    0.000000]  BIOS-e820: 000000000009f400 - 00000000000a0000 (reserved)
...
...
#################</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28098</commentid>
    <comment_count>5</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-12-07 18:18:21 +0000</bug_when>
    <thetext>*** Bug 3311 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>