[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linuxbios
Subject:    Re: [coreboot] Coreboot 4.5: No early serial output
From:       Naveed Ghori <naveed.ghori () dti ! com ! au>
Date:       2017-03-30 7:12:05
Message-ID: 741EAB6DD877764C872CB96AA8F38D8CB217B009 () mx01 ! dti ! lan
[Download RAW message or body]

[Attachment #2 (text/plain)]

Fixed.
Best I can tell it was due to a clean build as all the other parameters are the same.
I had gone back to v4.4 to rebuild and check too, but the problem has persisted. \
Potentially to do with using .config from a different version of coreboot.

But it works so no more investigation ☺.
Naveed

From: Zoran Stojsavljevic [mailto:zoran.stojsavljevic@gmail.com]
Sent: Thursday, 30 March 2017 12:49 AM
To: Naveed Ghori
Cc: coreboot@coreboot.org
Subject: Re: [coreboot] Coreboot 4.5: No early serial output

Hello Naveed,

> In Coreboot 4.4 (Intel baytrail FSP) early serial output use to work (first line \
> being coreboot version followed by RTC Init) In Coreboot 4.5 it seems that serial \
> output only works once the FSP initializes the serial port (first line being \
> romstage_main_continue).

What entity initializes serial port in Coreboot 4.4 (BYT FSP or Coreboot itself)? In \
which stage?

Once you get answer to this question, you should know what to do for/in Coreboot 4.5 \
. ;-)

Zoran

On Wed, Mar 29, 2017 at 10:55 AM, Naveed Ghori \
<naveed.ghori@dti.com.au<mailto:naveed.ghori@dti.com.au>> wrote: Hi all,

In Coreboot 4.4 (Intel baytrail FSP) early serial output use to work (first line \
being coreboot version followed by RTC Init) In Coreboot 4.5 it seems that serial \
output only works once the FSP initializes the serial port (first line being \
romstage_main_continue).

Notes: Setup for spew output, using the debug serial port lines.
I am looking at what might have caused this but though I'd ask if this was a known \
issue, possibly already fixed with a patch or if it was an error on my part.

Note sure exactly where to search as I have already reviewed the changes in \
src/drivers/uart/uart8250io.c

Regards,
Naveed
Naveed Ghori | Lead Firmware & Driver Engineer


DTI Group Ltd | Transit Security & Surveillance


31 Affleck Road, Perth Airport, Western Australia 6105, Australia

P +61 8 9373 2905<tel:+61%208%209373%202905>,151 | F +61 8 9479 \
1190<tel:+61%208%209479%201190> | \
naveed.ghori@dti.com.au<mailto:naveed.ghori@dti.com.au>



Visit our website  www.dti.com.au<https://linkprotect.cudasvc.com/url?a=http://www.dti \
.com.au&c=E,1,YR-Os62994mVT-qQSgx1VuaE99C_1zhtsGIowZwjNua_8fq1lMx1J2RMNU4rXxk6Uea5uxn62SC1jRTc_c3PdqHtxb5sloVvd8-t8GxpaOKZPoBxTT5r-65SwQ,,&typo=1>


The information contained in this email is confidential. If you receive this email in \
error, please inform DTI Group Ltd via the above contact details. If you are not the \
intended recipient, you may not use or disclose the information contained in this \
email or attachments.


--
coreboot mailing list: coreboot@coreboot.org<mailto:coreboot@coreboot.org>
https://www.coreboot.org/mailman/listinfo/coreboot<https://linkprotect.cudasvc.com/url \
?a=https://www.coreboot.org/mailman/listinfo/coreboot&c=E,1,VufOXWuzUnx_Yw2CGu65qdbyV0 \
4o9hoqqiACYUSm6-sO9aNA180Xo2J6nuViV-aGu0yRHmc-kgQxPeC0094H7GJJGMSAmmIcw42BBtvbdH6od7yw&typo=1>



[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:x="urn:schemas-microsoft-com:office:excel" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:"Century Gothic";
	panose-1:2 11 5 2 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.hoenzb
	{mso-style-name:hoenzb;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Fixed.
 <o:p></o:p></span></p>
<p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Best \
I can tell it was due to a clean build as all the other parameters are the \
same.<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I \
had gone back to v4.4 to rebuild and check too, but the problem has persisted. \
Potentially to do with using .config from a different version of \
coreboot.<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
 <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">But \
it works so no more investigation </span><span \
style="font-size:11.0pt;font-family:Wingdings;color:#1F497D">J</span><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">.<o:p></o:p></span></p>
 <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Naveed<o:p></o:p></span></p>
 <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
 <p class="MsoNormal"><b><span \
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span \
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Zoran \
Stojsavljevic [mailto:zoran.stojsavljevic@gmail.com] <br>
<b>Sent:</b> Thursday, 30 March 2017 12:49 AM<br>
<b>To:</b> Naveed Ghori<br>
<b>Cc:</b> coreboot@coreboot.org<br>
<b>Subject:</b> Re: [coreboot] Coreboot 4.5: No early serial \
output<o:p></o:p></span></p> <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">Hello Naveed,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span \
style="font-size:9.5pt">&gt; In Coreboot 4.4 (Intel baytrail FSP) early serial output \
use to work (first line being coreboot version followed by RTC \
Init)<o:p></o:p></span></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span \
style="font-size:9.5pt">&gt; In Coreboot 4.5 it seems that serial output only works \
once the FSP initializes the serial port (first line being \
romstage_main_continue).<o:p></o:p></span></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span \
style="font-size:9.5pt"><o:p>&nbsp;</o:p></span></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span \
style="font-size:9.5pt">What entity initializes serial port in Coreboot 4.4 (BYT FSP \
or Coreboot itself)? In which stage?<o:p></o:p></span></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span \
style="font-size:9.5pt"><o:p>&nbsp;</o:p></span></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span \
style="font-size:9.5pt">Once you get answer to this question, you should know what to \
do for/in Coreboot 4.5 . ;-)<o:p></o:p></span></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span \
style="font-size:9.5pt"><o:p>&nbsp;</o:p></span></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span \
style="font-size:9.5pt">Zoran<o:p></o:p></span></p> </div>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">On Wed, Mar 29, 2017 at 10:55 AM, Naveed Ghori &lt;<a \
href="mailto:naveed.ghori@dti.com.au" target="_blank">naveed.ghori@dti.com.au</a>&gt; \
wrote:<o:p></o:p></p> <div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi \
all,<o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p> <p \
class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">In \
Coreboot 4.4 (Intel baytrail FSP) early serial output use to work (first line being \
coreboot version followed by RTC Init)<o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">In Coreboot 4.5 it seems \
that serial output only works once the FSP initializes the serial port (first line \
being romstage_main_continue).<o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p> <p \
class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Notes: \
Setup for spew output, using the debug serial port lines.<o:p></o:p></p> <p \
class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I am \
looking at what might have caused this but though I'd ask if this was a known issue, \
possibly already fixed with a patch or if it was an error on my part.<o:p></o:p></p> \
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p> <p \
class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Note \
sure exactly where to search as I have already reviewed the changes in \
src/drivers/uart/uart8250io.c<o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p> <p \
class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Regards,<o:p></o:p></p>
 <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Naveed<o:p></o:p></p> \
</div> <table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" \
width="960" style="width:720.0pt"> <tbody>
<tr>
<td style="padding:12.0pt 0cm 6.0pt 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Century \
Gothic&quot;,&quot;sans-serif&quot;;color:#595959">Naveed Ghori</span></b><span \
style="font-size:10.0pt;font-family:&quot;Century \
Gothic&quot;,&quot;sans-serif&quot;;color:#595959"> | Lead Firmware &amp; Driver \
Engineer<o:p></o:p></span></p> </td>
</tr>
<tr>
<td style="padding:0cm 0cm 0cm 0cm"></td>
</tr>
<tr>
<td style="padding:0cm 0cm 6.0pt 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Century \
Gothic&quot;,&quot;sans-serif&quot;;color:#595959">DTI Group Ltd</span></b><span \
style="font-size:10.0pt;font-family:&quot;Century \
Gothic&quot;,&quot;sans-serif&quot;;color:#595959"> | </span><span \
style="font-size:8.0pt;font-family:&quot;Century \
Gothic&quot;,&quot;sans-serif&quot;;color:#E36C0A">Transit Security &amp; \
Surveillance</span><span style="font-size:10.0pt;font-family:&quot;Century \
Gothic&quot;,&quot;sans-serif&quot;;color:#595959"><o:p></o:p></span></p> </td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span class="hoenzb"><span \
style="color:#888888"><o:p>&nbsp;</o:p></span></span></p> <table \
class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="960" \
style="width:720.0pt"> <tbody>
<tr>
<td style="padding:0cm 0cm 26.4pt 0cm">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:0cm 0cm 6.0pt 0cm">
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Century \
Gothic&quot;,&quot;sans-serif&quot;;color:#595959">31 Affleck Road, Perth Airport, \
Western Australia 6105, Australia<o:p></o:p></span></p> </td>
</tr>
<tr>
<td style="padding:0cm 0cm 6.0pt 0cm">
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Century \
Gothic&quot;,&quot;sans-serif&quot;;color:#595959">P <a \
href="tel:&#43;61%208%209373%202905" target="_blank">&#43;61 8 9373 2905</a>,151 | F \
<a href="tel:&#43;61%208%209479%201190" target="_blank"> &#43;61 8 9479 1190</a> \
|&nbsp;<a href="mailto:naveed.ghori@dti.com.au" target="_blank"><span \
style="color:#E36C0A">naveed.ghori@dti.com.au</span></a><o:p></o:p></span></p> </td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span class="hoenzb"><span \
style="color:#888888;display:none"><o:p>&nbsp;</o:p></span></span></p> <table \
class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="960" \
style="width:720.0pt"> <tbody>
<tr>
<td style="padding:0cm 0cm 12.0pt 0cm">
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Century \
Gothic&quot;,&quot;sans-serif&quot;;color:#595959">Visit our website&nbsp;&nbsp;<a \
href="https://linkprotect.cudasvc.com/url?a=http://www.dti.com.au&amp;c=E,1,YR-Os62994 \
mVT-qQSgx1VuaE99C_1zhtsGIowZwjNua_8fq1lMx1J2RMNU4rXxk6Uea5uxn62SC1jRTc_c3PdqHtxb5sloVvd8-t8GxpaOKZPoBxTT5r-65SwQ,,&amp;typo=1" \
target="_blank">www.dti.com.au</a><o:p></o:p></span></p> </td>
</tr>
<tr>
<td style="padding:0cm 0cm 12.0pt 0cm">
<p class="MsoNormal"><span style="font-size:7.0pt;font-family:&quot;Century \
Gothic&quot;,&quot;sans-serif&quot;;color:#9C9C9C">The information contained in this \
email is confidential. If you receive this email in error, please inform DTI Group \
Ltd via the above contact details.  If you are not the intended recipient, you may \
not use or disclose the information contained in this email or \
attachments.<o:p></o:p></span></p> </td>
</tr>
</tbody>
</table>
</div>
<p class="MsoNormal"><br>
--<br>
coreboot mailing list: <a \
href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br> <a \
href="https://linkprotect.cudasvc.com/url?a=https://www.coreboot.org/mailman/listinfo/ \
coreboot&amp;c=E,1,VufOXWuzUnx_Yw2CGu65qdbyV04o9hoqqiACYUSm6-sO9aNA180Xo2J6nuViV-aGu0yRHmc-kgQxPeC0094H7GJJGMSAmmIcw42BBtvbdH6od7yw&amp;typo=1" \
target="_blank">https://www.coreboot.org/mailman/listinfo/coreboot</a><o:p></o:p></p> \
</div> <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>



-- 
coreboot mailing list: coreboot@coreboot.org
https://www.coreboot.org/mailman/listinfo/coreboot
--===============1442200947432139420==--


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic