Raul Rangel has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/42475 )
Change subject: soc/amd/picasso/bootblock: Clear BSS section
......................................................................
soc/amd/picasso/bootblock: Clear BSS section
We are currently relying on the assumption that the amdcompress tool
will zero out the bss section. Instead of relying on this assumption,
lets explicitly clear it.
The implementation was copied from assembly_entry.S.
BUG=b:147042464
TEST=Cold boot trembyle and also s3 resume trembyle
Signed-off-by: Raul E Rangel <rrangel(a)chromium.org>
Change-Id: Ifb4f4cc6932dd4c3c92d4e7647569f9a0c69ea4c
---
M src/soc/amd/picasso/bootblock/pre_c.S
1 file changed, 9 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/75/42475/1
diff --git a/src/soc/amd/picasso/bootblock/pre_c.S b/src/soc/amd/picasso/bootblock/pre_c.S
index 83e5491..6fae1ed 100644
--- a/src/soc/amd/picasso/bootblock/pre_c.S
+++ b/src/soc/amd/picasso/bootblock/pre_c.S
@@ -23,6 +23,15 @@
bootblock_pre_c_entry:
post_code(0xa0)
+ /* Clear .bss section */
+ cld
+ xor %eax, %eax
+ movl $(_ebss), %ecx
+ movl $(_bss), %edi
+ sub %edi, %ecx
+ shrl $2, %ecx
+ rep stosl
+
movl $_eearlyram_stack, %esp
/* Align the stack and keep aligned for call to bootblock_c_entry() */
--
To view, visit https://review.coreboot.org/c/coreboot/+/42475
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ifb4f4cc6932dd4c3c92d4e7647569f9a0c69ea4c
Gerrit-Change-Number: 42475
Gerrit-PatchSet: 1
Gerrit-Owner: Raul Rangel <rrangel(a)chromium.org>
Gerrit-MessageType: newchange
Hello Anjaneya "Reddy" Chagam,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/40925
to review the following change.
Change subject: Documentation/mb/ocp/tiogapass: Add documentation
......................................................................
Documentation/mb/ocp/tiogapass: Add documentation
Add OCP platform TiogaPass documentation.
Signed-off-by: Jonathan Zhang <jonzhang(a)fb.com>
Signed-off-by: Reddy Chagam <anjaneya.chagam(a)intel.com>
Change-Id: If4c2832d5bd006c572dab035040b4242f8a3d53b
---
A Documentation/mainboard/ocp/tiogapass.md
M MAINTAINERS
2 files changed, 105 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/25/40925/1
diff --git a/Documentation/mainboard/ocp/tiogapass.md b/Documentation/mainboard/ocp/tiogapass.md
new file mode 100644
index 0000000..33c5e10
--- /dev/null
+++ b/Documentation/mainboard/ocp/tiogapass.md
@@ -0,0 +1,95 @@
+# OCP TiogaPass
+
+This page describes coreboot support status for the OCP (Open Compute Project)
+TiogaPass server platform.
+
+## Introduction
+
+OCP TiogaPass server platform was contributed by Facebook, and was accepted
+in 2019. The design collatoral including datasheet can be found at [OCP TiogaPass].
+
+Since complete EE design collaboral is open sourced, anyone can build a variant
+based on the original design. It can also be purchased from [OCP Market Place].
+An off-the-shelf version is available, as well as rack ready version. With the
+off-the-shelf version, the server can be plugged into wall power outlet.
+
+With the off-the-shelf version of TiogaPass, a complete software solution is
+available. [Off-the-shelf Host Firmware] takes the approach of UEFI/Linuxboot.
+
+Coreboot as of release 4.13 is a proof-of-concept project between Facebook,
+Intel, Wiwynn and Quanta. More context can be referenced at [OCP TiogaPass POC Blog].
+## Required blobs
+
+This board currently requires:
+fsp blob - The blob is not available to the public. The binary is at POC
+status, hopefully there is a IBV stepping up to maintain the binary.
+Microcode - 3rdparty/intel-microcode/intel-ucode/06-55-04
+ME binary - The binary can be extracted from [Off-the-shelf Host Firmware].
+Linuxboot binary - This is optional. U-root as initramfs, is used in the POC
+activity. It can be extracted from [Off-the-shelf Host Firmware], or it can be
+built according to [All about u-root].
+
+## Flashing coreboot
+
+### Internal programming
+
+Using [flashrom] is not verified.
+
+### External programming
+
+From OpenBMC, to update FW image:
+fw-util mb --force --update <path to coreboot image>
+
+To power off/on the host:
+power-util mb off
+power-util mb on
+
+To connect to console through SOL (Serial Over Lan):
+sol-util mb
+
+## Known issues / feature gaps
+- c6 state is not supported. Workaround is to disable c6 support through
+target OS and Linuxboot kernel paramter.
+- SMI handlers are not implemented.
+- xSDT tables are not fully populated, such as processor/socket devices,
+PCIe bridge devices.
+- There is boot stability issue.
+- If [CB 40500 patchset] is not merged, when PCIe riser card is used,
+boot fails.
+- PCIe devices connected to socket 1 may not work, due to FSP issue.
+- Some TiogaPass SKUs do not have all PCIe devices working.
+- SMBIOS type 7 and type 17 are not populated.
+
+- None
+
+## Working
+- Most SMBIOS types.
+- BMC integration:
+-- BMC readiness check
+-- IPMI commands
+-- watchdog timer
+-- POST complete pin acknowledgement.
+- SEL record generation.
+- Early serial output.
+- port 80h direct to GPIO.
+- ACPI tables: APIC/DMAR/DSDT/FACP/FACS/HPET/MCFG/SPMI/SRAT/SLIT/SSDT.
+
+## Technology
+
+```eval_rst
++------------------+--------------------------------------------------+
+| SoC (2 sockets) | Intel SkyLake Scalable Processor LGA3647 |
++------------------+--------------------------------------------------+
+| BMC | Aspeed 2500 |
++------------------+--------------------------------------------------+
+| PCH | Intel Lewisburg C620 |
++------------------+--------------------------------------------------+
+```
+
+[flashrom]: https://flashrom.org/Flashrom
+[OCP TiogaPass]: https://www.opencompute.org/contributions?query=Tioga%20Pass%20v1.0
+[OCP Market Place]: https://www.opencompute.org/products/109/wiwynn-tioga-pass-advanced-2u-ocp-…
+[Off-the-shelf Host Firmware]: https://github.com/linuxboot/book/blob/master/case_studies/TiogaPass/README…
+[OCP TiogaPass POC Blog]: https://www.opencompute.org/blog/linux-firmware-boots-up-server-powered-by-…
+[All about u-root]: https://github.com/linuxboot/book/tree/master/u-root
+[CB 40500 patchset]: https://review.coreboot.org/c/coreboot/+/40500
diff --git a/MAINTAINERS b/MAINTAINERS
index bc1e1fc..3531292 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -362,6 +362,16 @@
S: Maintained
F: src/mainboard/facebook/monolith/
+OCP TIOGAPASS MAINBOARD
+M: Jonathan Zhang <jonzhang(a)fb.com>
+M: Reddy Chagam <anjaneya.chagam(a)intel.com>
+M: Johnny Lin <Johnny_Lin(a)wiwynn.com>
+M: Morgan Jang <Morgan_Jang(a)wiwynn.com>
+M: Ryback Hung <<Ryback.Hung(a)quantatw.com>
+M: Bryant Ou <Bryant.Ou(a)quantatw.com>
+S: Maintained
+F: src/mainboard/ocp/tiogapass
+
PORTWELL PQ-M107 MAINBOARD
M: Frans Hendriks <fhendriks(a)eltan.com>
M: Wim Vervoorn <wvervoorn(a)eltan.com>
--
To view, visit https://review.coreboot.org/c/coreboot/+/40925
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If4c2832d5bd006c572dab035040b4242f8a3d53b
Gerrit-Change-Number: 40925
Gerrit-PatchSet: 1
Gerrit-Owner: Jonathan Zhang <jonzhang(a)fb.com>
Gerrit-Reviewer: Anjaneya "Reddy" Chagam <anjaneya.chagam(a)intel.com>
Gerrit-MessageType: newchange
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42426 )
Change subject: sb/intel/i82801gx,ix,jx: Drop invalid GNVS update routine
......................................................................
Patch Set 4:
(1 comment)
https://review.coreboot.org/c/coreboot/+/42426/4/src/southbridge/intel/i828…
File src/southbridge/intel/i82801gx/smihandler.c:
https://review.coreboot.org/c/coreboot/+/42426/4/src/southbridge/intel/i828…
PS4, Line 26: /* WAS BROKEN */
What's the purpose here: is that a TODO that the function needs to be filled in with a correct implementation? Is this only overriding a default because even that default behavior isn't needed anymore? As-is, it's hard to figure out what the intent of both the comment and the function is without lots of digging, so please make that clearer.
--
To view, visit https://review.coreboot.org/c/coreboot/+/42426
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I407b9b9fd44db027a62356e2470f6c39ed3bff49
Gerrit-Change-Number: 42426
Gerrit-PatchSet: 4
Gerrit-Owner: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Mon, 22 Jun 2020 11:48:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/42618 )
Change subject: sb/intel/lynxpoint: Drop stale code paths
......................................................................
sb/intel/lynxpoint: Drop stale code paths
These appear to be leftovers from old SMM relocation code.
Change-Id: I689bee55943b29990f54cb798b999940eae180bc
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42618
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Angel Pons <th3fanbus(a)gmail.com>
---
M src/southbridge/intel/lynxpoint/smi.c
1 file changed, 0 insertions(+), 32 deletions(-)
Approvals:
build bot (Jenkins): Verified
Angel Pons: Looks good to me, approved
diff --git a/src/southbridge/intel/lynxpoint/smi.c b/src/southbridge/intel/lynxpoint/smi.c
index 102ed24..48b76e2 100644
--- a/src/southbridge/intel/lynxpoint/smi.c
+++ b/src/southbridge/intel/lynxpoint/smi.c
@@ -58,38 +58,6 @@
smm_southbridge_enable(PWRBTN_EN | GBL_EN);
}
-static void __unused southbridge_trigger_smi(void)
-{
- /**
- * There are several methods of raising a controlled SMI# via
- * software, among them:
- * - Writes to io 0xb2 (APMC)
- * - Writes to the Local Apic ICR with Delivery mode SMI.
- *
- * Using the local APIC is a bit more tricky. According to
- * AMD Family 11 Processor BKDG no destination shorthand must be
- * used.
- * The whole SMM initialization is quite a bit hardware specific, so
- * I'm not too worried about the better of the methods at the moment
- */
-
- /* raise an SMI interrupt */
- printk(BIOS_SPEW, " ... raise SMI#\n");
- apm_control(APM_CNT_NOOP_SMI);
-}
-
-static void __unused southbridge_clear_smi_status(void)
-{
- /* Clear SMI status */
- clear_smi_status();
-
- /* Clear PM1 status */
- clear_pm1_status();
-
- /* Set EOS bit so other SMIs can occur. */
- enable_smi(EOS);
-}
-
void smm_setup_structures(void *gnvs, void *tcg, void *smi1)
{
/*
--
To view, visit https://review.coreboot.org/c/coreboot/+/42618
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I689bee55943b29990f54cb798b999940eae180bc
Gerrit-Change-Number: 42618
Gerrit-PatchSet: 2
Gerrit-Owner: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged