Hello Kyösti Mälkki, Patrick Rudolph, Felix Held, Angel Pons, Johanna Schander, Arthur Heymans, Jonathan Neuschäfer, Paul Menzel, build bot (Jenkins), Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/21774
to look at the new patch set (#56).
Change subject: mb/dell: Add Dell Optiplex 790
......................................................................
mb/dell: Add Dell Optiplex 790
This port was generated by autoport and has been tweaked (see below)
There are (at least) three different mainboards:
- DT: 4 RAM slots, PEG, PCIe x1, PCI, PCIe x16
- MT: 4 RAM slots, PEG, PCIe x1, PCI, PCIe x16
- SFF: 4 RAM slots, PEG, PCIe x16
- USFF: 2 RAM slots, mPCIe
The variants have different PCI/PCIe configurations and are not
exactly compatible towards each other.
This port has been tested with: USFF
What works:
- Booting Arch Linux with kernel 5.0.0-arch1-1-ARCH
- PCIe (Hotplug on PCIe X1 only!)
- Onboard graphics with libgfxinit (via VGA)
- Turning on and off (S5)
- Harddrive activity LED
- Onboard sound
- Onboard ethernet
- SATA (hotplug)
- IOMMU
- Suspend/resume (S3)
- EHCI debug (rear side, bottom port on the block with ethernet)
What does not work:
- SuperI/O (Chip is a SCH5544-NS)
- Serial port
- PS/2
- Fan control (fans go to full speed)
- VBT is missing
Further notes:
- Default IFD settings block reads/writes to some regions. This can be
bypassed by plugging the SERVICE_MODE jumper. BIOS version A05 does
not set any protected ranges, so internal flashing is possible (use a
layout if the SERVICE_MODE jumper is not plugged).
- Setting the jumper slows down the boot process of coreboot significantly,
as coreboot waits 900ms for the ME to report an OK DRAM (which doesn't
happen with the jumper set)
- The controller that controls the POST code LEDs on the front of the
case (likely the SuperIO) stays on slow blinking POST 234, corrupt or
defect BIOS according to [1].
- The mainboard has one SOIC16 8192KiB and one SOIC8 2048KiB BIOS chip
that are recognized as one "Opaque flash chip" of 10240K in size.
- Without the VGA_BIOS_FILE the make process starts behaving weird, so
I will keep it in until further notice (Is this still true?)
[1] http://www.dell.com/support/article/us/en/04/sln284978/a-reference-guide-to…
Change-Id: If3d3a13163d5da1368259a7498019d42fb3ed57f
Signed-off-by: Christoph Pomaska <github(a)aufmachen.jetzt>
Signed-off-by: Angel Pons <th3fanbus(a)gmail.com>
---
A src/mainboard/dell/Kconfig
A src/mainboard/dell/Kconfig.name
A src/mainboard/dell/optiplex_790/Kconfig
A src/mainboard/dell/optiplex_790/Kconfig.name
A src/mainboard/dell/optiplex_790/Makefile.inc
A src/mainboard/dell/optiplex_790/acpi/ec.asl
A src/mainboard/dell/optiplex_790/acpi/platform.asl
A src/mainboard/dell/optiplex_790/acpi/superio.asl
A src/mainboard/dell/optiplex_790/acpi_tables.c
A src/mainboard/dell/optiplex_790/board_info.txt
A src/mainboard/dell/optiplex_790/dsdt.asl
A src/mainboard/dell/optiplex_790/gma-mainboard.ads
A src/mainboard/dell/optiplex_790/hda_verb.c
A src/mainboard/dell/optiplex_790/mainboard.c
A src/mainboard/dell/optiplex_790/romstage.c
A src/mainboard/dell/optiplex_790/variants/optiplex_790_mt-sff/devicetree.cb
A src/mainboard/dell/optiplex_790/variants/optiplex_790_mt-sff/gpio.c
A src/mainboard/dell/optiplex_790/variants/optiplex_790_mt-sff/hda_verb.c
A src/mainboard/dell/optiplex_790/variants/optiplex_790_usff/devicetree.cb
A src/mainboard/dell/optiplex_790/variants/optiplex_790_usff/gpio.c
A src/mainboard/dell/optiplex_790/variants/optiplex_790_usff/hda_verb.c
21 files changed, 1,151 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/74/21774/56
--
To view, visit https://review.coreboot.org/c/coreboot/+/21774
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If3d3a13163d5da1368259a7498019d42fb3ed57f
Gerrit-Change-Number: 21774
Gerrit-PatchSet: 56
Gerrit-Owner: Christoph Pomaska <github(a)aufmachen.jetzt>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Christoph Pomaska <github(a)aufmachen.jetzt>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Johanna Schander <coreboot(a)mimoja.de>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Thomas Heijligen <src(a)posteo.de>
Gerrit-MessageType: newpatchset
Daniel Maslowski has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/33246
Change subject: Documentation: libgfxinit timing parameters
......................................................................
Documentation: libgfxinit timing parameters
Change-Id: I94c2784ffcc12f54c285e1f90d73ff3905c4fae7
Signed-off-by: Daniel Maslowski <daniel.maslowski(a)img.ly>
---
M Documentation/gfx/libgfxinit.md
1 file changed, 29 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/46/33246/1
diff --git a/Documentation/gfx/libgfxinit.md b/Documentation/gfx/libgfxinit.md
index c50761a..c19b10b 100644
--- a/Documentation/gfx/libgfxinit.md
+++ b/Documentation/gfx/libgfxinit.md
@@ -125,3 +125,32 @@
given order until all available pipes are taken. That's 1 pipe
in VGA textmode, 2 pipes in high-resolution mode until Sandy
Bridge, 3 pipes from Ivy Bridge on.
+
+GMA: Timing Parameters
+----------------------
+
+From the binary file `edid` in the sys filesystem on Linux, the panel can be
+identified. The exact path may differ slightly. Here is an example:
+
+```sh
+$ strings /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/edid
+@0 5
+LG Display
+LP140WF3-SPD1
+```
+
+To figure out the timing parameters, refer to the [Intel Programmer's Reference
+Manuals](https://01.org/linuxgraphics/documentation/hardware-specification-prms)
+and try to find the datasheet of the panel using the information from `edid`.
+In the example above, you would search for `LP140WF3-SPD1`. Find a table listing
+the power sequence timing parameters, which are usually named T[N] and also
+referenced in Intel's respective registers listing. You need the values for
+`PP_ON_DELAYS`, `PP_OFF_DELAYS` and `PP_DIVISOR` for your `devicetree.cb`:
+
+|Intel docs |devicetree.cb |Haswell |
+|---------------------------|--------------------------------------|--------|
+|Power up delay |`gpu_panel_power_up_delay` |T3 |
+|Power on to backlight on |`gpu_panel_power_backlight_on_delay` |T7 |
+|Power Down delay |`gpu_panel_power_down_delay` |T10 |
+|Backlight off to power down|`gpu_panel_power_backlight_off_delay` |T7 |
+|Power Cycle Delay |`gpu_panel_power_cycle_delay` |T12 |
--
To view, visit https://review.coreboot.org/c/coreboot/+/33246
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I94c2784ffcc12f54c285e1f90d73ff3905c4fae7
Gerrit-Change-Number: 33246
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Maslowski <info(a)orangecms.org>
Gerrit-MessageType: newchange
Hello Kyösti Mälkki, Patrick Rudolph, Felix Held, Angel Pons, Johanna Schander, Arthur Heymans, Jonathan Neuschäfer, Paul Menzel, build bot (Jenkins), Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/21774
to look at the new patch set (#55).
Change subject: mb/dell: Add Dell Optiplex 790
......................................................................
mb/dell: Add Dell Optiplex 790
This port was generated by autoport and has been tweaked (see below)
There are (at least) three different mainboards:
- DT: 4 RAM slots, PEG, PCIe x1, PCI, PCIe x16
- MT: 4 RAM slots, PEG, PCIe x1, PCI, PCIe x16
- SFF: 4 RAM slots, PEG, PCIe x16
- USFF: 2 RAM slots, mPCIe
The variants have different PCI/PCIe configurations and are not
exactly compatible towards each other.
This port has been tested with: USFF
What works:
- Booting Arch Linux with kernel 5.0.0-arch1-1-ARCH
- PCIe (Hotplug on PCIe X1 only!)
- Onboard graphics with libgfxinit (via VGA)
- Turning on and off (S5)
- Harddrive activity LED
- Onboard sound
- Onboard ethernet
- SATA (hotplug)
- IOMMU
- Suspend/resume (S3)
- EHCI debug (rear side, bottom port on the block with ethernet)
What does not work:
- SuperI/O (Chip is a SCH5544-NS)
- Serial port
- PS/2
- Fan control (fans go to full speed)
- VBT is missing
Further notes:
- Default IFD settings block reads/writes to some regions. This can be
bypassed by plugging the SERVICE_MODE jumper. BIOS version A05 does
not set any protected ranges, so internal flashing is possible (use a
layout if the SERVICE_MODE jumper is not plugged).
- Setting the jumper slows down the boot process of coreboot significantly,
as coreboot waits 900ms for the ME to report an OK DRAM (which doesn't
happen with the jumper set)
- The controller that controls the POST code LEDs on the front of the
case (likely the SuperIO) stays on slow blinking POST 234, corrupt or
defect BIOS according to [1].
- The mainboard has one SOIC16 8192KiB and one SOIC8 2048KiB BIOS chip
that are recognized as one "Opaque flash chip" of 10240K in size.
- Without the VGA_BIOS_FILE the make process starts behaving weird, so
I will keep it in until further notice (Is this still true?)
[1] http://www.dell.com/support/article/us/en/04/sln284978/a-reference-guide-to…
Change-Id: If3d3a13163d5da1368259a7498019d42fb3ed57f
Signed-off-by: Christoph Pomaska <github(a)aufmachen.jetzt>
Signed-off-by: Angel Pons <th3fanbus(a)gmail.com>
---
A src/mainboard/dell/Kconfig
A src/mainboard/dell/Kconfig.name
A src/mainboard/dell/optiplex_790/Kconfig
A src/mainboard/dell/optiplex_790/Kconfig.name
A src/mainboard/dell/optiplex_790/Makefile.inc
A src/mainboard/dell/optiplex_790/acpi/ec.asl
A src/mainboard/dell/optiplex_790/acpi/platform.asl
A src/mainboard/dell/optiplex_790/acpi/superio.asl
A src/mainboard/dell/optiplex_790/acpi_tables.c
A src/mainboard/dell/optiplex_790/board_info.txt
A src/mainboard/dell/optiplex_790/dsdt.asl
A src/mainboard/dell/optiplex_790/gma-mainboard.ads
A src/mainboard/dell/optiplex_790/hda_verb.c
A src/mainboard/dell/optiplex_790/mainboard.c
A src/mainboard/dell/optiplex_790/romstage.c
A src/mainboard/dell/optiplex_790/variants/optiplex_790_mt-usff/devicetree.cb
A src/mainboard/dell/optiplex_790/variants/optiplex_790_mt-usff/gpio.c
A src/mainboard/dell/optiplex_790/variants/optiplex_790_mt-usff/hda_verb.c
A src/mainboard/dell/optiplex_790/variants/optiplex_790_usff/devicetree.cb
A src/mainboard/dell/optiplex_790/variants/optiplex_790_usff/gpio.c
A src/mainboard/dell/optiplex_790/variants/optiplex_790_usff/hda_verb.c
21 files changed, 1,151 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/74/21774/55
--
To view, visit https://review.coreboot.org/c/coreboot/+/21774
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If3d3a13163d5da1368259a7498019d42fb3ed57f
Gerrit-Change-Number: 21774
Gerrit-PatchSet: 55
Gerrit-Owner: Christoph Pomaska <github(a)aufmachen.jetzt>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Christoph Pomaska <github(a)aufmachen.jetzt>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Johanna Schander <coreboot(a)mimoja.de>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Thomas Heijligen <src(a)posteo.de>
Gerrit-MessageType: newpatchset
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29981 )
Change subject: qcs405: Add bl31 stage and elf
......................................................................
Patch Set 27:
(1 comment)
https://review.coreboot.org/#/c/29981/27/src/soc/qualcomm/qcs405/soc.c
File src/soc/qualcomm/qcs405/soc.c:
https://review.coreboot.org/#/c/29981/27/src/soc/qualcomm/qcs405/soc.c@26
PS27, Line 26: bootmem_add_range((uintptr_t)_dram_reserved, _dram_reserved_size, BM_MEM_BL31);
line over 80 characters
--
To view, visit https://review.coreboot.org/c/coreboot/+/29981
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I967c0b78a3561574609bf8332a22838c85e43429
Gerrit-Change-Number: 29981
Gerrit-PatchSet: 27
Gerrit-Owner: Nitheesh Sekar <nsekar(a)codeaurora.org>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Nitheesh Sekar <nsekar(a)codeaurora.org>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Thu, 06 Jun 2019 10:21:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Patrick Georgi has uploaded a new patch set (#28) to the change originally created by Nitheesh Sekar. ( https://review.coreboot.org/c/coreboot/+/29967 )
Change subject: qclib: Add qclib support with interface tables
......................................................................
qclib: Add qclib support with interface tables
Add to load and execute qclib blob to configure pmic,
clocks and ddr.This also loads the qcsdi, cdt blob.
Added support for interface tables to read ddr info
from qclib and do ddr one time training based on it.
Change-Id: I534af71163d034ea04420dda6a94ce31b08c8a07
Signed-off-by: Nitheesh Sekar <nsekar(a)codeaurora.org>
Signed-off-by: Sricharan R <sricharan(a)codeaurora.org>
---
M src/mainboard/google/mistral/Makefile.inc
M src/mainboard/google/mistral/romstage.c
M src/soc/qualcomm/common/qclib.c
M src/soc/qualcomm/qcs405/Makefile.inc
M src/soc/qualcomm/qcs405/include/soc/memlayout.ld
A src/soc/qualcomm/qcs405/include/soc/qclib.h
M src/soc/qualcomm/qcs405/include/soc/symbols.h
M src/soc/qualcomm/qcs405/mmu.c
A src/soc/qualcomm/qcs405/soc_blob_load.c
9 files changed, 148 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/67/29967/28
--
To view, visit https://review.coreboot.org/c/coreboot/+/29967
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I534af71163d034ea04420dda6a94ce31b08c8a07
Gerrit-Change-Number: 29967
Gerrit-PatchSet: 28
Gerrit-Owner: Nitheesh Sekar <nsekar(a)codeaurora.org>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Nitheesh Sekar <nsekar(a)codeaurora.org>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-CC: Sricharan Ramabadhran <srichara(a)qualcomm.corp-partner.google.com>
Gerrit-CC: mturney mturney <mturney(a)codeaurora.org>
Gerrit-MessageType: newpatchset
Hello Patrick Rudolph, caveh jalali, Duncan Laurie, Gaggery Tsai, build bot (Jenkins), Furquan Shaikh,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/32846
to look at the new patch set (#2).
Change subject: soc/intel/skylake: Use PCI func0 if enabled in device tree
......................................................................
soc/intel/skylake: Use PCI func0 if enabled in device tree
Originally, if a devfn0 device was physically present, it would be
swapped with the next enabled device from the device tree. This would
result in the WiFi chip not showing up in ACPI SSDT. We should check
to see if the original device is enabled in the device tree before
looking for the next device to swap into its place.
BUG=b:122327852
TEST=the WiFi chip ACPI wake resource is now present SSDT:
Scope (\_SB.PCI0.RP01)
{
Device (WIFI)
{
Name (_UID, Zero) // _UID: Unique ID
Name (_DDN, "Intel WiFi") // _DDN: DOS Device Name
Name (_ADR, 0x00000000) // _ADR: Address
Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
{
0x27,
0x03
})
}
}
localhost ~ # cat /proc/acpi/wakeup
Device S-state Status Sysfs node
...
WIFI S3 *disabled pci:0000:01:00.0
...
localhost ~ #
Change-Id: I7c44ee5493eff1f9e04aa891030fde2a6f0c636f
Signed-off-by: Caveh Jalali <caveh(a)chromium.org>
---
M src/soc/intel/skylake/chip_fsp20.c
1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/46/32846/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/32846
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I7c44ee5493eff1f9e04aa891030fde2a6f0c636f
Gerrit-Change-Number: 32846
Gerrit-PatchSet: 2
Gerrit-Owner: Caveh Jalali <caveh(a)google.com>
Gerrit-Reviewer: Caveh Jalali <caveh(a)google.com>
Gerrit-Reviewer: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Gaggery Tsai <gaggery.tsai(a)intel.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: caveh jalali <caveh(a)chromium.org>
Gerrit-MessageType: newpatchset