<?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>12952</bug_id>
          
          <creation_ts>2018-10-05 07:30:42 +0000</creation_ts>
          <short_desc>[QA 2.6.M3 rc1 ][BSP/Mturbot] Not able to see login prompt when using serial</short_desc>
          <delta_ts>2018-11-20 04:08:13 +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>BSPs</product>
          <component>bsps-configuration</component>
          <version>2.6</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.6 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="pankaj yadav">pankaj-y</reporter>
          <assigned_to name="Anuj Mittal">anuj.mittal</assigned_to>
          <cc>yp.bsp.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>81765</commentid>
    <comment_count>0</comment_count>
    <who name="pankaj yadav">pankaj-y</who>
    <bug_when>2018-10-05 07:30:42 +0000</bug_when>
    <thetext>Information : 
Able to see BIOS Page using serial connect but not able to see login prompt for serial communication USB, SD and HDD.

Steps to reproduce
1) Download the image from following link
http://centaurus01.png.intel.com:8080/workspace/andromeda02/yocto-2.6_M3.rc1/genericx86-64/core-image-sato-sdk-genericx86-64.hddimg
2) Create a yocto project image in a HDD
example &lt;dd if= core-image-sato-sdk.hddimg of =/dev/sdb&gt;
3) Verify the MTubro board is connected to the host, 
Connect  Minnowboard Turbot board to host machine using serial cabel ( Any linux machine )
4) Boot the Minnowboard Turbot board using bootable pendrive.
5) Host machine check in /dev/ which device name serial connected.
  ( default is coming on ttyUSB0 )
6) Establish connection using &quot;sudo screen /dev/ttyUSB0 115200 on terminal
7) After this serial connection is done successfully, Check the IP 
In Terminal type $ifconfig&quot;

Note : Tried on 2 different setup and rebooted host machine 3 times, observed same issue.

Status for 2.6M2RC1 : Pass
Bugzilla link for 2.6M2RC1 : https://bugzilla.yoctoproject.org/show_bug.cgi?id=12666 (Pass)


Debug information :
1) Issue is not reproducible core-image-sato-sdk.wic image.
2) Debugged by providing  console=ttyS0,115200 and console=tty0 in kernel boot line in hddimg image same as mentioned in core-image-sato-sdk.wic image in kernel boot line but not able to see login prompt.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81962</commentid>
    <comment_count>1</comment_count>
    <who name="Anuj Mittal">anuj.mittal</who>
    <bug_when>2018-10-26 01:37:54 +0000</bug_when>
    <thetext>This should work if you add the console on first boot. Else you will have to add the getty entry manually in inittab.

Can you check that that works?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82165</commentid>
    <comment_count>2</comment_count>
    <who name="pankaj yadav">pankaj-y</who>
    <bug_when>2018-11-12 04:18:40 +0000</bug_when>
    <thetext>Issue is not reproducible after adding getty entry manually in /etc/inittab as mentioned below :

#1:12345:respawn:/sbin/getty 38400 tty1 
1:12345:respawn:/sbin/getty 115200 ttyS0 

Should we need to change everytime (ttyS0) or these changes will be merged in further release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82185</commentid>
    <comment_count>3</comment_count>
    <who name="Anuj Mittal">anuj.mittal</who>
    <bug_when>2018-11-13 09:33:57 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Issue is not reproducible after adding getty entry manually in /etc/inittab
&gt; as mentioned below :
&gt; 
&gt; #1:12345:respawn:/sbin/getty 38400 tty1 
&gt; 1:12345:respawn:/sbin/getty 115200 ttyS0 
&gt; 
&gt; Should we need to change everytime (ttyS0) or these changes will be merged
&gt; in further release.

Did you also check if this works on first boot after you have flashed the image?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82274</commentid>
    <comment_count>4</comment_count>
    <who name="Anuj Mittal">anuj.mittal</who>
    <bug_when>2018-11-20 04:08:13 +0000</bug_when>
    <thetext>genericx86-64 uses SERIAL_CONSOLES_CHECK on purpose. And that means that if you don&apos;t specify a console on first boot, then you will have to do it manually in inittab later.

Since the console actually works, I am closing this.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>