-
Notifications
You must be signed in to change notification settings - Fork 629
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
Both engines need to gain LZMAF86 format support #197
Comments
That original file looks severely corrupted during dumping, so UEFITool can't rebuild it properly. |
HP does not host BIOS updates publicly. The above is a single volume extracted from the image. I can provide the whole image to you directly by email, but please keep it confidential. I know that image appears corrupted. I'm surprised the image even boots. However, the full image contains a crypto signature that breaks if you modify a single byte, so I believe this the "correct" image. To read it properly, I had to manually change the type/size fields in several modules/sections. I suspect that to modify it properly some similar edit needs to be made, but I can't figure out what's wrong. Previously, the image would fail to parse which let me know where to look, but now there's no module that fails to parse, only checksum/depex warnings. Let me know where to send the image, and thank you for not only the help but all the work you do to provide this tool! |
Can't be true, I had several HP systems in the past, and all of them had public BIOS update downloadable from HP support web site. Please provide your full HW model, I'll do the rest. The fact it boots doesn't mean it's "correct" in any way. The machine might boot even with half of it's DXE volume is corrupted, if non of the corrupted drivers are essential for HW initialization or published required protocols. Right now, you don't need to change anything yet. The first thing that needs to be done is to verify that the original image actually has this broken format. |
It is true unfortunately, I believe they changed this a few years ago. The model is Proliant DL380 Generation 10, the version in question is U30_1.42_06_20_2018. I don't think that the fact that it boots means it's "correct," but rather the fact that the signature verification works. The full update image contains some kind of private key signature over the whole image that verifies correctly when updating through the IPMI web interface. |
Downloadable just fine from here: https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX-b1ffc5df57db42a1b558565848 The problem with that DXE volume is that it's compressed with a very uncommon LZMAF86 algorithm, and those issues are most likely caused by decompression failure in both UEFITool and UEFITool NE because both are treating it as normal LZMA. I'll investigate further. |
Verified both engines to not support LZMAF86 properly right now, needs fixing. |
Ah, thank you! I need support for the old engine so I will start looking into that. |
@HashFail, @NikolajSchlej I added implementation for NE, you can add it to legacy if necessary. |
Hi,
I'm not sure if this is a bug or if something about this image is weird. When I modify the attached image, one of the module headers seems to be corrupted and all subsequent modules get smushed into one. To see what I am talking about, do the following:
dxe-ffsv2
from the zip fileE8F6A75C-3CDA-4B00-9837-8CA2A1F34EAC
withSpsDxeModified
from the zip file (replace as is). The module/contents are not important, the file is simply the module with one byte changed00310000-002E-0030-0000-FFFFFFFFFFFF
used to be, there is a module with a different GUID and there are no subsequent modules. There is also a warning about this module being unaligned.There are also several warnings about invalid checksums and dependency expressions, including the module that gets mangled, but this doesn't happen to any other modules. I'm hoping someone can explain why this is happening, and in general it would be helpful if this sort of automatic correction were logged somewhere so users understand why their image is being changed.
EDIT: removed file because of potential copyright issues.
The text was updated successfully, but these errors were encountered: