Bug 10482

Summary: Serial terminal shows no output in joule with meta-intel
Product: [Build System, Metadata & Runtime] BSPs Reporter: Benjamin Esquivel <benjamin.esquivel>
Component: bsps-meta-intelAssignee: Saul Wold <sgw>
Status: RESOLVED FIXED QA Contact: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia>
Severity: normal    
Priority: Medium+ CC: alejandro.hernandez, kevin.tian, sgw
Version: 2.2   
Target Milestone: 2.2 M4   
Hardware: x86   
OS: other   
Whiteboard: Possible release blocker
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Benjamin Esquivel 2016-10-21 21:29:44 UTC
When booting joule with meta-intel, the serial console shows nothing right after the boot selection.

In contrast, the kernel boot messages and the login console DO appear at the video output.

With:

poky: 4b94b49
meta-intel: 8dbd551

Instructions to reproduce:

1. build a core image minimal with meta intel's machine intel-corei7-64
2. burn the hddimg image to an sd card using dd
3. attach a usb type b cable to the joule (serial console goes through here)
4. start a terminal reader onto the port where your ttyUSB registered
5. boot the sd card in a joule machine
6. the expectation is that the kernel boot messages appear at the serial console.

it is worth mentioning that ostro OS XT does output to the serial console and exposes a terminal to interact with joule.
Comment 1 Benjamin Esquivel 2016-10-21 21:52:22 UTC
The same image was tested in a minnowboard and it does output the serial console as expected.
Comment 2 Saul Wold 2016-10-27 14:42:50 UTC
After some research, it appears that the first console= entry is what is used, since currently RMC appends to the existing kernel cmdline the first entry is still ttyS0, not ttyS2 which is what the Joule requires.
Comment 3 Saul Wold 2016-11-03 15:31:04 UTC
A patch series was applied to meta-intel to enable RMC on the Joule
http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/commit/?h=morty&id=3d83758e3c4ee050c56d158f6ada1b40b64f8fc3
Comment 4 Benjamin Esquivel 2016-11-03 20:00:34 UTC
I pulled meta-intel and verified that the patch:
rmc: Add bootloader entries for the Broxton-M/Joule platform
was there, I built a core-image-minimal that I transferred to an sd card and booted it. I am able to start the booting from the serial console but I see no output there later.

Then when I look at the video output, the image booted fine.

Is there something I need to place in my config to pick this change up?