xx20/xx30 blob based boards: move ME blobs target outside of board configs (targets/xx*_blobs.mk)

Makefile: have inclusion of all defined $BOARD BOARD_TARGETS (me, split_8mb4mb, ...)

TODO: VBIOS scripts for W530/T530 need way more work. To be done later.

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
This commit is contained in:
Thierry Laurion 2024-01-04 13:48:52 -05:00
parent d7c2bda112
commit 77f9933538
No known key found for this signature in database
GPG Key ID: 9A53E1BB3FF00461
28 changed files with 99 additions and 307 deletions

View File

@ -82,7 +82,7 @@ $(error "Unexpected value of $$(CONFIG_TARGET_ARCH): $(CONFIG_TARGET_ARCH)")
endif endif
ifneq "$(BOARD_TARGETS)" "" ifneq "$(BOARD_TARGETS)" ""
include targets/$(BOARD_TARGETS).mk include $(foreach TARGET,$(BOARD_TARGETS),targets/$(TARGET).mk)
endif endif
# Create directories if they don't already exist # Create directories if they don't already exist

View File

@ -63,15 +63,5 @@ export CONFIG_BOOT_DEV="/dev/sda1"
export CONFIG_BOARD_NAME="ThinkPad T520-hotp-maximized" export CONFIG_BOARD_NAME="ThinkPad T520-hotp-maximized"
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal:ich_spi_mode=hwseq" export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal:ich_spi_mode=hwseq"
# xx20 boards require of you initially call one of the following to habe gbe.bin ifd.bin and me.bin #Include bits related to sandybridge ME blob download/neutering down to BUP
# - blobs/xx20/download_parse_me.sh BOARD_TARGETS := xx20_me_blobs
# To download Lenovo update ME binary, neuter+deactivate ME, produce reduced IFD ME region and expended BIOS IFD region.
# Make the Coreboot build depend on the following 3rd party blobs:
$(build)/coreboot-$(CONFIG_COREBOOT_VERSION)/$(BOARD)/.build: \
$(pwd)/blobs/xx20/me.bin
$(pwd)/blobs/xx20/me.bin:
COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \
$(pwd)/blobs/xx20/download_parse_me.sh

View File

@ -63,15 +63,5 @@ export CONFIG_BOOT_DEV="/dev/sda1"
export CONFIG_BOARD_NAME="ThinkPad T520-maximized" export CONFIG_BOARD_NAME="ThinkPad T520-maximized"
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal:ich_spi_mode=hwseq" export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal:ich_spi_mode=hwseq"
# xx20 boards require of you initially call one of the following to habe gbe.bin ifd.bin and me.bin #Include bits related to sandybridge ME blob download/neutering down to BUP
# - blobs/xx20/download_parse_me.sh BOARD_TARGETS := xx20_me_blobs
# To download Lenovo update ME binary, neuter+deactivate ME, produce reduced IFD ME region and expended BIOS IFD region.
# Make the Coreboot build depend on the following 3rd party blobs:
$(build)/coreboot-$(CONFIG_COREBOOT_VERSION)/$(BOARD)/.build: \
$(pwd)/blobs/xx20/me.bin
$(pwd)/blobs/xx20/me.bin:
COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \
$(pwd)/blobs/xx20/download_parse_me.sh

View File

@ -67,24 +67,15 @@ export CONFIG_BOOT_DEV="/dev/sda1"
export CONFIG_BOARD_NAME="Thinkpad T530-dgpu-hotp-maximized" export CONFIG_BOARD_NAME="Thinkpad T530-dgpu-hotp-maximized"
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal" export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal"
# xx30-*-maximized boards require of you initially call one of the
# following to have gbe.bin ifd.bin and me.bin
# - blobs/xx30/download_clean_me.sh
# To download Lenovo original ME binary, neuter+deactivate ME, produce
# reduced IFD ME region and expanded BIOS IFD region.
# - blobs/xx30/extract.sh
# To extract from backuped 8M (bottom SPI) ME binary, GBE and IFD blobs.
# Make the Coreboot build depend on the following 3rd party blobs: # Make the Coreboot build depend on the following 3rd party blobs:
$(build)/coreboot-$(CONFIG_COREBOOT_VERSION)/$(BOARD)/.build: \ $(build)/coreboot-$(CONFIG_COREBOOT_VERSION)/$(BOARD)/.build: \
$(pwd)/blobs/xx30/me.bin $(pwd)/blobs/xx30/10de,0def.rom $(pwd)/blobs/xx30/8086,0106.rom $(pwd)/blobs/xx30/me.bin $(pwd)/blobs/xx30/10de,0def.rom $(pwd)/blobs/xx30/8086,0106.rom
$(pwd)/blobs/xx30/me.bin: #Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP
COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \ BOARD_TARGETS := xx30_me_blobs
$(pwd)/blobs/xx30/download_clean_me.sh $(pwd)/blobs/xx30
$(pwd)/blobs/xx30/10de,0def.rom: $(pwd)/blobs/xx30/10de,0def.rom:
$(pwd)/blobs/xx30/vbios_t530.sh $(pwd)/blobs/xx30/vbios_t530.sh
# Generate split 4MB top / 8MB bottom ROMs # Generate split 4MB top / 8MB bottom ROMs
BOARD_TARGETS := split_8mb4mb BOARD_TARGETS += split_8mb4mb

View File

@ -67,25 +67,15 @@ export CONFIG_BOOT_DEV="/dev/sda1"
export CONFIG_BOARD_NAME="Thinkpad T530-dgpu-maximized" export CONFIG_BOARD_NAME="Thinkpad T530-dgpu-maximized"
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal" export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal"
# xx30-*-maximized boards require of you initially call one of the
# following to have gbe.bin ifd.bin and me.bin
# - blobs/xx30/download_clean_me.sh
# To download Lenovo original ME binary, neuter+deactivate ME, produce
# reduced IFD ME region and expanded BIOS IFD region.
# - blobs/xx30/extract.sh
# To extract from backuped 8M (bottom SPI) ME binary, GBE and IFD blobs.
# Make the Coreboot build depend on the following 3rd party blobs: # Make the Coreboot build depend on the following 3rd party blobs:
$(build)/coreboot-$(CONFIG_COREBOOT_VERSION)/$(BOARD)/.build: \ $(build)/coreboot-$(CONFIG_COREBOOT_VERSION)/$(BOARD)/.build: \
$(pwd)/blobs/xx30/me.bin $(pwd)/blobs/xx30/10de,0def.rom $(pwd)/blobs/xx30/8086,0106.rom $(pwd)/blobs/xx30/me.bin $(pwd)/blobs/xx30/10de,0def.rom $(pwd)/blobs/xx30/8086,0106.rom
#Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP
$(pwd)/blobs/xx30/me.bin: BOARD_TARGETS := xx30_me_blobs
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/10de,0def.rom:
$(pwd)/blobs/xx30/vbios_t530.sh $(pwd)/blobs/xx30/vbios_t530.sh
# Generate split 4MB top / 8MB bottom ROMs # Generate split 4MB top / 8MB bottom ROMs
BOARD_TARGETS := split_8mb4mb BOARD_TARGETS += split_8mb4mb

View File

