Hello Thejaswani Putta,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/35509
to review the following change.
Change subject: mb/google/drallion: Disable GBE in firmware for drallion variants
......................................................................
mb/google/drallion: Disable GBE in firmware for drallion variants
BUG: None
TEST: Build and boot, check if 1f.6 is off on drallion variants
Signed-off-by: Thejaswani Putta <thejaswani.putta(a)intel.corp-partner.google.com>
Change-Id: I4e74b259ce8f5f70833dce94692dcbe33e8504db
---
M src/mainboard/google/drallion/variants/sarien_cml/devicetree.cb
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/09/35509/1
diff --git a/src/mainboard/google/drallion/variants/sarien_cml/devicetree.cb b/src/mainboard/google/drallion/variants/sarien_cml/devicetree.cb
index f2367ff..8cb1aa3 100644
--- a/src/mainboard/google/drallion/variants/sarien_cml/devicetree.cb
+++ b/src/mainboard/google/drallion/variants/sarien_cml/devicetree.cb
@@ -417,6 +417,6 @@
device pci 1f.3 on end # Intel HDA
device pci 1f.4 on end # SMBus
device pci 1f.5 on end # PCH SPI
- device pci 1f.6 on end # GbE
+ device pci 1f.6 off end # GbE
end
end
--
To view, visit https://review.coreboot.org/c/coreboot/+/35509
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I4e74b259ce8f5f70833dce94692dcbe33e8504db
Gerrit-Change-Number: 35509
Gerrit-PatchSet: 1
Gerrit-Owner: Thejaswani Putta <thejaswani.putta(a)intel.com>
Gerrit-Reviewer: Thejaswani Putta <thejaswani.putta(a)intel.corp-partner.google.com>
Gerrit-MessageType: newchange
Name of user not set #1002476 has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/35538 )
Change subject: coreinfo/coreinfo.c: Support both lower and upper case alphabets
......................................................................
coreinfo/coreinfo.c: Support both lower and upper case alphabets
Modify handle_category_key to handle both upper and lower case alphabets
in the coreinfo payload.
Change-Id: I3ccbf69e90ba7824ad6ec85d2ca59aa8f40b3006
Signed-off-by: Himanshu Sahdev <himanshusah(a)hcl.com>
---
M payloads/coreinfo/coreinfo.c
1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/38/35538/1
diff --git a/payloads/coreinfo/coreinfo.c b/payloads/coreinfo/coreinfo.c
index b731abf..e6b7f2e 100644
--- a/payloads/coreinfo/coreinfo.c
+++ b/payloads/coreinfo/coreinfo.c
@@ -198,7 +198,9 @@
static void handle_category_key(struct coreinfo_cat *cat, int key)
{
- if (key >= 'a' && key <= 'z') {
+ if ((key >= 'a' && key <= 'z') || (key >= 'A' && key <= 'Z')) {
+ if (key >= 'A' && key <= 'Z')
+ key = key + 32;
int index = key - 'a';
if (index < cat->count) {
cat->cur = index;
--
To view, visit https://review.coreboot.org/c/coreboot/+/35538
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3ccbf69e90ba7824ad6ec85d2ca59aa8f40b3006
Gerrit-Change-Number: 35538
Gerrit-PatchSet: 1
Gerrit-Owner: Name of user not set #1002476
Gerrit-MessageType: newchange
Martin Roth has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/35531 )
Change subject: Makefile: Create the build directory before bootblock.bin
......................................................................
Makefile: Create the build directory before bootblock.bin
This was causing a failure when building platforms with no bootblock
when building with make -jXX
Change-Id: Ic4cd4fe8ac82bd1e9ce114dbd53763538d125af3
Signed-off-by: Martin Roth <martinroth(a)chromium.org>
---
M Makefile.inc
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/31/35531/1
diff --git a/Makefile.inc b/Makefile.inc
index 3c3088d..cf8e470 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -504,7 +504,7 @@
@printf " GEN build.h\n"
mv $< $@
-build-dirs:
+build-dirs $(objcbfs) $(objgenerated):
mkdir -p $(objcbfs) $(objgenerated)
#######################################################################
@@ -706,7 +706,7 @@
$(OBJCOPY_bootblock) -O binary $< $@
ifneq ($(CONFIG_HAVE_BOOTBLOCK),y)
-$(objcbfs)/bootblock.bin:
+$(objcbfs)/bootblock.bin: $(objcbfs)
dd if=/dev/zero of=$@ bs=64 count=1
endif
--
To view, visit https://review.coreboot.org/c/coreboot/+/35531
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic4cd4fe8ac82bd1e9ce114dbd53763538d125af3
Gerrit-Change-Number: 35531
Gerrit-PatchSet: 1
Gerrit-Owner: Martin Roth <martinroth(a)google.com>
Gerrit-MessageType: newchange
Richard Spiegel has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/34493 )
Change subject: Documentation/mainboard/amd: Add padmelon doucumentation and images
......................................................................
Documentation/mainboard/amd: Add padmelon doucumentation and images
Extract publicly available information and pictures from padmelon manual,
and make them available to coreboot community. Add information on
programming SPI.
BUG=none.
TEST=none.
Change-Id: I1a684c1acd3fb9441df71e2bc0fffa6131148b98
Signed-off-by: Richard Spiegel <richard.spiegel(a)silverbackltd.com>
---
A Documentation/mainboard/amd/Padmelon.md
A Documentation/mainboard/amd/padmelon/padmelon.jpg
A Documentation/mainboard/amd/padmelon/padmelon_components.jpg
A Documentation/mainboard/amd/padmelon/padmelon_io.jpg
A Documentation/mainboard/amd/padmelon/padmelon_io_description.jpg
M Documentation/soc/amd/index.md
A Documentation/soc/amd/merlinfalcon.md
7 files changed, 95 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/93/34493/1
diff --git a/Documentation/mainboard/amd/Padmelon.md b/Documentation/mainboard/amd/Padmelon.md
new file mode 100644
index 0000000..2868b05
--- /dev/null
+++ b/Documentation/mainboard/amd/Padmelon.md
@@ -0,0 +1,66 @@
+# Padmelon board
+
+## Specs (Merlin Falcon)
+
+* Two 260-pin DDR4 SO-DIMM slots, 1.2V DDR4-1333/1600/1866/2133 SO-DIMMs
+ Supports 4GB, 8GB and 16GB DDR4 unbuffered ECC (Merlin Falcon)SO-DIMMs
+* Can use Prairie Falcon, Brown Falcon, Merlin Falcon, though coreboot code
+ is specific for Merlin Falcon SOC. Some specs change if not Merlin Falcon.
+* One half mini PCI-Express slot on back side of mainboard
+* One PCI Express® 3.0 x8 slot
+* Two SATA3 ports with 6Gb/s data transfer rate
+* Two USB 2.0 ports at rear panel
+* Two USB 3.0* ports at rear panel
+* Dual Gigabit Ethernet from Realtek RTL8111F Gigabit controller
+* Supports 6-channel High-Definition audio from Realtek ALC662 codec
+* One soldered down SPI flash with dediprog header
+
+## Picture padmelon components mistakes.
+
+The picture was extracted from manual, however, the numbering on the padmelon board is misplaced.
+Of real importance is that (6) is actually the dediprog header to flash the BIOS.
+(16) is actually 2 mux chips that acts like a bridge between the SPI and the CPU or the dediprog
+header. The bridge will connect the SPI to the header if and only if no power is applied to the CPU,
+thugh the board itself can be connected to a power supply that is connected to AC. With or without
+AC connected, provided CPU is not powered, SPI can be programmed using dediprog. Once CPU is powered,
+dediprog is protected from harm (even if still connected to the header) because the mux will float
+the pins. The mux should be the first place to be investigated if you are unable to program the SPI.
+
+## Flashing coreboot
+
++---------------------+--------------------+
+| Type | Value |
++=====================+====================+
+| Socketed flash | no |
++---------------------+--------------------+
+| Model | Macronix MX256435E |
++---------------------+--------------------+
+| Size | 8 MiB |
++---------------------+--------------------+
+| In circuit flashing | no, use dediprog |
++---------------------+--------------------+
+| Package | SOIC-8 |
++---------------------+--------------------+
+| Write protection | No |
++---------------------+--------------------+
+```
+
+## Technology
+
++---------------+------------------------------+
+| SoC | :doc:`../../soc/amd/index` |
++---------------+------------------------------+
+| CPU | Merlin Falcon SOC |
++---------------+------------------------------+
+
+## Pictures
+
++----------------------------+----------------------------------------+
+|padmelon.jpg | Motherboard with components identified |
++----------------------------+----------------------------------------+
+|padmelon_components.jpg | Identifying components |
++----------------------------+----------------------------------------+
+|padmelon_io.jpg | Back panel picture |
++----------------------------+----------------------------------------+
+|padmelon_io_description.jpg | Back panel description |
++----------------------------+----------------------------------------+
diff --git a/Documentation/mainboard/amd/padmelon/padmelon.jpg b/Documentation/mainboard/amd/padmelon/padmelon.jpg
new file mode 100644
index 0000000..1723f5e
--- /dev/null
+++ b/Documentation/mainboard/amd/padmelon/padmelon.jpg
Binary files differ
diff --git a/Documentation/mainboard/amd/padmelon/padmelon_components.jpg b/Documentation/mainboard/amd/padmelon/padmelon_components.jpg
new file mode 100644
index 0000000..5574d8a
--- /dev/null
+++ b/Documentation/mainboard/amd/padmelon/padmelon_components.jpg
Binary files differ
diff --git a/Documentation/mainboard/amd/padmelon/padmelon_io.jpg b/Documentation/mainboard/amd/padmelon/padmelon_io.jpg
new file mode 100644
index 0000000..0a515f7
--- /dev/null
+++ b/Documentation/mainboard/amd/padmelon/padmelon_io.jpg
Binary files differ
diff --git a/Documentation/mainboard/amd/padmelon/padmelon_io_description.jpg b/Documentation/mainboard/amd/padmelon/padmelon_io_description.jpg
new file mode 100644
index 0000000..341e610
--- /dev/null
+++ b/Documentation/mainboard/amd/padmelon/padmelon_io_description.jpg
Binary files differ
diff --git a/Documentation/soc/amd/index.md b/Documentation/soc/amd/index.md
index 7945b48..84d070b 100644
--- a/Documentation/soc/amd/index.md
+++ b/Documentation/soc/amd/index.md
@@ -4,5 +4,6 @@
## Technology
+- [Merlin Falcon](merlinfalcon.md)
- [Family 17h](family17h.md)
diff --git a/Documentation/soc/amd/merlinfalcon.md b/Documentation/soc/amd/merlinfalcon.md
new file mode 100644
index 0000000..e8a36be
--- /dev/null
+++ b/Documentation/soc/amd/merlinfalcon.md
@@ -0,0 +1,28 @@
+# AMD Merlin Falcon in coreboot
+
+## Abstract
+
+Merlin Falcon is a family 15h Models 60-6F SOC, more specifically, 00660F01.
+
+## Introduction
+
+Family 15h products are x86-based designs. This documentation assumes
+familiarity with x86, its reset state and its early initialization
+requirements.
+
+AMD has historically required an NDA for access to the PSP
+specification<sup>1</sup>. coreboot relies on util/amdfwtool to build
+the structures and add various other firmware to the final image.
+
+Support in coreboot for modern AMD products is based on AMD’s
+reference code: AMD Generic Encapsulated Software Architecture
+(AGESA<sup>TM</sup>). AGESA contains the technology for enabling DRAM,
+configuring proprietary core logic, assistance with generating ACPI
+tables, and other features.
+
+## Additional Definitions
+
+* PSP, Platform Security Processor: Onboard ARM processor that runs
+alongside the main x86 processor; may be viewed as analogous to the
+Intel<sup>R</sup> Management Engine
+* FCH, Fusion Control Hub, the logical southbridge within the SOC
--
To view, visit https://review.coreboot.org/c/coreboot/+/34493
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I1a684c1acd3fb9441df71e2bc0fffa6131148b98
Gerrit-Change-Number: 34493
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Spiegel <richard.spiegel(a)silverbackltd.com>
Gerrit-MessageType: newchange
Richard Spiegel has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/34561 )
Change subject: Documentation/soc/amd: Add family 15h
......................................................................
Documentation/soc/amd: Add family 15h
Create documentation for AMD family 15h, and in particular to models for
which there's coreboot code: Models 60h-6Fh and 70h-7Fh.
BUG=none.
TEST=none.
Change-Id: Iaab4edc431329a691283121494595f3797c566c6
Signed-off-by: Richard Spiegel <richard.spiegel(a)silverbackltd.com>
---
A Documentation/soc/amd/family15h.md
M Documentation/soc/amd/index.md
2 files changed, 45 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/61/34561/1
diff --git a/Documentation/soc/amd/family15h.md b/Documentation/soc/amd/family15h.md
new file mode 100644
index 0000000..2e583e8
--- /dev/null
+++ b/Documentation/soc/amd/family15h.md
@@ -0,0 +1,44 @@
+# AMD Family 15h in coreboot
+
+## Abstract
+
+Family 15h uses the AMD CPU micro architecture _Excavator_, and is available
+in several models with different number of cores and some other small
+variations, to attend a broad spectrum of users. Of particular interest for
+coreboot are models **60h-6Fh** (_Merlin Falcon_) and **70h-7Fh** (_Stoney Ridge_),
+for which there are coreboot implementations.
+
+## Introduction
+
+Family 15h products are x86-based designs. This documentation assumes
+familiarity with x86, its reset state and its early initialization requirements.
+
+AMD has historically required an NDA for access to the PSP specification.
+coreboot relies on util/amdfwtool to build the structures and add various
+other firmware to the final image.
+
+Support in coreboot for modern AMD products is based on AMD’s
+reference code: AMD Generic Encapsulated Software Architecture
+(AGESA _**TM**_). AGESA contains the technology for enabling DRAM,
+configuring proprietary core logic, assistance with generating ACPI
+tables, and other features.
+
+Some functionality, such as GPIO setting and D0/D3 of some devices such as
+I2C and UART were removed from AGESA (though still available on most AGESA
+images) and converted to coreboot code for granularity, speed and easy of
+use reasons.
+>In particular, GPIO achieved a greater control over what is being
+>programmed through the use of a table that is easily created using
+>macros.
+
+## Additional Definitions
+
+* PSP, Platform Security Processor: Onboard ARM processor that runs
+alongside the main x86 processor; may be viewed as analogous to the
+Intel<sup>R</sup> Management Engine
+* FCH, Fusion Control Hub, the logical southbridge within the SOC
+
+## References
+
+1. [Merlin Falcon BKDG](https://www.amd.com/system/files/TechDocs/50742_15h_Models_60h-6Fh_BK…
+2. [Stoney Ridge BKDG](https://www.amd.com/system/files/TechDocs/55072_AMD_Family_15h_Models…
diff --git a/Documentation/soc/amd/index.md b/Documentation/soc/amd/index.md
index 7945b48..d6f31c8 100644
--- a/Documentation/soc/amd/index.md
+++ b/Documentation/soc/amd/index.md
@@ -4,5 +4,6 @@
## Technology
+- [Family 15h](family15h.md)
- [Family 17h](family17h.md)
--
To view, visit https://review.coreboot.org/c/coreboot/+/34561
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iaab4edc431329a691283121494595f3797c566c6
Gerrit-Change-Number: 34561
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Spiegel <richard.spiegel(a)silverbackltd.com>
Gerrit-MessageType: newchange