From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 79B1081CEA for ; Mon, 14 Nov 2016 09:49:30 -0800 (PST) Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9EB746DDCB; Mon, 14 Nov 2016 17:49:34 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-50.phx2.redhat.com [10.3.116.50]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uAEHnXHL031769; Mon, 14 Nov 2016 12:49:33 -0500 To: Kurt Kennett References: <2edf5a12-f36d-9093-500f-655123e611ad@redhat.com> Cc: "edk2-devel@lists.01.org" , "Ni, Ruiyu" From: Laszlo Ersek Message-ID: Date: Mon, 14 Nov 2016 18:49:32 +0100 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: X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Mon, 14 Nov 2016 17:49:34 +0000 (UTC) Subject: Re: Headless devices - BDS to use? X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Nov 2016 17:49:30 -0000 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit On 11/14/16 18:21, Kurt Kennett wrote: > Okay, but there is no reference or example for such, correct? Sorry, I was too terse. Yes, there are at least two examples. Please see OvmfPkg/OvmfPkgX64.dsc or ArmVirtPkg/ArmVirtQemu.dsc. It seems (from a build report) that BdsDxe inherits a depex of gEfiHiiStringProtocolGuid AND gEfiHiiDatabaseProtocolGuid AND gEfiHiiConfigRoutingProtocolGuid from the "MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf" library instance. These protocols are provided if you include "MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf" in your platform DSC. > Right now people who don't have a display must fumble about trying to get Hii resources they don't need, understand, or use to get it to work? I think the following section from ArmVirtQemu.dsc can be used well enough as an example: # # Bds # [...] MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf MdeModulePkg/Universal/BdsDxe/BdsDxe.inf MdeModulePkg/Logo/LogoDxe.inf MdeModulePkg/Application/UiApp/UiApp.inf { NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf } I'm sure Ray (CC'd) will be able to advise you better. I assume Nt32Pkg and EmulatorPkg should be possible examples too. > And there is no boot manager menu that is not graphics based? The above set of drivers provides a dialog / form based setup utility (incl. boot manager) that works well on serial. Also, IIRC the BCFG command can be used from the UEFI shell. Thanks Laszlo > > K2 > > -----Original Message----- > From: Laszlo Ersek [mailto:lersek@redhat.com] > Sent: Monday, November 14, 2016 9:19 AM > To: Kurt Kennett > Cc: edk2-devel@lists.01.org > Subject: Re: [edk2] Headless devices - BDS to use? > > On 11/14/16 17:51, Kurt Kennett wrote: >> What BDS are headless devices (no display, serial port only) supposed to use? >> >> The MdeModulePkg one seems to require Hii resources in order to work at all. > > It may require HII resources, but it works fine with just a serial port. > > Thanks > Laszlo > >> The ArmPlatformPkg BDS (that supported headless devices just fine) seems to be gone now. >> >> K2 >> _______________________________________________ >> edk2-devel mailing list >> edk2-devel@lists.01.org >> https://lists.01.org/mailman/listinfo/edk2-devel >> >