58 Commits

Author SHA1 Message Date
Tim Crawford
ce389aab14 coreboot: Drop RUN_FSP_GOP selection
This choice is the default for boards that select INTEL_GMA_HAVE_VBT and
do not use libgfxinit.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2023-02-10 15:45:26 -07:00
Tim Crawford
3a5b4224ac coreboot: Drop custom TPM configs
The `TPM_MEASURED_BOOT` configs have been enabled upstream so are not
needed.

TPM2 is working on gaze17, so drop the `TPM2` selection as well.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-05-16 12:40:59 -07:00
Jeremy Soller
e8d7c8e636 Update IFD and ME for all models 2022-02-03 08:58:23 -07:00
Tim Crawford
417e5898da models: Set coreboot, PS/2 keyboard in edk2 config
Set BOOTLOADER and PS2_KEYBOARD_ENABLE in the edk2 config. This will
allow us to drop the corresponding commits in edk2 when rebasing on the
next stable release.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-01-12 13:49:19 -07:00
Tim Crawford
8d9fbd1e3c models: Enable coreboot measured boot
All the laptops contain a TPM 2.0 chip. Enable the measured boot
security feature by default.

Link: https://doc.coreboot.org/security/vboot/measured_boot.html
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-12-21 13:11:09 -07:00
Tim Crawford
fa98ecae1f edk2: Rebase on edk2-stable202108
Set options in edk2.config for each board.

PCIE_BASE is no longer an edk2 option. The value is expected to be in
AcpiBoardInfo HOB, generated from the bootloader's ACPI table.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-12-21 13:11:09 -07:00
Tim Crawford
af955613e0 models: Enable SMMSTOREv2 in coreboot
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-12-21 13:11:09 -07:00
Tim Crawford
5b4dbd9c53 coreboot: Rebase on 4.15
Rebase on upstream coreboot/coreboot@5622666396. The is slightly ahead
of the 4.15 tag, but includes all of our boards and most Intel SoC
changes we need.

We are now ~10 patches on top of upstream.

The following boards have been upstreamed:

- addw1
- addw2
- bonw14
- darp5
- darp6
- darp7
- galp2
- galp3-b
- galp3-c
- galp4
- galp5
- gaze14
- gaze15
- gaze16
- lemp10
- oryp5
- oryp6
- oryp7
- oryp8

The following drivers have been upstreamed:

- tas5825m

microcode:

- TGL-U boards have been updated to rev 0x9a from private repo
- TGL-H boards have been updated to rev 0x3c from private repo
- Remaining boards changed to use blobs from public repo

FSP:

- TGL changed to use A.0.51.31 from public repo

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-12-21 13:11:09 -07:00
Tim Crawford
6213d00b73 Use Intel GOP driver from proprietary BIOS
Using the Intel GOP driver from proprietary firmware has resolved some
issues with the lemp10. Use UEFIExtract from UEFITool to extract the GOP
driver from the proprietary firmware for other boards.

    ./UEFIExtract <firmware.rom> 7755CA7B-CA8F-43C5-889B-E1F59A93D575

The version we have been using is what is present in gaze14.
2021-01-26 10:27:54 -07:00
Tim Crawford
621890252b Remove unneeded microcode ROMs
ROMs for these models are provided by coreboot.
2020-12-14 15:07:14 -07:00
Tim Crawford
ff0a27ad9c Use defconfig to generate .config
Use minimal set of config selections and let coreboot generate the
default values for the rest of them.

The only differences are the following models selecting
CONFIG_CPU_MICROCODE_CBFS_DEFAULT_BINS instead of *_EXTERNAL_BINS:

- darp5
- darp6
- galp3-c
- galp4
- lemp9
2020-12-14 15:07:14 -07:00
Tim Crawford
c96045d4f6 models: Add oryp5 2020-10-07 06:48:50 -07:00
Jeremy Soller
08f5ff0b3f Update configs 2020-10-05 14:00:35 -07:00
Jeremy Soller
d7db8266c9 addw1 2020-10-05 14:00:35 -07:00
Jeremy Soller
904cee45c1
Update coreboot and configs to fix darp6 MTRR allocation 2020-09-22 11:25:42 -06:00
Jeremy Soller
48ffaf156b Update submodules and configs 2020-09-15 08:15:23 -06:00
Jeremy Soller
c9e4644aa0 Build darp6 and galp4 with their own EC board name 2020-09-15 08:15:23 -06:00
Jeremy Soller
f7ecc6e6e8 Remove proprietary EC's from models with open EC ports 2020-09-15 08:15:23 -06:00
Jeremy Soller
7e398214ef
Update coreboot and configs 2020-08-13 13:13:15 -06:00
Jeremy Soller
5ec324d0e7 Update coreboot and configs 2020-07-23 08:45:58 -06:00
Jeremy Soller
26bcb8664e
Update coreboot and configs for coreboot dgpu-refactor (#107)
* Update coreboot and configs for coreboot dgpu-refactor

* Update coreboot

* Update coreboot
2020-07-20 11:53:49 -06:00
Jeremy Soller
48bf9dcfce
coreboot ec-acpi (#106)
* Add script for updating coreboot config

* Update coreboot and coreboot config

* Update coreboot and configs

* Pass board and version when running make clean in ec

* Add addw2 chip.txt

* Update coreboot

* Update coreboot
2020-07-18 13:49:56 -06:00
Jeremy Soller
f04d7cd0e1
Update configs 2020-06-11 13:18:03 -06:00
Jeremy Soller
7c0aa57986
Set CONFIG_OVERRIDE_DEVICETREE 2020-06-04 11:53:02 -06:00
Jeremy Soller
460f6a3ff6
Update coreboot configs 2020-06-04 11:16:23 -06:00
Jeremy Soller
7a2dadb3e9
Update coreboot and coreboot configs 2020-06-04 09:23:05 -06:00
Jeremy Soller
bf12fbdbdc
Update coreboot and darp6 config 2020-06-03 15:40:35 -06:00
Tim Crawford
7d1de6e00d Update coreboot config for darp{5,6}, galp{3-c,4} 2020-05-13 15:46:54 -06:00
Jeremy Soller
c6ac744a81
Add EC binaries for darp5, darp6, galp3-c, and galp4 2020-04-07 13:12:43 -06:00
Tim Crawford
f4f4d5b61d Build EC as a submodule, specifying version
For models that use System76 EC, we want to have the board version and
the EC version matich.

Ref: https://github.com/system76/firmware-open/issues/75
2020-04-07 13:08:51 -06:00
Jeremy Soller
2285ba0213
Remove EC binaries for open EC models 2020-02-27 09:09:57 -07:00
Jeremy Soller
4953546f2d
Revert "Update ME for SA-00307"
This reverts commit 7d5750fca874050fe2ace1cbcb5e5497dfa63466.
2020-02-26 10:32:59 -07:00
Jeremy Soller
9a40dd0eaf
Enable TPM 2020-02-17 19:31:27 -07:00
Jeremy Soller
7d5750fca8
Update ME for SA-00307 2020-02-15 15:17:55 -07:00
Jeremy Soller
39762f7b3a
Update coreboot and model configs 2020-01-22 10:40:25 -07:00
Jeremy Soller
ecadc5741a
Add PCIEXP_HOTPLUG config and increase size to support latest NVIDIA GPUs 2020-01-13 13:15:27 -07:00
Jeremy Soller
4a251d33e3
Update coreboot and darp6 config 2020-01-13 11:06:49 -07:00
Jeremy Soller
6b1d2cfcc1
Update configs 2019-11-04 14:14:46 -07:00
Jeremy Soller
7bbdba47e3
Disable uart debug 2019-10-30 14:26:53 -06:00
Jeremy Soller
0c2654d388
Update readmes 2019-10-30 14:24:19 -06:00
Jeremy Soller
769966f9a6
Update FD and ME on darp6 and galp4 2019-10-30 14:23:25 -06:00
Jeremy Soller
60b7825fc1
Revert "Update ME on darp6"
This reverts commit cd32e62dfcd3f67b72b07562401771f434660d52.
2019-10-30 14:21:40 -06:00
Jeremy Soller
cd32e62dfc
Update ME on darp6 2019-10-30 14:14:32 -06:00
Jeremy Soller
c49a334b86
Revert "Increase rate of UART"
This reverts commit 5454528a4874c14b3f1741fd2f95f8c0ec0f266b.
2019-10-30 13:30:35 -06:00
Jeremy Soller
5454528a48
Increase rate of UART 2019-10-30 13:20:59 -06:00
Jeremy Soller
dcd0971db1
Add UART console for darp6 2019-10-30 12:09:21 -06:00
Jeremy Soller
fe6f822102
Update coreboot and config 2019-10-24 09:58:56 -06:00
Jeremy Soller
acd1724707
Update coreboot and add PCIEXP_HOTPLUG to configuration 2019-10-10 16:16:37 -06:00
Jeremy Soller
d35ef89f9c
Update coreboot and config 2019-10-09 16:52:51 -06:00
Jeremy Soller
227ee1d9f6
Update coreboot and configs for galp3-c, darp5, galp4, and darp6 2019-10-04 11:53:25 -06:00