Attention is currently required from: Jan Philipp Groß.
Hello Angel Pons,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/82760?usp=email
to look at the new patch set (#2).
Change subject: mb/asrock: Add Z97E-ITX/ac (Haswell/Broadwell)
......................................................................
mb/asrock: Add Z97E-ITX/ac (Haswell/Broadwell)
This is a rudimentary port of this board. It was done with Haswell Autoport, wherein some adjustments for Broadwell were made (Thanks to Angel Pons!).
The VBT was copied from /sys/kernel/debug/dri/1/i915_vbt on version 2.20 of the vendor firmware.
Working:
- Broadwell MRC.bin
- Libgfxinit
- HDMI
- DVI-I
- Rear USB ports (with the exception of the top-most USB-2-port)
- mPCIe SSD
- mPCIe WiFi slot
- x16 PCIe slot
- edk2
Not yet tested:
- SATA ports
- Ethernet
- DisplayPort
- PS/2 keyboard/mouse
- USB 2.0 header
- USB 3.0 header
- Audio header
Not working:
- Broadwell CPUs (refer to Angel Pons Z97 Extreme 6 port for further info)
Special thanks to Angel Pons for guiding me through the process of porting this board and pushing it to Gerrit!
Change-Id: I3b940e9281814e8360900221714c0dfa3ae39540
Signed-off-by: Jan Philipp Groß <jeangrande(a)mailbox.org>
---
A src/mainboard/asrock/z97e-itx_ac/Kconfig
A src/mainboard/asrock/z97e-itx_ac/Kconfig.name
A src/mainboard/asrock/z97e-itx_ac/Makefile.mk
A src/mainboard/asrock/z97e-itx_ac/acpi/ec.asl
A src/mainboard/asrock/z97e-itx_ac/acpi/platform.asl
A src/mainboard/asrock/z97e-itx_ac/acpi/superio.asl
A src/mainboard/asrock/z97e-itx_ac/board_info.txt
A src/mainboard/asrock/z97e-itx_ac/bootblock.c
A src/mainboard/asrock/z97e-itx_ac/data.vbt
A src/mainboard/asrock/z97e-itx_ac/devicetree.cb
A src/mainboard/asrock/z97e-itx_ac/dsdt.asl
A src/mainboard/asrock/z97e-itx_ac/gma-mainboard.ads
A src/mainboard/asrock/z97e-itx_ac/gpio.c
A src/mainboard/asrock/z97e-itx_ac/hda_verb.c
A src/mainboard/asrock/z97e-itx_ac/romstage.c
15 files changed, 473 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/60/82760/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/82760?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I3b940e9281814e8360900221714c0dfa3ae39540
Gerrit-Change-Number: 82760
Gerrit-PatchSet: 2
Gerrit-Owner: Jan Philipp Groß <jeangrande(a)mailbox.org>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Jan Philipp Groß <jeangrande(a)mailbox.org>
Nico Huber has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/82762?usp=email )
Change subject: console/i2c_smbus: Allow to send data w/o register offset
......................................................................
console/i2c_smbus: Allow to send data w/o register offset
Not every I2C target requires a register address. Not sending one
for every console char saves us a lot of overhead.
Change-Id: I1c714768fdd4aea4885e40a85d21fa42414ce32c
Signed-off-by: Nico Huber <nico.h(a)gmx.de>
---
M src/console/Kconfig
M src/drivers/smbus/i2c_smbus_console.c
2 files changed, 16 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/62/82762/1
diff --git a/src/console/Kconfig b/src/console/Kconfig
index 30b2862..db71204 100644
--- a/src/console/Kconfig
+++ b/src/console/Kconfig
@@ -318,8 +318,16 @@
help
I2C address of the device which logs the data.
+config CONSOLE_I2C_SMBUS_HAVE_DATA_REGISTER
+ bool "Write to a specific data register"
+ default y if SC16IS7XX_INIT
+ help
+ Select this to provide a register address that will
+ be sent before every data byte.
+
config CONSOLE_I2C_SMBUS_SLAVE_DATA_REGISTER
hex "Data register address of the I2C logging device"
+ depends on CONSOLE_I2C_SMBUS_HAVE_DATA_REGISTER
default 0x00 if SC16IS7XX_INIT
help
This an 8-bit data register.
diff --git a/src/drivers/smbus/i2c_smbus_console.c b/src/drivers/smbus/i2c_smbus_console.c
index d651790..00b5393 100644
--- a/src/drivers/smbus/i2c_smbus_console.c
+++ b/src/drivers/smbus/i2c_smbus_console.c
@@ -13,7 +13,12 @@
void i2c_smbus_console_tx_byte(unsigned char c)
{
- do_smbus_write_byte(CONFIG_FIXED_SMBUS_IO_BASE,
- CONFIG_CONSOLE_I2C_SMBUS_SLAVE_ADDRESS,
- CONFIG_CONSOLE_I2C_SMBUS_SLAVE_DATA_REGISTER, c);
+ if (CONFIG(CONSOLE_I2C_SMBUS_HAVE_DATA_REGISTER)) {
+ do_smbus_write_byte(CONFIG_FIXED_SMBUS_IO_BASE,
+ CONFIG_CONSOLE_I2C_SMBUS_SLAVE_ADDRESS,
+ CONFIG_CONSOLE_I2C_SMBUS_SLAVE_DATA_REGISTER, c);
+ } else {
+ do_smbus_send_byte(CONFIG_FIXED_SMBUS_IO_BASE,
+ CONFIG_CONSOLE_I2C_SMBUS_SLAVE_ADDRESS, c);
+ }
}
--
To view, visit https://review.coreboot.org/c/coreboot/+/82762?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I1c714768fdd4aea4885e40a85d21fa42414ce32c
Gerrit-Change-Number: 82762
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Attention is currently required from: Jan Philipp Groß.
Angel Pons has posted comments on this change by Jan Philipp Groß. ( https://review.coreboot.org/c/coreboot/+/82760?usp=email )
Change subject: mb/asrock: Add Z97E-ITX/ac (Haswell/Broadwell)
......................................................................
Patch Set 1: Code-Review+1
(1 comment)
Patchset:
PS1:
Welcome to coreboot Gerrit!
--
To view, visit https://review.coreboot.org/c/coreboot/+/82760?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I3b940e9281814e8360900221714c0dfa3ae39540
Gerrit-Change-Number: 82760
Gerrit-PatchSet: 1
Gerrit-Owner: Jan Philipp Groß <jeangrande(a)mailbox.org>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Jan Philipp Groß <jeangrande(a)mailbox.org>
Gerrit-Comment-Date: Sun, 02 Jun 2024 22:40:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Attention is currently required from: Nicholas Chin, Vladimir Serbinenko.
Paul Menzel has posted comments on this change by Vladimir Serbinenko. ( https://review.coreboot.org/c/coreboot/+/82722?usp=email )
Change subject: intelvbtupgrader: Add a tool to upgrade VBT files to newer versions
......................................................................
Patch Set 8:
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/82722/comment/23b854d7_470d99f2?us… :
PS7, Line 8:
> Not really related. I did it for volteer chromebook and will upload new vbt after I test it. […]
Thank you for replying so quickly. I meant, you also had to upgrade due to the FSP update, and FSP not supporting the older VBT version 240?
--
To view, visit https://review.coreboot.org/c/coreboot/+/82722?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ie677403898b7b8ab9f57ad77668155bb55188769
Gerrit-Change-Number: 82722
Gerrit-PatchSet: 8
Gerrit-Owner: Vladimir Serbinenko <phcoder(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Nicholas Chin <nic.c3.14(a)gmail.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Nicholas Chin <nic.c3.14(a)gmail.com>
Gerrit-Attention: Vladimir Serbinenko <phcoder(a)gmail.com>
Gerrit-Comment-Date: Sun, 02 Jun 2024 21:14:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Paul Menzel <paulepanter(a)mailbox.org>
Comment-In-Reply-To: Vladimir Serbinenko <phcoder(a)gmail.com>
Attention is currently required from: Nicholas Chin, Vladimir Serbinenko.
Paul Menzel has posted comments on this change by Vladimir Serbinenko. ( https://review.coreboot.org/c/coreboot/+/82722?usp=email )
Change subject: intelvbtupgrader: Add a tool to upgrade VBT files to newer versions
......................................................................
Patch Set 8:
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/82722/comment/de8a7e7d_b5b56b72?us… :
PS8, Line 8:
Am I understanding the code correctly, that currently two versions are supported? 240 and 250?
--
To view, visit https://review.coreboot.org/c/coreboot/+/82722?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ie677403898b7b8ab9f57ad77668155bb55188769
Gerrit-Change-Number: 82722
Gerrit-PatchSet: 8
Gerrit-Owner: Vladimir Serbinenko <phcoder(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Nicholas Chin <nic.c3.14(a)gmail.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Nicholas Chin <nic.c3.14(a)gmail.com>
Gerrit-Attention: Vladimir Serbinenko <phcoder(a)gmail.com>
Gerrit-Comment-Date: Sun, 02 Jun 2024 19:33:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Attention is currently required from: Felix Held, Joel Linn, Nicholas Sudsgaard, Vladimir Serbinenko.
Paul Menzel has posted comments on this change by Vladimir Serbinenko. ( https://review.coreboot.org/c/coreboot/+/82737?usp=email )
Change subject: superio/ite/it8728f: Support setting power state after power failure
......................................................................
Patch Set 3: Code-Review+1
--
To view, visit https://review.coreboot.org/c/coreboot/+/82737?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I3dcc4f032bc5f629fb916c4122beb8dc096bab20
Gerrit-Change-Number: 82737
Gerrit-PatchSet: 3
Gerrit-Owner: Vladimir Serbinenko <phcoder(a)gmail.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Joel Linn <jl_coreboot(a)conductive.de>
Gerrit-Reviewer: Nicholas Sudsgaard <devel+coreboot(a)nsudsgaard.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Nicholas Sudsgaard <devel+coreboot(a)nsudsgaard.com>
Gerrit-Attention: Joel Linn <jl_coreboot(a)conductive.de>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Attention: Vladimir Serbinenko <phcoder(a)gmail.com>
Gerrit-Comment-Date: Sun, 02 Jun 2024 19:32:42 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes