Skip to content

Building manual

Intro

This documents describes the procedure for compiling Dasharo firmware compatible with MSI PRO Z690-A and MSI PRO Z790-P.

Requirements

sudo apt install git unzip wget
  • UEFIExtract installed
    • this tool is used in the build.sh script to extract CPU microcode from the original MSI firmware
sudo apt install wget
wget https://github.com/LongSoft/UEFITool/releases/download/A59/UEFIExtract_NE_A59_linux_x86_64.zip
unzip UEFIExtract_NE_A59_linux_x86_64.zip
sudo cp ./UEFIExtract /usr/local/bin

Procedure

Obtain Dasharo source code:

Replace the REVISION with one of the:

  • msi_ms7d25/release for the latest released version
  • msi_ms7d25_vVERSION (e.g. msi_ms7d25_v1.1.2) for the given release

Replace the REVISION with one of the:

  • msi_ms7d25/release for the latest released version
  • msi_ms7d25_vVERSION (e.g. msi_ms7d25_v1.1.2) for the given release

Replace the REVISION with one of the:

  • msi_ms7d25/release for the latest released version
  • msi_ms7e06_vVERSION (e.g. msi_ms7e06_v0.9.0) for the given release

Replace the REVISION with one of the:

  • msi_ms7d25/release for the latest released version
  • msi_ms7e06_vVERSION (e.g. msi_ms7e06_v0.9.0) for the given release
git clone https://github.com/Dasharo/coreboot.git -b REVISION
cd coreboot

Start the build process:

./build.sh z690a_ddr4

The resulting Dasharo firmware image will be placed at $PWD/msi_ms7d25_VERSION_ddr4.rom.

./build.sh z690a_ddr5

The resulting Dasharo firmware image will be placed at $PWD/msi_ms7d25_VERSION_ddr5.rom.

./build.sh z790p_ddr4

The resulting Dasharo firmware image will be placed at $PWD/msi_ms7e06_VERSION_ddr4.rom.

./build.sh z790p_ddr5

The resulting Dasharo firmware image will be placed at $PWD/msi_ms7e06_VERSION_ddr4.rom.