public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* OVMF: NV Variable Store Layout of Larger Build Targets
@ 2021-08-21  1:10 Devon Bautista
  2021-08-21  1:17 ` [edk2-devel] " Devon Bautista
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Devon Bautista @ 2021-08-21  1:10 UTC (permalink / raw)
  To: devel; +Cc: ardb+tianocore, jiewen.yao, jordan.l.justen

[-- Attachment #1: Type: text/plain, Size: 1321 bytes --]

Hello All,

I am currently working with the Linuxboot developers to improve testing 
kernel + initramfs pairs in firmware using OVMF.

The current maximum image size of an OVMF image is 4MB, which is 
insufficient for storing even a minimal and compressed kernel and 
initramfs. To get around this, we've been maintaining our own fork of 
EDK2 that adds 8MiB and 16MiB OVMF build targets that have enough room 
in the DXE volume to store a reasonably-sized kernel and initramfs. 
However, it would be convenient if upstream EDK2 supported these larger 
OVMF targets.

In discussing this with the previous OVMF maintainer Laszlo Ersek here 
<https://edk2.groups.io/g/devel/message/75794>, it was brought up that:

  * The trend of the ever-growing DXE-phase warrants a larger firmware
    volume size
  * 8MiB and 16MiB image sizes seem to be justified because of this QEMU
    commit
    <https://github.com/qemu/qemu/commit/0657c657eb37bb48bfd9fe3ae8a323ae3455f47b>

However, as Laszlo mentioned, introducing a larger volume size is 
compatibility breaking, and so seizing the opportunity to come up with a 
larger non-volatile variable store layout is necessary.

That said, I would like to use this thread to discuss among hardware 
vendors an optimal variable store layout for these larger image sizes.

Best,
Devon


[-- Attachment #2: Type: text/html, Size: 2098 bytes --]

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

end of thread, other threads:[~2021-08-30 21:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-21  1:10 OVMF: NV Variable Store Layout of Larger Build Targets Devon Bautista
2021-08-21  1:17 ` [edk2-devel] " Devon Bautista
2021-08-27 14:46 ` Ard Biesheuvel
2021-08-30  6:45 ` [edk2-devel] " Gerd Hoffmann
2021-08-30 17:52   ` Devon Bautista
2021-08-30 21:14     ` Andrew Fish

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