Attention is currently required from: Angel Pons, Arthur Heymans, Patrick Rudolph.
Hello Angel Pons, Arthur Heymans, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/79754?usp=email
to look at the new patch set (#3).
The following approvals got outdated and were removed:
Code-Review+2 by Arthur Heymans
Change subject: northbridge/intel/sandybridge: Enable x86_64 for mrc.bin
......................................................................
northbridge/intel/sandybridge: Enable x86_64 for mrc.bin
Enable x86_64 support for MRC.bin:
- Add a wrapper function for console printing that calls into
long mode to call native do_putchar
- Remove Kconfig guard for x86_64 when MRC is being used
Tested: Booted Lenovo X220 using mrc.bin under x86_64 and
MRC is able to print to the console.
Change-Id: I21ffcb5f5d4bf155593e8111531bdf0ed7071dfc
Signed-off-by: Patrick Rudolph <patrick.rudolph(a)9elements.com>
---
M src/cpu/intel/model_206ax/Kconfig
M src/northbridge/intel/sandybridge/mrc_wrapper.S
M src/northbridge/intel/sandybridge/raminit_mrc.c
3 files changed, 20 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/79754/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/79754?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I21ffcb5f5d4bf155593e8111531bdf0ed7071dfc
Gerrit-Change-Number: 79754
Gerrit-PatchSet: 3
Gerrit-Owner: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-MessageType: newpatchset
Attention is currently required from: Justin Wu.
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/79755?usp=email
to look at the new patch set (#3).
The following approvals got outdated and were removed:
Verified-1 by build bot (Jenkins)
Change subject: mb/dell: Add Dell Precision M4800 (Haswell)
......................................................................
mb/dell: Add Dell Precision M4800 (Haswell)
Port of the Dell Precision M4800, a haswell workstation with an MXM
type-A slot. The MXM slot works with any other MXM GPUs, including GPUs
this board does not boot on vendor firmware. Libgfxinit does not appear
to work, possibly due to some unusual graphics setup but a workaround
is to use EDK2 and add a Gop driver to the Tianocore build. The EC is
the SMSC MEC5055 which seems to be compatible with the MEC5035 code.
Based on Nicholas Chin's E6430 port.
Working:
- USB EHCI debug (left side usb port closest to the touchpad)
- Keyboard
- Touchpad/trackpoint
- Ethernet
- Headphone port
- SD card reader
- mPCIe WiFi (With the MEC5035 radio enables commit)
- SeaBIOS 1.16.2
- edk2 (MrChromebox's fork, uefipayload_202309)
- dGPU (NVIDIA Quadro K2100M, NVIDIA GeForce GTX 1050)
- SATA DVD Drive
- SATA SSD
- SATA M.2
- DisplayPort
- Internal flashing
- Broadwell MRC
- Battery reporting (acpi copied from vendor)
Not working:
- S3 suspend: may be a similar issue to the E6430
- Physical Wireless switch
- Battery reporting
- Brightness hotkeys
- Lid close suspend
Unknown/Untested:
- ExpressCard
- Speakers (unclear if I broke mine or they don't work)
- TPM
- Dock
Change-Id: I49870b28be943dcb1932909f9d3ec4207cc11436
Signed-off-by: Justin Wu <jxw5883(a)runbox.io>
---
A src/mainboard/dell/precision_m4800/Kconfig
A src/mainboard/dell/precision_m4800/Kconfig.name
A src/mainboard/dell/precision_m4800/Makefile.inc
A src/mainboard/dell/precision_m4800/acpi/ac.asl
A src/mainboard/dell/precision_m4800/acpi/battery.asl
A src/mainboard/dell/precision_m4800/acpi/ec.asl
A src/mainboard/dell/precision_m4800/acpi/platform.asl
A src/mainboard/dell/precision_m4800/acpi/superio.asl
A src/mainboard/dell/precision_m4800/board_info.txt
A src/mainboard/dell/precision_m4800/cmos.default
A src/mainboard/dell/precision_m4800/cmos.layout
A src/mainboard/dell/precision_m4800/data.vbt
A src/mainboard/dell/precision_m4800/devicetree.cb
A src/mainboard/dell/precision_m4800/dsdt.asl
A src/mainboard/dell/precision_m4800/early_init.c
A src/mainboard/dell/precision_m4800/gma-mainboard.ads
A src/mainboard/dell/precision_m4800/gpio.c
A src/mainboard/dell/precision_m4800/hda_verb.c
A src/mainboard/dell/precision_m4800/mainboard.c
A src/mainboard/dell/precision_m4800/romstage.c
20 files changed, 1,575 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/55/79755/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/79755?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I49870b28be943dcb1932909f9d3ec4207cc11436
Gerrit-Change-Number: 79755
Gerrit-PatchSet: 3
Gerrit-Owner: Justin Wu <jxw5883(a)runbox.io>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Justin Wu <jxw5883(a)runbox.io>
Gerrit-MessageType: newpatchset
Attention is currently required from: Justin Wu.
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/79755?usp=email
to look at the new patch set (#2).
Change subject: mb/dell: Add Dell Precision M4800 (Haswell)
......................................................................
mb/dell: Add Dell Precision M4800 (Haswell)
Port of the Dell Precision M4800, a haswell workstation with an MXM
type-A slot. The MXM slot works with any other MXM GPUs, including GPUs
this board does not boot on vendor firmware. Libgfxinit does not appear
to work, possibly due to some unusual graphics setup but a workaround
is to use EDK2 and add a Gop driver to the Tianocore build. The EC is
the SMSC MEC5055 which seems to be compatible with the MEC5035 code.
Based on Nicholas Chin's E6430 port.
Working:
- USB EHCI debug (left side usb port closest to the touchpad)
- Keyboard
- Touchpad/trackpoint
- Ethernet
- Headphone port
- SD card reader
- mPCIe WiFi (With the MEC5035 radio enables commit)
- SeaBIOS 1.16.2
- edk2 (MrChromebox's fork, uefipayload_202309)
- dGPU (NVIDIA Quadro K2100M, NVIDIA GeForce GTX 1050)
- SATA DVD Drive
- SATA SSD
- SATA M.2
- DisplayPort
- Internal flashing
- Broadwell MRC
- Battery reporting (acpi copied from vendor)
Not working:
- S3 suspend: may be a similar issue to the E6430
- Physical Wireless switch
- Battery reporting
- Brightness hotkeys
- Lid close suspend
Unknown/Untested:
- ExpressCard
- Speakers (unclear if I broke mine or they don't work)
- TPM
- Dock
Change-Id: I49870b28be943dcb1932909f9d3ec4207cc11436
Signed-off-by: Justin Wu <jxw5883(a)runbox.io>
---
A src/mainboard/dell/precision_m4800/Kconfig
A src/mainboard/dell/precision_m4800/Kconfig.name
A src/mainboard/dell/precision_m4800/Makefile.inc
A src/mainboard/dell/precision_m4800/acpi/ac.asl
A src/mainboard/dell/precision_m4800/acpi/battery.asl
A src/mainboard/dell/precision_m4800/acpi/ec.asl
A src/mainboard/dell/precision_m4800/acpi/platform.asl
A src/mainboard/dell/precision_m4800/acpi/superio.asl
A src/mainboard/dell/precision_m4800/board_info.txt
A src/mainboard/dell/precision_m4800/cmos.default
A src/mainboard/dell/precision_m4800/cmos.layout
A src/mainboard/dell/precision_m4800/data.vbt
A src/mainboard/dell/precision_m4800/devicetree.cb
A src/mainboard/dell/precision_m4800/dsdt.asl
A src/mainboard/dell/precision_m4800/early_init.c
A src/mainboard/dell/precision_m4800/gma-mainboard.ads
A src/mainboard/dell/precision_m4800/gpio.c
A src/mainboard/dell/precision_m4800/hda_verb.c
A src/mainboard/dell/precision_m4800/mainboard.c
A src/mainboard/dell/precision_m4800/romstage.c
20 files changed, 1,576 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/55/79755/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/79755?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I49870b28be943dcb1932909f9d3ec4207cc11436
Gerrit-Change-Number: 79755
Gerrit-PatchSet: 2
Gerrit-Owner: Justin Wu <jxw5883(a)runbox.io>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Justin Wu <jxw5883(a)runbox.io>
Gerrit-MessageType: newpatchset
Subrata Banik has submitted this change. ( https://review.coreboot.org/c/coreboot/+/79763?usp=email )
Change subject: vendorcode/google/chromeos: Add API for Chromebook Plus check
......................................................................
vendorcode/google/chromeos: Add API for Chromebook Plus check
This patch implements an API which relies on the
chromeos_get_factory_config() function to retrieve the factory
config value.
This information is useful to determine whether a ChromeOS device
is branded as a Chromebook Plus based on specific bit flags:
- Bit 4 (0x10): Indicates whether the device chassis has the
"chromebook-plus" branding.
- Bits 3-0 (0x1): Must be 0x1 to signify compliance with
Chromebook Plus hardware specifications.
BUG=b:317880956
TEST=Able to verify that google/screebo is branded as
Chromebook Plus.
Change-Id: Iebaed1c60e34af4cc36316f1f87a89df778b0857
Signed-off-by: Subrata Banik <subratabanik(a)google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79763
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Kapil Porwal <kapilporwal(a)google.com>
---
M src/vendorcode/google/chromeos/chromeos.h
M src/vendorcode/google/chromeos/tpm_factory_config.c
2 files changed, 38 insertions(+), 0 deletions(-)
Approvals:
Kapil Porwal: Looks good to me, approved
build bot (Jenkins): Verified
diff --git a/src/vendorcode/google/chromeos/chromeos.h b/src/vendorcode/google/chromeos/chromeos.h
index c14af31..0c5e4f7 100644
--- a/src/vendorcode/google/chromeos/chromeos.h
+++ b/src/vendorcode/google/chromeos/chromeos.h
@@ -32,6 +32,18 @@
* Return `-1` in case of error.
*/
int64_t chromeos_get_factory_config(void);
+/*
+ * Determines whether a ChromeOS device is branded as a Chromebook Plus
+ * based on specific bit flags:
+ *
+ * - Bit 4 (0x10): Indicates whether the device chassis has the
+ * "chromebook-plus" branding.
+ * - Bits 3-0 (0x1): Must be 0x1 to signify compliance with Chromebook Plus
+ * hardware specifications.
+ *
+ * To be considered a Chromebook Plus, either of these conditions needs to be met.
+ */
+bool chromeos_device_branded_plus(void);
/*
* Declaration for mainboards to use to generate ACPI-specific ChromeOS needs.
diff --git a/src/vendorcode/google/chromeos/tpm_factory_config.c b/src/vendorcode/google/chromeos/tpm_factory_config.c
index 3b68020..4f8801a 100644
--- a/src/vendorcode/google/chromeos/tpm_factory_config.c
+++ b/src/vendorcode/google/chromeos/tpm_factory_config.c
@@ -2,8 +2,13 @@
#include <console/console.h>
#include <security/tpm/tss.h>
+#include <types.h>
#include <vendorcode/google/chromeos/chromeos.h>
+#define CHROMEBOOK_PLUS_HARD_BRANDED BIT(4)
+#define CHROMEBOOK_PLUS_SOFT_BRANDED BIT(0)
+#define CHROMEBOOK_PLUS_DEVICE (CHROMEBOOK_PLUS_HARD_BRANDED | CHROMEBOOK_PLUS_SOFT_BRANDED)
+
int64_t chromeos_get_factory_config(void)
{
static int64_t factory_config = -1;
@@ -29,3 +34,24 @@
return factory_config;
}
+
+/*
+ * Determines whether a ChromeOS device is branded as a Chromebook Plus
+ * based on specific bit flags:
+ *
+ * - Bit 4 (0x10): Indicates whether the device chassis has the
+ * "chromebook-plus" branding.
+ * - Bits 3-0 (0x1): Must be 0x1 to signify compliance with Chromebook Plus
+ * hardware specifications.
+ *
+ * To be considered a Chromebook Plus, either of these conditions needs to be met.
+ */
+bool chromeos_device_branded_plus(void)
+{
+ int64_t factory_config = chromeos_get_factory_config();
+
+ if (factory_config < 0)
+ return false;
+
+ return factory_config & CHROMEBOOK_PLUS_DEVICE;
+}
--
To view, visit https://review.coreboot.org/c/coreboot/+/79763?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Iebaed1c60e34af4cc36316f1f87a89df778b0857
Gerrit-Change-Number: 79763
Gerrit-PatchSet: 5
Gerrit-Owner: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Eric Lai <ericllai(a)google.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged
Attention is currently required from: David Wu, Dinesh Gehlot, Eran Mitrani, Jack Lai, Jakub Czapiga, Kapil Porwal, Mac Chiang, Tarun, Tyler Wang.
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/79765?usp=email )
The change is no longer submittable: All-Comments-Resolved is unsatisfied now.
Change subject: mb/google/rex/var/karis: Enhance CNVi and PCIe switching
......................................................................
Patch Set 2:
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/79765/comment/89d8836b_d349d396 :
PS2, Line 9: Set PCIe related GPIOs to NC if fw_config use "WIFI_CNVI".
: Set CNVi related GPIOs to NC if fw_config use "WIFI_PCIE".
: Remove "ALC5650_NO_AMP_I2S" case in fw_config_gpio_padbased_override().
: bt_i2s_enable_pads should not relevant to audio codec/amp, and it is
: already enabled in "WIFI_CNVI" case.
If you enumerate items, please format this as a list.
--
To view, visit https://review.coreboot.org/c/coreboot/+/79765?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ib1a32f1a38ae33cf992b80a3408aa8e2fa3ddab0
Gerrit-Change-Number: 79765
Gerrit-PatchSet: 2
Gerrit-Owner: Tyler Wang <tyler.wang(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: David Wu <david_wu(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Reviewer: Eran Mitrani <mitrani(a)google.com>
Gerrit-Reviewer: Jack Lai <jack.lai(a)intel.corp-partner.google.com>
Gerrit-Reviewer: Jakub Czapiga <czapiga(a)google.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Mac Chiang <mac.chiang(a)intel.corp-partner.google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Tarun <tstuli(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: David Wu <david_wu(a)quanta.corp-partner.google.com>
Gerrit-Attention: Eran Mitrani <mitrani(a)google.com>
Gerrit-Attention: Jack Lai <jack.lai(a)intel.corp-partner.google.com>
Gerrit-Attention: Jakub Czapiga <czapiga(a)google.com>
Gerrit-Attention: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Attention: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Attention: Tyler Wang <tyler.wang(a)quanta.corp-partner.google.com>
Gerrit-Attention: Tarun <tstuli(a)gmail.com>
Gerrit-Attention: Mac Chiang <mac.chiang(a)intel.corp-partner.google.com>
Gerrit-Comment-Date: Sat, 30 Dec 2023 05:50:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment