Attention is currently required from: Francois Toguo Fotso, Furquan Shaikh, Tim Wawrzynczak, Kane Chen, Karthik Ramasubramanian.
Nick Vaccaro has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/57685 )
Change subject: soc/intel/common: Add CPU Crashlog PCI driver
......................................................................
Patch Set 6: Code-Review+1
(3 comments)
Patchset:
PS6:
Looks good, just a nit and a question.
File src/soc/intel/common/block/crashlog/cpu_crashlog.c:
https://review.coreboot.org/c/coreboot/+/57685/comment/bb9aded3_3a73dac3
PS6, Line 5: #include "crashlog_lib.h"
nit - group of local includes follows group of system includes
https://review.coreboot.org/c/coreboot/+/57685/comment/8e2cf5c3_20ed4387
PS6, Line 263: if (!is_dev_enabled(dev))
Would .init ever get called on a disabled device?
--
To view, visit https://review.coreboot.org/c/coreboot/+/57685
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5cb61fa2570adcfe51680141ee12e0e83930bb19
Gerrit-Change-Number: 57685
Gerrit-PatchSet: 6
Gerrit-Owner: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: Francois Toguo Fotso <francois.toguo.fotso(a)intel.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Kane Chen <kane.chen(a)intel.com>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Francois Toguo Fotso <francois.toguo.fotso(a)intel.com>
Gerrit-Attention: Furquan Shaikh <furquan(a)google.com>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Kane Chen <kane.chen(a)intel.com>
Gerrit-Attention: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Comment-Date: Mon, 04 Oct 2021 19:47:13 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Furquan Shaikh, Tim Wawrzynczak, Kane Chen, Karthik Ramasubramanian.
Nick Vaccaro has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/57686 )
Change subject: soc/intel/common: Add crashlog records to BERT
......................................................................
Patch Set 3: Code-Review+1
(2 comments)
File src/soc/intel/common/block/acpi/acpi_bert.c:
https://review.coreboot.org/c/coreboot/+/57686/comment/99484018_6310e6a3
PS3, Line 34: if (cpu_entry)
This check isn't needed, it's covered on line 24.
https://review.coreboot.org/c/coreboot/+/57686/comment/8e8dec6e_f1ad3af7
PS3, Line 52: if (pmc_entry)
This check isn't needed, it's covered on line 24.
--
To view, visit https://review.coreboot.org/c/coreboot/+/57686
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I646053e00fbe4649d5fdcc7ae91dfa8477a5ae65
Gerrit-Change-Number: 57686
Gerrit-PatchSet: 3
Gerrit-Owner: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Kane Chen <kane.chen(a)intel.com>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Furquan Shaikh <furquan(a)google.com>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Kane Chen <kane.chen(a)intel.com>
Gerrit-Attention: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Comment-Date: Mon, 04 Oct 2021 18:55:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Lance Zhao, Martin Roth, Philipp Hug, Tim Wawrzynczak, Christian Walter, Angel Pons, Julius Werner, Ron Minnich.
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/58080 )
Change subject: src/acpi to src/lib: Fix spelling errors
......................................................................
Patch Set 3:
(1 comment)
File src/device/oprom/x86emu/prim_ops.c:
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-129769):
https://review.coreboot.org/c/coreboot/+/58080/comment/2e8dd06a_71e78e55
PS3, Line 2461: * will only support up to feature 1, which we set in register EAX.
code indent should use tabs where possible
--
To view, visit https://review.coreboot.org/c/coreboot/+/58080
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5b8ecdfe75d99028fee820a2034466a8ad1c5e63
Gerrit-Change-Number: 58080
Gerrit-PatchSet: 3
Gerrit-Owner: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Lance Zhao
Gerrit-Reviewer: Philipp Hug <philipp.hug(a)gmail.com>
Gerrit-Reviewer: Philipp Hug <philipp(a)hug.cx>
Gerrit-Reviewer: Ron Minnich <rminnich(a)gmail.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Lance Zhao
Gerrit-Attention: Martin Roth <martinroth(a)google.com>
Gerrit-Attention: Philipp Hug <philipp(a)hug.cx>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-Attention: Ron Minnich <rminnich(a)gmail.com>
Gerrit-Comment-Date: Mon, 04 Oct 2021 18:47:06 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/57561 )
Change subject: Documentation: Add OCP Mono Lake mainboard
......................................................................
Documentation: Add OCP Mono Lake mainboard
Add information about the OCP Mono Lake mainboard.
Change-Id: I2109cca0e4037a2945bcb7e4d80897b48ada54af
Signed-off-by: Marc Jones <marcjones(a)sysproconsutling.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57561
Reviewed-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Reviewed-by: Jay Talbott <JayTalbott(a)sysproconsulting.com>
Tested-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
---
M Documentation/mainboard/index.md
A Documentation/mainboard/ocp/monolake.md
2 files changed, 150 insertions(+), 0 deletions(-)
Approvals:
build bot (Jenkins): Verified
Stefan Reinauer: Verified; Looks good to me, approved
Jay Talbott: Looks good to me, but someone else must approve
diff --git a/Documentation/mainboard/index.md b/Documentation/mainboard/index.md
index 60302cb..39cd9a4 100644
--- a/Documentation/mainboard/index.md
+++ b/Documentation/mainboard/index.md
@@ -99,6 +99,10 @@
- [MS-7707](msi/ms7707/ms7707.md)
+## OCP
+
+- [Mono Lake](ocp/monolake.md)
+
## Open Cellular
- [Elgon](opencellular/elgon.md)
diff --git a/Documentation/mainboard/ocp/monolake.md b/Documentation/mainboard/ocp/monolake.md
new file mode 100644
index 0000000..e825bff
--- /dev/null
+++ b/Documentation/mainboard/ocp/monolake.md
@@ -0,0 +1,146 @@
+# OCP Mono Lake
+
+This page describes coreboot support status for the [OCP] (Open Compute Project)
+Mono Lake server platform.
+
+## Introduction
+
+OCP Mono Lake server platform is a component of multi-host server Yosemite-V1.
+Facebook [introduced Yosemite] in 2015 and the [Mono Lake was accepted] to OCP in 2019.
+
+Mono Lake server is a single socket BroadwellDE server.
+
+Yosemite-V1 may host up to 4 Mono Lake servers (blades) in one sled.
+
+The Yosemite-V1 system is in mass production. Facebook, Intel, ITRenew and partners
+jointly develop Open System Firmware (OSF) solution on Mono Lake as an alternative
+solution. The OSF solution is based on coreboot/FSP/LinuxBoot stack. A firmware binary
+is available from ITRenew.
+
+coreboot Mono Lake is supported on the coreboot version 4.11 branch.
+The Broadwell-DE FSP v1.0 support was dropped after 4.11.
+
+
+## Required blobs
+
+Mono Lake server OSF solution requires:
+- [FSP] blob: SysPro custom FSP is required to support the 16-core Broadwell-DE on Mono Lake
+- Microcode: Available through github.com:otcshare/Intel-Generic-Microcode.git
+- ME binary: Available under NDA with Intel
+
+## Payload
+- LinuxBoot: Linuxboot is the prefered coreboot payload for Mono Lake.
+ It can be built following [All about u-root].
+
+ Tested configuration:
+ Linux Kernel v5.10.44
+ [u-root Mono Lake pull request]
+ u-root build command:
+ GO111MODULE=off u-root -build=bb -uinitcmd=systemboot \
+ -files="${FLASHROMDIR}/flashrom:bin/flashrom" \
+ -files="${VPDDIR}/vpd:bin/vpd" \
+ core github.com/u-root/u-root/cmds/boot/{systemboot,pxeboot,boot} \
+ github.com/u-root/u-root/cmds/exp/{cbmem,dmidecode,modprobe,ipmidump,netboo… \
+
+ note: flashrom and vpd binaries must be precompiled
+
+## Flashing coreboot
+
+Mono Lake in-band BIOS firmware image update uses [flashrom]:
+ flashrom -p internal:ich_spi_mode=hwseq -c "Opaque flash chip" --ifd \
+ -i bios --noverify-all -w <path to coreboot image>
+
+Yosemite-V1 OpenBMC BIOS firmware image update uses fw-util:
+ fw-util slotx --update bios <path to coreboot image>
+
+## Yosimite-V1 server controls
+
+To power off/on a Mono Lake host:
+ power-util slotx off
+ power-util slotx on
+
+To connect to coreboot and Linux console through SOL (Serial Over Lan):
+ sol-util slotx
+
+## Firmware configurations
+[ChromeOS VPD] is used to store most of the firmware configurations.
+RO_VPD region holds default values, while RW_VPD region holds customized
+values.
+
+VPD variables supported are:
+- firmware_version: This variable holds overall firmware version. coreboot
+ uses that value to populate smbios type 1 version field.
+- bmc_bootorder_override: When it's set to 1 IPMI OEM command can override boot
+ order. The boot order override is done in the u-root LinuxBoot payload.
+- systemboot_log_level: u-root package systemboot log levels, would be mapped to
+ quiet/verbose in systemboot as that is all we have for now. 5 to 8 would be
+ mapped to verbose, 0 to 4 and 9 would be mapped to quiet.
+- VPDs affecting coreboot are in src/mainboard/ocp/monolake/mainboard.c.
+ No coreboot VPD are required, uses safe defaults.
+
+## Working features
+The solution is developed using LinuxBoot payload with Linux kernel 5.2.9,
+and [u-root] as initramfs.
+- BMC integration:
+ - BMC readiness check
+ - IPMI commands
+ - watchdog timer
+ - POST complete pin acknowledgement
+ - Check BMC version: ipmidump -device
+- Early serial output
+- ACPI tables: DMAR/DSDT/FACP/FACS/HPET/MCFG/SPMI/SRAT/SLIT/SSDT/XSDT
+- FSP MRC cache support (Skipping memory training upon subsequent reboots)
+- Versions
+ - Check FSP version: cbmem | grep LB_TAG_PLATFORM_BLOB_VERSION
+ - Check Microcode version: cat /proc/cpuinfo | grep microcode
+- Devices:
+ - Boot drive
+ - All 5 data drives
+ - NIC card
+- SMBIOS:
+ - Type 0 – BIOS Information
+ - Type 1 – System Information
+ - Type 2 – Baseboard Information
+ - Type 3 – System Enclosure or Chassis
+ - Type 4 – Processor Information
+ - Type 7 – Cache Information
+ - Type 16 – Physical Memory Array
+ - Type 17 – Memory Device
+ - Type 32 – System Boot Information
+ - Type 38 – IPMI Device Information
+ - Type 41 – Onboard Devices Extended Information
+ - Type 127 – End-of-Table
+- Power button
+- u-root boot
+- u-root pxeboot
+
+## Stress and Performance tests passed
+
+## Known issues
+
+### Feature gaps
+- flashrom command not able to update ME region
+- ACPI BERT table
+- PCIe hotplug through VPP (Virtual Pin Ports)
+- RO_VPD region as well as other RO regions are not write protected
+- Not able to selectively enable/disable core
+
+## Technology
+
+```eval_rst
++------------------------+---------------------------------------------+
+| Processor (1 socket) | Broadwell-DE |
++------------------------+---------------------------------------------+
+| BMC | Aspeed AST 1250 |
++------------------------+---------------------------------------------+
+```
+
+[OCP]: https://www.opencompute.org
+[introduced Yosemite]: https://engineering.fb.com/2015/03/10/core-data/introducing-yosemite-the-fi…
+[Mono Lake was accepted]: https://www.opencompute.org/contributions?query=Tioga%20Pass%20v1.0
+[FSP]: https://doc.coreboot.org/soc/intel/fsp/index.html
+[u-root Mono Lake pull request]: https://github.com/u-root/u-root/pull/2045
+[flashrom]: https://flashrom.org/Flashrom
+[All about u-root]: https://github.com/linuxboot/book/tree/master/u-root
+[u-root]: https://u-root.org/
+[ChromeOS VPD]: https://chromium.googlesource.com/chromiumos/platform/vpd/+/master/README.md
--
To view, visit https://review.coreboot.org/c/coreboot/+/57561
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: 4.11_branch
Gerrit-Change-Id: I2109cca0e4037a2945bcb7e4d80897b48ada54af
Gerrit-Change-Number: 57561
Gerrit-PatchSet: 3
Gerrit-Owner: Marc Jones <marc(a)marcjonesconsulting.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Jay Talbott <JayTalbott(a)sysproconsulting.com>
Gerrit-Reviewer: Jonathan Zhang <jonzhang(a)fb.com>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged