<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: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:新細明體;
        panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
        {font-family:新細明體;
        panose-1:2 2 5 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:"\@新細明體";
        panose-1:2 2 5 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"新細明體","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.EmailStyle17
        {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 90.0pt 72.0pt 90.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="ZH-TW" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Hi Sumo,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Yes, you are right. So can I say Grub2’s driver has issues in supporting Denverton xHCI controller? I just want a root cause to explain why USB cannot work in this
 case. Thanks.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">-Hilbert<o:p></o:p></span></p>
<p class="MsoNormal"><a name="_MailEndCompose"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></a></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Sumo [mailto:kingsumos@gmail.com]
<br>
<b>Sent:</b> Wednesday, August 22, 2018 10:05 PM<br>
<b>To:</b> Hilbert Tu(</span><span style="font-size:10.0pt">杜睿哲</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">_Pegatron)<br>
<b>Cc:</b> nico.huber@secunet.com; coreboot@coreboot.org<br>
<b>Subject:</b> Re: [coreboot] USB cannot work<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">USB works a charm using CorebootPayloadPkg from Tianocore/EDK2 instead of using GRUB2 as payload (you can use grub anyway to load linux later on, or use any other bootloader without sticking this in the SPI flash image).<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Em qua, 22 de ago de 2018 às 07:45, Hilbert Tu(</span>杜睿哲<span lang="EN-US">_Pegatron) <<a href="mailto:Hilbert_Tu@pegatroncorp.com">Hilbert_Tu@pegatroncorp.com</a>> escreveu:<o:p></o:p></span></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal"><span lang="EN-US">Hi Nico,<br>
<br>
Confused.<br>
1. I saw " pch: usb_xhci_init" in the boot up log and I think xHCI controller was initialized by coreboot<br>
2. I have used coreboot with grub for Intel Rangeley and BDX-DE platform, the USB interface were working with xHCI controller. That means grub has its own xHCI driver.<br>
3. I am trying u-boot as payload now.<br>
<br>
Sorry I really don't well understand coreboot and grub :P<br>
<br>
-Hilbert<br>
<br>
-----Original Message-----<br>
From: Nico Huber [mailto:<a href="mailto:nico.huber@secunet.com" target="_blank">nico.huber@secunet.com</a>]<br>
Sent: Wednesday, August 22, 2018 4:38 PM<br>
To: Hilbert Tu(</span>杜睿哲<span lang="EN-US">_Pegatron); <a href="mailto:coreboot@coreboot.org" target="_blank">
coreboot@coreboot.org</a><br>
Subject: Re: [coreboot] USB cannot work<br>
<br>
Hi Hilbert,<br>
<br>
Am 22.08.18 um 03:24 schrieb Hilbert Tu(</span>杜睿哲<span lang="EN-US">_Pegatron):<br>
> Maybe you are right. But as I know, CRB Harcuvar is one of supported<br>
> board of Coreboot and it includes xHCI controller and USB interfaces.<br>
<br>
Harcuvar is indeed supported by coreboot. But coreboot only initializes<br>
the hardware up to a point where an OS or bootloader can use it. The OS<br>
or bootloader still needs its own driver for the hardware. This is very<br>
different as in the legacy BIOS/UEFI case (a BIOS would provide a driver<br>
but coreboot doesn't).<br>
<br>
So if you want to use GRUB as a coreboot payload and use USB, GRUB needs<br>
its own driver for the xHCI. I would first try to confirm if or if not<br>
the xHCI works with other payloads (e.g. SeaBIOS, Tianocore, libpayload<br>
based) or an OS.<br>
<br>
Nico<br>
This e-mail and its attachment may contain information that is confidential or privileged, and are solely for the use of the individual to whom this e-mail is addressed. If you are not the intended recipient or have received it accidentally, please immediately
 notify the sender by reply e-mail and destroy all copies of this email and its attachment. Please be advised that any unauthorized use, disclosure, distribution or copying of this email or its attachment is strictly prohibited.<br>
</span>本電子郵件及其附件可能含有機密或依法受特殊管制之資訊,僅供本電子郵件之受文者使用。台端如非本電子郵件之受文者或誤收本電子郵件,請立即回覆郵件通知寄件人,並銷毀本電子郵件之所有複本及附件。任何未經授權而使用、揭露、散佈或複製本電子郵件或其附件之行為,皆嚴格禁止。<span lang="EN-US"><br>
-- <br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org" target="_blank">coreboot@coreboot.org</a><br>
<a href="https://mail.coreboot.org/mailman/listinfo/coreboot" target="_blank">https://mail.coreboot.org/mailman/listinfo/coreboot</a><o:p></o:p></span></p>
</blockquote>
</div>
</div>
</body>
</html>