From cfd47cc0a5feedcaac7e2e9ba1b9a9ca927c2e6c Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 22 May 2021 18:38:18 +0100 Subject: build/roms: re-do KCMA-D8 and KGPE-D16 configs 2MiB and 16MiB were the only flash sizes supported. 4 and 8MiB have been added. Now there are only libgfxinit_txtmode configs. Use seabios_withgrub or seabios_grubfirst ROMs if you wish to use an add-on GPU. --- ...ng-Option-ROM-so-we-can-use-graphics-card.patch | 36 -------------------- ...16-Allow-loading-Option-ROMs-so-that-we-c.patch | 39 ---------------------- 2 files changed, 75 deletions(-) delete mode 100644 resources/coreboot/fam15h_rdimm/patches/0002-Allow-loading-Option-ROM-so-we-can-use-graphics-card.patch delete mode 100644 resources/coreboot/fam15h_rdimm/patches/0005-asus-kgpe-d16-Allow-loading-Option-ROMs-so-that-we-c.patch (limited to 'resources/coreboot/fam15h_rdimm') diff --git a/resources/coreboot/fam15h_rdimm/patches/0002-Allow-loading-Option-ROM-so-we-can-use-graphics-card.patch b/resources/coreboot/fam15h_rdimm/patches/0002-Allow-loading-Option-ROM-so-we-can-use-graphics-card.patch deleted file mode 100644 index 39378c83..00000000 --- a/resources/coreboot/fam15h_rdimm/patches/0002-Allow-loading-Option-ROM-so-we-can-use-graphics-card.patch +++ /dev/null @@ -1,36 +0,0 @@ -From cd7f511bc8e7227f20eec25aa69fa6bc33d59233 Mon Sep 17 00:00:00 2001 -From: "D.d.P.F. Lombard" -Date: Sun, 7 Feb 2021 17:05:38 +0100 -Subject: [PATCH 2/6] Allow loading Option ROM (so we can use graphics cards) - -Since 49d99fcebc7c3860def51812c2f723ad3e8a4ea3 Option ROMs can't be loaded -PCI graphics cards anymore when "Graphics initialization" is set to "Use -native graphics init". This means only onboard graphics can be used until -the OS or SeaBIOS initialise PCI graphics cards. -This patch allows us to do a little hack. We can set "Use native graphics -init" to "Run VGA Option ROMs" and activate "Load Option ROMs on PCI -devices". This way coreboot will load the Option ROM on PCI graphics cards -which means payloads like GRUB can display graphics. -There's only one catch: onboard graphics won't work anymore. Because of this -we'll include seavgabios.bin (compiled by SeaBIOS) in CBFS. This will give -us the option to use both PCI graphics cards and onboard graphics that work -with native graphics init. ---- - src/mainboard/asus/kcma-d8/Kconfig | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/src/mainboard/asus/kcma-d8/Kconfig b/src/mainboard/asus/kcma-d8/Kconfig -index d568ff579b..adba4df782 100644 ---- a/src/mainboard/asus/kcma-d8/Kconfig -+++ b/src/mainboard/asus/kcma-d8/Kconfig -@@ -29,7 +29,6 @@ config BOARD_SPECIFIC_OPTIONS - select SPI_FLASH - select DRIVERS_I2C_W83795 - select DRIVERS_ASPEED_AST2050 -- select MAINBOARD_FORCE_NATIVE_VGA_INIT - select POWER_STATE_DEFAULT_ON_AFTER_FAILURE - - config MAINBOARD_DIR --- -2.25.1 - diff --git a/resources/coreboot/fam15h_rdimm/patches/0005-asus-kgpe-d16-Allow-loading-Option-ROMs-so-that-we-c.patch b/resources/coreboot/fam15h_rdimm/patches/0005-asus-kgpe-d16-Allow-loading-Option-ROMs-so-that-we-c.patch deleted file mode 100644 index d2cca22c..00000000 --- a/resources/coreboot/fam15h_rdimm/patches/0005-asus-kgpe-d16-Allow-loading-Option-ROMs-so-that-we-c.patch +++ /dev/null @@ -1,39 +0,0 @@ -From b2c6c3265fcdc2a7614958a3af17b4826fe12307 Mon Sep 17 00:00:00 2001 -From: Leah Rowe -Date: Fri, 7 May 2021 19:39:34 +0100 -Subject: [PATCH 5/6] asus/kgpe-d16: Allow loading Option ROMs (so that we can - use graphics cards) - -Since 49d99fcebc7c3860def51812c2f723ad3e8a4ea3 Option ROMs can't be loaded -PCI graphics cards anymore when "Graphics initialization" is set to "Use -native graphics init". This means only onboard graphics can be used until -the OS or SeaBIOS initialise PCI graphics cards. -This patch allows us to do a little hack. We can set "Use native graphics -init" to "Run VGA Option ROMs" and activate "Load Option ROMs on PCI -devices". This way coreboot will load the Option ROM on PCI graphics cards -which means payloads like GRUB can display graphics. -There's only one catch: onboard graphics won't work anymore. Because of this -we'll include seavgabios.bin (compiled by SeaBIOS) in CBFS. This will give -us the option to use both PCI graphics cards and onboard graphics that work -with native graphics init. - -This is copied from the same patch for KCMA-D8 ---- - src/mainboard/asus/kgpe-d16/Kconfig | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/src/mainboard/asus/kgpe-d16/Kconfig b/src/mainboard/asus/kgpe-d16/Kconfig -index ffbfd53169..95016a0c7f 100644 ---- a/src/mainboard/asus/kgpe-d16/Kconfig -+++ b/src/mainboard/asus/kgpe-d16/Kconfig -@@ -30,7 +30,6 @@ config BOARD_SPECIFIC_OPTIONS - select MAINBOARD_HAS_LPC_TPM - select DRIVERS_I2C_W83795 - select DRIVERS_ASPEED_AST2050 -- select MAINBOARD_FORCE_NATIVE_VGA_INIT - select POWER_STATE_DEFAULT_ON_AFTER_FAILURE - select IPMI_KCS - --- -2.25.1 - -- cgit v1.2.1