From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1cAZIo-0006mh-Bv for mharc-grub-devel@gnu.org; Sat, 26 Nov 2016 04:29:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cAZIl-0006ma-OL for grub-devel@gnu.org; Sat, 26 Nov 2016 04:29:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cAZIi-0006Zm-Jv for grub-devel@gnu.org; Sat, 26 Nov 2016 04:29:43 -0500 Received: from mail-lf0-x22c.google.com ([2a00:1450:4010:c07::22c]:34634) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cAZIi-0006Zh-Bx for grub-devel@gnu.org; Sat, 26 Nov 2016 04:29:40 -0500 Received: by mail-lf0-x22c.google.com with SMTP id o141so64641084lff.1 for ; Sat, 26 Nov 2016 01:29:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=XW/vFLOi83w4/lzFrTEPuaVM09NnIya9R8+7kcbrhew=; b=dupXcNK/bw7CjncQTPwWMy1VDtnBtzggSxMEEAz4/96iktjEMBj+/3KVCu6TzfXE6K 5gRe2LLFpKf02DsOTCTZsLLAL4VFyxZn2nmKP88at7zyQaBf+3n46EqY9c/rGz1UVMyQ bzQvvIrDcjRIcI7A+ngr4QTUgIUeb2yem7OBypWZvmUHvrkdxIF1qCqYZATW73K/LlMB P7c9l/z53XVky/utLMLw4LkNLnGec6w+/fe2H5wj/wW4+Vlwt7lObwRiTGaBBE/l1I1X NTVaRth04NlMtLD7UNExUZFYRySh0zch0S+eY+D44DR0Pw+EGTQO/FQUHQJNOpWX8M1A Kr0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=XW/vFLOi83w4/lzFrTEPuaVM09NnIya9R8+7kcbrhew=; b=m1fW4Gw62CABWytojTHDDRt9BErzjqxyumTlGDOpsx8rEgjitRUgVCLToT+3RggNxQ rAOmPiuOsbnMLX9wW1ozG3K7FxWepJFXZ0FGujT0sAlF6tuzxWmT+TO2oP+bRJavv93n vczMVLTV8f377xxESNqvh9CG2YEx5Ig8R0/o+opJTKvSGocWCsGIYRbjNUhjNzsJG3f3 g0E424ENpO8xdwGsZL4+0ZnXY/p7jQ1WhBZc/a7+FWUFm7IKlOTDeGg9X3hatNiPhzRW fhgm/J1m+ZScRN+37w541ILJGJ2+I+odziyqo6P0GfS3xoeoLbxr2pBd0uiH3FYalyCg 7AMA== X-Gm-Message-State: AKaTC00qrZ8oy0MNP0cjmwaJdC6+g329l4eAZ9SkUst2/Ng+CSlv8FjzPU57tcljejamqw== X-Received: by 10.25.202.6 with SMTP id a6mr5010083lfg.30.1480152578401; Sat, 26 Nov 2016 01:29:38 -0800 (PST) Received: from [192.168.1.44] (ppp109-252-90-110.pppoe.spdop.ru. [109.252.90.110]) by smtp.gmail.com with ESMTPSA id u203sm10293598lff.37.2016.11.26.01.29.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 Nov 2016 01:29:37 -0800 (PST) Subject: Re: xHCI driver To: grub-devel@gnu.org References: From: Andrei Borzenkov Message-ID: <2832b6d2-cf7f-b8fe-340b-7dacb4b0dc98@gmail.com> Date: Sat, 26 Nov 2016 12:29:37 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::22c 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 09:29:45 -0000 25.11.2016 15:43, Bjørn Forsman пишет: > Hi GRUB developers, > > My name is Bjørn Forsman, first time poster. I've been tasked to make > 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 :-) > What platforms do you target? Note that on most platforms grub relies on firmware services to access devices, so those direct hardware access drivers simply are not used. > 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. > > Some questions: > > * Is there interest in xHCI driver for GRUB? If so I can post patches > when there is something that works (more or less). > > * 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? > > Best regards, > Bjørn Forsman > > [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. > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >