From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1cAhHe-0005eJ-7Z for mharc-grub-devel@gnu.org; Sat, 26 Nov 2016 13:01:06 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cAhHb-0005e9-GP for grub-devel@gnu.org; Sat, 26 Nov 2016 13:01:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cAhHY-0007xS-Fu for grub-devel@gnu.org; Sat, 26 Nov 2016 13:01:03 -0500 Received: from mail.gw90.de ([2a01:4f8:100:7463::3]:38269) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cAhHY-0007w7-8k for grub-devel@gnu.org; Sat, 26 Nov 2016 13:01:00 -0500 Received: from ipservice-092-216-118-131.092.216.pools.vodafone-ip.de ([92.216.118.131] helo=mattotaupa) by mail.gw90.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cAhHU-0003AI-I9; Sat, 26 Nov 2016 18:00:56 +0000 Message-ID: <1480183248.1150.36.camel@users.sourceforge.net> Subject: Re: xHCI driver From: Paul Menzel To: grub-devel@gnu.org Cc: =?ISO-8859-1?Q?Bj=F8rn?= Forsman Date: Sat, 26 Nov 2016 19:00:48 +0100 In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-nOX5jK/hoxyr5z8EEv1h" X-Mailer: Evolution 3.22.2-1 Mime-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:4f8:100:7463::3 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: Sat, 26 Nov 2016 18:01:04 -0000 --=-nOX5jK/hoxyr5z8EEv1h Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear Bj=C3=B8rn, Am Freitag, den 25.11.2016, 13:43 +0100 schrieb Bj=C3=B8rn Forsman: > My name is Bj=C3=B8rn Forsman, first time poster. I've been tasked to mak= e > an xHCI driver for GRUB at my $dayjob. The end goal is to have smart > card (CCID) reader functionality. We already have a working CCID > driver on top of EHCI. I have no prior experience with xHCI (nor EHCI > for that matter), so this is quite the learning experience :-) >=20 > I looked in the GRUB mailing list archive and found a couple of old > threads about xHCI[1], but it looks like there has never been an > attempt at writing that driver. >=20 > Some questions: >=20 > * Is there interest in xHCI driver for GRUB? If so I can post patches > when there is something that works (more or less). >=20 > * I see the iPXE project has an xHCI driver. Any thoughts on using > that as a basis? I'm a bit unsure about the licensing, whether iPXE is > GPLv2 *only* or "at your option, any later version". I guess if it's > GPLv2+ it is compatible with GRUB's GPLv3+, or else not. Correct? The project libpayload, which is used quite a lot in the coreboot community, also provides a well tested xHCI driver [2], which you could use, as it=E2=80=99s BSD licensed. Thanks, Paul > [1]: The "xhci support?" thread from 2012 and "[PATCH]: xHCI/EHCI - > Windows - BIOS bug interaction." from late 2013 which added a quirk > for an Intel controller. [2]: https://review.coreboot.org/cgit/coreboot.git/tree/payloads/libpay load/drivers/usb --=-nOX5jK/hoxyr5z8EEv1h Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQQ8+w9d414FAVARIpk9fVorbA4dWAUCWDnN0AAKCRA9fVorbA4d WMm1AJwKKJpZ9MGnXbAZP0kP7NxvEzHyvgCfYamhRDtPFMuDVipOJzWmlai3wec= =ImyM -----END PGP SIGNATURE----- --=-nOX5jK/hoxyr5z8EEv1h--