New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mb/lenovo/m900_tiny: add board #402
base: dasharo
Are you sure you want to change the base?
Conversation
It boots to UEFIPayload but throws error MrChromebox and Dasharo EDK2 both show this issue, with or without secureboot enabled. |
It was a TPM issue. Now it boots, straight to Windows 10 without issues :) |
Basically everything works apart from S3 suspend. Had to disable PCI ASPM L1 substate to get the Wi-Fi slot to work. |
S3 fix: Dasharo/edk2#89 |
Added LPSS UART support, as I don't have the COM port module anymore. TX/RX are pins 16-17 on GXDP connector on the underside of the board. Also added VR configuration and implemented SMMSTORE wipe by CMOS clear header. Currently fighting to enable TXT, so far SINIT ACM reports error class 0xD, code 1.a or 1.0, and the ACM call test results in a reset. Maybe rebasing on fresh dasharo branch will help here. The schematics refer to a Google SKU, which would have additional I/O using the proprietary PCIe + SATA header, some extra USB features and firmware write-protect controlled by GPIO, but I couldn't find any reference to such a device in coreboot or chromium git histories, so I guess it was cancelled pretty early on. |
Log from just before the reset:
|
So Kaby Lake FSP is built without TXT support, so TXT init in coreboot fails, because FSP is expected to execute BIOS ACM Acheck function. Amberlake does not work presumably for the same reason, since the same FSP params are missing. I tried hacking up a custom FSP (skipping some TPM checks that failed due to missing PPIs) and got as far as Acheck preparation, but the ACM launch function is not compiled when using GCC. Might try porting some changes from later FSPs to see if I can get it to work. @macpijan might be relevant to you too |
Yup, the TXT switch in KBL FSP source is default FALSE :( |
The M700 / M900 Tiny boards are USFF PCs that come with Skylake LGA1151 processors. M700 comes with B150 chipset, M900 comes with Q170 and is vPro capable. There is an onboard discrete TPM 1.2. Intel PTT fTPM can also be enabled in vendor FW, but for now it's not used here. LPSS UART for debugging is available on pins 17,18 on the underside of the mainboard, but it is not enabled by default. Tested unit is M900 with i5-6500T. Boots to Fedora 38 w/ kernel 6.5.5 and Windows 11. Tested and working: - Serial port (via optional module) - Rear DisplayPort connectors - Graphics w/ libgfxinit - Ethernet - SATA - NVMe - Internal speaker, front combo jack, rear line-out - Discrete TPM 1.2 - USB ports (Port 1 untested, apparently broken on my unit) - M.2 2230 Wi-Fi slot (needs ASPM L1s disabled) - S3 suspend - ME disable via NVRAM setting Untested: - Front mic input - Optional expansion headers: DisplayPort, USB, PS/2, SATA / PCIe Change-Id: I6786e068ec03c8bf243e1767cd7b9d50512ea77f Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/80610 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Change-Id: I6c2b033d4e6bcc82e3d4348b3b158cb96e369727 Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
Added the revision that was merged upstream and enabled CI builds. Any further features will be developed in subsequent PRs. |
Change-Id: I58acc105c0e04c02cffce84e0306d07a28c52441 Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
Change-Id: Ice74ea3a1ceae446d79b64e051debd0c0555ea2c Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
Boots to UEFIPayload. TODO: