Commit Graph

567 Commits

Author SHA1 Message Date
Tim Crawford
62f4da99a1 lemp11: Fix PL2/PL4 power limits
Fix power limit config override so board does not power off under load
while on battery power.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-07-05 14:52:33 -06:00
Tim Crawford
fb33c3f984 changelog: Update for lemp11 release
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-06-29 16:21:17 -06:00
Tim Crawford
dda04c8be5 lemp11: Update CSME
Disable Boot Guard, PTT, and locking of the descriptor.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-06-29 16:21:17 -06:00
Tim Crawford
21725b41da lemp11: Add Lemur Pro 11
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-06-29 16:21:17 -06:00
Tim Crawford
fe2ff86412 changelog: Update for darp8 release
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-06-23 13:25:14 -06:00
Tim Crawford
0fc98006e0 darp8: Fix SATA detection
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-06-23 13:25:14 -06:00
Tim Crawford
b2d8bda2b9 docs: Add note about regenerating CSME
CSME image may need to be configured to disable PTT, Boot Guard, and
locking of the descriptor.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-06-22 09:36:04 -06:00
Tim Crawford
143af4d549 darp8: Update CSME
Disable Boot Guard, PTT, and locking of the descriptor.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-06-22 09:36:04 -06:00
Tim Crawford
3af446e772 darp8: Add Darter Pro 8
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-06-22 09:36:04 -06:00
Jeremy Soller
090f9e035d Update coreboot 2022-06-07 07:12:55 -06:00
Jeremy Soller
6d75138d2f Update coreboot 2022-06-06 11:43:08 -06:00
Jeremy Soller
54b0f83ec1 Update submodules 2022-05-27 12:55:17 -06:00
Tim Crawford
4aa8a81be1 deps: Call EC deps script
Remove EC-specific dependencies and call the EC script to install them
instead.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-05-25 13:10:29 -06:00
Jeremy Soller
774517b8ff gaze17-3060-b: run end of manufacturing on first boot 2022-05-24 08:23:06 -06: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
c69ca152da Update changelog 2022-05-16 12:40:59 -07:00
Jeremy Soller
f855f47ad6 Update firmware-update 2022-05-16 12:40:59 -07:00
Jeremy Soller
0f5d4de779 Add gaze17 2022-05-16 12:40:59 -07:00
Jeremy Soller
fd9d73bdb9 Update submodules 2022-05-16 12:40:59 -07:00
Jeremy Soller
ef56bc8925 scripts/generate: Fix use of wrong Rust toolchain 2022-05-16 12:40:59 -07:00
Tim Crawford
650b9843d3 Update submodules
Updates:

- apps/firmware-setup
- libs/coreboot-table
- libs/uefi
- tools/MEAnalyzer
- tools/UEFITool
- tools/coreboot-collector
- tools/ipxe

Removes:

- libs/ecflash: Available through ec
- libs/uefi_alloc: Part of uefi
- libs/uefi_std: Part of uefi

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-04-26 13:21:49 -06:00
Tim Crawford
a3de5620ab Remove unME11/unME12
The Positive Technologies org is no longer available on GitHub. As these
tools were never directly used, just remove them.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-04-14 07:21:25 -06:00
Tim Crawford
05577baab2 qemu: Enable KVM
Fixes performance issues when running a QEMU VM.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-03-10 10:14:09 -07:00
Tim Crawford
b3242efba6 docs: Add info for enabling debug logging
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-02-28 16:00:54 -07:00
Tim Crawford
cf7fc2c540 scripts: Update rustup or inform user of env vars
Ensure rustup is up-to-date to avoid users having a version that is too
old to support the TOML format.

If rustup was just installed, tell the user to source the new env vars
to use the correct version of the toolchain.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-02-28 16:00:54 -07:00
Tim Crawford
10c256d6fa readme: Rewrite info for building
Replace the headers with setences. Provide a brief description on the
different methods to flash and link to `flashing.md` for more details.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-02-28 16:00:54 -07:00
Tim Crawford
998378efcc models: Add edk2 config for QEMU
Ensure QEMU builds with the correct edk2 options by providing a config
file like the other models.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-02-28 16:00:54 -07:00
Tim Crawford
9e09461c65 scripts: Change QEMU binary name
`kvm` is a symlink to the `qemu-system-x86_64`. Use this name instead so
the script can be used on other distros without modification.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-02-28 16:00:54 -07:00
Jeremy Soller
8c343acafe Update changelog 2022-02-15 07:53:49 -07:00
Jeremy Soller
aff1f133d7 Update EC 2022-02-15 07:50:36 -07:00
Jeremy Soller
e8d7c8e636 Update IFD and ME for all models 2022-02-03 08:58:23 -07:00
Tim Crawford
239e2cbaed build.sh: Set git-describe length
Specify `abbrev` to ensure the length of the commit hash is always the
same, in case `core.abbrev` is set or the default changes.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-01-18 11:57:12 -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
17cf8b1334 github: Add issue template
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-01-07 18:32:50 -07:00
Tim Crawford
c73e48228b coreboot: Fix lemp10 boot
- Fix lemp10 memory info to prevent an error message in cbmem.
- Fix booting lemp10 with DIMM not present.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-01-06 13:20:17 -07:00
Tim Crawford
1dc7780b1c edk2: Add back boot text about Pop!_OS Recovery
Preserve existing UI and add the note about pressing Space to go to
the systemd-boot menu for Pop!_OS Recovery.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-12-21 15:43:49 -07:00
Tim Crawford
d38ec4e972 changelog: Set date for release
Use the date of this commit as the release date.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-12-21 13:11:09 -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
8c88ca0252 docs: Add notes about UEFI features
Document that only UEFI booting is supported, the current status of
Secure Boot, and that the shell and networking are disabled.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-12-21 13:11:09 -07:00
Tim Crawford
9c63db4c9f docs: Update Intel ME info
Document the new CMOS option for enabling/disabling the IME.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-12-21 13:11:09 -07:00
Tim Crawford
92a601fbb7 Add changelog entry
Remove 2021-09-29 section, as the change was released in 2021-09-30.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-12-21 13:11:09 -07:00
Tim Crawford
dbe7213ecf Remove top-level README.md.in
- The generated "Contents" section isn't useful
- Non-standard, causing confusion on how to update README.md
- It's already out of sync

Remove galp3-c and darp5, as we never released the firmware due to
issues with the touchpad and keyboard. Add gaze16-3060-b variant.

Make "Schematics" a subsection of "Supported models".

Remove directory from list of paths to update in `scripts/readmes.sh`.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-12-21 13:11:09 -07:00
Tim Crawford
3e4688fcbc Remove libs/smmstore
Replace the stand-alone smmstore app in favor of the read example in
firmware-smmstore.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-12-21 13:11:09 -07:00
Tim Crawford
ffdceb5f0b Update Rust toolchain to 2021-06-15
Update the toolchain to the version used by Redox.

Update a lot of the submodules, which have been updated to build on the
new toolchain.

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
fb9d759338 gaze16-3060: Add variant for I219-V board
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-11-01 11:27:30 -06:00
Tim Crawford
de3b0a65fa scripts: Add Python2 to deps
coreboot requires python2 explicitly when using the FSP submodule as the
source for FSP binaries.

    python2 3rdparty/fsp/Tools/SplitFspBin.py ...

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-10-04 08:13:40 -06:00
Jeremy Soller
14b8a6e967 Update ec and changelog 2021-09-30 12:40:22 -06:00