Commit graph

900 commits

Author SHA1 Message Date
Tim Crawford
f1a4d89b74 Update firmware apps
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-12-24 10:17:35 -07:00
Tim Crawford
0efa282453 tools: Update intel-spi
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-12-24 10:17:35 -07:00
Tim Crawford
698de208cb meer9: Add to Jenkins, add release note in changelog
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-12-09 15:30:27 -07:00
Tim Crawford
5b1f59796d Disable CSME during firmware update on meer9
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-12-09 15:30:27 -07:00
Jeremy Soller
65d61f6c03 edk2: Only check webcam status on laptops 2024-12-09 15:30:27 -07:00
Jeremy Soller
d6ddffee29 Disable meer9 serial debug 2024-12-09 15:30:27 -07:00
Jeremy Soller
edb61cad07 Add meer9 2024-12-09 15:30:27 -07:00
Tim Crawford
ac3f33ed64 Update changelog
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-11-22 07:48:09 -07:00
Tim Crawford
edd2e90f02 container: Remove nightly-2023-01-21 toolchain
firmware-setup has been updated to be able to use newer toolchains.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-11-22 07:48:09 -07:00
Tim Crawford
07a6b0c675 Update UEFI apps to redox_uefi_std 0.1.13
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-11-22 07:48:09 -07:00
Tim Crawford
c8ef66d137 coreboot: Enable NPU on MTL boards
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-11-19 14:12:49 -07:00
Tim Crawford
e206f5b68c Add bonw15-b to Jenkins builds
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-11-15 14:04:49 -07:00
Tim Crawford
3361616fd1 Update container file
- Change image from trixie-20240701-slim to bookworm-20241016-slim
  - unstable doesn't keep GNAT in sync with GCC, which causes problems
    when compiling coreboot SDK
- Update coreboot SDK from 24.02 to 24.08
  - Match coreboot submodule base
- Add workaround for bug in rustup 1.27
- Add link to firmware-setup issue to track toolchain blocker
- Put `&&` at beginning of all chained commands for consistency, and to
  reduce the diff if commands are added/removed

Locally built image is 3.77 GiB.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-11-12 08:55:34 -07:00
Brian Hong
9671f19fd6 drivers/qemu: Merge display driver config option name
Upstream coreboot merged the config name back.
As-is, fails to build for qemu in
./scripts/_build/coreboot.sh:check_configs

Related commit: 30610597f2
2024-11-11 12:47:31 -07:00
Tim Crawford
8399c09798 Add Containerfile for development
Add a command to create a Debian-based container with the coreboot,
SDCC, and Rust toolchains installed in order to minimize the setup time
of a container-based workflow, such as CI.

    make -C containers
    podman run -it --rm \
        -v $PWD:/workspace:Z \
        -v ~/.ccache:/root/.ccache:Z \
        system76/firmware-open:latest \
        ./scripts/build.sh oryp8

A locally built image is 2.46 GiB.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-11-11 09:33:08 -07:00
Tim Crawford
7265ca3579 bonw15-b: Increase hotplug memory
Table 4-6 states that BIOS should reserve:

- 96 MiB non-prefetchable memory
- 2x16 GiB prefetchable memory

So increase to 96 MiB and 16 GiB.

