GithubHelp home page GithubHelp logo

Comments (3)

cwerling avatar cwerling commented on June 30, 2024

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.

cwerling avatar cwerling commented on June 30, 2024

I will check why ROM1 and ROM2 are empty soonish.

from psptool.

Ragebone avatar Ragebone commented on June 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.