AMDVBFLASH User Guide NDA

Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

[AMD Official Use Only]

AMDVBFLASH
User Guide

© [2022] Advanced Micro Devices, Inc. All rights reserved.

© 2022 Advanced Micro Devices, Inc. All rights reserved. 1


[AMD Official Use Only]

DISCLAIMER

The information contained herein is for informational purposes only, and is subject to change without
notice. While every precaution has been taken in the preparation of this document, it may contain
technical inaccuracies, omissions and typographical errors, and AMD is under no obligation to update or
otherwise correct this information. Advanced Micro Devices, Inc. makes no representations or
warranties with respect to the accuracy or completeness of the contents of this document, and assumes
no liability of any kind, including the implied warranties of noninfringement, merchantability or fitness
for particular purposes, with respect to the operation or use of AMD hardware, software or other
products described herein. No license, including implied or arising by estoppel, to any intellectual
property rights is granted by this document. Terms and limitations applicable to the purchase or use of
AMD’s products are as set forth in a signed agreement between the parties or in AMD's Standard Terms
and Conditions of Sale.

AMD, the AMD Arrow logo and combinations thereof are trademarks of Advanced Micro Devices, Inc.

Windows is a registered trademark of Microsoft Corporation. Linux is a registered trademark of Linus


Torvalds. Other product names used in this publication are for identification purposes only and may be
trademarks of their respective companies.
USE OF THIS PRODUCT IN ANY MANNER THAT COMPLIES WITH THE MPEG ACTUAL OR DE
FACTO VIDEO AND/OR AUDIO STANDARDS IS EXPRESSLY PROHIBITED WITHOUT ALL
NECESSARY LICENSES UNDER APPLICABLE PATENTS. SUCH LICENSES MAY BE ACQUIRED
FROM VARIOUS THIRD PARTIES INCLUDING, BUT NOT LIMITED TO, IN THE MPEG PATENT
PORTFOLIO, WHICH LICENSE IS AVAILABLE FROM MPEG LA, L.L.C., 6312 S. FIDDLERS GREEN
CIRCLE, SUITE 400E, GREENWOOD VILLAGE, COLORADO 80111.
© 2022 Advanced Micro Devices, Inc. All rights reserved.

© 2022 Advanced Micro Devices, Inc. All rights reserved. 2


[AMD Official Use Only]

Revision History
Date Revision Changes
June 2022 1.00 Initial version of the document

© 2022 Advanced Micro Devices, Inc. All rights reserved. 3


[AMD Official Use Only]

Table of Contents

OVERVIEW..................................................................................................................................................... 5
SET UP ........................................................................................................................................................... 5
Tool Execution Step .................................................................................................................................. 5
COMMAND LINE OPTIONS ............................................................................................................................ 5
version Command ..................................................................................................................................... 5
Help Command ......................................................................................................................................... 6
Display Information Command (-i) ........................................................................................................... 8
Display Information Command (-ai).......................................................................................................... 8
Save VBIOS Command............................................................................................................................. 10
Program VBIOS Command ...................................................................................................................... 10
Get VBIOS File information Command ................................................................................................... 11
Compare Checksum Command............................................................................................................... 12

© 2022 Advanced Micro Devices, Inc. All rights reserved. 4


[AMD Official Use Only]

OVERVIEW

➢ AMDVBFlash is a console mode utility for AMD GPU device in a diagnostics


environment providing ability to flash the VBIOS.

➢ AMDVBFlash utility supports erasing and programming video VBIOS on


multiple platforms, including
– Windows 64 bit
– Linux

SET UP

Tool Execution Step

➢ Windows (Windows 64 bit)


o Install the amdvbflash installer package
▪ This will internally install the required tools driver required to run the
tool.
o From the windows command prompt, go to the installed folder.
▪ Tool will be installed under
“C:\Program Files\AMD\AMDVbFlash” or
o Run “amdvbflash.exe” with suitable command line arguments as required.

➢ Linux
o Unzip the tar.gz file to any folder.
o Run “./amdvbflash” with suitable command line arguments as required.

COMMAND LINE OPTIONS


version Command
➢ Run amdvbflash –version command to fetch the tool version

© 2022 Advanced Micro Devices, Inc. All rights reserved. 5


[AMD Official Use Only]

Help Command
➢ Run amdvbflash (or amdvbflash –h, amdvbflash –help, amdvbflash -?)
command to display the help

© 2022 Advanced Micro Devices, Inc. All rights reserved. 6


[AMD Official Use Only]

© 2022 Advanced Micro Devices, Inc. All rights reserved. 7


[AMD Official Use Only]

Display Information Command (-i)

➢ Display all AMD graphic cards information detected on the system


➢ General graphic cards information

COMMAND:
amdvbflash -i <Num>
amdvbflash --show --device <Num>
Display information of all the AMD adapter on the system or for specific adapter
<Num> if specified.

Display Information Command (-ai)

➢ Advanced graphic cards information


➢ Displays other details like Product name, Config file, Version, date and time
information along with all UEFI GOP Driver image information

COMMAND:
amdvbflash -ai <Num>
amdvbflash --show --advanced --device <Num>
Display advanced information of all the AMD adapter on the system or for
specific adapter <Num> if specified.

© 2022 Advanced Micro Devices, Inc. All rights reserved. 8


[AMD Official Use Only]

© 2022 Advanced Micro Devices, Inc. All rights reserved. 9


[AMD Official Use Only]

Save VBIOS Command

➢ Save the VBIOS image from the ROM to a specified file.

COMMAND:
amdvbflash -s <Num> <File>
amdvbflash --save --device <Num> --vbios-file <File>
Read the VBIOS image into file <File> to save the ROM contents in Adapter
<Num>

Program VBIOS Command

➢ Program VBIOS image into the ROM


➢ Flash VBIOS at specific graphic card

COMMAND:
amdvbflash -p <Num> <File>
amdvbflash --flash --device <Num> --vbios-file <File>

© 2022 Advanced Micro Devices, Inc. All rights reserved. 10


[AMD Official Use Only]

Write VBIOS image in file <File> to flash ROM in Adapter <Num>

Get VBIOS File information Command


➢ Fetch detailed bios file information for the IFWI file provided by user

COMMAND:
amdvbflash --bios-file-info <File>

© 2022 Advanced Micro Devices, Inc. All rights reserved. 11


[AMD Official Use Only]

Compare Checksum Command


➢ Compare the VBIOS image and ROM content checksum

COMMAND:
amdvbflash -cf <File> [Sum]
Calculate 16-bit checksum for <File>. Checksum for the file is compared to [Sum]
which is the expected checksum.

amdvbflash -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.

© 2022 Advanced Micro Devices, Inc. All rights reserved. 12

You might also like