public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Self-replicating image
@ 2019-02-08 14:42 Tomas Pilar (tpilar)
  2019-02-08 17:16 ` Andrew Fish
  0 siblings, 1 reply; 6+ messages in thread
From: Tomas Pilar (tpilar) @ 2019-02-08 14:42 UTC (permalink / raw)
  To: edk2-devel@lists.01.org

Hi,

I am currently pondering the most elegant way to implement capsule update for our devices that would work in the presence of multiple devices in the host.

Capsule allows embedding a driver that is executed prior to the update, which is very handy. Crypto library is quite large and would not fit into an OptionROM, so being able to supply FMP driver in the capsule is great.

However, if only one instance of the driver loads, the FMP upstream is currently written to support only one device per instance. So I wonder if there is a easy, neat way for my image to replicate on DriverBinding so that I end up with one instance per device.

It looks like I should be able to do it with gBS->LoadImage() and passing information about currently loaded image though I might have to CopyMem() the image itself to new location.

Thoughts?

Cheers,
Tom


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

end of thread, other threads:[~2019-02-28 10:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-08 14:42 Self-replicating image Tomas Pilar (tpilar)
2019-02-08 17:16 ` Andrew Fish
2019-02-08 17:59   ` Kinney, Michael D
2019-02-11 10:37     ` Tomas Pilar (tpilar)
2019-02-28  3:33       ` Kinney, Michael D
2019-02-28 10:48         ` Tomas Pilar (tpilar)

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