public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Raphael G <raphael.glon@corp.ovh.com>
To: <edk2-devel@lists.01.org>
Subject: efi application to update the proc microcode
Date: Mon, 8 Jan 2018 14:32:19 +0100	[thread overview]
Message-ID: <761832e5-77f1-657a-c4ea-c9276a8335b8@corp.ovh.com> (raw)

Hello,

We are currently attempting to find an 'OS-independent' way of applying 
some updated microcode early during the efi boot sequence (note we 
cannot flash the motherboard firmware directly since we have not yet 
been provided with the latest constructor firmwares)

Would it somehow be possible, for motherboards booting in uefi mode, to 
chain an efi application that would apply some microcode bin (in a uefi 
capsule or not) on flight before chaining to the next efi app (the os one) ?

Or do you have any other generic way to do this, regardless of the final 
operating system ?

We have found some interesting hints in edk2 framework, that seem 
promising (IntelSiliconPkg)

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

but so far we have not managed to make it work, so any help/solution 
would be great :)

If possible we do not want to persist anything in any non volatile 
storage at all, just apply it at the right time (we commented the flags 
persist_across_reset+trigger_reset in the capsule fdf for this, not sure 
this was the right thing to do)

# #####################

workflow example: whatever.efi -> chain microcodeupdate.efi (apply 
ucode) -> chain final_os.efi

#!ipxe
echo Fetch images and capsule
imgfetch http://${server}/microcode_efi/MicrocodeUpdateDxe.efi
imgfetch http://${server}/microcode_efi/MICROCODECAPSULE.Cap
chain MicrocodeUpdateDxe.efi MICROCODECAPSULE.Cap || goto fail

[...]


Regards,




                 reply	other threads:[~2018-01-08 13:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=761832e5-77f1-657a-c4ea-c9276a8335b8@corp.ovh.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