public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] Help getting Capsule-On-Disk working (CapsuleOnDiskLoadPei and gEdkiiPeiBootInCapsuleOnDiskModePpiGuid)
@ 2024-11-25 23:44 Rebecca Cran
  2024-11-26  1:10 ` Xu, Wei6 via groups.io
  0 siblings, 1 reply; 2+ messages in thread
From: Rebecca Cran @ 2024-11-25 23:44 UTC (permalink / raw)
  To: devel; +Cc: Doug Flick, Zhang, Chao B, Wei6 Xu

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 (#120839): https://edk2.groups.io/g/devel/message/120839
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]
-=-=-=-=-=-=-=-=-=-=-=-



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

* Re: [edk2-devel] Help getting Capsule-On-Disk working (CapsuleOnDiskLoadPei and gEdkiiPeiBootInCapsuleOnDiskModePpiGuid)
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Xu, Wei6 via groups.io @ 2024-11-26  1:10 UTC (permalink / raw)
  To: Rebecca Cran, devel@edk2.groups.io; +Cc: Doug Flick, Zhang, Chao B

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]
-=-=-=-=-=-=-=-=-=-=-=-



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

end of thread, other threads:[~2024-11-26  1:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox