* Headless devices - BDS to use? @ 2016-11-14 16:51 Kurt Kennett 2016-11-14 17:18 ` Laszlo Ersek 0 siblings, 1 reply; 8+ messages in thread From: Kurt Kennett @ 2016-11-14 16:51 UTC (permalink / raw) To: edk2-devel@lists.01.org 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. The ArmPlatformPkg BDS (that supported headless devices just fine) seems to be gone now. K2 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Headless devices - BDS to use? 2016-11-14 16:51 Headless devices - BDS to use? Kurt Kennett @ 2016-11-14 17:18 ` Laszlo Ersek 2016-11-14 17:21 ` Kurt Kennett 0 siblings, 1 reply; 8+ messages in thread From: Laszlo Ersek @ 2016-11-14 17:18 UTC (permalink / raw) To: Kurt Kennett; +Cc: edk2-devel@lists.01.org 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 > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Headless devices - BDS to use? 2016-11-14 17:18 ` Laszlo Ersek @ 2016-11-14 17:21 ` Kurt Kennett 2016-11-14 17:33 ` Kinney, Michael D 2016-11-14 17:49 ` Laszlo Ersek 0 siblings, 2 replies; 8+ messages in thread From: Kurt Kennett @ 2016-11-14 17:21 UTC (permalink / raw) To: Laszlo Ersek; +Cc: edk2-devel@lists.01.org Okay, but there is no reference or example for such, correct? 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? And there is no boot manager menu that is not graphics based? K2 -----Original Message----- From: Laszlo Ersek [mailto:lersek@redhat.com] Sent: Monday, November 14, 2016 9:19 AM To: Kurt Kennett <Kurt.Kennett@microsoft.com> Cc: edk2-devel@lists.01.org <edk2-devel@ml01.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 > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Headless devices - BDS to use? 2016-11-14 17:21 ` Kurt Kennett @ 2016-11-14 17:33 ` Kinney, Michael D 2016-11-14 17:36 ` Kurt Kennett 2016-11-14 17:49 ` Laszlo Ersek 1 sibling, 1 reply; 8+ messages in thread From: Kinney, Michael D @ 2016-11-14 17:33 UTC (permalink / raw) To: Kurt Kennett, Laszlo Ersek, Kinney, Michael D; +Cc: edk2-devel@lists.01.org K2, The QuarkPlatformPkg is an example of a serial only console platform that uses MdeModulePkg BDS. Mike > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Kurt > Kennett > Sent: Monday, November 14, 2016 9:21 AM > To: Laszlo Ersek <lersek@redhat.com> > Cc: edk2-devel@lists.01.org <edk2-devel@ml01.01.org> > Subject: Re: [edk2] Headless devices - BDS to use? > > Okay, but there is no reference or example for such, correct? > > 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? > > And there is no boot manager menu that is not graphics based? > > K2 > > -----Original Message----- > From: Laszlo Ersek [mailto:lersek@redhat.com] > Sent: Monday, November 14, 2016 9:19 AM > To: Kurt Kennett <Kurt.Kennett@microsoft.com> > Cc: edk2-devel@lists.01.org <edk2-devel@ml01.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 > > > > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Headless devices - BDS to use? 2016-11-14 17:33 ` Kinney, Michael D @ 2016-11-14 17:36 ` Kurt Kennett 2016-11-14 17:41 ` Kinney, Michael D 2016-11-14 17:54 ` Laszlo Ersek 0 siblings, 2 replies; 8+ messages in thread From: Kurt Kennett @ 2016-11-14 17:36 UTC (permalink / raw) To: Kinney, Michael D, Laszlo Ersek; +Cc: edk2-devel@lists.01.org But it is pulling in: INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf Which are display based components. Are these required in the image even though they are not used? A browser and display engine take up a lot of space on a constrained storage system. K2 -----Original Message----- From: Kinney, Michael D [mailto:michael.d.kinney@intel.com] Sent: Monday, November 14, 2016 9:34 AM To: Kurt Kennett <Kurt.Kennett@microsoft.com>; Laszlo Ersek <lersek@redhat.com>; Kinney, Michael D <michael.d.kinney@intel.com> Cc: edk2-devel@lists.01.org <edk2-devel@ml01.01.org> Subject: RE: [edk2] Headless devices - BDS to use? K2, The QuarkPlatformPkg is an example of a serial only console platform that uses MdeModulePkg BDS. Mike > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of > Kurt Kennett > Sent: Monday, November 14, 2016 9:21 AM > To: Laszlo Ersek <lersek@redhat.com> > Cc: edk2-devel@lists.01.org <edk2-devel@ml01.01.org> > Subject: Re: [edk2] Headless devices - BDS to use? > > Okay, but there is no reference or example for such, correct? > > 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? > > And there is no boot manager menu that is not graphics based? > > K2 > > -----Original Message----- > From: Laszlo Ersek [mailto:lersek@redhat.com] > Sent: Monday, November 14, 2016 9:19 AM > To: Kurt Kennett <Kurt.Kennett@microsoft.com> > Cc: edk2-devel@lists.01.org <edk2-devel@ml01.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 > > > > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Headless devices - BDS to use? 2016-11-14 17:36 ` Kurt Kennett @ 2016-11-14 17:41 ` Kinney, Michael D 2016-11-14 17:54 ` Laszlo Ersek 1 sibling, 0 replies; 8+ messages in thread From: Kinney, Michael D @ 2016-11-14 17:41 UTC (permalink / raw) To: Kurt Kennett, Laszlo Ersek, Kinney, Michael D; +Cc: edk2-devel@lists.01.org K2, Those are only required for platforms that support user configuration. The QuarkPlatformPkg supports UEFI Secure Boot which requires a Setup Browser. If a platform does not require any user configuration, then these can be removed. Best regards, Mike > -----Original Message----- > From: Kurt Kennett [mailto:Kurt.Kennett@microsoft.com] > Sent: Monday, November 14, 2016 9:36 AM > To: Kinney, Michael D <michael.d.kinney@intel.com>; Laszlo Ersek > <lersek@redhat.com> > Cc: edk2-devel@lists.01.org <edk2-devel@ml01.01.org> > Subject: RE: [edk2] Headless devices - BDS to use? > > But it is pulling in: > > INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf > INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf > > Which are display based components. Are these required in the image even though > they are not used? > > A browser and display engine take up a lot of space on a constrained storage > system. > > K2 > > -----Original Message----- > From: Kinney, Michael D [mailto:michael.d.kinney@intel.com] > Sent: Monday, November 14, 2016 9:34 AM > To: Kurt Kennett <Kurt.Kennett@microsoft.com>; Laszlo Ersek <lersek@redhat.com>; > Kinney, Michael D <michael.d.kinney@intel.com> > Cc: edk2-devel@lists.01.org <edk2-devel@ml01.01.org> > Subject: RE: [edk2] Headless devices - BDS to use? > > K2, > > The QuarkPlatformPkg is an example of a serial only console platform that uses > MdeModulePkg BDS. > > Mike > > > -----Original Message----- > > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of > > Kurt Kennett > > Sent: Monday, November 14, 2016 9:21 AM > > To: Laszlo Ersek <lersek@redhat.com> > > Cc: edk2-devel@lists.01.org <edk2-devel@ml01.01.org> > > Subject: Re: [edk2] Headless devices - BDS to use? > > > > Okay, but there is no reference or example for such, correct? > > > > 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? > > > > And there is no boot manager menu that is not graphics based? > > > > K2 > > > > -----Original Message----- > > From: Laszlo Ersek [mailto:lersek@redhat.com] > > Sent: Monday, November 14, 2016 9:19 AM > > To: Kurt Kennett <Kurt.Kennett@microsoft.com> > > Cc: edk2-devel@lists.01.org <edk2-devel@ml01.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 > > > > > > > _______________________________________________ > > edk2-devel mailing list > > edk2-devel@lists.01.org > > https://lists.01.org/mailman/listinfo/edk2-devel ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Headless devices - BDS to use? 2016-11-14 17:36 ` Kurt Kennett 2016-11-14 17:41 ` Kinney, Michael D @ 2016-11-14 17:54 ` Laszlo Ersek 1 sibling, 0 replies; 8+ messages in thread From: Laszlo Ersek @ 2016-11-14 17:54 UTC (permalink / raw) To: Kurt Kennett, Kinney, Michael D; +Cc: edk2-devel@lists.01.org On 11/14/16 18:36, Kurt Kennett wrote: > But it is pulling in: > > INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf > INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf > > Which are display based components. Are these required in the image even though they are not used? > > A browser and display engine take up a lot of space on a constrained storage system. The display output is character console based. It can be multiplexed to several separate outputs, such as graphical consoles and serial terminals, by including GraphicsConsoleDxe, ConSplitterDxe, ConPlatformDxe. If you have no GOP, and only one serial console, then TerminalDxe should be all you need. The driver / protocol stack is not simple to see through (I'm sure I've made a few mistakes above), but it is very modular. (I occasionally spend the time to understand it all, and then I forget the details again.) It should be possible to build up what you need (and only what you need) iteratively. Thanks Laszlo > > K2 > > -----Original Message----- > From: Kinney, Michael D [mailto:michael.d.kinney@intel.com] > Sent: Monday, November 14, 2016 9:34 AM > To: Kurt Kennett <Kurt.Kennett@microsoft.com>; Laszlo Ersek <lersek@redhat.com>; Kinney, Michael D <michael.d.kinney@intel.com> > Cc: edk2-devel@lists.01.org <edk2-devel@ml01.01.org> > Subject: RE: [edk2] Headless devices - BDS to use? > > K2, > > The QuarkPlatformPkg is an example of a serial only console platform that uses MdeModulePkg BDS. > > Mike > >> -----Original Message----- >> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of >> Kurt Kennett >> Sent: Monday, November 14, 2016 9:21 AM >> To: Laszlo Ersek <lersek@redhat.com> >> Cc: edk2-devel@lists.01.org <edk2-devel@ml01.01.org> >> Subject: Re: [edk2] Headless devices - BDS to use? >> >> Okay, but there is no reference or example for such, correct? >> >> 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? >> >> And there is no boot manager menu that is not graphics based? >> >> K2 >> >> -----Original Message----- >> From: Laszlo Ersek [mailto:lersek@redhat.com] >> Sent: Monday, November 14, 2016 9:19 AM >> To: Kurt Kennett <Kurt.Kennett@microsoft.com> >> Cc: edk2-devel@lists.01.org <edk2-devel@ml01.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 >>> >> >> _______________________________________________ >> edk2-devel mailing list >> edk2-devel@lists.01.org >> https://lists.01.org/mailman/listinfo/edk2-devel ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Headless devices - BDS to use? 2016-11-14 17:21 ` Kurt Kennett 2016-11-14 17:33 ` Kinney, Michael D @ 2016-11-14 17:49 ` Laszlo Ersek 1 sibling, 0 replies; 8+ messages in thread From: Laszlo Ersek @ 2016-11-14 17:49 UTC (permalink / raw) To: Kurt Kennett; +Cc: edk2-devel@lists.01.org, Ni, Ruiyu 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 { <LibraryClasses> 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 <Kurt.Kennett@microsoft.com> > Cc: edk2-devel@lists.01.org <edk2-devel@ml01.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 >> > ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2016-11-14 17:54 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-11-14 16:51 Headless devices - BDS to use? Kurt Kennett 2016-11-14 17:18 ` Laszlo Ersek 2016-11-14 17:21 ` Kurt Kennett 2016-11-14 17:33 ` Kinney, Michael D 2016-11-14 17:36 ` Kurt Kennett 2016-11-14 17:41 ` Kinney, Michael D 2016-11-14 17:54 ` Laszlo Ersek 2016-11-14 17:49 ` Laszlo Ersek
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox