PSPToolPSP 固件管理工具
PSPTool 是一个用来显示、提取和操作 UEFI 映像中的 PSP 固件的开源工具。
PSPTool是瑞士军刀,用于处理AMD安全处理器(以前称为平台安全处理器或psp)的固件。它将AMD固件定位在UEFI映像中,作为针对AMD平台的BIOS更新的一部分。
它是基于AMD专有文件系统的逆向工程工作,该文件系统用于将固件块打包到UEFI固件映像中。这些通常是16MB大小,可以方便地由uefitool解析。但是,AMD的所有二进制blob都位于uefitool无法分析的填充卷中。
PSPTool可以很好地处理通过BIOS更新获得的UEFI图像。
安装:
git clone https://github.com/cwerling/psptool
cd psptool
sudo python3 setup.py install
命令行参数:
usage: psptool [-h] [-E | -X | -R | -U] file
Display, extract, and manipulate PSP firmware inside UEFI images
positional arguments:
file Binary file to be parsed for PSP firmware
optional arguments:
-h, --help Show this help message and exit.
-E, --entries Default: Parse and display PSP firmware entries.
[-d idx] [-n] [-i] [-v]
-d idx: specifies directory_index (default: all directories)
-n: hide duplicate entries from listings
-i: display additional entry header info
-v: display even more info (AGESA Version, Entropy, MD5)
-t csvfile: only display entries found in the given SPI trace
(see psptrace for details)
-X, --extract-entry Extract one or more PSP firmware entries.
[-d idx [-e idx]] [-n] [-u] [-k] [-v] [-o outfile]
-d idx: specifies directory_index (default: all directories)
-e idx: specifies entry_index (default: all entries)
-n: skip duplicate entries
-u: uncompress compressed entries
-k: convert _pubkeys into PEM format
-v: increase output verbosity
-o file: specifies outfile/outdir (default: stdout/$PWD)
-R, --replace-directory-entry
Copy a new entry body into the ROM file and update metadata accordingly.
Note: The given address is assumed to be overwritable (e.g. padding).
-d idx -e idx -b addr [-y] [-s subfile] [-o outfile]
-d idx: specifies directory_index
-e idx: specifies entry_index
-b addr: specifies destination address of the new entry
-s file: specifies subfile (i.e. the new entry) (default: stdin)
-o file: specifies outfile (default: stdout)
-U, --update-signatures
Re-sign all signatures in the ROM file with a given private key and export
a new ROM file.
-p private_key [-o outfile]
-p file: specifies a path to the private_key in PEM format for re-signing
-o file: specifies outfile (default: stdout)
评论
ZRouterFreeBSD 固件
ZRouter.org是一个基于FreeBSD的固件,用于嵌入式设备。当前支持的设备包括:AsusWL-500GP_V2(BCM5354)BuffaloWZR-HP-AG300H(AR7161)D-L
ZRouterFreeBSD 固件
0
ESP8266AppWiFi模块固件
ESP8266App是基于ESP8266芯片的WiFi模块固件,可以在低功耗超小体积的集成CPU和WiFI的SoC上编写自己的应用,是物联网应用设备开发的绝佳选择。该工程收录了基于该芯片的最新、最全、
ESP8266AppWiFi模块固件
0
Klipper3D 打印机固件
Klipper是一个3D打印机固件,它结合了通用计算机和一个或多个微控制器的力量。主要功能:高精度steppermovement。Klipper在计算打印机移动时使用应用处理器(例如低成本的Raspb
Klipper3D 打印机固件
0
HyperWRT无线路由固件
HyperWRT是一个无线路由器的固件。支持 LinksysWRT54G和WRT54GS路由器.Thegoalofthisprojectistoaddalimitedsetoffeaturestoth
HyperWRT无线路由固件
0
ipex网络启动固件
iPXE是开源的网络启动固件。它提供了完整的PXE实施,并增强了其他功能,例如:通过HTTP从Web服务器启动从iSCSISAN启动通过FCoE从光纤通道SAN启动从AoESAN引导从无线网络启动从广
ipex网络启动固件
0
TasmotaESP8266 的替代固件
Tasmota是基于ESP8266和ESP32的设备的替代固件,使用webUI轻松配置、OTA更新、使用定时器或规则的自动化、可扩展性以及完全通过MQTT、HTTP、串行或KNX的本地控制。为Plat
TasmotaESP8266 的替代固件
0