64 Commits

Author SHA1 Message Date
Tim Crawford
77581d11fc models: Remove generated C files
These files are generated while running proprietary firmware, but once
they are added to coreboot they are no longer needed. They also quickly
become stale as the files are always changed in coreboot.

    find models/ -name gpio.h -exec rm {} \;
    find models/ -name hda_verb.c -exec rm {} \;

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-02-28 13:10:55 -07:00
Tim Crawford
105e74b146 edk2: Enable Secure Boot support
This enables *support* for Secure Boot. It is not recommended to enable
Secure Boot. There is no firmware UI for managing the state or keys.

The system will default to disabled in Setup Mode:

    $ mokutil --sb-state
    SecureBoot disabled
    Platform is in Setup Mode

This is sufficient to install Windows 11.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2023-04-03 13:23:12 -06:00
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
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
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
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
9a40dd0eaf
Enable TPM 2020-02-17 19:31:27 -07:00
Jeremy Soller
c303f6248e
Update more MEs for SA-00307 2020-02-16 10:25:57 -07:00
Jeremy Soller
4ca686a5a0
Fix use of coreboot FSP 2020-01-22 15:56:42 -07:00
Jeremy Soller
d6a29d393a
darp5, galp3-c: Use coreboot provided FSP 2020-01-22 15:29:40 -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
6b1d2cfcc1
Update configs 2019-11-04 14:14:46 -07:00
Jeremy Soller
300902ad64
Update coreboot, edk2, and galp3-c config 2019-11-04 09:46:54 -07:00
Jeremy Soller
8a00b246e1
Update ME for darp5 and galp3-c 2019-11-01 15:34:58 -06:00
Jeremy Soller
3146e4fb3b
Update config for darp5 and galp3-c, update coreboot 2019-11-01 14:56:47 -06:00
Jeremy Soller
227ee1d9f6
Update coreboot and configs for galp3-c, darp5, galp4, and darp6 2019-10-04 11:53:25 -06:00
Jeremy Soller
c728754c3e
Update galp3-c config 2019-10-03 16:18:18 -06:00
Jeremy Soller
1e423a11bd
Update coreboot and configs 2019-10-02 10:20:12 -06:00
Jeremy Soller
80388b0fc9
Update repos 2019-09-26 15:07:53 -06:00
Jeremy Soller
081a13974d
Update galp3-c config 2019-09-20 11:58:43 -06:00
Jeremy Soller
3174c07812
Update GOP 2019-09-20 08:34:28 -06:00
Jeremy Soller
50de0f5589
Update coreboot, add uecflash binary 2019-08-30 10:00:10 -06:00
Jeremy Soller
56909e0d51
Update galp3-c config 2019-08-09 12:42:11 -06:00
Jeremy Soller
454401a1be
Update coreboot 2019-07-15 15:17:48 -06:00
Jeremy Soller
d4658e2ce7 Update galp3-c config 2019-07-01 09:53:01 -06:00