@ -67,22 +67,8 @@ export CONFIG_BOOT_DEV="/dev/sda1"
export CONFIG_BOARD_NAME="Thinkpad T530-hotp-maximized" export CONFIG_BOARD_NAME="Thinkpad T530-hotp-maximized"
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal" export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal"
# xx30-*-maximized boards require of you initially call one of the #Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP
# following to have gbe.bin ifd.bin and me.bin BOARD_TARGETS := xx30_me_blobs
# - blobs/xx30/download_clean_me.sh
# To download Lenovo original ME binary, neuter+deactivate ME, produce
# reduced IFD ME region and expanded BIOS IFD region.
# - blobs/xx30/extract.sh
# To extract from backuped 8M (bottom SPI) ME binary, GBE and IFD blobs.
# 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:
COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \
$(pwd)/blobs/xx30/download_clean_me.sh $(pwd)/blobs/xx30
# Generate split 4MB top / 8MB bottom ROMs # Generate split 4MB top / 8MB bottom ROMs
BOARD_TARGETS := split_8mb4mb BOARD_TARGETS += split_8mb4mb

View File

@ -67,22 +67,8 @@ export CONFIG_BOOT_DEV="/dev/sda1"
export CONFIG_BOARD_NAME="Thinkpad T530-maximized" export CONFIG_BOARD_NAME="Thinkpad T530-maximized"
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal" export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal"
# xx30-*-maximized boards require of you initially call one of the #Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP
# following to have gbe.bin ifd.bin and me.bin BOARD_TARGETS := xx30_me_blobs
# - blobs/xx30/download_clean_me.sh
# To download Lenovo original ME binary, neuter+deactivate ME, produce
# reduced IFD ME region and expanded BIOS IFD region.
# - blobs/xx30/extract.sh
# To extract from backuped 8M (bottom SPI) ME binary, GBE and IFD blobs.
# 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:
COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \
$(pwd)/blobs/xx30/download_clean_me.sh $(pwd)/blobs/xx30
# Generate split 4MB top / 8MB bottom ROMs # Generate split 4MB top / 8MB bottom ROMs
BOARD_TARGETS := split_8mb4mb BOARD_TARGETS += split_8mb4mb

View File

@ -79,13 +79,11 @@ export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal"
$(build)/coreboot-$(CONFIG_COREBOOT_VERSION)/$(BOARD)/.build: \ $(build)/coreboot-$(CONFIG_COREBOOT_VERSION)/$(BOARD)/.build: \
$(pwd)/blobs/xx30/me.bin $(pwd)/blobs/xx30/10de,0ffc.rom $(pwd)/blobs/xx30/8086,0106.rom $(pwd)/blobs/xx30/me.bin $(pwd)/blobs/xx30/10de,0ffc.rom $(pwd)/blobs/xx30/8086,0106.rom
#Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP
$(pwd)/blobs/xx30/me.bin: BOARD_TARGETS := xx30_me_blobs
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/10de,0ffc.rom:
$(pwd)/blobs/xx30/vbios_w530.sh $(pwd)/blobs/xx30/vbios_w530.sh
# Generate split 4MB top / 8MB bottom ROMs # Generate split 4MB top / 8MB bottom ROMs
BOARD_TARGETS := split_8mb4mb BOARD_TARGETS += split_8mb4mb

View File

@ -79,13 +79,11 @@ export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal"
$(build)/coreboot-$(CONFIG_COREBOOT_VERSION)/$(BOARD)/.build: \ $(build)/coreboot-$(CONFIG_COREBOOT_VERSION)/$(BOARD)/.build: \
$(pwd)/blobs/xx30/me.bin $(pwd)/blobs/xx30/10de,0ffc.rom $(pwd)/blobs/xx30/8086,0106.rom $(pwd)/blobs/xx30/me.bin $(pwd)/blobs/xx30/10de,0ffc.rom $(pwd)/blobs/xx30/8086,0106.rom
#Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP
$(pwd)/blobs/xx30/me.bin: BOARD_TARGETS := xx30_me_blobs
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/10de,0ffc.rom:
$(pwd)/blobs/xx30/vbios_w530.sh $(pwd)/blobs/xx30/vbios_w530.sh
# Generate split 4MB top / 8MB bottom ROMs # Generate split 4MB top / 8MB bottom ROMs
BOARD_TARGETS := split_8mb4mb BOARD_TARGETS += split_8mb4mb

View File

