Attention is currently required from: Angel Pons, Felix Singer.
Máté Kukri has posted comments on this change by Máté Kukri. ( https://review.coreboot.org/c/coreboot/+/82053?usp=email )
Change subject: [WIP] OptiPlex 3050 port
......................................................................
Patch Set 11:
(10 comments)
File src/mainboard/dell/optiplex_3050/Kconfig:
https://review.coreboot.org/c/coreboot/+/82053/comment/70374ab2_8a61fefd?us… :
PS11, Line 12: # select INTEL_GMA_HAVE_VBT
> Is this a FIXME?
Yes
https://review.coreboot.org/c/coreboot/+/82053/comment/5d213b0d_5cfaffb2?us… :
PS11, Line 30: config PRERAM_CBMEM_CONSOLE_SIZE
: hex
: default 0xd00
> Is this needed? If not, I'd drop it. If it's worth keeping, I'd remove the type: […]
I suspect not, this is probably a copypasta leftover.
File src/mainboard/dell/optiplex_3050/acpi/dptf.asl:
PS11:
> Is this tested?
i think i saw a dmesg about it, but otherwise no.
File src/mainboard/dell/optiplex_3050/bootblock.c:
https://review.coreboot.org/c/coreboot/+/82053/comment/84865eb6_1d856cb5?us… :
PS11, Line 55: sch5555_mbox_read(1, 0xb8);
> I wonder what these reads do
vendor fw also does the reads and similarly discard the results, outside that i have no idea
https://review.coreboot.org/c/coreboot/+/82053/comment/9c4560c7_43ee5823?us… :
PS11, Line 96: // Changes LED color among a few other things
> Is the functioning of these bits known?
i think a datasheet for a similar ec discribes SCH555x_RUNTIME_PME_STS, SCH555x_RUNTIME_PME_EN and SCH555x_RUNTIME_LED.
SCH555x_RUNTIME_UNK1 is named UNK1 because it's not documented
File src/mainboard/dell/optiplex_3050/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/82053/comment/d8cf0325_9fc82000?us… :
PS11, Line 36: register "SendVrMbxCmd" = "2"
> Is this copy-pasta?
yes
https://review.coreboot.org/c/coreboot/+/82053/comment/72300c8b_a14579ff?us… :
PS11, Line 76: # ME interface is 'off' to avoid HECI reset delay due to HAP
> Would be nice to auto-disable at runtime.
yes indeed, although the bootguard bypass is currently only tested to work in HAP mode (it should be possible to make it work otherwise in theory)
https://review.coreboot.org/c/coreboot/+/82053/comment/196ba264_2b414e8d?us… :
PS11, Line 110: register "SerialIoDevMode" = "{ [PchSerialIoIndexUart0] = PchSerialIoPci, }"
> ```suggestion […]
Fix applied.
File src/mainboard/dell/optiplex_3050/include/gpio.h:
https://review.coreboot.org/c/coreboot/+/82053/comment/f0c5e1e8_e6ae2790?us… :
PS11, Line 15: /* Pad configuration was generated automatically using intelp2m utility */
> intelp2m has some command-line args to generate pretty macros, I think you have to tell it to ignore […]
I am planning on re-writing the GPIO table based on schematic.
File src/mainboard/dell/optiplex_3050/romstage.c:
https://review.coreboot.org/c/coreboot/+/82053/comment/3c23a0b9_81b2dc2a?us… :
PS11, Line 24: * FIXME: do we need this? */
> I think this is used with HDA. I think it should be auto-configured.
I'll test if this can be removed when i add audio
--
To view, visit https://review.coreboot.org/c/coreboot/+/82053?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I8d443e39ee684a4eaa19c835a945cfe569c051e2
Gerrit-Change-Number: 82053
Gerrit-PatchSet: 11
Gerrit-Owner: Máté Kukri <kukri.mate(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Attention: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Comment-Date: Sun, 30 Jun 2024 13:22:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Angel Pons <th3fanbus(a)gmail.com>
Attention is currently required from: Patrick Rudolph.
Angel Pons has posted comments on this change by Patrick Rudolph. ( https://review.coreboot.org/c/coreboot/+/78224?usp=email )
Change subject: arch/x86/cpu_common: Add cpu_get_c_substate_support
......................................................................
Patch Set 3:
(1 comment)
File src/arch/x86/cpu_common.c:
https://review.coreboot.org/c/coreboot/+/78224/comment/79d9c1d0_a42208cf?us… :
PS3, Line 200: !(cpuid_ecx(5) & CPUID_FEATURE_MONITOR_MWAIT) || (state > 4))
Is this Intel-specific?
--
To view, visit https://review.coreboot.org/c/coreboot/+/78224?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ie57e87609ea5d6ec6f37154e8b84f1e9574aa4a9
Gerrit-Change-Number: 78224
Gerrit-PatchSet: 3
Gerrit-Owner: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: 9elements QA <hardwaretestrobot(a)gmail.com>
Gerrit-CC: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Comment-Date: Sun, 30 Jun 2024 13:21:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Attention is currently required from: Máté Kukri.
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/82053?usp=email
to look at the new patch set (#11).
The following approvals got outdated and were removed:
Verified+1 by build bot (Jenkins)
Change subject: [WIP] OptiPlex 3050 port
......................................................................
[WIP] OptiPlex 3050 port
- Boots Linux
- SMSC SCH5553 SIO/EC
+ Early EC init + HWM init implemented
+ Console on serial port tested
+ TODO: late HWM init for fan control (fan runs at low speed now)
- Realtek Gigabit LAN works
- WiFi slot works
- NVMe SSD slot works
- Extra: LPSS UART0
+ Stock FW sets undocumented power gating bit, RTC battery needs to
be pulled for it to work.
+ Signals exposed on test points on the back of the board.
FIXME: add documentation about this
- Needs 'deguard' to bypass BootGuard
+ See https://review.coreboot.org/plugins/gitiles/deguard
- TODO: audio
- TODO: cleanup GPIO table and device tree
Change-Id: I8d443e39ee684a4eaa19c835a945cfe569c051e2
Signed-off-by: Mate Kukri <kukri.mate(a)gmail.com>
---
A src/mainboard/dell/optiplex_3050/Kconfig
A src/mainboard/dell/optiplex_3050/Kconfig.name
A src/mainboard/dell/optiplex_3050/Makefile.mk
A src/mainboard/dell/optiplex_3050/acpi/dptf.asl
A src/mainboard/dell/optiplex_3050/acpi/ec.asl
A src/mainboard/dell/optiplex_3050/acpi/superio.asl
A src/mainboard/dell/optiplex_3050/board_info.txt
A src/mainboard/dell/optiplex_3050/bootblock.c
A src/mainboard/dell/optiplex_3050/cmos.default
A src/mainboard/dell/optiplex_3050/cmos.layout
A src/mainboard/dell/optiplex_3050/devicetree.cb
A src/mainboard/dell/optiplex_3050/dsdt.asl
A src/mainboard/dell/optiplex_3050/gma-mainboard.ads
A src/mainboard/dell/optiplex_3050/include/gpio.h
A src/mainboard/dell/optiplex_3050/mainboard.c
A src/mainboard/dell/optiplex_3050/ramstage.c
A src/mainboard/dell/optiplex_3050/romstage.c
A src/mainboard/dell/optiplex_3050/sch5555_ec.c
A src/mainboard/dell/optiplex_3050/sch5555_ec.h
19 files changed, 839 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/53/82053/11
--
To view, visit https://review.coreboot.org/c/coreboot/+/82053?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I8d443e39ee684a4eaa19c835a945cfe569c051e2
Gerrit-Change-Number: 82053
Gerrit-PatchSet: 11
Gerrit-Owner: Máté Kukri <kukri.mate(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-CC: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Attention: Máté Kukri <kukri.mate(a)gmail.com>