Commit Graph

39 Commits

Author SHA1 Message Date
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
leviport
3fac9d61ca Also update chip.txt for galp4 and lemp9 2021-08-20 15:18:03 -06: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
7e398214ef Update coreboot and configs 2020-08-13 13:13:15 -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
4dc59fee82 Add addw2, gaze15, and oryp6 2020-06-11 13:05:11 -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
e0e2d192a6 Update coreboot and lemp9 config to enable ACPI backlight 2020-05-09 13:31:30 -06:00
Jeremy Soller
cbddc79946 Update coreboot and lemp9 config 2020-05-09 09:38:39 -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
e7c4683565 Update submodules, remove unused binary from lemp9 model 2020-04-06 08:09:32 -06:00
Jeremy Soller
4953546f2d Revert "Update ME for SA-00307"
This reverts commit 7d5750fca8.
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
18ecc6ccab Revert "lemp9: enable dsx"
This reverts commit 0f8ccbd861.
2020-01-22 19:47:17 -07:00
Jeremy Soller
39762f7b3a Update coreboot and model configs 2020-01-22 10:40:25 -07:00
Jeremy Soller
0f8ccbd861 lemp9: enable dsx 2020-01-22 10:07:55 -07:00
Jeremy Soller
a37bb56934 Update lemp9 fd and me 2020-01-13 10:10:04 -07:00
Jeremy Soller
1e197faef5 Update coreboot 2019-12-17 16:10:06 -07:00
Jeremy Soller
58441751ab Add lemp9 2019-12-17 15:53:21 -07:00