@ -79,13 +79,11 @@ export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal"
$(build)/coreboot-$(CONFIG_COREBOOT_VERSION)/$(BOARD)/.build: \ $(build)/coreboot-$(CONFIG_COREBOOT_VERSION)/$(BOARD)/.build: \
$(pwd)/blobs/xx30/me.bin $(pwd)/blobs/xx30/10de,0ffb.rom $(pwd)/blobs/xx30/8086,0106.rom $(pwd)/blobs/xx30/me.bin $(pwd)/blobs/xx30/10de,0ffb.rom $(pwd)/blobs/xx30/8086,0106.rom
#Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP
$(pwd)/blobs/xx30/me.bin: BOARD_TARGETS := xx30_me_blobs
COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \
$(pwd)/blobs/xx30/download_clean_me.sh $(pwd)/blobs/xx30
$(pwd)/blobs/xx30/10de,0ffb.rom: $(pwd)/blobs/xx30/10de,0ffb.rom:
$(pwd)/blobs/xx30/vbios_w530.sh $(pwd)/blobs/xx30/vbios_w530.sh
# Generate split 4MB top / 8MB bottom ROMs # Generate split 4MB top / 8MB bottom ROMs
BOARD_TARGETS := split_8mb4mb BOARD_TARGETS += split_8mb4mb

View File

@ -79,13 +79,11 @@ export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal"
$(build)/coreboot-$(CONFIG_COREBOOT_VERSION)/$(BOARD)/.build: \ $(build)/coreboot-$(CONFIG_COREBOOT_VERSION)/$(BOARD)/.build: \
$(pwd)/blobs/xx30/me.bin $(pwd)/blobs/xx30/10de,0ffb.rom $(pwd)/blobs/xx30/8086,0106.rom $(pwd)/blobs/xx30/me.bin $(pwd)/blobs/xx30/10de,0ffb.rom $(pwd)/blobs/xx30/8086,0106.rom
#Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP
$(pwd)/blobs/xx30/me.bin: BOARD_TARGETS := xx30_me_blobs
COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \
$(pwd)/blobs/xx30/download_clean_me.sh $(pwd)/blobs/xx30
$(pwd)/blobs/xx30/10de,0ffb.rom: $(pwd)/blobs/xx30/10de,0ffb.rom:
$(pwd)/blobs/xx30/vbios_w530.sh $(pwd)/blobs/xx30/vbios_w530.sh
# Generate split 4MB top / 8MB bottom ROMs # Generate split 4MB top / 8MB bottom ROMs
BOARD_TARGETS := split_8mb4mb BOARD_TARGETS += split_8mb4mb

View File

@ -67,15 +67,5 @@ export CONFIG_BOOT_DEV="/dev/sda1"
export CONFIG_BOARD_NAME="ThinkPad T420-hotp-maximized" export CONFIG_BOARD_NAME="ThinkPad T420-hotp-maximized"
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal:ich_spi_mode=hwseq" export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal:ich_spi_mode=hwseq"
# xx20 boards require of you initially call one of the following to habe gbe.bin ifd.bin and me.bin #Include bits related to sandybridge ME blob download/neutering down to BUP
# - blobs/xx20/download_parse_me.sh BOARD_TARGETS := xx20_me_blobs
# To download Lenovo update ME binary, neuter+deactivate ME, produce reduced IFD ME region and expended BIOS IFD region.
# Make the Coreboot build depend on the following 3rd party blobs:
$(build)/coreboot-$(CONFIG_COREBOOT_VERSION)/$(BOARD)/.build: \
$(pwd)/blobs/xx20/me.bin
$(pwd)/blobs/xx20/me.bin:
COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \
$(pwd)/blobs/xx20/download_parse_me.sh

View File

@ -66,15 +66,5 @@ export CONFIG_BOOT_DEV="/dev/sda1"
export CONFIG_BOARD_NAME="ThinkPad T420-maximized" export CONFIG_BOARD_NAME="ThinkPad T420-maximized"
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal:ich_spi_mode=hwseq" export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal:ich_spi_mode=hwseq"
# xx20 boards require of you initially call one of the following to habe gbe.bin ifd.bin and me.bin #Include bits related to sandybridge ME blob download/neutering down to BUP
# - blobs/xx20/download_parse_me.sh BOARD_TARGETS := xx20_me_blobs
# To download Lenovo update ME binary, neuter+deactivate ME, produce reduced IFD ME region and expended BIOS IFD region.
# Make the Coreboot build depend on the following 3rd party blobs:
$(build)/coreboot-$(CONFIG_COREBOOT_VERSION)/$(BOARD)/.build: \
$(pwd)/blobs/xx20/me.bin
$(pwd)/blobs/xx20/me.bin:
COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \
$(pwd)/blobs/xx20/download_parse_me.sh

View File

@ -65,22 +65,8 @@ export CONFIG_BOOT_DEV="/dev/sda1"
export CONFIG_BOARD_NAME="Thinkpad T430-hotp-maximized" export CONFIG_BOARD_NAME="Thinkpad T430-hotp-maximized"
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal" export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal"
# xx30-*-maximized boards require of you initially call one of the #Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP
# following to have gbe.bin ifd.bin and me.bin BOARD_TARGETS := xx30_me_blobs
# - blobs/xx30/download_clean_me.sh
# To download Lenovo original ME binary, neuter+deactivate ME, produce
# reduced IFD ME region and expanded BIOS IFD region.
# - blobs/xx30/extract.sh
# To extract from backuped 8M (bottom SPI) ME binary, GBE and IFD blobs.
# 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:
COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \
$(pwd)/blobs/xx30/download_clean_me.sh $(pwd)/blobs/xx30
# Generate split 4MB top / 8MB bottom ROMs # Generate split 4MB top / 8MB bottom ROMs
BOARD_TARGETS := split_8mb4mb BOARD_TARGETS += split_8mb4mb

View File

@ -66,22 +66,8 @@ export CONFIG_BOOT_DEV="/dev/sda1"
export CONFIG_BOARD_NAME="Thinkpad T430-maximized" export CONFIG_BOARD_NAME="Thinkpad T430-maximized"
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal" export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal"
# xx30-*-maximized boards require of you initially call one of the #Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP
# following to have gbe.bin ifd.bin and me.bin BOARD_TARGETS := xx30_me_blobs
# - blobs/xx30/download_clean_me.sh
# To download Lenovo original ME binary, neuter+deactivate ME, produce
# reduced IFD ME region and expanded BIOS IFD region.
# - blobs/xx30/extract.sh
# To extract from backuped 8M (bottom SPI) ME binary, GBE and IFD blobs.
# 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:
COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \
$(pwd)/blobs/xx30/download_clean_me.sh $(pwd)/blobs/xx30
# Generate split 4MB top / 8MB bottom ROMs # Generate split 4MB top / 8MB bottom ROMs
BOARD_TARGETS := split_8mb4mb BOARD_TARGETS += split_8mb4mb

View File

@ -53,4 +53,4 @@ $(pwd)/blobs/t440p/me.bin:
$(pwd)/blobs/t440p/download-clean-me $(pwd)/blobs/t440p $(pwd)/blobs/t440p/download-clean-me $(pwd)/blobs/t440p
# Generate split 4MB top / 8MB bottom ROMs # Generate split 4MB top / 8MB bottom ROMs
BOARD_TARGETS := split_8mb4mb BOARD_TARGETS += split_8mb4mb

View File

@ -67,22 +67,8 @@ export CONFIG_BOOT_DEV="/dev/sda1"
export CONFIG_BOARD_NAME="Thinkpad W530-hotp-maximized" export CONFIG_BOARD_NAME="Thinkpad W530-hotp-maximized"
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal" export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal"
# xx30-*-maximized boards require of you initially call one of the #Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP
# following to have gbe.bin ifd.bin and me.bin BOARD_TARGETS := xx30_me_blobs
# - blobs/xx30/download_clean_me.sh
# To download Lenovo original ME binary, neuter+deactivate ME, produce
# reduced IFD ME region and expanded BIOS IFD region.
# - blobs/xx30/extract.sh
# To extract from backuped 8M (bottom SPI) ME binary, GBE and IFD blobs.
# 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:
COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \
$(pwd)/blobs/xx30/download_clean_me.sh $(pwd)/blobs/xx30
# Generate split 4MB top / 8MB bottom ROMs # Generate split 4MB top / 8MB bottom ROMs
BOARD_TARGETS := split_8mb4mb BOARD_TARGETS += split_8mb4mb

View File

@ -67,22 +67,8 @@ export CONFIG_BOOT_DEV="/dev/sda1"
export CONFIG_BOARD_NAME="Thinkpad W530-maximized" export CONFIG_BOARD_NAME="Thinkpad W530-maximized"
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal" export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal"
# xx30-*-maximized boards require of you initially call one of the #Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP
# following to have gbe.bin ifd.bin and me.bin BOARD_TARGETS := xx30_me_blobs
# - blobs/xx30/download_clean_me.sh
# To download Lenovo original ME binary, neuter+deactivate ME, produce
# reduced IFD ME region and expanded BIOS IFD region.
# - blobs/xx30/extract.sh
# To extract from backuped 8M (bottom SPI) ME binary, GBE and IFD blobs.
# 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:
COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \
$(pwd)/blobs/xx30/download_clean_me.sh $(pwd)/blobs/xx30
# Generate split 4MB top / 8MB bottom ROMs # Generate split 4MB top / 8MB bottom ROMs
BOARD_TARGETS := split_8mb4mb BOARD_TARGETS += split_8mb4mb

View File

@ -53,4 +53,4 @@ $(pwd)/blobs/w541/me.bin:
$(pwd)/blobs/w541/download-clean-me $(pwd)/blobs/w541 $(pwd)/blobs/w541/download-clean-me $(pwd)/blobs/w541
# Generate split 4MB top / 8MB bottom ROMs # Generate split 4MB top / 8MB bottom ROMs
BOARD_TARGETS := split_8mb4mb BOARD_TARGETS += split_8mb4mb

View File

@ -67,15 +67,5 @@ export CONFIG_BOOT_DEV="/dev/sda1"
export CONFIG_BOARD_NAME="ThinkPad X220-hotp-maximized" export CONFIG_BOARD_NAME="ThinkPad X220-hotp-maximized"
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal:ich_spi_mode=hwseq" export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal:ich_spi_mode=hwseq"
# xx20 boards require of you initially call one of the following to habe gbe.bin ifd.bin and me.bin #Include bits related to sandybridge ME blob download/neutering down to BUP
# - blobs/xx20/download_parse_me.sh BOARD_TARGETS := xx20_me_blobs
# To download Lenovo update ME binary, neuter+deactivate ME, produce reduced IFD ME region and expended BIOS IFD region.
# Make the Coreboot build depend on the following 3rd party blobs:
$(build)/coreboot-$(CONFIG_COREBOOT_VERSION)/$(BOARD)/.build: \
$(pwd)/blobs/xx20/me.bin
$(pwd)/blobs/xx20/me.bin:
COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \
$(pwd)/blobs/xx20/download_parse_me.sh

View File

