Comments (4)
Sorry for the late reply. I believe there is something wrong with some of the entries of that image. Looking at the header of the entries that fail to decompress, I can see that the header says they're compressed (offset 0x48). However, the body data does not look compressed at all.
I have added a warning to PSPtool that allows to continue extracting entries regardless of a failed zlib decompression. If an entry can't be decompressed, the orginal bytes are extracted instead.
I'll keep this issue open for now, in case we stumble on other UEFI images with the same weird behavior.
Regards,
Robret
from psptool.
Thanks, I looked at the output from this latest change in a hex editor and it seems that there is still compressed data (magic bytes 78 DA), but it starts at 0x100 offset into what was extracted (eg file: 0x1100064_0.0.10.0
)
I have mostly moved on from being interested in this BIOS, since I've replaced the board with a better model. But still willing to test out stuff if there's anything I can help with to make the tool more robust.
Edit:
Full list of warnings on this file, just for reference
Warning: ZLIB decompression faild on entry 0x1100064
Warning: ZLIB decompression faild on entry 0x1100064
Warning: ZLIB decompression faild on entry 0x1400064
Warning: ZLIB decompression faild on entry 0x1400064
Warning: ZLIB decompression faild on entry 0x1400065
Warning: ZLIB decompression faild on entry 0x1400065
Warning: ZLIB decompression faild on entry 0x1100065
Warning: ZLIB decompression faild on entry 0x1100065
from psptool.
BTW not sure what it means but I see two files in output that start with "0x1100064"
0x1100064_0.0.10.0
mentioned above
and
0x1100064_0.0.18.5
which i guess is the part that's not compressed?
from psptool.
I just pushed some more fixes to psptool. The zlib decompression now works with this image too.
Thanks for reporting this issue.
from psptool.
Related Issues (20)
- Assertion error when parsing the PSP firmware structures HOT 8
- AMD's SEV & SME
- error parsing T14 Gen 1 firmware HOT 7
- python 3.9 :: 'Blob' object has no attribute 'dual_rom' HOT 1
- Unable to parse Gigabyte X570 HOT 1
- Request: Release recent fixes to PyPi (#29 & suggested fix for #30) HOT 3
- info loss with commit/revision `e963896` HOT 2
- Improve deduplication of Entry objects
- Introduce strict mode for development and scientific work HOT 1
- Add more known entry types
- Gigabyte WRX80 32MB image crashes psptool HOT 3
- Create coreboot fw.cfg file HOT 8
- Z13 bios can't be parsed
- a question about psptool/fet.py:ZEN_GENERATION_IDS HOT 6
- PSPtool does not describe Coreboot Images HOT 4
- ability to extract/replace/etc type 0x62 'BIOS Binary' images. HOT 4
- current git HEAD is not picking up inline_keys from same firmware image. HOT 1
- Question, regarding psp, HOT 4
- Simple feature req: print ZEN_GENERATION_IDS hex value in table HOT 1
- Could this be used as me_cleaner for AMD PSP? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from psptool.