From 1fea3e446316e5e6857eddb161e221f7f13551d1 Mon Sep 17 00:00:00 2001 From: Thierry Laurion Date: Fri, 10 Nov 2023 14:51:59 -0500 Subject: [PATCH] t530-dgpu boards : have the boards call vbios download script automatically. Breaks on debian-12 as of now but should work on debian-11 for others, gems say deprecated calls.... Signed-off-by: Thierry Laurion --- .../UNTESTED_t530-dgpu-hotp-maximized.config | 6 ++++-- .../UNTESTED_t530-dgpu-maximized.config | 5 ++++- .../UNTESTED_w530-dgpu-K1000m-hotp-maximized.config | 5 ++++- .../UNTESTED_w530-dgpu-K1000m-maximized.config | 5 ++++- 4 files changed, 16 insertions(+), 5 deletions(-) diff --git a/boards/UNTESTED_t530-dgpu-hotp-maximized/UNTESTED_t530-dgpu-hotp-maximized.config b/boards/UNTESTED_t530-dgpu-hotp-maximized/UNTESTED_t530-dgpu-hotp-maximized.config index 8778bb4a..001562b6 100644 --- a/boards/UNTESTED_t530-dgpu-hotp-maximized/UNTESTED_t530-dgpu-hotp-maximized.config +++ b/boards/UNTESTED_t530-dgpu-hotp-maximized/UNTESTED_t530-dgpu-hotp-maximized.config @@ -77,12 +77,14 @@ export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal" # Make the Coreboot build depend on the following 3rd party blobs: $(build)/coreboot-$(CONFIG_COREBOOT_VERSION)/$(BOARD)/.build: \ - $(pwd)/blobs/xx30/me.bin - + $(pwd)/blobs/xx30/me.bin $(pwd)/blobs/xx30/10de,0def.rom $(pwd)/blobs/xx30/8086,0106.rom $(pwd)/blobs/xx30/me.bin: COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \ $(pwd)/blobs/xx30/download_clean_me.sh $(pwd)/blobs/xx30 +$(pwd)/blobs/xx30/10de,0def.rom: + $(pwd)/blobs/xx30/vbios_t530.sh + # Generate split 4MB top / 8MB bottom ROMs BOARD_TARGETS := split_8mb4mb diff --git a/boards/UNTESTED_t530-dgpu-maximized/UNTESTED_t530-dgpu-maximized.config b/boards/UNTESTED_t530-dgpu-maximized/UNTESTED_t530-dgpu-maximized.config index 88415f90..e6f4e229 100644 --- a/boards/UNTESTED_t530-dgpu-maximized/UNTESTED_t530-dgpu-maximized.config +++ b/boards/UNTESTED_t530-dgpu-maximized/UNTESTED_t530-dgpu-maximized.config @@ -77,12 +77,15 @@ export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal" # Make the Coreboot build depend on the following 3rd party blobs: $(build)/coreboot-$(CONFIG_COREBOOT_VERSION)/$(BOARD)/.build: \ - $(pwd)/blobs/xx30/me.bin + $(pwd)/blobs/xx30/me.bin $(pwd)/blobs/xx30/10de,0def.rom $(pwd)/blobs/xx30/8086,0106.rom $(pwd)/blobs/xx30/me.bin: COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \ $(pwd)/blobs/xx30/download_clean_me.sh $(pwd)/blobs/xx30 +$(pwd)/blobs/xx30/10de,0def.rom: + $(pwd)/blobs/xx30/vbios_t530.sh + # Generate split 4MB top / 8MB bottom ROMs BOARD_TARGETS := split_8mb4mb diff --git a/boards/UNTESTED_w530-dgpu-K1000m-hotp-maximized/UNTESTED_w530-dgpu-K1000m-hotp-maximized.config b/boards/UNTESTED_w530-dgpu-K1000m-hotp-maximized/UNTESTED_w530-dgpu-K1000m-hotp-maximized.config index 52a82dc2..675ce302 100644 --- a/boards/UNTESTED_w530-dgpu-K1000m-hotp-maximized/UNTESTED_w530-dgpu-K1000m-hotp-maximized.config +++ b/boards/UNTESTED_w530-dgpu-K1000m-hotp-maximized/UNTESTED_w530-dgpu-K1000m-hotp-maximized.config @@ -77,12 +77,15 @@ export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal" # Make the Coreboot build depend on the following 3rd party blobs: $(build)/coreboot-$(CONFIG_COREBOOT_VERSION)/$(BOARD)/.build: \ - $(pwd)/blobs/xx30/me.bin + $(pwd)/blobs/xx30/me.bin $(pwd)/blobs/xx30/10de,0ffc.rom $(pwd)/blobs/xx30/8086,0106.rom $(pwd)/blobs/xx30/me.bin: COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \ $(pwd)/blobs/xx30/download_clean_me.sh $(pwd)/blobs/xx30 +$(pwd)/blobs/xx30/10de,0ffc.rom: + $(pwd)/blobs/xx30/vbios_w530.sh + # Generate split 4MB top / 8MB bottom ROMs BOARD_TARGETS := split_8mb4mb diff --git a/boards/UNTESTED_w530-dgpu-K1000m-maximized/UNTESTED_w530-dgpu-K1000m-maximized.config b/boards/UNTESTED_w530-dgpu-K1000m-maximized/UNTESTED_w530-dgpu-K1000m-maximized.config index 4c8a5b60..e75323f3 100644 --- a/boards/UNTESTED_w530-dgpu-K1000m-maximized/UNTESTED_w530-dgpu-K1000m-maximized.config +++ b/boards/UNTESTED_w530-dgpu-K1000m-maximized/UNTESTED_w530-dgpu-K1000m-maximized.config @@ -77,12 +77,15 @@ export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal" # Make the Coreboot build depend on the following 3rd party blobs: $(build)/coreboot-$(CONFIG_COREBOOT_VERSION)/$(BOARD)/.build: \ - $(pwd)/blobs/xx30/me.bin + $(pwd)/blobs/xx30/me.bin $(pwd)/blobs/xx30/10de,0ffc.rom $(pwd)/blobs/xx30/8086,0106.rom $(pwd)/blobs/xx30/me.bin: COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \ $(pwd)/blobs/xx30/download_clean_me.sh $(pwd)/blobs/xx30 +$(pwd)/blobs/xx30/10de,0ffc.rom: + $(pwd)/blobs/xx30/vbios_w530.sh + # Generate split 4MB top / 8MB bottom ROMs BOARD_TARGETS := split_8mb4mb