Hi Hilbert,
Am 22.08.18 um 03:24 schrieb Hilbert Tu(杜睿哲_Pegatron):
Maybe you are right. But as I know, CRB Harcuvar is one of supported board of Coreboot and it includes xHCI controller and USB interfaces.
Harcuvar is indeed supported by coreboot. But coreboot only initializes the hardware up to a point where an OS or bootloader can use it. The OS or bootloader still needs its own driver for the hardware. This is very different as in the legacy BIOS/UEFI case (a BIOS would provide a driver but coreboot doesn't).
So if you want to use GRUB as a coreboot payload and use USB, GRUB needs its own driver for the xHCI. I would first try to confirm if or if not the xHCI works with other payloads (e.g. SeaBIOS, Tianocore, libpayload based) or an OS.
Nico
Hi Nico,
Confused. 1. I saw " pch: usb_xhci_init" in the boot up log and I think xHCI controller was initialized by coreboot 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. 3. I am trying u-boot as payload now.
Sorry I really don't well understand coreboot and grub :P
-Hilbert
-----Original Message----- From: Nico Huber [mailto:nico.huber@secunet.com] Sent: Wednesday, August 22, 2018 4:38 PM To: Hilbert Tu(杜睿哲_Pegatron); coreboot@coreboot.org Subject: Re: [coreboot] USB cannot work
Hi Hilbert,
Am 22.08.18 um 03:24 schrieb Hilbert Tu(杜睿哲_Pegatron):
Maybe you are right. But as I know, CRB Harcuvar is one of supported board of Coreboot and it includes xHCI controller and USB interfaces.
Harcuvar is indeed supported by coreboot. But coreboot only initializes the hardware up to a point where an OS or bootloader can use it. The OS or bootloader still needs its own driver for the hardware. This is very different as in the legacy BIOS/UEFI case (a BIOS would provide a driver but coreboot doesn't).
So if you want to use GRUB as a coreboot payload and use USB, GRUB needs its own driver for the xHCI. I would first try to confirm if or if not the xHCI works with other payloads (e.g. SeaBIOS, Tianocore, libpayload based) or an OS.
Nico 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. 本電子郵件及其附件可能含有機密或依法受特殊管制之資訊,僅供本電子郵件之受文者使用。台端如非本電子郵件之受文者或誤收本電子郵件,請立即回覆郵件通知寄件人,並銷毀本電子郵件之所有複本及附件。任何未經授權而使用、揭露、散佈或複製本電子郵件或其附件之行為,皆嚴格禁止。