Matt DeVillier has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/37397 )
Change subject: mb/google/glados: restore device-specific VBTs
......................................................................
mb/google/glados: restore device-specific VBTs
When migrating glados (and variants) to FSP 2.0, the older board-
specific VBTs were dropped in favor of the default FSP 2.0 VBT due to
compatibility issues. Now that libgfxinit is available and the default,
restore the board-specific VBTs so that external displays function
properly. Select MAINBOARD_NO_FSP_GOP for all variants except glados
since FSP/GOP init will not function properly with the older VBTs.
Test: build/boot chell and caroline variants w/libgfxinit, verify
external displays now work again.
Change-Id: If55a67e0d3d78e4acf80cee1733ad8e14b8847d4
Signed-off-by: Matt DeVillier <matt.devillier(a)gmail.com>
---
M src/mainboard/google/glados/Kconfig
A src/mainboard/google/glados/variants/asuka/data.vbt
A src/mainboard/google/glados/variants/caroline/data.vbt
A src/mainboard/google/glados/variants/cave/data.vbt
A src/mainboard/google/glados/variants/chell/data.vbt
A src/mainboard/google/glados/variants/lars/data.vbt
A src/mainboard/google/glados/variants/sentry/data.vbt
7 files changed, 2 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/97/37397/1
diff --git a/src/mainboard/google/glados/Kconfig b/src/mainboard/google/glados/Kconfig
index 52907cc..bc0c67b 100644
--- a/src/mainboard/google/glados/Kconfig
+++ b/src/mainboard/google/glados/Kconfig
@@ -20,6 +20,7 @@
select SOC_INTEL_SKYLAKE
select SYSTEM_TYPE_LAPTOP
select MAINBOARD_HAS_LIBGFXINIT
+ select MAINBOARD_NO_FSP_GOP if !BOARD_GOOGLE_GLADOS
if BOARD_GOOGLE_BASEBOARD_GLADOS
@@ -63,9 +64,6 @@
string
default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb"
-config INTEL_GMA_VBT_FILE
- default "3rdparty/fsp/KabylakeFspBinPkg/SampleCode/Vbt/Vbt.bin"
-
config MAX_CPUS
int
default 8
@@ -94,4 +92,5 @@
config UART_FOR_CONSOLE
int
default 2
+
endif
diff --git a/src/mainboard/google/glados/variants/asuka/data.vbt b/src/mainboard/google/glados/variants/asuka/data.vbt
new file mode 100644
index 0000000..8f2a7b0
--- /dev/null
+++ b/src/mainboard/google/glados/variants/asuka/data.vbt
Binary files differ
diff --git a/src/mainboard/google/glados/variants/caroline/data.vbt b/src/mainboard/google/glados/variants/caroline/data.vbt
new file mode 100644
index 0000000..02e1cd1
--- /dev/null
+++ b/src/mainboard/google/glados/variants/caroline/data.vbt
Binary files differ
diff --git a/src/mainboard/google/glados/variants/cave/data.vbt b/src/mainboard/google/glados/variants/cave/data.vbt
new file mode 100644
index 0000000..02e1cd1
--- /dev/null
+++ b/src/mainboard/google/glados/variants/cave/data.vbt
Binary files differ
diff --git a/src/mainboard/google/glados/variants/chell/data.vbt b/src/mainboard/google/glados/variants/chell/data.vbt
new file mode 100644
index 0000000..a654a5e
--- /dev/null
+++ b/src/mainboard/google/glados/variants/chell/data.vbt
Binary files differ
diff --git a/src/mainboard/google/glados/variants/lars/data.vbt b/src/mainboard/google/glados/variants/lars/data.vbt
new file mode 100644
index 0000000..0aac82c
--- /dev/null
+++ b/src/mainboard/google/glados/variants/lars/data.vbt
Binary files differ
diff --git a/src/mainboard/google/glados/variants/sentry/data.vbt b/src/mainboard/google/glados/variants/sentry/data.vbt
new file mode 100644
index 0000000..0aac82c
--- /dev/null
+++ b/src/mainboard/google/glados/variants/sentry/data.vbt
Binary files differ
--
To view, visit https://review.coreboot.org/c/coreboot/+/37397
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If55a67e0d3d78e4acf80cee1733ad8e14b8847d4
Gerrit-Change-Number: 37397
Gerrit-PatchSet: 1
Gerrit-Owner: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-MessageType: newchange
Matt DeVillier has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/37312 )
Change subject: mb/google/poppy/rammus: add libgfxinit support
......................................................................
mb/google/poppy/rammus: add libgfxinit support
Add libgfxinit support for rammus. Use panel init values from VBT.
Test: build/boot rammus with libgfxinit and Tianocore payload
Change-Id: I4775a36d83bd67a0064a162effaf96649e9c186d
Signed-off-by: Matt DeVillier <matt.devillier(a)gmail.com>
---
M src/mainboard/google/poppy/Kconfig
M src/mainboard/google/poppy/Makefile.inc
A src/mainboard/google/poppy/gma-mainboard.ads
M src/mainboard/google/poppy/variants/rammus/devicetree.cb
4 files changed, 40 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/12/37312/1
diff --git a/src/mainboard/google/poppy/Kconfig b/src/mainboard/google/poppy/Kconfig
index 9fafef7..e71c020 100644
--- a/src/mainboard/google/poppy/Kconfig
+++ b/src/mainboard/google/poppy/Kconfig
@@ -201,6 +201,7 @@
select DRIVERS_USB_ACPI
select INCLUDE_NHLT_BLOBS_RAMMUS if USE_BLOBS
select INTEL_GMA_HAVE_VBT
+ select MAINBOARD_HAS_LIBGFXINIT
select MAINBOARD_HAS_SPI_TPM_CR50
config VARIANT_SPECIFIC_OPTIONS_SORAKA
diff --git a/src/mainboard/google/poppy/Makefile.inc b/src/mainboard/google/poppy/Makefile.inc
index 030cf1d..9d26430 100644
--- a/src/mainboard/google/poppy/Makefile.inc
+++ b/src/mainboard/google/poppy/Makefile.inc
@@ -24,6 +24,7 @@
ramstage-$(CONFIG_EC_GOOGLE_CHROMEEC) += ec.c
ramstage-y += mainboard.c
ramstage-y += ramstage.c
+ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
smm-y += smihandler.c
smm-$(CONFIG_EC_GOOGLE_CHROMEEC) += ec.c
diff --git a/src/mainboard/google/poppy/gma-mainboard.ads b/src/mainboard/google/poppy/gma-mainboard.ads
new file mode 100644
index 0000000..87cdb5e
--- /dev/null
+++ b/src/mainboard/google/poppy/gma-mainboard.ads
@@ -0,0 +1,31 @@
+--
+-- This file is part of the coreboot project.
+--
+-- This program is free software; you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation; either version 2 of the License, or
+-- (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+
+with HW.GFX.GMA;
+with HW.GFX.GMA.Display_Probing;
+
+use HW.GFX.GMA;
+use HW.GFX.GMA.Display_Probing;
+
+private package GMA.Mainboard is
+
+ ports : constant Port_List :=
+ (Internal,
+ DP1,
+ DP2,
+ HDMI1,
+ HDMI2,
+ others => Disabled);
+
+end GMA.Mainboard;
diff --git a/src/mainboard/google/poppy/variants/rammus/devicetree.cb b/src/mainboard/google/poppy/variants/rammus/devicetree.cb
index 70a4667..f44f9ce 100644
--- a/src/mainboard/google/poppy/variants/rammus/devicetree.cb
+++ b/src/mainboard/google/poppy/variants/rammus/devicetree.cb
@@ -1,5 +1,12 @@
chip soc/intel/skylake
+ register "gpu_pp_up_delay_ms" = "200"
+ register "gpu_pp_down_delay_ms" = "500"
+ register "gpu_pp_cycle_delay_ms" = "600"
+ register "gpu_pp_backlight_on_delay_ms" = " 1"
+ register "gpu_pp_backlight_off_delay_ms" = "200"
+ register "gpu_pch_backlight_pwm_hz" = "1000"
+
# Deep Sx states
register "deep_s3_enable_ac" = "0"
register "deep_s3_enable_dc" = "0"
--
To view, visit https://review.coreboot.org/c/coreboot/+/37312
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I4775a36d83bd67a0064a162effaf96649e9c186d
Gerrit-Change-Number: 37312
Gerrit-PatchSet: 1
Gerrit-Owner: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-MessageType: newchange
Patrick Rudolph has uploaded a new patch set (#28) to the change originally created by Patrick Rudolph. ( https://review.coreboot.org/c/coreboot/+/30117 )
Change subject: arch/x86: Support x86_64 exceptions
......................................................................
arch/x86: Support x86_64 exceptions
* Doesn't affect existing x86_32 code.
Tested on qemu using division by zero.
Tested on Lenovo T410 with additional x86_64 patches.
Change-Id: Idd12c90a95cc2989eb9b2a718740a84222193f48
Signed-off-by: Patrick Rudolph <siro(a)das-labor.org>
---
M Documentation/arch/x86/index.md
M src/arch/x86/exception.c
M src/arch/x86/idt.S
M src/arch/x86/include/arch/registers.h
4 files changed, 141 insertions(+), 40 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/30117/28
--
To view, visit https://review.coreboot.org/c/coreboot/+/30117
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Idd12c90a95cc2989eb9b2a718740a84222193f48
Gerrit-Change-Number: 30117
Gerrit-PatchSet: 28
Gerrit-Owner: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Krystian Hebel <krystian.hebel(a)3mdeb.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newpatchset