Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Investigate if initial scratch space has to be in FD image #20

Open
JohnAZoidberg opened this issue May 9, 2021 · 1 comment
Open

Comments

@JohnAZoidberg
Copy link
Collaborator

Currently the initial scratch space is in the UEFI FD image. I reduced the image size from 8MB to ~2.2MB and most of the second free area (green) is the scratch space.

We probably don't need to waste this space. I think this scratch space is only used in the very beginning and then we use physical RAM for the scratch space.

Since memory is trained when EDK2 starts (on all platforms so far), we probably don't to start off with scratch space in memory.

image

@JohnAZoidberg
Copy link
Collaborator Author

JohnAZoidberg commented May 9, 2021

https://github.com/orangecms/utk-web/ is the tool I used to do that.
The changes to reduce the size aren't committed yet.

@JohnAZoidberg JohnAZoidberg changed the title Investigate if initial scratch space has to in FD image Investigate if initial scratch space has to be in FD image May 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant