[edk2-devel] [PATCH edk2-platforms 0/2] Platform/ARM/JunoPkg: Increase FV size and enable NOOPT build

Rebecca Cran posted 2 patches 1 year ago
Failed in applying to current master (apply log)
Platform/ARM/JunoPkg/ArmJuno.dsc |  2 +-
Platform/ARM/JunoPkg/ArmJuno.fdf | 15 +++++++++++----
2 files changed, 12 insertions(+), 5 deletions(-)
[edk2-devel] [PATCH edk2-platforms 0/2] Platform/ARM/JunoPkg: Increase FV size and enable NOOPT build
Posted by Rebecca Cran 1 year ago
The current FV size of 996KB for the Juno platform is rather restrictive
nowadays: a NOOPT build can be made to fit, but when enabling HTTPS boot
the firmware size becomes far too large even with an optimized DEBUG build.

Since the size value is rather arbitrary, bump it to 2MB: a build with
HTTPS boot and dynamic framework pkg uses around 72%, giving plenty of
headroom for future growth.

Since the NOOPT build makes source-level debugging via Arm Development
Studio so much more useful, enable it in the .dsc file.

Rebecca Cran (2):
  Platform/ARM/JunoPkg: Bump the FV size to 2MB
  Platform/ARM/JunoPkg: Enable the NOOPT build

 Platform/ARM/JunoPkg/ArmJuno.dsc |  2 +-
 Platform/ARM/JunoPkg/ArmJuno.fdf | 15 +++++++++++----
 2 files changed, 12 insertions(+), 5 deletions(-)

-- 
2.34.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#102832): https://edk2.groups.io/g/devel/message/102832
Mute This Topic: https://groups.io/mt/98197683/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [edk2-devel] [PATCH edk2-platforms 0/2] Platform/ARM/JunoPkg: Increase FV size and enable NOOPT build
Posted by Ard Biesheuvel 1 year ago
On Tue, 11 Apr 2023 at 15:46, Rebecca Cran <rebecca@bsdio.com> wrote:
>
> The current FV size of 996KB for the Juno platform is rather restrictive
> nowadays: a NOOPT build can be made to fit, but when enabling HTTPS boot
> the firmware size becomes far too large even with an optimized DEBUG build.
>
> Since the size value is rather arbitrary, bump it to 2MB: a build with
> HTTPS boot and dynamic framework pkg uses around 72%, giving plenty of
> headroom for future growth.
>
> Since the NOOPT build makes source-level debugging via Arm Development
> Studio so much more useful, enable it in the .dsc file.
>
> Rebecca Cran (2):
>   Platform/ARM/JunoPkg: Bump the FV size to 2MB
>   Platform/ARM/JunoPkg: Enable the NOOPT build
>

Thanks

Pushed as df82411375c5..9ca87c716f8a


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#102889): https://edk2.groups.io/g/devel/message/102889
Mute This Topic: https://groups.io/mt/98197683/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-