Skip to content

B850 support part5#883

Open
miczyg1 wants to merge 41 commits into
dasharo-25.12from
b850_support_part5
Open

B850 support part5#883
miczyg1 wants to merge 41 commits into
dasharo-25.12from
b850_support_part5

Conversation

@miczyg1
Copy link
Copy Markdown
Contributor

@miczyg1 miczyg1 commented May 4, 2026

No description provided.

@miczyg1 miczyg1 force-pushed the dasharo-25.12 branch 2 times, most recently from a6701c9 to 6477ee1 Compare May 7, 2026 07:40
@miczyg1 miczyg1 force-pushed the b850_support_part5 branch from f6bf95f to 185839e Compare May 8, 2026 07:47
@miczyg1 miczyg1 force-pushed the b850_support_part5 branch 3 times, most recently from f51efb8 to 01c9c8a Compare May 19, 2026 15:19
miczyg1 added 19 commits May 20, 2026 09:19
Set parameters for GFX IP block intialization. Some of them are
duplicated with NBIO, so we want to keep them in sync.

Upstream-Status: Pending
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Pass AMD GOP EFI driver and VBIOS file to EDK2 build system to
be integrated in the DXE FV. The PciPlatformDriver will fetch
the VBIOS from FV for given PCI device ID and vendor ID passed
in the VGA_BIOS_ID Konfig option as PCDs.

Upstream-Status: Pending
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Upstream-Status: Pending
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
DDI ports, as MPIO ports, are board specific. Add chip configuration
to allow boards to specify DDI links via devicetree and pass the DDI
link list to openSIL.

TEST=HDMI display works on MSI PRO B850-P WIFI with PiKVM.

Upstream-Status: Pending
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Update APCB blobs to include the display parameters used by HDMI
port.

Describe the HDMI port as DDI link in devicetree, so that it will
be passed to openSIL to prepare integrated graphics for GOP driver.

TEST=HDMI display works on MSI PRO B850-P WIFI with PiKVM with AMD GOP
in EDK2.

Upstream-Status: Pending
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Upstream-Status: Inappropriate [custom config]
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Add Promontory firmware variants to the PSP directories. Also add a
pointer to the Promontory firmware inside EFS. It will be used by
coreboot to easily locate the firmware, load it to RAM and pass it
to silicon initialization module.

Upstream-Status: Pending
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Allocate early memory for Promontory FW in the memory layout. The
Promontory initialization should run with the FW in RAM.

Upstream-Status: Pending
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Add API for searching promontory FW in EFS and loading it to RAM
at desired address.

Upstream-Status: Pending
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Initialize Promontory chipset with newly added support for Promontory
in openSIL.

Upstream-Status: Pending
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Upstream-Status: Pending
Change-Id: I83aa2363678c0c5a70cde4c34b65f87c87bb68ae
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Upstream-Status: Pending
Change-Id: I0ab522f0ee613781b3bbec1d79804f7364ec6891
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Upstream-Status: Pending
Change-Id: Ifa9edbcf59c23d240af4f057552c0868e10b1a77
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Add Promontory 21 chip driver that will serve as openSIL
configuration setter based on devicetree config values.

Change-Id: Ice1ae8cd882c13d5fa1186dded53326430db9621
Upstream-Status: Pending
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Based on output from amdtool.

Change-Id: I31f5601f5e9721764c74bea8a78f614af53f7eb6
Upstream-Status: Pending
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Add codec verbs with pin configs as seen by Linux in sysfs.

Upstream-Status: Pending
Change-Id: I438292f2af90364d6ebecb9c056cfd8976e9f582
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Based on https://blog.3mdeb.com/2026/2026-02-09-msi_pro_b850p_part1/

Upstream-Status: Pending
Change-Id: Iacb2af8ab8daceceed406a411a795c9ab6553eee
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Based on https://blog.3mdeb.com/2026/2026-02-09-msi_pro_b850p_part1/
and MSI POR B850-P WIFI manual.

Upstream-Status: Pending
Change-Id: I864ea0745bd89f05c32726ce8ffe4edaab608d18
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Describe SMBIOS type 41 onboard devices using the devicetree entries.

Upstream-Status: Pending
Change-Id: I0119f2975ae722641c2d6208043602c384602964
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
@miczyg1 miczyg1 force-pushed the b850_support_part5 branch 2 times, most recently from e9d0479 to 4d682c8 Compare May 20, 2026 09:48
miczyg1 added 3 commits May 20, 2026 13:48
Add missing _PRT method for the host bridge to convery IRQ routing
information to the OS about the devices on bus 0.

Upstream-Status: Pending
Change-Id: Ic447baea95dad9e337a1c4eec1ccf3132caaebbd
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Get PCI SSID from the devicetree and pass to openSIL.

Upstream-Status: Pending
Change-Id: I6236215e0cef77d35fc0314b311be1186b81a97f
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Assing ops for each device of Promontory chipset, so that proper
ACPI code is generated on boot.

Upstream-Status: Pending
Change-Id: I018eb0ea45a386ae718b3a38716cfbe2043da55a
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
miczyg1 added 19 commits May 20, 2026 13:48
Assign device operations to Promontory devices and set subsystem IDs.

Upstream-Status: Pending
Change-Id: I032201989c977a01ad76845312a4ee74f361e208
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Upstream-Status: Pending
Change-Id: I174cf78d745e714e2a1abb0820239c7cdae44ac4
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Replicate what vendor firmware does on Phoenix AM5.

Upstream-Status: Pending
Change-Id: I1bdad04e2f0df15cf5256066b4f5104d3452eff9
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Drop the new line so that "OK" is printed in the same line
as the PSP message we send.

Upstream-Sttaus: Pending
Change-Id: Ia675640438cfa093121658e4dad6afbcf4d1d11d
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
IPU is not disabled on this platform. Enable it so the resources will
be allocated appropriately.

Enable 8bit IOAPIC IDs, to avoid issues with upper nibble not being
programmed correctly.

Upstream-Status: Pending
Change-Id: Ic6051ae95a84b8474ee8cf2d713fc35f5f57d0eb
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Add helper to obtain 32bit SSID from device structure for better code
readability when 32bit SSID is needed.

Upstream-Status: Pending
Change-Id: I11761b0e12891a089e64ec6c7846d4352888e6df
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Fix Linux unable to init sleep button and non existent PROM21 USB3
port 6 with wrong ACPI path.

Upstream-Status: Pending
Change-Id: Iae99021dbda3243073ed0e31678eac346d00c469
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Print the GPIO number when dumping its configuration to map it easily
with PPR.

Upstream-Status: Pending
Change-Id: If94ada421f71983401e0b2c946d7200b3bf810dd
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Mimic default setting of vendor BIOSes.

Upstream-Status: Pending
Change-Id: Ib3dd82786226c1e60798a275f80942bb0a60db2a
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Set eSPI IRQ mask based on the devicetree settings, if provided.

Upstream-Status: Pending
Change-Id: I2329fbb515deeaa48189126ad50af630a560683d
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Upstream-Status: Pending
Change-Id: I156da2279bc7839cdb7420401e25cc70fb9802f1
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Upstream-Status: Pending
Change-Id: I54dfc1b80a0946c8fb01d1a220f3463b1ddd71d2
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Mimic vendor BIOS settings.

Upstream-Status: Pending
Change-Id: I5b180ed8f067919ec42017f49845b6749490ac06
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Update GPIO configuration to match vendor BIOS.

Upstream-Status: Pending
Change-Id: I72ba373a268febd41288ddfb744fcdea80346bb4
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Program clocks, eSPI IRQ masking and I2C devices enabling as vendor
BIOS does.

Upsream-Status: Pending
Change-Id: I7727764611e7e6916ea288b7eb2ab198f0bd9648
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Upstream-Status: Pending
Change-Id: I2b551413691d6a8be4db470a190697b20ee1183e
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
MS-7E56 board, aka MSI PRO B850-P WIFI has small differences in the
romhole structure. Use preprocessor defines in a Kconfig option to
override the romhole structure and construct the romhole binary
that matches the format of the board. Changes are made in a way that
previous boards are not affected.

Upstream-Status: Pending
Change-Id: I21f0de69957d3610761a8ab32d999fc6fd9d463f
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Add necessary regions, options and structures to the resutling image
to make FlashBIOS work. Use the freshly added ROMHOLE as a source
for the SMBIOS type 2 values.

Upstream-Status: Pending
Change-Id: If4fe27fc0701c4458d3a10bae68da4adfe8602fa
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
On modern platforms the state of APOB NV copy is stored in CMOS.

Upstream-Status: Pending
Change-Id: I6b5c5745fb9d0a30dc61542c5ca266eb70611e6e
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
@miczyg1 miczyg1 force-pushed the b850_support_part5 branch from 4d682c8 to 0a35905 Compare May 20, 2026 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant