<?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>1475</bug_id>
          
          <creation_ts>2011-09-13 14:18:50 +0000</creation_ts>
          <short_desc>runqemu with nographic option doesn&apos;t display early boot messages</short_desc>
          <delta_ts>2012-03-29 21:58:23 +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>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>(P3) 2012-03-29: Merged to master</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mark Hatle">mark.hatle</reporter>
          <assigned_to name="Scott Garman">scott.a.garman</assigned_to>
          <cc>dvhart</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</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>16149</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2011-09-13 14:18:50 +0000</bug_when>
    <thetext>The runqemu script, when run with the nographic option (qemux86) does not display the kernel boot messages.

By adding:

 bootparams=&quot;earlyprintk=ttyS0 console=ttyS0&quot;

I was able to restore access to those early boot messages.


Reproducer:

../scripts/runqemu qemux86 core-image-minimal nographic

vs

../scripts/runqemu qemux86 core-image-minimal nographic bootparams=&quot;earlyprintk=ttyS0 console=ttyS0&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16150</commentid>
    <comment_count>1</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-09-13 14:28:28 +0000</bug_when>
    <thetext>earlyprintk probably shouldn&apos;t be on by default, but &quot;--append=&apos;console=ttyS0&apos;&quot; probably makes sense to add when running without graphics. If we want to wrap qemu entirely, then some kind of a -text option to the top level script might be ideal.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19635</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2012-03-29 21:58:23 +0000</bug_when>
    <thetext>Fix included in oe-core and poky master as of:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=3af7e95d69d29f1a5f79e60adfd4db7bd3c4570d</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>