public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Jorge Fernandez Monteagudo <jorgefm@cirsa.com>
To: "Oram, Isaac W" <isaac.w.oram@intel.com>,
	"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>,
	"Kinney, Michael D" <michael.d.kinney@intel.com>
Subject: Re: Minimum tianocore payload
Date: Tue, 25 Sep 2018 13:29:23 +0000	[thread overview]
Message-ID: <AM4PR07MB312173138A495EBBA7DFD6DDA1160@AM4PR07MB3121.eurprd07.prod.outlook.com> (raw)
In-Reply-To: <3155A53C14BABF45A364D10949B7414C8A73CDB0@ORSMSX116.amr.corp.intel.com>

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


      reply	other threads:[~2018-09-25 13:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AM4PR07MB312173138A495EBBA7DFD6DDA1160@AM4PR07MB3121.eurprd07.prod.outlook.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox