Bug 12666

Summary: [2.5 M3 RC1] BSP-QEMU:core-image-sato-sdk-genericx86-64.hddimg unable to connect to console with serial on Minnowboard Turbot
Product: [Build System, Metadata & Runtime] BSPs Reporter: pravin <pravin.shankarx.patil>
Component: bsps-meta-intelAssignee: Anuj Mittal <anuj.mittal>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: ee.peng.yeoh, pravin.shankarx.patil, richard.purdie
Version: 2.5   
Target Milestone: 2.6 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description pravin 2018-04-08 22:38:31 UTC
following steps to reproduce the issue

1)download the core-image-sato-sdk-genericx86-64.hddimg image from following link
   http://autobuilder.yoctoproject.org/pub/yocto-2.5_M3.rc1/machines/genericx86-64/

2)Make the bootable pendrive using this image.

3)Connect serial cabel Minnowboard Turbot board to host machine ( 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)Using sudo -s minicom setup the serial connection.

7)after this serial connection is done successfully.

but Minnowboard Turbot Login prompt is not coming on minicom serial connection.
Only blank screen is coming.
Comment 1 Richard Purdie 2018-04-19 08:28:09 UTC
For genericx86 we should not be assuming "minnowisms", regardless of whether its hddimg or wic.
Comment 2 yeoh ee peng 2018-05-10 01:36:29 UTC
Please try this on a NUC to check.
Comment 3 pravin 2018-06-22 09:00:58 UTC
this issue is still reproducible on the ycoto build 2.6 M1 rc1 on Minnowboard Turbot.
Comment 4 Anuj Mittal 2018-07-10 03:15:06 UTC
Looks like a problem with your minicom configuration. I tried using 'screen /dev/ttyUSB0 115200' and I don't see any problem.

Please re-open if you can reproduce using screen.
Comment 5 pravin 2018-07-11 05:46:16 UTC
Following are the steps for reproduce

1) download the image from following link
   https://autobuilder.yocto.io/pub/releases/yocto-2.6_M1.rc1/machines/genericx86-64/

2) make bootable pendrive using this image
3) Connect serial cabel Minnowboard Turbot board to host machine ( Any linux machine )( I tried on Ubuntu 16.04 )
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) using sudo screen /dev/ttyUSB0 115200.

7)after this serial connection is done successfully.

but Minnowboard Turbot Login prompt is not coming on screen serial connection.
Only blank screen is coming.
Comment 6 pravin 2018-07-24 09:19:14 UTC
In Yocto 2.6 M2 rc1 release this issue is not reproducible.
I have tested on MinnowMtourbot board.
Comment 7 pravin 2018-12-14 09:58:25 UTC
After did this changes this bug is not reproducing.

 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
Comment 8 pravin 2018-12-14 10:18:33 UTC
(In reply to comment #7)
> After did this changes this bug is not reproducing.
> 
>  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

This bug is reproducible in yocto-2.5.2 release.