public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Minimum tianocore payload
@ 2018-09-24 10:40 Jorge Fernandez Monteagudo
  2018-09-24 14:26 ` Kinney, Michael D
  0 siblings, 1 reply; 4+ messages in thread
From: Jorge Fernandez Monteagudo @ 2018-09-24 10:40 UTC (permalink / raw)
  To: edk2-devel@lists.01.org

Hi all,


Is there any example how to reduce the components needed in the tianocore payload

to get a minimum payload? I'm thinking in a payload without console, menu, no configurable

to be used in an embedded system...


Thanks!


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Minimum tianocore payload
  2018-09-24 10:40 Minimum tianocore payload Jorge Fernandez Monteagudo
@ 2018-09-24 14:26 ` Kinney, Michael D
  2018-09-24 15:16   ` Oram, Isaac W
  0 siblings, 1 reply; 4+ messages in thread
From: Kinney, Michael D @ 2018-09-24 14:26 UTC (permalink / raw)
  To: Jorge Fernandez Monteagudo, edk2-devel@lists.01.org,
	Kinney, Michael D

One example is Quark:

  https://github.com/tianocore/edk2/tree/master/QuarkPlatformPkg

It has both a minimum and a full example:

  https://github.com/tianocore/edk2/blob/master/QuarkPlatformPkg/QuarkMin.dsc
  https://github.com/tianocore/edk2/blob/master/QuarkPlatformPkg/QuarkMin.fdf

  https://github.com/tianocore/edk2/blob/master/QuarkPlatformPkg/Quark.dsc
  https://github.com/tianocore/edk2/blob/master/QuarkPlatformPkg/Quark.fdf

The min profiles uses a UART as a console and only supports booting from
FLASH.  It does have a few additional features that could be removed related
to menus and configuration, but at least a good example to study.

Mike

> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-
> bounces@lists.01.org] On Behalf Of Jorge Fernandez
> Monteagudo
> Sent: Monday, September 24, 2018 3:41 AM
> To: edk2-devel@lists.01.org
> Subject: [edk2] Minimum tianocore payload
> 
> Hi all,
> 
> 
> Is there any example how to reduce the components
> needed in the tianocore payload
> 
> to get a minimum payload? I'm thinking in a payload
> without console, menu, no configurable
> 
> to be used in an embedded system...
> 
> 
> Thanks!
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Minimum tianocore payload
  2018-09-24 14:26 ` Kinney, Michael D
@ 2018-09-24 15:16   ` Oram, Isaac W
  2018-09-25 13:29     ` Jorge Fernandez Monteagudo
  0 siblings, 1 reply; 4+ messages in thread
From: Oram, Isaac W @ 2018-09-24 15:16 UTC (permalink / raw)
  To: Jorge Fernandez Monteagudo, edk2-devel@lists.01.org,
	Kinney, Michael D

Jorge,

A couple of other examples can be found in the MinPlatform work.

https://github.com/tianocore/edk2-platforms/blob/devel-MinPlatform/Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/OpenBoardPkg.fdf 
https://github.com/tianocore/edk2-platforms/blob/devel-MinPlatform/Platform/Intel/PurleyOpenBoardPkg/BoardMtOlympus/PlatformPkg.fdf 
Both include https://github.com/tianocore/edk2-platforms/blob/devel-MinPlatform/Platform/Intel/MinPlatformPkg/Include/Fdf/CoreUefiBootInclude.fdf 

FV.FvUefiBootUncompact has enough to boot to UEFI shell, with UART console.
We are looking to further reduce the contents, as the FvUefiBootUncompact contains SATA, USB, etc that aren't strictly necessary.

These three solutions are pretty similar, so cross referencing gets you a reasonable minimum list.  The main differences look to be around silicon policy configuration and boot media supported.

The other FV for OS boot and Security are not necessary initially, but should also be useful after you get minimum identified.  The OS boot FV adds minimal functionality for Linux/Windows style OS and the security FV adds secure boot functionality.

Regards,
Isaac


-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Kinney, Michael D
Sent: Monday, September 24, 2018 7:26 AM
To: Jorge Fernandez Monteagudo <jorgefm@cirsa.com>; edk2-devel@lists.01.org; Kinney, Michael D <michael.d.kinney@intel.com>
Subject: Re: [edk2] Minimum tianocore payload

One example is Quark:

  https://github.com/tianocore/edk2/tree/master/QuarkPlatformPkg

It has both a minimum and a full example:

  https://github.com/tianocore/edk2/blob/master/QuarkPlatformPkg/QuarkMin.dsc
  https://github.com/tianocore/edk2/blob/master/QuarkPlatformPkg/QuarkMin.fdf

  https://github.com/tianocore/edk2/blob/master/QuarkPlatformPkg/Quark.dsc
  https://github.com/tianocore/edk2/blob/master/QuarkPlatformPkg/Quark.fdf

The min profiles uses a UART as a console and only supports booting from FLASH.  It does have a few additional features that could be removed related to menus and configuration, but at least a good example to study.

Mike

> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-
> bounces@lists.01.org] On Behalf Of Jorge Fernandez Monteagudo
> Sent: Monday, September 24, 2018 3:41 AM
> To: edk2-devel@lists.01.org
> Subject: [edk2] Minimum tianocore payload
> 
> Hi all,
> 
> 
> Is there any example how to reduce the components needed in the 
> tianocore payload
> 
> to get a minimum payload? I'm thinking in a payload without console, 
> menu, no configurable
> 
> to be used in an embedded system...
> 
> 
> Thanks!
> _______________________________________________
> 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] 4+ messages in thread

* Re: Minimum tianocore payload
  2018-09-24 15:16   ` Oram, Isaac W
@ 2018-09-25 13:29     ` Jorge Fernandez Monteagudo
  0 siblings, 0 replies; 4+ messages in thread
From: Jorge Fernandez Monteagudo @ 2018-09-25 13:29 UTC (permalink / raw)
  To: Oram, Isaac W, edk2-devel@lists.01.org, Kinney, Michael D

Hi all,


Thanks for your suggestions! I've been able to remove some unused modules comparing both Quartz dsc versions

and finally to avoid any info on screen I've added a very rude patch but it works:


--- a/IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c
+++ b/IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c
@@ -871,6 +871,8 @@ ShowProgress (
   EFI_GRAPHICS_OUTPUT_BLT_PIXEL Background;
   EFI_GRAPHICS_OUTPUT_BLT_PIXEL Color;

+  return EFI_TIMEOUT;
+
   if (TimeoutDefault != 0) {
     DEBUG ((EFI_D_INFO, "\n\nStart showing progress bar... Press any key to stop it! ...Zzz....\n"));

I don't need any info on screen and no keys entries, only go to the boot devices as fast as possible...

Regards
________________________________
De: Oram, Isaac W <isaac.w.oram@intel.com>
Enviado: lunes, 24 de septiembre de 2018 17:16:56
Para: Jorge Fernandez Monteagudo; edk2-devel@lists.01.org; Kinney, Michael D
Asunto: RE: Minimum tianocore payload

Jorge,

A couple of other examples can be found in the MinPlatform work.

https://github.com/tianocore/edk2-platforms/blob/devel-MinPlatform/Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/OpenBoardPkg.fdf
https://github.com/tianocore/edk2-platforms/blob/devel-MinPlatform/Platform/Intel/PurleyOpenBoardPkg/BoardMtOlympus/PlatformPkg.fdf
Both include https://github.com/tianocore/edk2-platforms/blob/devel-MinPlatform/Platform/Intel/MinPlatformPkg/Include/Fdf/CoreUefiBootInclude.fdf

FV.FvUefiBootUncompact has enough to boot to UEFI shell, with UART console.
We are looking to further reduce the contents, as the FvUefiBootUncompact contains SATA, USB, etc that aren't strictly necessary.

These three solutions are pretty similar, so cross referencing gets you a reasonable minimum list.  The main differences look to be around silicon policy configuration and boot media supported.

The other FV for OS boot and Security are not necessary initially, but should also be useful after you get minimum identified.  The OS boot FV adds minimal functionality for Linux/Windows style OS and the security FV adds secure boot functionality.

Regards,
Isaac


-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Kinney, Michael D
Sent: Monday, September 24, 2018 7:26 AM
To: Jorge Fernandez Monteagudo <jorgefm@cirsa.com>; edk2-devel@lists.01.org; Kinney, Michael D <michael.d.kinney@intel.com>
Subject: Re: [edk2] Minimum tianocore payload

One example is Quark:

  https://github.com/tianocore/edk2/tree/master/QuarkPlatformPkg

It has both a minimum and a full example:

  https://github.com/tianocore/edk2/blob/master/QuarkPlatformPkg/QuarkMin.dsc
  https://github.com/tianocore/edk2/blob/master/QuarkPlatformPkg/QuarkMin.fdf

  https://github.com/tianocore/edk2/blob/master/QuarkPlatformPkg/Quark.dsc
  https://github.com/tianocore/edk2/blob/master/QuarkPlatformPkg/Quark.fdf

The min profiles uses a UART as a console and only supports booting from FLASH.  It does have a few additional features that could be removed related to menus and configuration, but at least a good example to study.

Mike

> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-
> bounces@lists.01.org] On Behalf Of Jorge Fernandez Monteagudo
> Sent: Monday, September 24, 2018 3:41 AM
> To: edk2-devel@lists.01.org
> Subject: [edk2] Minimum tianocore payload
>
> Hi all,
>
>
> Is there any example how to reduce the components needed in the
> tianocore payload
>
> to get a minimum payload? I'm thinking in a payload without console,
> menu, no configurable
>
> to be used in an embedded system...
>
>
> Thanks!
> _______________________________________________
> 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] 4+ messages in thread

end of thread, other threads:[~2018-09-25 13:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-24 10:40 Minimum tianocore payload Jorge Fernandez Monteagudo
2018-09-24 14:26 ` Kinney, Michael D
2018-09-24 15:16   ` Oram, Isaac W
2018-09-25 13:29     ` Jorge Fernandez Monteagudo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox