From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1ckpPo-0005WB-Rr for mharc-grub-devel@gnu.org; Mon, 06 Mar 2017 04:58:52 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ckpPl-0005VY-Oy for grub-devel@gnu.org; Mon, 06 Mar 2017 04:58:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ckpPk-0006Ts-8R for grub-devel@gnu.org; Mon, 06 Mar 2017 04:58:49 -0500 Received: from mail-ua0-x236.google.com ([2607:f8b0:400c:c08::236]:34535) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ckpPk-0006Tg-3v for grub-devel@gnu.org; Mon, 06 Mar 2017 04:58:48 -0500 Received: by mail-ua0-x236.google.com with SMTP id f54so161553846uaa.1 for ; Mon, 06 Mar 2017 01:58:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=wvxeinNG4tdqvfuo/U+GOxI7xgExmB4VK0grOcy+pMk=; b=oEIX9RhgfdFBteRrMWorNQiqEbs6UeS65XOZRDw4bsPar8vaXmeVadhON6VrF/Ored LGnbPw0aCpIpvGetwMEkJ/pyUZwaj+5PZzyAEMsqBj9GxAHfTFNQrMwvH9HFFMEEzc4+ e9ldI+8UqEfnn/dZoOdP7E1ukkyFxaQtG+UVCFtYADSE9IWV65aKlS3tAQ/6OojynW3p V4kvgPkmLMHDAnPWWoVvLpzsy3I5pJpY1KA0HmbvnzKD0R8KS9UCCiwWYAf5jOlcjPsy no13kXSrkMzwAh2a1BZXhfof089PejEgf/bhBLwzefIIERZjtm/QXi7w5R+fRaLHUNy4 GhbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=wvxeinNG4tdqvfuo/U+GOxI7xgExmB4VK0grOcy+pMk=; b=sFNfZ7St7jNisL1AurryYipeiVmqekRpnWwhMPJq6GQqgCQ22vCRsm0ohEuc5skcer yF+QC/WRB9a5LjhsxjyyZAAAEUsvPsx10DgSVfP2c1R1mR0/tvdrA1p2SwFnhGK4pqO2 h/dncNsczxMjPipoWCg8GTgHcCpLfC6I7wCeNnmnjT8TZIDEg7WfMaTifqu3am6NULJC j+WzlG6t7x4lSOI7bQa4WZPHWPsk1ALbzfCDAKKWRreF2PG60Z+Ki93dzicbezA2SwFC LquvZtR25ayiZHDUU7wl5Ctrp52gjV92XEJFWPAfA6udLdiXdrEHRFpul0PeWyIFAtUR TjRg== X-Gm-Message-State: AMke39kbEidwa0Unqggt5nufJ2j/oH034W5drST5P+bLJz17rFvA0NWQ8Q0hVvHoJP5Gu8j7dhbONGiV5MYOFA== X-Received: by 10.176.66.134 with SMTP id j6mr5293547uaj.135.1488794327376; Mon, 06 Mar 2017 01:58:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.159.54.240 with HTTP; Mon, 6 Mar 2017 01:58:46 -0800 (PST) In-Reply-To: References: From: Gailu Singh Date: Mon, 6 Mar 2017 15:28:46 +0530 Message-ID: Subject: Re: USB3.0 XHCI support on GRUB2 To: =?UTF-8?Q?Bj=C3=B8rn_Forsman?= Cc: Andrei Borzenkov , The development of GNU GRUB Content-Type: multipart/alternative; boundary=94eb2c09591206e780054a0cf14e X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400c:c08::236 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2017 09:58:51 -0000 --94eb2c09591206e780054a0cf14e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Though I get shell but I am unable to use it as keyboard is not working and serial console also does not work because board has only memory mapped UART not supported in grub There seems to be two controller with vendor and device id as follows 8086:5aa8 8086:5aaa This is based on lspci output on Linux root@localhost:~# lspci -nn 00:00.0 Host bridge [0600]: Intel Corporation Device [8086:5af0] (rev 0b) 00:00.1 Signal processing controller [1180]: Intel Corporation Device [8086:5a8c] (rev 0b) 00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:5a84] (rev 0b) 00:0e.0 Audio device [0403]: Intel Corporation Device [8086:5a98] (rev 0b) 00:0f.0 Communication controller [0780]: Intel Corporation Device [8086:5a9a] (rev 0b) 00:11.0 Unclassified device [0050]: Intel Corporation Device [8086:5aa2] (rev 0b) 00:12.0 SATA controller [0106]: Intel Corporation Device [8086:5ae3] (rev 0b) 00:13.0 PCI bridge [0604]: Intel Corporation Device [8086:5ad8] (rev fb) 00:13.2 PCI bridge [0604]: Intel Corporation Device [8086:5ada] (rev fb) 00:13.3 PCI bridge [0604]: Intel Corporation Device [8086:5adb] (rev fb) 00:14.0 PCI bridge [0604]: Intel Corporation Device [8086:5ad6] (rev fb) 00:14.1 PCI bridge [0604]: Intel Corporation Device [8086:5ad7] (rev fb) 00:15.0 USB controller [0c03]: Intel Corporation Device [8086:5aa8] (rev 0b= ) 00:15.1 USB controller [0c03]: Intel Corporation Device [8086:5aaa] (rev 0b= ) 00:16.0 Signal processing controller [1180]: Intel Corporation Device [8086:5aac] (rev 0b) 00:16.1 Signal processing controller [1180]: Intel Corporation Device [8086:5aae] (rev 0b) 00:16.2 Signal processing controller [1180]: Intel Corporation Device [8086:5ab0] (rev 0b) 00:16.3 Signal processing controller [1180]: Intel Corporation Device [8086:5ab2] (rev 0b) 00:17.0 Signal processing controller [1180]: Intel Corporation Device [8086:5ab4] (rev 0b) 00:17.1 Signal processing controller [1180]: Intel Corporation Device [8086:5ab6] (rev 0b) 00:17.2 Signal processing controller [1180]: Intel Corporation Device [8086:5ab8] (rev 0b) 00:17.3 Signal processing controller [1180]: Intel Corporation Device [8086:5aba] (rev 0b) 00:18.0 Signal processing controller [1180]: Intel Corporation Device [8086:5abc] (rev 0b) 00:18.1 Signal processing controller [1180]: Intel Corporation Device [8086:5abe] (rev 0b) 00:18.2 Signal processing controller [1180]: Intel Corporation Device [8086:5ac0] (rev 0b) 00:18.3 Signal processing controller [1180]: Intel Corporation Device [8086:5aee] (rev 0b) 00:19.0 Signal processing controller [1180]: Intel Corporation Device [8086:5ac2] (rev 0b) 00:19.1 Signal processing controller [1180]: Intel Corporation Device [8086:5ac4] (rev 0b) 00:19.2 Signal processing controller [1180]: Intel Corporation Device [8086:5ac6] (rev 0b) 00:1b.0 SD Host controller [0805]: Intel Corporation Device [8086:5aca] (rev 0b) 00:1c.0 SD Host controller [0805]: Intel Corporation Device [8086:5acc] (rev 0b) 00:1e.0 SD Host controller [0805]: Intel Corporation Device [8086:5ad0] (rev 0b) 00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:5ae8] (rev 0b) 00:1f.1 SMBus [0c05]: Intel Corporation Device [8086:5ad4] (rev 0b) 02:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:157b] (rev 03) root@localhost:~# On Mon, Mar 6, 2017 at 3:13 PM, Bj=C3=B8rn Forsman wrote: > On 5 March 2017 at 18:22, Gailu Singh wrote: > > git clone https://github.com/bjornfor/grub/ > > git checkout add-coreboot-xhci-driver-2nd-attempt-v2 > > ./autogen.sh > > ./configure --with-platform=3Dcoreboot > > make > > ------------------ > > > > BTW I changed the include directive in C files just to compile it and > would > > like to update that I included xhci module in grub.elf but there is no > sign > > of life on USB keyboard that is connected to USB3.0 on Intel Oxbohill C= RB > > (Apollolake SOC). > > Just for reference, what is the PCI product and device ID of that > controller? If you get to the grub shell, type "xhci" to view it. > > Best regards, > Bj=C3=B8rn Forsman > --94eb2c09591206e780054a0cf14e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Though I get shell but I am unable to use it as keybo= ard is not working and serial console also does not work because board has = only memory mapped UART not supported in grub

Ther= e seems to be two controller with vendor and device id as follows
8086:5aa8
8086:5aaa

<= span style=3D"font-size:12.8px">This is based on lspci output on Linux

root@localhost:= ~# lspci -nn
00:00.0 Host bridge [0600= ]: Intel Corporation Device [8086:5af0] (rev 0b)
00:00.1 Signal processing controller [1180]: Intel Corporation D= evice [8086:5a8c] (rev 0b)
00:02.0 VGA= compatible controller [0300]: Intel Corporation Device [8086:5a84] (rev 0b= )
00:0e.0 Audio device [0403]: Intel C= orporation Device [8086:5a98] (rev 0b)
00:0f.0 Communication controller [0780]: Intel Corporation Device [8086:5a= 9a] (rev 0b)
00:11.0 Unclassified devi= ce [0050]: Intel Corporation Device [8086:5aa2] (rev 0b)
00:12.0 SATA controller [0106]: Intel Corporation Device= [8086:5ae3] (rev 0b)
00:13.0 PCI brid= ge [0604]: Intel Corporation Device [8086:5ad8] (rev fb)
00:13.2 PCI bridge [0604]: Intel Corporation Device [808= 6:5ada] (rev fb)
00:13.3 PCI bridge [0= 604]: Intel Corporation Device [8086:5adb] (rev fb)
00:14.0 PCI bridge [0604]: Intel Corporation Device [8086:5ad= 6] (rev fb)
00:14.1 PCI bridge [0604]:= Intel Corporation Device [8086:5ad7] (rev fb)
00:15.0 USB controller [0c03]: Intel Corporation Device [8086:5aa8= ] (rev 0b)
00:15.1 USB controller [0c0= 3]: Intel Corporation Device [8086:5aaa] (rev 0b)
00:16.0 Signal processing controller [1180]: Intel Corporation = Device [8086:5aac] (rev 0b)
00:16.1 Si= gnal processing controller [1180]: Intel Corporation Device [8086:5aae] (re= v 0b)
00:16.2 Signal processing contro= ller [1180]: Intel Corporation Device [8086:5ab0] (rev 0b)
00:16.3 Signal processing controller [1180]: Intel Co= rporation Device [8086:5ab2] (rev 0b)
= 00:17.0 Signal processing controller [1180]: Intel Corporation Device [8086= :5ab4] (rev 0b)
00:17.1 Signal process= ing controller [1180]: Intel Corporation Device [8086:5ab6] (rev 0b)
<= div style=3D"font-size:12.8px">00:17.2 Signal processing controller [1180]:= Intel Corporation Device [8086:5ab8] (rev 0b)
00:17.3 Signal processing controller [1180]: Intel Corporation Dev= ice [8086:5aba] (rev 0b)
00:18.0 Signa= l processing controller [1180]: Intel Corporation Device [8086:5abc] (rev 0= b)
00:18.1 Signal processing controlle= r [1180]: Intel Corporation Device [8086:5abe] (rev 0b)
00:18.2 Signal processing controller [1180]: Intel Corpor= ation Device [8086:5ac0] (rev 0b)
00:1= 8.3 Signal processing controller [1180]: Intel Corporation Device [8086:5ae= e] (rev 0b)
00:19.0 Signal processing = controller [1180]: Intel Corporation Device [8086:5ac2] (rev 0b)
00:19.1 Signal processing controller [1180]: Int= el Corporation Device [8086:5ac4] (rev 0b)
00:19.2 Signal processing controller [1180]: Intel Corporation Device = [8086:5ac6] (rev 0b)
00:1b.0 SD Host c= ontroller [0805]: Intel Corporation Device [8086:5aca] (rev 0b)
00:1c.0 SD Host controller [0805]: Intel Corporat= ion Device [8086:5acc] (rev 0b)
00:1e.= 0 SD Host controller [0805]: Intel Corporation Device [8086:5ad0] (rev 0b)<= /div>
00:1f.0 ISA bridge [0601]: Intel Corpo= ration Device [8086:5ae8] (rev 0b)
00:= 1f.1 SMBus [0c05]: Intel Corporation Device [8086:5ad4] (rev 0b)
02:00.0 Ethernet controller [0200]: Intel Corpor= ation I210 Gigabit Network Connection [8086:157b] (rev 03)
root@localhost:~#

On Mon, Mar 6, 2017 at 3:13 PM, Bj= =C3=B8rn Forsman <bjorn.forsman@gmail.com> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">On 5 March 2017 at 18:22, Ga= ilu Singh <gailu96@gmail.com>= ; wrote:
> git clone https://github.com/bjornfor/grub/
> git checkout add-coreboot-xhci-driver-2nd-attempt-v2
> ./autogen.sh
> ./configure --with-platform=3Dcoreboot
> make
> ------------------
>
> BTW I changed the include directive in C files just to compile it and = would
> like to update that I included xhci module in grub.elf but there is no= sign
> of life on USB keyboard that is connected to USB3.0 on Intel Oxbohill = CRB
> (Apollolake SOC).

Just for reference, what is the PCI product and device ID of that controller? If you get to the grub shell, type "xhci" to view it.=

Best regards,
Bj=C3=B8rn Forsman

--94eb2c09591206e780054a0cf14e--