Commit Graph

863 Commits

Author SHA1 Message Date
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
Tim Crawford
15016a0ccd coreboot: Fix CMOS options checksum
Caching ramtop does not update the checksum, causing CMOS options to not
work. Fixes CSME not being disabled on first boot.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-04-29 08:36:02 -06:00
Daniel Sutton
4b32a3e9f5 Add Debian and Fedora dependencies (#541)
Add Debian (pkgconf/libssl-dev) and Fedora (openssl-devel) dependencies for firmware build.
2024-04-17 11:40:51 -06:00
Jeremy Soller
2c6913bc0a lemp13: Update coreboot to fix power LED flicker 2024-03-25 14:30:56 -06:00
Jeremy Soller
0456f19d21 lemp13: Update coreboot to fix security screen 2024-03-22 10:32:59 -06:00
Jeremy Soller
bf2eee4fea Update firmware-update 2024-03-21 18:56:18 -06:00
Tim Crawford
263c8ffd1e oryp12: Fix certification issues
- coreboot: Disable AER on TBT port to avoid UnsupReq error
- ec: Select the correct smart charger to fix charging issue

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-03-21 14:40:50 -06:00
Jeremy Soller
f18364f358 lemp13: Update coreboot to fix memory init 2024-03-21 11:48:02 -06:00
Tim Crawford
ce7315a0f9 oryp12: Enable security
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-03-19 17:50:58 -06:00
Tim Crawford
bb2d84c152 jenkins: Add addw4, lemp13, oryp12
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-03-19 15:38:57 -06:00
Tim Crawford
c1e0662679 oryp12: Update coreboot, ec
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-03-19 15:38:57 -06:00
Tim Crawford
d5af945751 oryp12: Update CSME
- Disable Boot Guard
- Disable PTT
- Disable locking the descriptor

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-03-19 15:38:57 -06:00
Tim Crawford
241570f50a oryp12: Add Oryx Pro 12
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-03-19 15:38:57 -06:00
Jeremy Soller
14aee2d11a Add lemp13 2024-03-19 13:28:33 -06:00
Jeremy Soller
bd4d0333b6 Use rsync to transfer firmware to spipi 2024-03-19 13:28:33 -06:00
Jeremy Soller
0c0980f11b Add intel-spi submodule 2024-03-19 13:28:33 -06:00
Jeremy Soller
f8ba050684 Update submodules 2024-03-19 13:28:33 -06:00
Tim Crawford
604f6629bc scripts: Remove explicit rustup self update
Commit 7d6a15e63c ("Convert toolchain file to TOML syntax") switched
from the bare toolchain file to the TOML-based one for better management
of the toolchain and components used.

Commit cf7fc2c540 ("scripts: Update rustup or inform user of env
vars") added an explicit `rustup self update` because there were still
cases, a year later, of people not having a rustup new enough to support
the TOML-based toolchain file.

Now 2 years after that, it should be safe to drop the explicit self
update. The TOML format has widespread adoption and rustup now self
updates by default. This should allow distro-provided rustup, which
disables the self update feature, to work if it is already installed in
place of the one downloaded from https://rustup.rs.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-03-18 14:20:15 -06:00
Jeremy Soller
4e3ade88d5 Update EC to improve fan curve for addw4 2024-03-11 08:55:52 -06:00
Tim Crawford
6f9bda722f addw4: Update coreboot, ec
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-03-08 07:59:48 -07:00
Tim Crawford
869f48eb66 apps: Update firmware-setup
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-03-08 07:59:43 -07:00
Tim Crawford
b8f5c020dd apps: Update gop-policy
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-03-08 07:57:06 -07:00
Tim Crawford
13a2646415 apps: Update firmware-update
- Do cold reboot on success instead of shutting down
- Reboot on success after flashing all components
- Do not boot to firmware setup after MeSet
- Flash full EC ROM size instead of hard-coding to 128K
- Add addw4, lemp13, oryp12

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-03-08 07:57:06 -07:00
Tim Crawford
a5437552e7 addw4: Update CSME
- Disable Boot Guard
- Disable PTT
- Disable locking the descriptor

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-03-08 07:57:06 -07:00
Tim Crawford
9fe3a51ae3 addw4: Add Adder WS 4
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-03-08 07:57:06 -07:00
Tim Crawford
7a60055f68 docs: Update CSME note about S0ix/TGL-U
CSME should be enabled when S0ix is used for power savings during
suspend. TGL-U is just one case where we default as our TGL-U models
do not support S3. Other models may use S0ix as well, such as darp8 and
darp9 due to new batches just not working with S3 anymore [1].

[1]: https://github.com/system76/firmware-open/issues/507

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-03-01 12:36:53 -07:00
Tim Crawford
120c2fd271 coreboot: Fix RTC being reset on boot
Cherry-pick the following upstream commits:

- coreboot/coreboot@fb401e74da: soc/intel/alderlake: Sync UPD Usb4CmMode with Kconfig
- coreboot/coreboot@961ed9fe27: soc/intel/adl: Set slp-s0 counter frequency
- coreboot/coreboot@377845a9d4: soc/intel/tigerlake: Fix processor hang while plug unplug of TBT device
- coreboot/coreboot@354a54ac84: soc/intel/tigerlake: Remove IOM Mctp command from TCSS ASL
- coreboot/coreboot@adf042f6c6: lib/rtc: Fix off-by-one error in February day count in leap year

This also brings in the WIP addw4, but that will documented in the PR
that adds full support for the board.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-03-01 08:49:37 -07:00
Tim Crawford
0c3997ffb7 gaze16-3060-b: Fix CSME CLKOUT config
The CLKOUT config in FIT was misconfigured using the gaze16-3050 config.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-03-01 08:30:11 -07:00
Tim Crawford
7ab8b93ef3 gaze16-3060-b: Disable coreboot logging to EC
The config has been enabled since the board was added.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-03-01 08:30:11 -07:00
Tim Crawford
6aa0c14bbf models: Remove bonw14 HDA header
Commit 77581d11fc ("models: Remove generated C files") removed the HDA
and GPIO files, but bonw14 had an odd named file that was not removed
with the `find` command.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-02-29 08:11:41 -07:00
Tim Crawford
7a2d4da31f docs: Move info from README to docs/
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-02-28 13:22:54 -07:00
Tim Crawford
cab3891487 docs: Build with mdBook
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-02-28 13:22:54 -07:00
Tim Crawford
6407caab03 edk2: Fix building with GCC 11+
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-02-28 13:13:10 -07:00
Tim Crawford
b2416c4d01 Update coreboot to 24.02
Since 4.19-based releases took so long, we are already at the next
coreboot release. Update to this release for the slew of MTL fixes.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-02-28 13:13:10 -07:00
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
e4960f163e scipts: Add the HDA reset verb to the generated file
I always add HDA reset to the coreboot file when upstreaming, so just
have the script do it.

- Proprietary firmware does it
- It fixed audio init on oryp5

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-02-28 13:10:55 -07:00
Tim Crawford
c4b9a727c4 scripts: Update GPIO file generated for coreboot
The use of `gpio.h` has been replaced with `gpio.c` for a while.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-02-28 13:10:55 -07:00
Tim Crawford
269b537c00 docs: Update note about coreboot config
The whole coreboot generated `.config` has not been used since
ff0a27ad9c ("Use defconfig to generate .config"). The required
`coreboot.config` is much simpler now and can usually just be copied
from another model.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-02-21 07:35:52 -07:00