AMD ATIFlash BIOS flashing

Minerstat mining OS supports AMD BIOS flashing with a special tool called ATIFlash. Since this is an advanced tool that is not recommended for use if you don't know what you are doing, we decided to keep it at a console level only (without an option to adjust settings through the web dashboard as on AMD Memory Tweak).

In this article we will list available commands and you can use them. You can connect to your rig with Termius or any other software that allows SSH connection.

minerstat ATIFlash Step 1

Backup: saving the original BIOS

Before making any changes to the BIOS, we suggest you make a backup of your current BIOS.

First, you will need to find the identifier (adapter) to which your GPU is connected.

atiflash -i

The command will list all of the GPUs and their associated identifiers (adapter column).

minerstat ATIFlash Step 2

To make the BIOS backup call the following command.

atiflash -s [ID] [FILENAME]

[ID] should be replaced with the identifier you have seen on the list displayed in the previous command and the [FILENAME] should be something that will associate you with the BIOS you saved. For example:

atiflash -s 0 rx480backup.rom

minerstat ATIFlash Step 3

The backup .rom file will be saved in /home/minerstat/minerstat-os/bin and you can download it by connecting to your rig with Filezilla or any other way. The server you are connecting to equals your rig's local IP, username is minerstat, and the password is msos.

Apply the new BIOS

To flash the new BIOS to your system, the procedure is reverse to the procedure explained in the previous step.

First, you need to load your new BIOS .rom file to /home/minerstat/minerstat-os/bin. You can do it again with the help of Filezilla or any other software that allows SFTP connection.

minerstat ATIFlash Step 4

To write this file to the GPU, you can all the following command.

atiflash -p [ID] [FILENAME]

[ID] should be replaced with the identifier like in the previous steps and [FILENAME] with the name the new .rom file you have uploaded to your rig. Let's say that the name of new file is rx480new.rom and we would like to flash it for GPU with ID 0. In this case, we would call the command:

atiflash -p 0 rx480new.rom

minerstat ATIFlash Step 5

After the command is called you will see a series of lines with old and new values of your BIOS. After the flashing is finished, you can reboot the machine and new BIOS will be used.

Bulk commands

Instead of the atiflash command, you can also use the atiflashall command which will apply to all identifiers or atidumpall which will dump all bios from all available GPUs on the system.