Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leopard platform needs `extract-firmware --repack` #29

Open
osresearch opened this issue Jul 2, 2018 · 0 comments
Open

Leopard platform needs `extract-firmware --repack` #29

osresearch opened this issue Jul 2, 2018 · 0 comments
Labels

Comments

@osresearch
Copy link
Contributor

@osresearch osresearch commented Jul 2, 2018

The Leopard AMI firmware has per-file compressed sections, which are not supported by the edk2 DxeCore. The symptom is that the linuxboot.rom file is created, but DxeCore doesn't load any DXE or SMM modules, complains about missing required architectural protocols, reports that the BDS has an address of 0x0 and then panics.

The extract-firmware tool has a --repack option that will decompress the LZMA sections and make a single-level FFS. Ideally this will be specified on a per-board basis. We can't make it the default since other platforms that do not use the edk2 DxeCore might not support LZMA compressed firmware volumes, so it is necessary to preserve the per-file compression to have sufficient space in the ROM.

osresearch added a commit to osresearch/linuxboot that referenced this issue Aug 23, 2018
JulienVdG added a commit to JulienVdG/linuxboot that referenced this issue Mar 4, 2020
Signed-off-by: Julien Viard de Galbert <julien.viard-de-galbert@itrenew.com>
JulienVdG added a commit to JulienVdG/linuxboot that referenced this issue Mar 6, 2020
Signed-off-by: Julien Viard de Galbert <julien.viard-de-galbert@itrenew.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.