public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Xu, Wei6 via groups.io" <wei6.xu=intel.com@groups.io>
To: Rebecca Cran <rebecca@bsdio.com>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: Doug Flick <dougflick@microsoft.com>,
	"Zhang, Chao B" <chao.b.zhang@intel.com>
Subject: Re: [edk2-devel] Help getting Capsule-On-Disk working (CapsuleOnDiskLoadPei and gEdkiiPeiBootInCapsuleOnDiskModePpiGuid)
Date: Tue, 26 Nov 2024 01:10:45 +0000	[thread overview]
Message-ID: <CH3PR11MB83429A764FF21D9DE47F5C7DA12F2@CH3PR11MB8342.namprd11.prod.outlook.com> (raw)
In-Reply-To: <360b56e9-36af-4678-9fb2-d8ea2976fba7@bsdio.com>

Hi Rebecca,

Yes, you are right. CapsuleOnDiskLoadPei should be used, and platform code is supposed to produce the gEdkiiPeiBootInCapsuleOnDiskModePpiGuid.
Please refer this guide: https://github.com/tianocore/edk2-staging/tree/UEFI_CapsuleOnDisk?tab=readme-ov-file#how-to-enable-capsule-on-disk

BR,
Wei
>-----Original Message-----
>From: Rebecca Cran <rebecca@bsdio.com>
>Sent: Tuesday, November 26, 2024 7:45 AM
>To: devel@edk2.groups.io
>Cc: Doug Flick <dougflick@microsoft.com>; Zhang, Chao B
><chao.b.zhang@intel.com>; Xu, Wei6 <wei6.xu@intel.com>
>Subject: Help getting Capsule-On-Disk working (CapsuleOnDiskLoadPei and
>gEdkiiPeiBootInCapsuleOnDiskModePpiGuid)
>
>I'm trying to get capsule-on-disk support added to some firmware, and while I
>can get the CoD via NVRAM method working (where fwupd-efi runs as a boot
>option) I'm struggling to get the native CoD process working where I'm
>expecting to be able to see a progress bar as firmware is flashed. At the
>moment I see OsIndications being set correctly, but I'm missing some driver to
>handle it.
>
>
>Should I be using CapsuleOnDiskLoadPei? If so, where is
>gEdkiiPeiBootInCapsuleOnDiskModePpiGuid supposed to get produced? I
>don't see any drivers that PRODUCES it - is each platform supposed to
>implement it?
>
>I'm working on an AArch64 system where I'm pretty sure memory isn't
>retained between reboots so Capsule-In-Memory won't work.
>
>
>--
>
>Rebecca Cran



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#120840): https://edk2.groups.io/g/devel/message/120840
Mute This Topic: https://groups.io/mt/109781919/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



      reply	other threads:[~2024-11-26  1:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-25 23:44 [edk2-devel] Help getting Capsule-On-Disk working (CapsuleOnDiskLoadPei and gEdkiiPeiBootInCapsuleOnDiskModePpiGuid) Rebecca Cran
2024-11-26  1:10 ` Xu, Wei6 via groups.io [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=CH3PR11MB83429A764FF21D9DE47F5C7DA12F2@CH3PR11MB8342.namprd11.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