Ref: Barlow Ridge BIOS Implementation Guide (#782921)
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-11-04 10:12:53 -07:00
Tim Crawford
da25c9d28d bonw15-b: Update CSME
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-11-04 10:12:53 -07:00
Tim Crawford
ee6ca9030f bonw15-b: Add variant for new Bonobo
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-11-04 10:12:53 -07:00
Tim Crawford
6a578ee1cf Update coreboot to 24.08
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-09-17 11:26:16 -06:00
Tim Crawford
351d80dda2 ec: Replace fan interpolation/smoothing with fixed step
This change is made separately from the previous commit as it is a
significant change in behavior that affects all laptops. Copying the
message from the EC commit:

> Fan noise is one of the top complaints reported. The existing
> interpolation and smoothing logic has not sufficiently addressed the
> issues with fans changing speeds too quickly in response to rapid
> changes in thermals (particularly from PECI).
>
> This behavior can be observed by with very basic tasks, such as:
>
> - Powering on a system and logging into GNOME
> - Starting a GUI application such as Firefox
>
> Replace them with a fixed step update per event interval. Fans now have
> a maximum amount they change change over time (3.9%/sec) as they move
> towards a target duty.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-09-11 11:16:30 -06:00
Tim Crawford
d38dd19438 Updates for darp10, bonw15-b
The primary changes are:

- darp10: Fix USB3 detection in Type-C ports
- bonw15-b: Add new board

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-09-11 11:16:30 -06:00
Tim Crawford
72c6b1f950 cfl: Update CSME to 12.0.94.2380v9
Update CSME to the version from CFL-S/H IPU 24.1 (Kit 792171).

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-08-30 13:13:34 -06:00
Tim Crawford
e4d1edb608 whl-u: Update CSME to 12.0.95.2489v2
Update CSME to the version from WHL-U IPU 24.3 (Kit 813614).

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-07-30 18:29:41 +02:00
Tim Crawford
51f639a6b9 Add support for second fan without a dGPU
Decouple the fan logic from the dGPU logic. Firmware now supports a
second fan on systems without a dGPU, such as darp10.

Behavioral changes:

- ectool: Fans are now indexed from 1 instead of 0
- Linux: darp10 now reports details about the second fan

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-07-25 11:38:18 -06:00
Tim Crawford
fa07aeb91c Update Rust toolchain config
Remove rust-src as it is not required. Use a minimal profile with
clippy and rustfmt installed, instead of the default profile, as
rust-docs is not needed.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-07-17 11:06:20 -06:00
Tim Crawford
926f73d114 firmware-setup: Revert unlock prompt change
The EC will already be set to unlocked at this point, so the prompt
must be run even when in the "Unlock" state. This is fine, as the
prompt is for physical presence detection.

Only lemp13-b has a release affected by this change.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-07-08 12:50:36 -06:00
Tim Crawford
9772eaadeb cml-u: Update CSME to 14.1.74.2355v6
Update CSME to the version from CML-U IPU 24.3 (Kit 813939).

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-07-02 16:07:06 -06:00
Tim Crawford
88a0834880 cml-h: Update CSME to 14.1.74.2355v6
Update CSME to the version from CML-S/H BKC IPU 2024.3 (Kit 817210).

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-07-02 16:07:06 -06:00
Tim Crawford
54c3ef88b7 coreboot: lemp13: Add support for 5600 MT/s soldered RAM
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-07-01 07:23:23 -06:00
Tim Crawford
f9b96ddb9d apps: Update firmware-setup and firmware-update
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-07-01 07:23:23 -06:00
Tim Crawford
2ac41d8ef3 tgl: Update CSME to 15.0.49.2573
Update CSME to the version in the IPU 2024.3 kits.

- TGL-H: Kit 817417
- TGL-U: Kit 817408

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-06-28 10:10:08 -06:00
Tim Crawford
9e418a22ff ec: Fix touchpad in PS/2 mode
Clear PS/2 status to prevent data for writes being detected on reads,
which was causing drivers to stop working.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-06-26 11:54:53 -06:00
Tim Crawford
9c111c2c9e jenkins: Add lemp13-b
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-06-14 06:58:50 -06:00
Tim Crawford
b652dda776 adl/rpl: Fix USB 3.0 hubs in Type-C ports
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-06-13 19:06:27 -06:00
Tim Crawford
7eeff75a5f Update MTL FSP to 4122.12
Upgrade FSP from D.0.97.10 to D.0.A8.20.

- Meteor Lake RVP Binaries and FSP
  - Kit: 646966
  - ID: 790907

This is the version Google validated for coreboot integration.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-06-10 10:01:54 -06:00
Tim Crawford
b4bee5765e Update Rust toolchain to nightly-2024-05-11
Update toolchain to match the version used in Redox.

firmware-setup is still stuck on nightly-2023-01-21.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-05-28 15:58:23 -06:00
Tim Crawford
5002c9ad95 coreboot: Update VBTs for TGL systems
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-05-28 11:28:53 -06:00
Tim Crawford
1cc79f251a tgl: Update VBT to version 250
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-05-28 11:28:53 -06:00
Tim Crawford
a50ccb32cc tgl: Update Intel GOP driver to 17.0.1077
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-05-28 11:28:53 -06:00
Tim Crawford
a9e791c905 scripts: Allow flashing EC only
As somewhat of a hack, allow flashing only the EC by deleting the
`firmware.rom` file before running `flash.sh`.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-05-20 07:54:21 -06:00
Tim Crawford
67e7019cf1 docs: Update info about flashing
`flash.sh` was changed from internally flashing to using the UEFI
application (firmware-update). The option `--without-ec` was removed as
part of this.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-05-20 07:54:21 -06:00
Jeremy Soller
8f6d22b801
Add lemp13-b 2024-05-17 08:36:29 -06:00
Tim Crawford
3de6462f61 changelog: Add darp10, darp10-b
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-05-07 15:26:31 -06:00
Jeremy Soller
1cfc7f4744 Add darp10-b 2024-05-07 15:26:31 -06:00
Jeremy Soller
1636f5cfda scripts/extract: fix capitalization of uefiextract binary 2024-05-07 15:26:31 -06:00
Tim Crawford
9ef787dd5a darp10: Update coreboot, ec, firmware-update
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-05-07 15:26:31 -06:00
Tim Crawford
16172c99d9 darp10: Update CSME
- Disable Boot Guard
- Disable PTT
- Disable locking the descriptor at EOM

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-05-07 15:26:31 -06:00
Tim Crawford
3edfa21e97 darp10: Add Darter Pro 10
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-05-07 15:26:31 -06:00
Tim Crawford
fe17aa2047 scripts: Update VBT path for Linux 6.8
The path to the VBT has seemingly changed on the new kernel.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-05-07 15:26:31 -06:00
Tim Crawford
6dbf9ca5ca models: Remove old FSP links
Fixes: 1cbe7576ee ("Remove old RPL FSPs")
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-05-07 15:26:31 -06:00