Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
b8a345c
Add MSI PRO Z690-A DDR4 target
miczyg1 Feb 12, 2024
b85d6c4
Add MSI PRO Z790-P (DDR5) target
miczyg1 Feb 13, 2024
5b77f0f
boards/msi*: use w/a for >16MiB flash
mkopec Feb 27, 2024
cf45430
Remove stray configs from cherry picking
Tonux599 Apr 20, 2025
f5d1a3f
Add coreboot 25.03
Tonux599 Apr 20, 2025
fd3f7cd
Build msi_z790p_ddr5 on coreboot 25.03
Tonux599 Apr 20, 2025
0911b57
blob script for msi_z790p_ddr5
Tonux599 Apr 23, 2025
95f19c1
added `BOARD_TARGETS := msi_z790p_blobs` for msi_z790p_ddr5
Tonux599 Apr 23, 2025
b38e896
add our blobs to `coreboot-msi_z790p_ddr5.config`
Tonux599 Apr 23, 2025
2cfa362
git ignoring blobs
Tonux599 Apr 23, 2025
24ad3b5
update coreboot config
Tonux599 Apr 23, 2025
9940e13
no dropbear, hotp, and usb keyboard
Tonux599 Apr 23, 2025
062260c
initrd/bin/cbfs-init: workaround for >16MiB flash
mkopec Feb 27, 2024
abf1c35
initrd/bin/cbfs-init: add error check for flashrom command
mkopec Feb 27, 2024
6f9031a
Use onboard VGA as primary
Tonux599 Apr 23, 2025
38521b2
Build msi_z790p_ddr5 in CI
Tonux599 Apr 20, 2025
a0bde5f
Keep MSI layout
Tonux599 Apr 24, 2025
0dadb67
Be clear that msi_z790p blobs are for ddr5 only
Tonux599 Apr 24, 2025
a122fd5
Enable PS/2 keyboard in coreboot config
Tonux599 Apr 24, 2025
4c5c541
Add coreboot 25.03 to CI `save_cache`
Tonux599 Apr 24, 2025
d239562
Add patches for fan control on MSI PRO Z790-P
Tonux599 Apr 25, 2025
900278b
Use flashprog not flashrom
Tonux599 May 4, 2025
41d6391
MSI Z690 / Z790 - Enable PROC_SYSCTL support for Heads init script.
mdrobnak May 25, 2024
95439c3
Add `vm.panic_on_oom=1` to `coreboot-msi_z790p_ddr5.config`
Tonux599 May 5, 2025
e00da6f
Revert "initrd/bin/cbfs-init: add error check for flashrom command"
Tonux599 May 5, 2025
3c76947
Revert "initrd/bin/cbfs-init: workaround for >16MiB flash"
Tonux599 May 5, 2025
2c733c0
Revert "boards/msi*: use w/a for >16MiB flash"
Tonux599 May 5, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ jobs:
- build/x86/coreboot-4.11
- build/x86/coreboot-24.02.01
- build/x86/coreboot-24.12
- build/x86/coreboot-25.03
- build/x86/coreboot-dasharo
- build/x86/coreboot-purism
- build/x86/musl-cross-make-fd6be58297ee21fcba89216ccd0d4aca1e3f1c5c
Expand Down Expand Up @@ -260,6 +261,14 @@ workflows:
requires:
- x86-musl-cross-make

# coreboot 25.03
- build_and_persist:
name: msi_z790p_ddr5
target: msi_z790p_ddr5
subcommand: ""
requires:
- x86-musl-cross-make

# coreboot talos_2
- build_and_persist:
name: UNTESTED_talos-2
Expand Down
4 changes: 4 additions & 0 deletions blobs/msi_z790p_ddr5/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ami_bios.bin
ami_bios.zip
ifd.bin
me.bin
49 changes: 49 additions & 0 deletions blobs/msi_z790p_ddr5/download_extract.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#!/usr/bin/env bash

#
# These will change over time.
#
ami_bios_url="https://download.msi.com/bos_exe/mb/7E06vAG.zip"
ami_bios_file="E7E06IMS.AG0"
me_hash="7a33a31cf22ae7e70adcd6f46b848a1e35e030b87fec2e671daf8fb416406396"
ifd_hash="72ddb02b42d2dbb1e3ae745118905941bb4dcd4e68fa082e93598278e7b38259"
#
#

BLOBDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

if [[ -z "${COREBOOT_DIR}" ]]; then
echo "ERROR: No COREBOOT_DIR variable defined."
exit 1
fi

pushd "${COREBOOT_DIR}/util/ifdtool"
make
popd

IFDTOOL="${COREBOOT_DIR}/util/ifdtool/ifdtool"

pushd $BLOBDIR

curl -L --output ami_bios.zip "$ami_bios_url" || { echo "Downloading MSI BIOS failed." && exit 1; }

unzip -o -j ami_bios.zip "*/$ami_bios_file"

mv "$ami_bios_file" ./ami_bios.bin

$IFDTOOL -p adl ./ami_bios.bin --extract

rm ./flashregion_1_bios.bin ./flashregion_9_device_exp.bin

mv ./flashregion_0_flashdescriptor.bin ./ifd.bin
mv ./flashregion_2_intel_me.bin ./me.bin

$IFDTOOL -p adl ./ifd.bin --unlock --output ./ifd.bin
$IFDTOOL -p adl ./ifd.bin --altmedisable 1 --output ./ifd.bin

echo "$ifd_hash ifd.bin" | sha256sum --check || { echo "ifd.bin verification failed." && exit 1; }
echo "$me_hash me.bin" | sha256sum --check || { echo "me.bin verification failed." && exit 1; }

popd

echo "DONE!"
50 changes: 50 additions & 0 deletions boards/msi_z790p_ddr5/msi_z790p_ddr5.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# MSI PRO Z790-P (DDR5) board configuration

export CONFIG_COREBOOT=y
export CONFIG_COREBOOT_VERSION=25.03
export CONFIG_LINUX_VERSION=6.1.8

CONFIG_COREBOOT_CONFIG=config/coreboot-msi_z790p_ddr5.config
CONFIG_LINUX_CONFIG=config/linux-msi-z690-z790.config

CONFIG_KEXEC=y
CONFIG_QRENCODE=y
CONFIG_TPMTOTP=y
CONFIG_POPT=y
CONFIG_FLASHTOOLS=y
CONFIG_FLASHPROG=y
CONFIG_PCIUTILS=y
CONFIG_UTIL_LINUX=y
CONFIG_CRYPTSETUP2=y
CONFIG_GPG2=y
CONFIG_LVM2=y
CONFIG_MBEDTLS=y

CONFIG_DROPBEAR=n

CONFIG_HOTPKEY=n

CONFIG_CAIRO=y
CONFIG_FBWHIPTAIL=y

CONFIG_LINUX_USB=y
CONFIG_LINUX_IGC=y

export CONFIG_USB_KEYBOARD=n

export CONFIG_BOOTSCRIPT=/bin/gui-init

export CONFIG_BOOT_KERNEL_ADD=""
export CONFIG_BOOT_KERNEL_REMOVE=""

# TPM2 requirements
export CONFIG_TPM2_TOOLS=y
export CONFIG_PRIMARY_KEY_TYPE=ecc
CONFIG_TPM2_TSS=y
CONFIG_OPENSSL=y

export CONFIG_BOOT_DEV="/dev/nvme0n1"
export CONFIG_BOARD_NAME="MSI PRO Z790-P"
export CONFIG_FLASH_OPTIONS="flashprog --progress --programmer internal"

BOARD_TARGETS := msi_z790p_ddr5_blobs
Loading