Page MenuHomeFreeBSD

Reduce size of EFI_STAGING_SIZE to 32 on arm
ClosedPublic

Authored by thj on Jul 21 2019, 7:15 PM.

Details

Summary

Reduce the size of the EFI_STAGING area we allocate on arm7 to 32. On arm SBC such as the NanoPi-NEOLTS the staging area allocation will fail on the 256MB model with a staging size of 64.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

thj created this revision.Jul 21 2019, 7:15 PM

We probably wouldn't want that on big armv8 boxes, maybe || defined(__aarch64__) should be added to if defined(__amd64__) in that case..

thj retitled this revision from Reduce size of EFI_STAGING_SIZE to 32 This allows loader to start on the 256MB NanoPi-NEOLTS model to Reduce size of EFI_STAGING_SIZE to 32.Thu, Aug 8, 12:57 PM
thj edited the summary of this revision. (Show Details)
thj updated this revision to Diff 60577.
  • Only reduce staging size on arm
thj updated this revision to Diff 60578.Thu, Aug 8, 12:57 PM

Remove accidentally added file

bcran accepted this revision.Thu, Aug 8, 8:27 PM
This revision is now accepted and ready to land.Thu, Aug 8, 8:27 PM
manu accepted this revision.Fri, Aug 9, 10:56 AM
thj retitled this revision from Reduce size of EFI_STAGING_SIZE to 32 to Reduce size of EFI_STAGING_SIZE to 32 on arm.Wed, Aug 14, 9:03 AM
thj edited the summary of this revision. (Show Details)
thj added reviewers: jtl, bz.
This revision was automatically updated to reflect the committed changes.