[Tool] Ryzen AMD-SP / UEFI Modding Tool (ASPFWTool)

Hi guys,

I’ve been messing around with Ryzen firmware (PSP/UEFI) lately and ended up starting this little project.
It’s mainly aimed at older OEM machines that never got updated to ComboAM4PI.

What I’m trying to do:

  • Qt-Based GUI Firmware BrowserParse and map out PSP + UEFI structures in BIOS images (Done)
  • PSP / UEFI directory viewer (Done)
  • Firmware Editing:
  • EFS (Embedded Firmware Structure) Editing
  • Insert new firmware entries (PSP & UEFI regions)
  • Replace existing firmware images (PSP FW, UEFI PEI/DXE)
  • Remove firmware entries
  • Edit PSPSoftFuseChain (TypeId 0x0B)
  • Edit APCB Token settings (basic support, view-only right now)
  • Firmware Reconstruction
  • Patch UEFI FV/FFS headers
  • Reallocate 0xFF padded areas for new entries
  • Auto-patch PSP Directory header
  • Automatic zlib/lzma decompression + recompression
  • EFS Overview:
  • EFS configures early SPI settings and the PSP firmware directory pointer
  • Legacy entries: IMC FW, GbE FW, xHCI FW, Promontory FW
  • Current entries: PSP/BHD Directory Table Pointer
  • APCB (AGESA PSP Configuration Block) Editor:
  • View and modify config parameters
  • Export / import APCB blobs
  • APCB Token editing
  • Promontory Firmware Editor:
  • View version info
  • Extract, replace, remove Promontory FW
  • Additional Planned Features
  • Create a database mapping PSP/PEI/DXE modules to AGESA/PI versions using GUIDs + hash values (WIP)
  • Diff tool to compare two images and show changed modules (WIP)
  • simple workflow to add support for more CPU families to old (Raven) UEFI images(WIP)

Looking for feedback:
Anyone here who’s played around with modding Raven BIOS:

  • Would adding new CPU-family support to old OEM boards interest you?
  • What features would you actually use in a tool like this?
  • Anything that you think is a “must-have” ?
  • any ideas, tips, guide - all welcome.

Thanks!

Please excuse the poor formatting and wording of this post.

The program screenshot(s) can be found at:

Edit by Fernando: Thread moved into the “BIOS Modding Tools” Category, title customized/shortened and initial post re-formatted (for better readability)

4 Likes

The tool is now available to download at:

https://github.com/ReisWeirdStuff/ReGESA_ASPFWTool/archive/refs/heads/Pre-Alpha.zip

2 Likes