27 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
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
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
7e398214ef
Update coreboot and configs 2020-08-13 13:13:15 -06:00
Jeremy Soller
cca40eda80
addw2: coreboot TPM delay 2020-08-13 10:47:42 -06:00
Jeremy Soller
519a100b7e
addw2: disable PTT 2020-08-13 10:47:24 -06:00
Tim Crawford
878bfdda77 models: Update coreboot hda_verb.c files
- Rename from hda.h
- Update license block
- Remove header guards
2020-08-03 10:00:38 -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
dab421bfa6
Update coreboot and addw2 config 2020-07-14 11:29:34 -06:00
Jeremy Soller
f04d7cd0e1
Update configs 2020-06-11 13:18:03 -06:00
Jeremy Soller
4dc59fee82 Add addw2, gaze15, and oryp6 2020-06-11 13:05:11 -06:00