From: "Devon Bautista" <dbautista@newmexicoconsortium.org>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: devel@edk2.groups.io, Ard Biesheuvel <ardb+tianocore@kernel.org>,
Jiewen Yao <jiewen.yao@intel.com>,
Jordan Justen <jordan.l.justen@intel.com>
Subject: Re: [PATCH v2 1/1] OvmfPkg: Introduce 16MiB flash size for (primarily) Linuxboot
Date: Fri, 3 Sep 2021 12:35:56 -0700 [thread overview]
Message-ID: <4c475545-4dd2-309c-8c03-b351decfc3d0@newmexicoconsortium.org> (raw)
In-Reply-To: <20210903071722.ebm4vc4tzsa3sdlu@sirius.home.kraxel.org>
On 9/3/21 12:17 AM, Gerd Hoffmann wrote:
> On Fri, Sep 03, 2021 at 05:26:20AM +0000, Devon Bautista wrote:
>> The largest size flash image currently available for OVMF builds, 4MiB,
>> is too small to insert a Linux kernel and initramfs into the DXEFV, and
>> is thus insufficient for testing Linuxboot builds via OVMF.
>
>> FVMAIN_COMPACT uncompressed 3360 -> 15648 (+12288)
>> FV FFS file LZMA compressed
>> PEIFV uncompressed 896 -> 896 ( +0)
>> individual PEI uncompressed
>> modules
>> DXEFV uncompressed 12288 -> 12288 ( +0)
>> individual DXE uncompressed
>> modules
>
> Patch looks sane to me.
>
> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
>
Thank you for your review.
> How you are going to use the extra space you got?
> Do you add kernel + initrd as ffs files to FVMAIN_COMPACT?
>
> take care,
> Gerd
>
The kernel + initrd are added as an application in DXEFV, and a
"linuxboot" DXE driver is added that dispatches the bzImage.
The Linuxboot build system tries to remove some of the DXE drivers that
are redundant to Linux drivers, but even after this there is still not
enough room to insert the kernel + initrd with the 4MiB build target,
even with XZ kernel and initrd compression.
Best,
Devon
next prev parent reply other threads:[~2021-09-03 19:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-03 5:26 [PATCH v2 0/1] OVMF: Introduce 16MiB Flash Size Devon Bautista
2021-09-03 5:26 ` [PATCH v2 1/1] OvmfPkg: Introduce 16MiB flash size for (primarily) Linuxboot Devon Bautista
2021-09-03 7:17 ` Gerd Hoffmann
2021-09-03 19:35 ` Devon Bautista [this message]
2021-09-06 8:37 ` Gerd Hoffmann
2021-09-07 0:55 ` Devon Bautista
2021-09-09 9:09 ` [edk2-devel] " Philippe Mathieu-Daudé
2021-09-09 12:10 ` Gerd Hoffmann
2021-10-19 23:03 ` Devon Bautista
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=4c475545-4dd2-309c-8c03-b351decfc3d0@newmexicoconsortium.org \
--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