Friends, I got a discrete GPU working! :) After applying the patches of csb_patcher.sh from CB:33509 , I did a change similar to CB:31450 but for A88XM-E sources (see below), got AMD HD6670 dGPU's AtomBIOS (used TechPowerUp GPU-Z utility instead of a lengthy method [1], perhaps a "Retrieval via Linux kernel" would've also worked), and set up a .config as in [2]. Later it turned out AtomBIOS isn't needed, probably because this card has it in its' own flash memory.

Maybe I would try to commit CB:31448 and CB:31450 again, considering they benefit not just G505S but the other boards as well. Since I couldn't get AMD discrete GPU working without the changes like these, they seem to be vitally important.

[1] https://mail.coreboot.org/pipermail/coreboot/2017-July/084660.html
[2] https://pastebin.com/ZJ7cyT8T

diff --git a/src/mainboard/asus/a88xm-e/Kconfig b/src/mainboard/asus/a88xm-e/Kconfig
index ea3073ac00..ca7085304f 100644
--- a/src/mainboard/asus/a88xm-e/Kconfig
+++ b/src/mainboard/asus/a88xm-e/Kconfig
@@ -29,6 +29,7 @@ config BOARD_SPECIFIC_OPTIONS
select SUPERIO_ITE_IT8728F
select BOARD_ROMSIZE_KB_8192
select GFXUMA
+ select MAINBOARD_HAS_MULTIPLE_VGA_ADAPTERS

choice
prompt "DDR3 memory voltage"
diff --git a/src/mainboard/asus/a88xm-e/OemCustomize.c b/src/mainboard/asus/a88xm-e/OemCustomize.c
index de41f54cd8..b64386381a 100644
--- a/src/mainboard/asus/a88xm-e/OemCustomize.c
+++ b/src/mainboard/asus/a88xm-e/OemCustomize.c
@@ -166,6 +166,8 @@ static CONST PSO_ENTRY ROMDATA MemoryTable_XM_E[] = {

void board_BeforeInitPost(struct sysinfo *cb, AMD_POST_PARAMS *InitPost)
{
+ /* Set to 0xD0 instead of 0xE0 to avoid the PCI resource allocation problems. */
+ InitPost->MemConfig.BottomIo = 0xD0;
if (CONFIG(BOARD_ASUS_A88XM_E))
InitPost->MemConfig.PlatformMemoryConfiguration = (PSO_ENTRY *) MemoryTable_XM_E;
}

View Change

To view, visit change 30987. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I60fa0636ba41f5f1a6a3faa2764bf2f0a968cf90
Gerrit-Change-Number: 30987
Gerrit-PatchSet: 35
Gerrit-Owner: Balázs Vinarz <vinibali1@gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Balázs Vinarz <vinibali1@gmail.com>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas@noos.fr>
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Mike Banon <mikebdp2@gmail.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Kyösti Mälkki <kyosti.malkki@gmail.com>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-Comment-Date: Sat, 04 Jan 2020 21:50:40 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment