Skip to content
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

Dasharo google celes/rel v0.1.0 #228

Closed
wants to merge 133 commits into from

Conversation

pietrushnic
Copy link
Contributor

@pietrushnic pietrushnic commented Sep 3, 2022

Rebase of MrChromebox-4.17.2 on top of dasharo/master + merge of common-base-rebased.

Related to MrChromebox/firmware#293

miczyg1 and others added 30 commits August 18, 2022 14:03
Signed-off-by: Michał Żygowski <[email protected]>
Signed-off-by: Michał Żygowski <[email protected]>
Signed-off-by: Michał Kopeć <[email protected]>
Project: https://github.com/9elements/converged-security-suite
License: BSD-3

Tooling for Intel platform security features

Change-Id: I7421b30eb38e64cf6b77b7e1c485c5700728997b
Signed-off-by: Philipp Deppenwiese <[email protected]>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45170
Reviewed-by: Angel Pons <[email protected]>
Reviewed-by: Christian Walter <[email protected]>
Tested-by: build bot (Jenkins) <[email protected]>
Signed-off-by: Michał Żygowski <[email protected]>
Signed-off-by: Michał Kopeć <[email protected]>
Signed-off-by: Michał Żygowski <[email protected]>
Signed-off-by: Michał Kopeć <[email protected]>
Signed-off-by: Piotr Król <[email protected]>
Signed-off-by: Michał Kopeć <[email protected]>
Change-Id: I9e7537181fed24ce8136e1d16db514bc3cc7070d
Signed-off-by: Matt DeVillier <[email protected]>
Signed-off-by: Matt DeVillier <[email protected]>
Change-Id: I449f4c6f4abcf3d8dcea12f62ca19215098dd29d
Change-Id: Ia95041edfd731dc115826788f3090e10a2f48fb4
Signed-off-by: Matt DeVillier <[email protected]>
Change-Id: Ida586141a21d3179ffeebaa0ed6cb5bd5c740c22
Signed-off-by: Matt DeVillier <[email protected]>
If an updated EC firmware image is present in CBFS,
compare to existing and update if needed.
Switch to EC-RW firmware unless software sync fails.

Change-Id: I08ab4255e6515a69a5bc7929765c062a9bbea404
Signed-off-by: Matt DeVillier <[email protected]>
Change-Id: I7f16f17273b4687ada653c3c160879e048f34b4a
Signed-off-by: Matt DeVillier <[email protected]>
Recent changes to allow for dynamic detection of keyboard backlight
broke functionality on older/legacy devices, particularly under
Windows. Until a better solution found, revert to previous behavior.

Change-Id: I30fcffb1cde0310660f1b6f97f55203d14586268
Signed-off-by: Matt DeVillier <[email protected]>
Several devices had issues with fan control on cold boot
and/or on S3 resume, so ensure auto control enabled on
devices which have a fan. Devices without a fan will
simply return an unsupported error.

Change-Id: I08a8562531f8af0c71230477d0221d536443f096
Signed-off-by: Matt DeVillier <[email protected]>
The ME needs to be visible for proper operation in Windows/OSX

Change-Id: Ief4ac90f9506b8ed1075a7d2cbc23ce5868daa1f
Signed-off-by: Matt DeVillier <[email protected]>
update lynxpoint's XHCI init using soc/broadwell as a model.
fixes operation under Windows

Change-Id: I02c880cb114edc0725533fec58e0d9f2790745e4
Signed-off-by: Matt DeVillier <[email protected]>
Change-Id: Idc74df3574aa8b1e6cc089e17f5502e5ba79ba6c
the EC Serial port on auron and slippy is non-functional,
so prevent it from being visible to the OS.

Signed-off-by: Matt DeVillier <[email protected]>
Change-Id: If14d8f6a8d6069ce5aaf385d7963ec99f545cd1f
Signed-off-by: Matt DeVillier <[email protected]>
Ensure S5 wake events active for S4, ensure USB ports powered down

Signed-off-by: Matt DeVillier <[email protected]>
Add Kconfig option to specify GOP driver version for injection
into OpRegion ACPI header when VBT data file used.

Change-Id: Ic469a17c7710d6bfac4ae5ed0cf1a182201bc937
Signed-off-by: Matt DeVillier <[email protected]>
By default, linux prioritizes the ACPI backlight controls over the Intel
driver ones, which causes them to be non-functional on HSW/BDW/BYT devices.
This patch strips out just enough so that Linux will use the functional
driver controls, while not breaking Windows and OS X functionality

