Angel Pons has uploaded a new patch set (#62) to the change originally created by Christoph Pomaska. ( https://review.coreboot.org/c/coreboot/+/21774 )
Change subject: mb/dell: Add Dell Optiplex 790
......................................................................
mb/dell: Add Dell Optiplex 790
This port was generated using autoport.
The Optiplex 790 comes in four different sizes: MT, DT, SFF and USFF.
The mainboard PCBs for MT and DT are identical, the only difference is
that MT has an extra SATA port. The other PCBs are slightly different,
but they are designed with intercompatibility in mind.
Therefore, the four mainboard configurations are:
- MT: 4 RAM slots, 4x SATA, PEG, PCIe x1, PCI, PCIe x16
- DT: 4 RAM slots, 3x SATA, PEG, PCIe x1, PCI, PCIe x16
- SFF: 4 RAM slots, 3x SATA, PEG, PCIe x16
- USFF: 2 RAM slots, 2x SATA, mPCIe
This port has been tested with: SFF (needs retest) , USFF
What works:
- Booting Arch Linux with kernel 5.2.3-arch1-1-ARCH
- PCIe (Hotplug on PCIe X1 only!)
- Onboard graphics with libgfxinit (via VGA)
- Hard drive activity LED
- Onboard sound
- Onboard Ethernet
- SATA (hotplug)
- IOMMU
- Turning on and off (S5)
- 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 run at full speed)
- Front LEDs (signals code 234, corrupted or defective BIOS) [1]
- VBT is missing
Untested:
- DisplayPort?
- VGA BIOS?
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).
- The mainboard has two flash chips: SOIC16 8 MiB and SOIC8 2 MiB. They
are recognized as one "Opaque flash chip" of 10 MiB in size.
[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 Documentation/mainboard/dell/optiplex790.md
A Documentation/mainboard/dell/servicemode.md
M Documentation/mainboard/index.md
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/devicetree.cb
A src/mainboard/dell/optiplex_790/dsdt.asl
A src/mainboard/dell/optiplex_790/early_init.c
A src/mainboard/dell/optiplex_790/gma-mainboard.ads
A src/mainboard/dell/optiplex_790/gpio.c
A src/mainboard/dell/optiplex_790/hda_verb.c
A src/mainboard/dell/optiplex_790/mainboard.c
A src/mainboard/dell/optiplex_790/variants/mt_dt/overridetree.cb
A src/mainboard/dell/optiplex_790/variants/sff/overridetree.cb
A src/mainboard/dell/optiplex_790/variants/usff/overridetree.cb
23 files changed, 821 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/74/21774/62
--
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: 62
Gerrit-Owner: Christoph Pomaska <github(a)slrie.de>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Christoph Pomaska <github(a)slrie.de>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.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: Mimoja <coreboot(a)mimoja.de>
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: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-CC: Thomas Heijligen <src(a)posteo.de>
Gerrit-MessageType: newpatchset
Keith Short has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37867 )
Change subject: src/ec/google/chromeec: Get Type-C Mux info from EC (TCPM)
......................................................................
Patch Set 11:
(1 comment)
https://review.coreboot.org/c/coreboot/+/37867/11/src/ec/google/chromeec/ec…
File src/ec/google/chromeec/ec_commands.h:
https://review.coreboot.org/c/coreboot/+/37867/11/src/ec/google/chromeec/ec…
PS11, Line 5253: uint8_t control_flags; /* USB_PD_CTRL_*flags */
The comment refers to USB_PD_CTRL* flags, but they are still called USB_PD_MUX* above. Prefer you switch the defines above to USB_PD_CTRL to match the file stored in the EC code.
--
To view, visit https://review.coreboot.org/c/coreboot/+/37867
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I96bfb6036f4340ba42a078cfd7ecaae777a3ed00
Gerrit-Change-Number: 37867
Gerrit-PatchSet: 11
Gerrit-Owner: Shaunak Saha <shaunak.saha(a)intel.com>
Gerrit-Reviewer: Brandon Breitenstein <brandon.breitenstein(a)intel.com>
Gerrit-Reviewer: Divya S Sasidharan <divya.s.sasidharan(a)intel.com>
Gerrit-Reviewer: Keith Short <keithshort(a)chromium.org>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Raj Astekar <raj.astekar(a)intel.com>
Gerrit-Reviewer: Ravishankar Sarawadi <ravishankar.sarawadi(a)intel.com>
Gerrit-Reviewer: Shaunak Saha <shaunak.saha(a)intel.com>
Gerrit-Reviewer: Srinidhi N Kaushik <srinidhi.n.kaushik(a)intel.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: Wonkyu Kim <wonkyu.kim(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: caveh jalali <caveh(a)chromium.org>
Gerrit-CC: Furquan Shaikh <furquan(a)google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-CC: Pratikkumar V Prajapati <pratikkumar.v.prajapati(a)intel.com>
Gerrit-CC: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-CC: Vijay P Hiremath <vijay.p.hiremath(a)intel.com>
Gerrit-Comment-Date: Wed, 05 Feb 2020 17:23:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Christoph Pomaska has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/21774 )
Change subject: mb/dell: Add Dell Optiplex 790
......................................................................
Patch Set 61:
(1 comment)
https://review.coreboot.org/c/coreboot/+/21774/59/src/mainboard/dell/optipl…
File src/mainboard/dell/optiplex_790/variants/optiplex_790_mt-sff/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/21774/59/src/mainboard/dell/optipl…
PS59, Line 50: # FIXME: What can be hotplugged?
: register "pcie_hotplug_map" = "{ 0, 0, 0, 0, 0, 0, 0, 0 }"
: register "pcie_port_coalesce" = "0"
> They are members of a struct, so their default value is zero. […]
The hotplugability worked fine on vendor firmware.
--
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: 61
Gerrit-Owner: Christoph Pomaska <github(a)slrie.de>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Christoph Pomaska <github(a)slrie.de>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.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: Mimoja <coreboot(a)mimoja.de>
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: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-CC: Thomas Heijligen <src(a)posteo.de>
Gerrit-Comment-Date: Wed, 05 Feb 2020 16:55:25 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Christoph Pomaska <github(a)slrie.de>
Comment-In-Reply-To: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-MessageType: comment
Hello Kyösti Mälkki, Patrick Rudolph, Felix Held, Angel Pons, Mimoja, Arthur Heymans, Paul Menzel, Jonathan Neuschäfer, 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 (#61).
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: SFF, USFF
What works:
- Booting Arch Linux with kernel 5.2.3-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.
[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 Documentation/mainboard/dell/optiplex790.md
A Documentation/mainboard/dell/servicemode.md
M Documentation/mainboard/index.md
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/early_init.c
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/variants/mt-sff/devicetree.cb
A src/mainboard/dell/optiplex_790/variants/mt-sff/gpio.c
A src/mainboard/dell/optiplex_790/variants/mt-sff/hda_verb.c
A src/mainboard/dell/optiplex_790/variants/usff/devicetree.cb
A src/mainboard/dell/optiplex_790/variants/usff/gpio.c
A src/mainboard/dell/optiplex_790/variants/usff/hda_verb.c
24 files changed, 1,193 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/74/21774/61
--
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: 61
Gerrit-Owner: Christoph Pomaska <github(a)slrie.de>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Christoph Pomaska <github(a)slrie.de>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.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: Mimoja <coreboot(a)mimoja.de>
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: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-CC: Thomas Heijligen <src(a)posteo.de>
Gerrit-MessageType: newpatchset