- Joined
- Oct 22, 2020
- Messages
- 36 (0.02/day)
Pure version from AMD, without any extra modding-related unlockings.
Earlier Feb 4 2022 build, so Navi3x not supported
Tested to work fine up to RX6650 cards:
As always, consider risks wile running untrusted binary as root and backup your VBIOS before any flashing, like
Earlier Feb 4 2022 build, so Navi3x not supported
Tested to work fine up to RX6650 cards:
Code:
[root@host]# ./amdvbflash4-104E -ai 0
AMDVBFLASH version 4.104 EXTERNAL, Copyright (c) 2022 Advanced Micro Devices, Inc.
Adapter 0 SEG=0000, BN=03, DN=00, PCIID=73EF1002, SSID=52341849)
Asic Family : Navi23
Flash Type : W25Q80 (1024 KB)
Product Name : NAVI23 KXT A0 8GB 500e/97m 0.9V/1.35V
Bios Config File :
Bios P/N : 113-EXT800333-L02
Bios Version : 020.003.000.030.800333
Bios Date : 02/25/22 05:41
ROM Image Type : Hybrid Images
ROM Image Details :
Image[0]: Size(45568 Bytes), Type(Legacy Image)
Image[1]: Size(38400 Bytes), Type(EFI Image)
Image[2]: Size(39936 Bytes), Type(EFI Image)
Code:
[root@host]# ./amdvbflash4-104E -h
AMDVBFLASH version 4.104 EXTERNAL, Copyright (c) 2022 Advanced Micro Devices, Inc.
--- amdvbflash v4.104 EXTERNAL ---
-h, -?, /h, /? Help (this screen)
Format: amdvbflash [command] [parameter1] [parameter2] [parameter3] <option/s>
[command]:
-i [Num] Display information of AMD adapters in the system.
Display information of adapter [Num] if specified.
-ai [Num] Display advanced information of AMD adapters on system.
Display advanced information of adapter [Num]
if specified.
-biosfileinfo <File> Displays the Bios info in file <file>
-p <Num> <File> Write BIOS image in file <File> to flash ROM in Adapter
<Num>.
-pa [-padevid=] <File> Write BIOS image <File> to all appropriate adapters.
Use with -padevid or -passid or -pasvid or -pavbpn or -fp.
Command example:
command = -pa -padevid=0xXXXX a123.bin
-s <Num> <File> [Size] Save BIOS image from adapter <Num> to file <File>.
First [Size] kbytes (except for Theater in bytes) of ROM
content is saved if [Size] is specified.
-cf <File> [Sum] Calculate 16-bit checksum for file <File>.
Checksum for the file is compared to [Sum] which is
the expected checksum
-cb <Num> [Sum] Calculate 16-bit BIOS image checksum for adapter <Num>.
Checksum for the BIOS image is compared to [Sum] which is
the expected checksum
-cr <Num> [Size] [Sum] Calculate 16-bit ROM checksum for adapter <Num> and
compare it to the [Sum] specified. This command is
the same as -cb if [Size] is specified.
-t <Num> Test ROM access of adapter <Num>
-v <Num> <File> Compare ROM content of adapter <Num> to <File>
-mi <Num> [ID] Modify SSID & SVID in BIOS image of adapter <Num> to
<ID>. SSID & SVID in BIOS image of adapter <Num> is
displayed if [ID] is not specified.
-mb <Num> <File> Modify SSID, SVID, BIOS Pin Number, & Boot Message in
BIOS image of adapter <Num> to values in <filename>.
Input file example:
ssid = 715B
svid = 1002
biospn = "113-xxxxxx-xx"
bootmsg = "AMD graphic board"
-pak <File> Package an executable for BIOS update according to
the commands in <File>.
Config file example:
outfile = update.exe
banner = "Update v1.0"
infile = a123.bin
command = -pa -padevid=715B infile
-isr <Num> <Build Number> <Board Number> Set ISR number based on the given
build and board number
if not specified, print out ISR Number
-prod <Num> <12 digit serial number> Set PROD number based
on the given serial number
if not specified, print out SN Number
-checkprodsn <Num> <12 Digit Serial Number> Comparing the Prod SN based on
existing prod sn saved in ROM
<option/s>:
-fp Force flashing bypassing BIOS P/N check.
-fa Force flashing bypassing already-programmed check.
-fv Force flashing bypassing newer BIOS version check.
-nw No user interaction on test failure.
-sst Use SST25VFxxx flashing algorithm regardless of ROMID straps.
-st Use ST M25Pxx flashing algorithm regardless of ROMID straps.
-atmel Use AT25Fxxx flashing algorithm regardless of ROMID straps.
-nopci Do not enumerate PCI adapters, i.e. enumerate only AGP and
PCIe adpaters
-pcionly Enumerate only PCI adapters, i.e. do not enumerate AGP and
PCIe adapters
-agp Enumerate only AGP adapters, i.e. do not enumerate PCI and
PCIe adapters unless used with -pcie or -pci
-noagp Do not enumerate AGP adapters, i.e. enumerate only PCI and
PCIe adpaters
-pcie Enumerate only PCIe adapters, i.e. do not enumerate AGP and
PCI adapters unless used with -agp or -pci
-nopcie Do not enumerate PCIe adapters, i.e. enumerate only AGP and
PCI adpaters
-pci Enumerate only PCI adapters, i.e. do not enumerate AGP and
PCIe adapters unless used with -agp or -pcie
-maxsegtoscan=# Limits PCI segment group number to be scanned for devices to the specified value.
-maxbustoscan=# Limits PCI bus number to be scanned for devices to the specified value.
-reboot Force a reboot of the system after successfully completing the
specified operation
-keepisrsn keep the ISR Number on the adapter when flashing a new VBIOS
-keepprodsn keep the Prod SN on the adapter when flashing a new VBIOS
-siireset Specifies the GPIO Pin to be used as the Reset when updating
SiI1930 microcontroller firmware
Input example:
-siireset=7 <No Spaces>
-siiuprog Specifies the GPIO Pin to be used as the uprog when updating
SiI1930 microcontroller firmware
Input example:
-siiuprog=14 <No Spaces>
-scansii Overrides normal adapter detection to enable detecting SSI
roms with/without TPI firmware
-log Logs output to amdvbflash.log, overrides existing file
-logappend Logs and appends output to amdvbflash.log
-ddc Enable DDC support
-padevid=<ID> Use with -pa command to update adapters of specific device ID.
-passid=<ID> Use with -pa command to update adapters of specific SSID.
-pasvid=<ID> Use with -pa command to update adapters of specific SVID.
-pavbpn=<VBPN> Use with -pa command to update adapters of specific VBIOS PN.
-excl_memtrain_dtable When flashing on new VBIOS, a pre-determined memory
training data table in the old VBIOS will not be
overwritten.
-isr <adapter num> [build num] [board num] If build number and board number
are specified, sets the ISR Number
value in specified adapter.
If only adapter is specified, the current
ISR Number is displayed
-checkpn <adapter num> <filename> Checks PN of the current product
and compares it to external file
-rsa <filename> Verify VBIOS immage file RSA signature
*<Num> = adapter number, <File> = filename
*[Size] = data block size in KBytes, except for Theater Pro in Bytes
*Use command -i to see the adapter numbers in the system.
As always, consider risks wile running untrusted binary as root and backup your VBIOS before any flashing, like
Code:
./amdvbflash4-104E -s 0 orig-backup.rom