Daniel Maslowski has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/32473
Change subject: Documentation/northbridge/intel/haswell/mrc.bin.md: add SPD addresses
......................................................................
Documentation/northbridge/intel/haswell/mrc.bin.md: add SPD addresses
Change-Id: I8bf81637f582373d9bba1d47fe5205d459151f3e
Signed-off-by: cyrevolt
---
M Documentation/northbridge/intel/haswell/mrc.bin.md
1 file changed, 77 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/73/32473/1
diff --git a/Documentation/northbridge/intel/haswell/mrc.bin.md b/Documentation/northbridge/intel/haswell/mrc.bin.md
index 36ab4c4..7f8d3ca 100644
--- a/Documentation/northbridge/intel/haswell/mrc.bin.md
+++ b/Documentation/northbridge/intel/haswell/mrc.bin.md
@@ -27,6 +27,83 @@
Alternatively, place `mrc.bin` anywhere you want, and set `MRC_FILE` to
its location when building coreboot.
+## SPD Addresses
+
+When porting a board from vendor firmware, the SPD addresses can be obtained
+through `i2c-tools`, which can be found in many GNU/Linux distributions. A more
+[detailed description](https://hannuhartikainen.fi/blog/hacking-ddr3-spd/) of
+the procedure and beyond can be found in
+[Hannu Hartikainen's blog](https://hannuhartikainen.fi).
+
+First load the kernel modules:
+
+```bash
+modprobe i2c-dev
+modprobe eeprom
+```
+
+Find the SMBus and the addresses of the DIMM's EEPROMs (example output):
+```bash
+$ decode-dimms | grep Decoding
+Decoding EEPROM: /sys/bus/i2c/drivers/eeprom/7-0050
+Decoding EEPROM: /sys/bus/i2c/drivers/eeprom/7-0052
+```
+
+Alternatively, look at the sys filesystem:
+```bash
+$ ls -l /sys/bus/i2c/drivers/eeprom/
+total 0
+lrwxrwxrwx 1 root root 0 Apr 4 01:46 6-0050 -> ../../../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/i2c-6/6-0050/
+lrwxrwxrwx 1 root root 0 Apr 4 01:46 7-0050 -> ../../../../devices/pci0000:00/0000:00:1f.3/i2c-7/7-0050/
+lrwxrwxrwx 1 root root 0 Apr 4 01:46 7-0052 -> ../../../../devices/pci0000:00/0000:00:1f.3/i2c-7/7-0052/
+--w------- 1 root root 4096 Apr 4 01:47 bind
+lrwxrwxrwx 1 root root 0 Apr 4 01:47 module -> ../../../../module/eeprom/
+--w------- 1 root root 4096 Apr 4 01:46 uevent
+--w------- 1 root root 4096 Apr 4 01:47 unbind
+```
+
+The correct I2C bus is 7 in this case, and the EEPROMs are at `0x50` and `0x52`.
+Note that the above values are actually hex values.
+
+You can check the correctness of the SMBus and the addresses of the EEPROMs via
+`i2cdetect`:
+
+```bash
+$ i2cdetect -l
+i2c-3 unknown i915 gmbus dpc N/A
+i2c-1 unknown i915 gmbus vga N/A
+i2c-6 unknown DPDDC-A N/A
+i2c-4 unknown i915 gmbus dpb N/A
+i2c-2 unknown i915 gmbus panel N/A
+i2c-0 unknown i915 gmbus ssc N/A
+i2c-7 unknown SMBus I801 adapter at f040 N/A
+i2c-5 unknown i915 gmbus dpd N/A
+```
+
+Probing the SMBus:
+
+```bash
+$ i2cdetect -r 7
+WARNING! This program can confuse your I2C bus, cause data loss and worse!
+I will probe file /dev/i2c-7 using receive byte commands.
+I will probe address range 0x03-0x77.
+Continue? [Y/n]
+ 0 1 2 3 4 5 6 7 8 9 a b c d e f
+00: -- -- -- -- -- -- -- -- -- -- -- -- --
+10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+30: 30 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+40: -- -- -- -- 44 -- -- -- -- -- -- -- -- -- -- --
+50: UU -- UU -- -- -- -- -- -- -- -- -- -- -- -- --
+60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+70: -- -- -- -- -- -- -- --
+```
+
+The SPD addresses need to be left-shifted by 1 for `mrc.bin`, i.e., multiplied
+by 2. For example, if the addresses read through `i2c-tools` when booted from
+vendor firmware are `0x50` and `0x52`, the correct values would be `0xa0` and
+`0xa4`. This is because the I2C addresses are 7 bits long.
+
## ECC DRAM
When `mrc.bin` has finished executing, ECC is active on the channels
--
To view, visit https://review.coreboot.org/c/coreboot/+/32473
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8bf81637f582373d9bba1d47fe5205d459151f3e
Gerrit-Change-Number: 32473
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Maslowski <info(a)orangecms.org>
Gerrit-MessageType: newchange
Hello Patrick Rudolph, Arthur Heymans, Thomas Heijligen, Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/libgfxinit/+/28763
to look at the new patch set (#6).
Change subject: gma: Add Kaby Lake support
......................................................................
gma: Add Kaby Lake support
Including some weird Amber Lake Y parts that are treated like Kaby Lake
in Linux' i915.
Only differences to Skylake in the DDI output buffer tuning.
Change-Id: Ice05e07b016cebc7258a9790e38e079e63227a4b
Signed-off-by: Nico Huber <nico.h(a)gmx.de>
---
M common/hw-gfx-gma-config.ads.template
M common/hw-gfx-gma.adb
M common/hw-gfx-gma.ads
M common/skylake/hw-gfx-gma-connectors-ddi-buffers.adb
4 files changed, 77 insertions(+), 16 deletions(-)
git pull ssh://review.coreboot.org:29418/libgfxinit refs/changes/63/28763/6
--
To view, visit https://review.coreboot.org/c/libgfxinit/+/28763
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: libgfxinit
Gerrit-Branch: master
Gerrit-Change-Id: Ice05e07b016cebc7258a9790e38e079e63227a4b
Gerrit-Change-Number: 28763
Gerrit-PatchSet: 6
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Thomas Heijligen <src(a)posteo.de>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newpatchset
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/libhwbase/+/27139 )
Change subject: Makefile: Revise support for generated sources
......................................................................
Patch Set 3: Verified+1
--
To view, visit https://review.coreboot.org/c/libhwbase/+/27139
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: libhwbase
Gerrit-Branch: master
Gerrit-Change-Id: I5479c436f39088ae9d0ebddf9a97446be0f191f3
Gerrit-Change-Number: 27139
Gerrit-PatchSet: 3
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Sat, 27 Apr 2019 15:29:44 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Hello Paul Menzel,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/libhwbase/+/27139
to look at the new patch set (#3).
Change subject: Makefile: Revise support for generated sources
......................................................................
Makefile: Revise support for generated sources
Handle generated source files more independently from normal source
files. This allows mixing of generated specs with existing source
bodies.
As with the source file list, we filter the list of generated sources,
`$(name)-gens`: All spec (.ads) files that have a respective body file
(.adb), are moved into `$(name)-extra-gens`. This way, we can still
add these files as dependencies to all pre-existing source files.
Change-Id: I5479c436f39088ae9d0ebddf9a97446be0f191f3
Signed-off-by: Nico Huber <nico.h(a)gmx.de>
---
M Makefile
M Makefile.proof
2 files changed, 16 insertions(+), 9 deletions(-)
git pull ssh://review.coreboot.org:29418/libhwbase refs/changes/39/27139/3
--
To view, visit https://review.coreboot.org/c/libhwbase/+/27139
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: libhwbase
Gerrit-Branch: master
Gerrit-Change-Id: I5479c436f39088ae9d0ebddf9a97446be0f191f3
Gerrit-Change-Number: 27139
Gerrit-PatchSet: 3
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newpatchset
Matt DeVillier has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/32488
Change subject: google/link: remove non-existant output port HDMI3
......................................................................
google/link: remove non-existant output port HDMI3
Remove non-existant HDMI3 from output port list in gma-mainboard,
since having it there triggers a bug elsewhere in libgfxinit
causing the GMBUS controller to end up in a bad state, which results
in the touchscreen not working properly under ChromiumOS.
Test: Boot ChromiumOS (r67, r69) on google/link w/libgfxinit,
verify touchscreen functional.
Change-Id: I80a5c6e2684e3488bc66daae778689c4f8a5fd16
Signed-off-by: Matt DeVillier <matt.devillier(a)gmail.com>
---
M src/mainboard/google/link/gma-mainboard.ads
1 file changed, 0 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/88/32488/1
diff --git a/src/mainboard/google/link/gma-mainboard.ads b/src/mainboard/google/link/gma-mainboard.ads
index 4173725..5e08b1c 100644
--- a/src/mainboard/google/link/gma-mainboard.ads
+++ b/src/mainboard/google/link/gma-mainboard.ads
@@ -19,7 +19,6 @@
ports : constant Port_List :=
(Internal,
DP3,
- HDMI3,
others => Disabled);
end GMA.Mainboard;
--
To view, visit https://review.coreboot.org/c/coreboot/+/32488
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I80a5c6e2684e3488bc66daae778689c4f8a5fd16
Gerrit-Change-Number: 32488
Gerrit-PatchSet: 1
Gerrit-Owner: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-MessageType: newchange