- 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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
`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>