@ -67,15 +67,5 @@ export CONFIG_BOOT_DEV="/dev/sda1"
export CONFIG_BOARD_NAME="ThinkPad X220-maximized" export CONFIG_BOARD_NAME="ThinkPad X220-maximized"
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal:ich_spi_mode=hwseq" export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal:ich_spi_mode=hwseq"
# xx20 boards require of you initially call one of the following to habe gbe.bin ifd.bin and me.bin #Include bits related to sandybridge ME blob download/neutering down to BUP
# - blobs/xx20/download_parse_me.sh BOARD_TARGETS += xx20_me_blobs
# To download Lenovo update ME binary, neuter+deactivate ME, produce reduced IFD ME region and expended BIOS IFD region.
# Make the Coreboot build depend on the following 3rd party blobs:
$(build)/coreboot-$(CONFIG_COREBOOT_VERSION)/$(BOARD)/.build: \
$(pwd)/blobs/xx20/me.bin
$(pwd)/blobs/xx20/me.bin:
COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \
$(pwd)/blobs/xx20/download_parse_me.sh

View File

@ -79,22 +79,8 @@ export CONFIG_BOOT_DEV="/dev/sda1"
export CONFIG_BOARD_NAME="Thinkpad X230-hotp-maximized-eDP" export CONFIG_BOARD_NAME="Thinkpad X230-hotp-maximized-eDP"
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal" export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal"
# xx30-*-maximized boards require of you initially call one of the #Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP
# following to have gbe.bin ifd.bin and me.bin BOARD_TARGETS := xx30_me_blobs
# - blobs/xx30/download_clean_me.sh
# To download Lenovo original ME binary, neuter+deactivate ME, produce
# reduced IFD ME region and expanded BIOS IFD region.
# - blobs/xx30/extract.sh
# To extract from backuped 8M (bottom SPI) ME binary, GBE and IFD blobs.
# 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:
COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \
$(pwd)/blobs/xx30/download_clean_me.sh $(pwd)/blobs/xx30
# Generate split 4MB top / 8MB bottom ROMs # Generate split 4MB top / 8MB bottom ROMs
BOARD_TARGETS := split_8mb4mb BOARD_TARGETS += split_8mb4mb

View File

@ -70,22 +70,8 @@ export CONFIG_BOOT_DEV="/dev/sda1"
export CONFIG_BOARD_NAME="Thinkpad X230-hotp-maximized" export CONFIG_BOARD_NAME="Thinkpad X230-hotp-maximized"
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal" export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal"
# xx30-*-maximized boards require of you initially call one of the #Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP
# following to have gbe.bin ifd.bin and me.bin BOARD_TARGETS := xx30_me_blobs
# - blobs/xx30/download_clean_me.sh
# To download Lenovo original ME binary, neuter+deactivate ME, produce
# reduced IFD ME region and expanded BIOS IFD region.
# - blobs/xx30/extract.sh
# To extract from backuped 8M (bottom SPI) ME binary, GBE and IFD blobs.
# 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:
COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \
$(pwd)/blobs/xx30/download_clean_me.sh $(pwd)/blobs/xx30
# Generate split 4MB top / 8MB bottom ROMs # Generate split 4MB top / 8MB bottom ROMs
BOARD_TARGETS := split_8mb4mb BOARD_TARGETS += split_8mb4mb

View File

@ -69,22 +69,8 @@ export CONFIG_BOOT_DEV="/dev/sda1"
export CONFIG_BOARD_NAME="Thinkpad X230-hotp-maximized_usb-kb" export CONFIG_BOARD_NAME="Thinkpad X230-hotp-maximized_usb-kb"
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal" export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal"
# xx30-*-maximized boards require of you initially call one of the #Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP
# following to have gbe.bin ifd.bin and me.bin BOARD_TARGETS := xx30_me_blobs
# - blobs/xx30/download_clean_me.sh
# To download Lenovo original ME binary, neuter+deactivate ME, produce
# reduced IFD ME region and expanded BIOS IFD region.
# - blobs/xx30/extract.sh
# To extract from backuped 8M (bottom SPI) ME binary, GBE and IFD blobs.
# 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:
COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \
$(pwd)/blobs/xx30/download_clean_me.sh $(pwd)/blobs/xx30
# Generate split 4MB top / 8MB bottom ROMs # Generate split 4MB top / 8MB bottom ROMs
BOARD_TARGETS := split_8mb4mb BOARD_TARGETS += split_8mb4mb

View File

@ -79,22 +79,8 @@ export CONFIG_BOOT_DEV="/dev/sda1"
export CONFIG_BOARD_NAME="Thinkpad X230-maximized-eDP" export CONFIG_BOARD_NAME="Thinkpad X230-maximized-eDP"
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal" export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal"
# xx30-*-maximized boards require of you initially call one of the #Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP
# following to have gbe.bin ifd.bin and me.bin BOARD_TARGETS := xx30_me_blobs
# - blobs/xx30/download_clean_me.sh
# To download Lenovo original ME binary, neuter+deactivate ME, produce
# reduced IFD ME region and expanded BIOS IFD region.
# - blobs/xx30/extract.sh
# To extract from backuped 8M (bottom SPI) ME binary, GBE and IFD blobs.
# 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:
COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \
$(pwd)/blobs/xx30/download_clean_me.sh $(pwd)/blobs/xx30
# Generate split 4MB top / 8MB bottom ROMs # Generate split 4MB top / 8MB bottom ROMs
BOARD_TARGETS := split_8mb4mb BOARD_TARGETS += split_8mb4mb

View File

@ -70,22 +70,8 @@ export CONFIG_BOOT_DEV="/dev/sda1"
export CONFIG_BOARD_NAME="Thinkpad X230-maximized" export CONFIG_BOARD_NAME="Thinkpad X230-maximized"
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal" export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal"
# xx30-*-maximized boards require of you initially call one of the #Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP
# following to have gbe.bin ifd.bin and me.bin BOARD_TARGETS := xx30_me_blobs
# - blobs/xx30/download_clean_me.sh
# To download Lenovo original ME binary, neuter+deactivate ME, produce
# reduced IFD ME region and expanded BIOS IFD region.
# - blobs/xx30/extract.sh
# To extract from backuped 8M (bottom SPI) ME binary, GBE and IFD blobs.
# 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:
COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \
$(pwd)/blobs/xx30/download_clean_me.sh $(pwd)/blobs/xx30
# Generate split 4MB top / 8MB bottom ROMs # Generate split 4MB top / 8MB bottom ROMs
BOARD_TARGETS := split_8mb4mb BOARD_TARGETS += split_8mb4mb

15
targets/xx20_me_blobs.mk Normal file
View File

@ -0,0 +1,15 @@
# Targets for downloading xx20 ME blob, neutering it down to BUP region and deactivating ME.
# xx20 boards require of you initially call one of the following to habe gbe.bin ifd.bin and me.bin
# - blobs/xx20/download_parse_me.sh
# To download Lenovo update ME binary, neuter+deactivate ME, produce reduced IFD ME region and expended BIOS IFD region.
# Make the Coreboot build depend on the following 3rd party blobs:
$(build)/coreboot-$(CONFIG_COREBOOT_VERSION)/$(BOARD)/.build: \
$(pwd)/blobs/xx20/me.bin
$(pwd)/blobs/xx20/me.bin:
COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \
$(pwd)/blobs/xx20/download_parse_me.sh

18
targets/xx30_me_blobs.mk Normal file
View File

@ -0,0 +1,18 @@
# Targets for downloading xx30 ME blob, neutering it down to BUP+ROMP region and deactivating ME.
# xx30-*-maximized boards require of you initially call one of the
# following to have gbe.bin ifd.bin and me.bin
# - blobs/xx30/download_clean_me.sh
# To download Lenovo original ME binary, neuter+deactivate ME, produce
# reduced IFD ME region and expanded BIOS IFD region.
# - blobs/xx30/extract.sh
# To extract from backuped 8M (bottom SPI) ME binary, GBE and IFD blobs.
# 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:
COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \
$(pwd)/blobs/xx30/download_clean_me.sh $(pwd)/blobs/xx30