Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upLeopard platform needs `extract-firmware --repack` #29
Labels
Comments
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
The Leopard AMI firmware has per-file compressed sections, which are not supported by the edk2
DxeCore. The symptom is that thelinuxboot.romfile is created, butDxeCoredoesn'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-firmwaretool has a--repackoption 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 edk2DxeCoremight not support LZMA compressed firmware volumes, so it is necessary to preserve the per-file compression to have sufficient space in the ROM.