<div dir="ltr">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).<div><br></div></div><br><div class="gmail_quote"><div dir="ltr">Em qua, 22 de ago de 2018 às 07:45, Hilbert Tu(杜睿哲_Pegatron) <<a href="mailto:Hilbert_Tu@pegatroncorp.com">Hilbert_Tu@pegatroncorp.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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(杜睿哲_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(杜睿哲_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>
本電子郵件及其附件可能含有機密或依法受特殊管制之資訊,僅供本電子郵件之受文者使用。台端如非本電子郵件之受文者或誤收本電子郵件,請立即回覆郵件通知寄件人,並銷毀本電子郵件之所有複本及附件。任何未經授權而使用、揭露、散佈或複製本電子郵件或其附件之行為,皆嚴格禁止。<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" rel="noreferrer" target="_blank">https://mail.coreboot.org/mailman/listinfo/coreboot</a></blockquote></div>