Comments (3)
Hi Ragebone, sorry for not coming back earlier. I revamped a lot of ROM parsing logic in the latest PSPTool 2.4 and it kind of parses now:
+-----+------+-----------+---------+---------------+
| ROM | Addr | Size | FET | AGESA |
+-----+------+-----------+---------+---------------+
| 0 | 0x0 | 0x1000000 | 0x20000 | AGESA_UNKNOWN |
+-----+------+-----------+---------+---------------+
+--+-----------+---------+------+-------+---------------------+
| | Directory | Addr | Type | Magic | Secondary Directory |
+--+-----------+---------+------+-------+---------------------+
| | 0 | 0xf9000 | BIOS | $BHD | 0x159000 |
+--+-----------+---------+------+-------+---------------------+
+--+---+-------+----------+--------+-------------------------------+----------+----------+-----------------------+
| | | Entry | Address | Size | Type | Magic/ID | Version | Info |
+--+---+-------+----------+--------+-------------------------------+----------+----------+-----------------------+
| | | 0 | 0xfa000 | 0x100 | 0x1000068 | J | 0.0.0.0 | no_key, legacy_header |
| | | 1 | 0x0 | 0x0 | FW_GEC~0x61 | | | |
| | | 2 | 0xfc000 | 0x4990 | 0x1100064 | 0x05 | 0.0.10.1 | compressed, no_key |
| | | 3 | 0x100a00 | 0x460 | 0x1100065 | 0x05 | 0.0.10.1 | compressed, no_key |
| | | 4 | 0x100f00 | 0x4c50 | 0x1200064 | 0x05 | 0.0.10.1 | compressed, no_key |
| | | 5 | 0x105c00 | 0x480 | 0x1200065 | 0x05 | 0.0.10.1 | compressed, no_key |
| | | 6 | 0x106100 | 0x4be0 | 0x1400064 | 0x05 | 0.0.10.1 | compressed, no_key |
| | | 7 | 0x10ad00 | 0x440 | 0x1400065 | 0x05 | 0.0.10.1 | compressed, no_key |
| | | 8 | 0x10b200 | 0x4e70 | 0x1500064 | 0x05 | 0.0.10.1 | compressed, no_key |
| | | 9 | 0x110100 | 0x450 | 0x1500065 | 0x05 | 0.0.10.1 | compressed, no_key |
| | | 10 | 0x159000 | 0x400 | !BL2_SECONDARY_DIRECTORY~0x70 | | | |
+--+---+-------+----------+--------+-------------------------------+----------+----------+-----------------------+
+--+-----------+----------+-----------+-------+---------------------+
| | Directory | Addr | Type | Magic | Secondary Directory |
+--+-----------+----------+-----------+-------+---------------------+
| | 1 | 0x159000 | secondary | $BL2 | -- |
+--+-----------+----------+-----------+-------+---------------------+
+--+---+-------+----------+---------+-----------------+----------+----------+-----------------------+
| | | Entry | Address | Size | Type | Magic/ID | Version | Info |
+--+---+-------+----------+---------+-----------------+----------+----------+-----------------------+
| | | 0 | 0x15a000 | 0x100 | 0x1000068 | J | 0.0.0.0 | no_key, legacy_header |
| | | 1 | 0x15c000 | 0x100 | 0x1800068 | h | 0.0.0.0 | no_key, legacy_header |
| | | 2 | 0x15d000 | 0x100 | 0x1900068 | | 0.0.0.0 | no_key, legacy_header |
| | | 3 | 0x15e000 | 0x100 | 0x1000060 | h | 0.0.0.0 | no_key, legacy_header |
| | | 4 | 0x161000 | 0x100 | 0x1100060 | | 0.0.0.0 | no_key, legacy_header |
| | | 5 | 0x0 | 0x0 | FW_GEC~0x61 | | | |
| | | 6 | 0x119000 | 0x40000 | FW_INVALID~0x63 | | | |
| | | 7 | 0x162000 | 0x4990 | 0x1100064 | 0x05 | 0.0.10.1 | compressed, no_key |
| | | 8 | 0x166a00 | 0x460 | 0x1100065 | 0x05 | 0.0.10.1 | compressed, no_key |
| | | 9 | 0x166f00 | 0x4c50 | 0x1200064 | 0x05 | 0.0.10.1 | compressed, no_key |
| | | 10 | 0x16bc00 | 0x480 | 0x1200065 | 0x05 | 0.0.10.1 | compressed, no_key |
| | | 11 | 0x16c100 | 0x4be0 | 0x1400064 | 0x05 | 0.0.10.1 | compressed, no_key |
| | | 12 | 0x170d00 | 0x440 | 0x1400065 | 0x05 | 0.0.10.1 | compressed, no_key |
| | | 13 | 0x171200 | 0x4e70 | 0x1500064 | 0x05 | 0.0.10.1 | compressed, no_key |
| | | 14 | 0x176100 | 0x450 | 0x1500065 | 0x05 | 0.0.10.1 | compressed, no_key |
| | | 15 | 0x176600 | 0xc80 | 0x66 | | | |
| | | 16 | 0x177300 | 0xc80 | 0x100066 | | | |
+--+---+-------+----------+---------+-----------------+----------+----------+-----------------------+
+-----+----------+-----------+-----------+---------------+
| ROM | Addr | Size | FET | AGESA |
+-----+----------+-----------+-----------+---------------+
| 1 | 0xfe0000 | 0x1000000 | 0x1000000 | AGESA_UNKNOWN |
+-----+----------+-----------+-----------+---------------+
+-----+----------+-----------+-----------+---------------+
| ROM | Addr | Size | FET | AGESA |
+-----+----------+-----------+-----------+---------------+
| 2 | 0x1e0000 | 0x1000000 | 0x1180000 | AGESA_UNKNOWN |
+-----+----------+-----------+-----------+---------------+
from psptool.
I will check why ROM1 and ROM2 are empty soonish.
from psptool.
As far as i understand it myself, WRX80 32MB images are actually one single image not two stacked ones.
If it were a stacked image, there should a FET at probably the same offset + image offset, which it clearly isn't.
from psptool.
Related Issues (20)
- 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
- 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
- Failing Parse on MSI MPG X670E Carbon HOT 5
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.