Change-Id: I1702aef6b7a196fd755ce9b4c08d0a772ac5d12c
Signed-off-by: Matt DeVillier <[email protected]>
If a GOP driver version is specified, inject that into
the OpRegion ACPI DVER (GOP version) field.

Change-Id: Ica031f79cb884c0b54e0acca6633694dbfd38311
Signed-off-by: Matt DeVillier <[email protected]>
MrChromebox and others added 23 commits September 3, 2022 14:29
Change-Id: Ib2b5f2884c997533033e2ad0df711a371ad53ce5
Signed-off-by: Matt DeVillier <[email protected]>
Set _STA to 0xB for GOOG000C/GOOG000E devices to prevent showing
as missing drivers under Windows

Change-Id: I0887fd6e18528d2c8523e7bc66db9efaa31adf5d
Signed-off-by: Matt DeVillier <[email protected]>
PS2K device needs to be under PCI0, not LCPB, for Windows to
recognize it. Same change was made to ChromeEC previously.

Test: Boot Win11 on Drallion, verify built-in keyboard functional.

Change-Id: I12019592dfa1d869ba57c1ff6c25ac6bdeb7a300
Signed-off-by: Matt DeVillier <[email protected]>
Change-Id: I11f20539795409723375555a4163f849b4c9f1d5
Signed-off-by: Matt DeVillier <[email protected]>
Change-Id: Iad45589ed2a8a2b7b9832c16589c6cea052423a7
Signed-off-by: Matt DeVillier <[email protected]>
Change-Id: I77befb4967238a2b78ab589897289d5f7d00f5fc
Signed-off-by: Matt DeVillier <[email protected]>
On chromeos targets using a psp verstage is required to boot, however
using a RW_A/B scheme is not needed. In the plain RO we still want to
have the APOB_NV region used.

Change-Id: I64617fa9cf56d0f7da9f2a384437a28e76cfb4d7
Signed-off-by: Arthur Heymans <[email protected]>
Allows coolstar's Windows drivers for kblight to attach

Change-Id: I3e9578f1ef18b3bebb93a9ae2ae4e27bc38f648d
Signed-off-by: Matt DeVillier <[email protected]>
Change scope of ACPI device. Needed for coolstar's Windows driver

Change-Id: Ia8499367075d848cf562a3e6bf4be6d53d66d04e
Signed-off-by: Matt DeVillier <[email protected]>
Change-Id: I971795becfb05fb42921ff6f40a20892f4f5654a
Signed-off-by: Matt DeVillier <[email protected]>
Change-Id: Ic164244eceb52221653bd60f7217f9a09e38c1b6
Signed-off-by: Matt DeVillier <[email protected]>
Change-Id: Ie4268b4de5779ee148699c7bef8c700a99816f1e
Signed-off-by: Matt DeVillier <[email protected]>
Don't build zen2 boards due to vboot error.

Change-Id: I9ba1b3dc448cc447ab83d64f08d14406826fcede
Signed-off-by: Matt DeVillier <[email protected]>
This reverts commit f013f7f4fae8d2625c671827d75f257bf52b61cd.
coolstar's Windows driver needs KBLT under CREC, so the EC driver
loads first / KBLT is a dependent of CREC, but doesn't use the
KBQC/KBCM methods. The Linux driver needs KBLT directly under _SB.
Hack the driver to hell to make everyone happy.

Change-Id: I0ef5d6998b65d5aa7f6e8337f886ab88f178c75b
Signed-off-by: Matt DeVillier <[email protected]>
Breaks coolstar's Windows driver, not used by Linux

Change-Id: I5d05b9fae7e04b3714862ed905e9143fb6f9c629
Signed-off-by: Matt DeVillier <[email protected]>
Change-Id: I401c3d6ec3bec91568420568efb97aa015c6957e
Signed-off-by: Matt DeVillier <[email protected]>
…ro_google_celes/rel_v0.1.0

Signed-off-by: Piotr Król <[email protected]>
Signed-off-by: Piotr Król <[email protected]>
@pietrushnic
Copy link
Contributor Author

Closing because newer code is here

@pietrushnic pietrushnic deleted the dasharo_google_celes/rel_v0.1.0 branch November 18, 2022 22:24
@pietrushnic pietrushnic restored the dasharo_google_celes/rel_v0.1.0 branch November 18, 2022 23:11
@pietrushnic pietrushnic deleted the dasharo_google_celes/rel_v0.1.0 branch November 18, 2022 23:12
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.

9 participants