Commit Graph

623 Commits

Author SHA1 Message Date
Tim Crawford
ae90538df1 models: Add oryp11 extract
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2023-04-03 13:23:12 -06:00
Jeremy Soller
95a7b9edf8 Add gaze18-40x0 extract 2023-04-03 13:23:12 -06:00
Jeremy Soller
49f0d55c00 Update coreboot-collector 2023-04-03 13:23:12 -06:00
Jeremy Soller
faf51f7379 Update coreboot-collector 2023-04-03 13:23:12 -06:00
Tim Crawford
c01e392b4d models: Add gaze18-3050 dump
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2023-04-03 13:23:12 -06:00
Tim Crawford
a308d84632 modeltool: Update edition, deps
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2023-04-03 13:23:12 -06:00
Jeremy Soller
85f8a8b933 coreboot: oryp10: select DRIVERS_GFX_NVIDIA 2023-02-14 14:48:45 -07:00
Jeremy Soller
8c603b0126 coreboot: oryp10: enable DGPU 2023-02-14 14:47:16 -07: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
6562cf213d coreboot: Rebase on 4.19
Rebase on coreboot/coreboot@decbf7b4d9.

The following boards have been upstreamed:

- darp8
- galp6

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2023-02-10 15:45:26 -07:00
Tim Crawford
b337ac66fb ec: Fix WLAN power on
Configure WLAN GPIOs at the correct point so they are enabled at boot.

Fixes: 5f1ef1731e ("ec: Fix power off issues on ADL and TGL")
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-11-21 10:01:00 -07:00
Tim Crawford
5f1ef1731e ec: Fix power off issues on ADL and TGL
- adl-p: Fix case where system gets stuck in S5 due to power loss
- tgl-u: Fix case where system gets stuck in S5 due to power loss
- galp5: Fix power off failing due to WLAN GPIO

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-11-18 09:16:22 -07:00
Tim Crawford
5e1da18565 ec: Apply PMC hack to all ADL boards
For some reason, *all* the ADL boards are now failing to enter S0ix.
Apply the PMC hack to the remaining ADL boards.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-11-18 07:45:49 -07:00
Tim Crawford
b3f0b544d7 Ask for kernel version for bug reports
Issues may depend on changes that happened in the kernel, such as:

- TBT using software CM instead of firmware CM
- TGL GPIO communities changing to match Windows
- Removal of `intel_backlight`

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-11-17 11:51:35 -07:00
Tim Crawford
addd02860a Update Rust toolchain to 2022-03-18
Match the toolchain used by Redox.

Update firmware-setup and firmware-update for using the new toolchain.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-11-16 09:39:05 -07:00
Tim Crawford
7291bc7d39 coreboot: Disable SATA DevSlp on S0ix boards
After changing EC detection of S0ix from CPU_C10_GATE# to SLP_S0#,
DevSlp blocks S0ix entry. Disable it for now on TGL-U and ADL-P.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-11-14 13:21:45 -07:00
Tim Crawford
13d410e6e1 coreboot: Fix ACPI brightness controls on ADL
Hook up GMA ACPI brightness controls for ADL and set the gfx register
for ADL boards.

Fixes backlight controls on Windows 10 and Linux 6.1.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-11-10 14:23:12 -07:00
Tim Crawford
ec7f2adb2e changelog: Use past tense
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-11-04 17:24:51 -06:00
Tim Crawford
4718ec4b3e coreboot: Remove CPU PCIe RP RTD3 configs
Remove CPU PCIe RP RTD3 config on TGL-U and ADL-P. Fixes suspend with
some drives, such as WD Blue.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-11-02 15:45:02 -06:00
Tim Crawford
b39e1944a5 lemp11: Apply PMC hack to fix S0ix
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-10-17 18:43:49 -06:00
Tim Crawford
4136ef8f2b ec: Fix KB backlight color with custom values
Reload PWM counters when they reach 0 instead of immediately.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-10-14 10:16:47 -06:00
Tim Crawford
28f94e2d84 lemp11: Remove CARD RTD3 config
Fixes board failing to reach S0ix most of the time.

lemp11 still sometimes fails to reach C10, but plugging/removing AC
adapter still works to fix it.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-10-11 17:16:40 -06:00
Tim Crawford
91a491fb95 ec: Fix charger values
- charger: Limit charger values to max valid value
- charger/bq24780s: Set RSENSE ratio option
- charger/bq24780s: Fix charge current mask
- oryp[5-8]: Reduce charge current to 2A

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-10-10 10:09:32 -06:00
Jeremy Soller
aa797d2e00 Update coreboot 2022-09-26 12:11:14 -06:00
Tim Crawford
5a479a20c8 coreboot: Fix brightness controls
The `gfx` register got dropped during some rebase. Add them back.

Fixes brightness controls on Windows for oryp8, gaze16, lemp9.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-09-23 15:56:01 -06:00
Tim Crawford
f64430a6b1 models: Remove thelio-b1
This model could not be ported, and so was never supported.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-09-23 12:28:57 -06:00
leviport
74e75ff8e4 Merge pull request #350 from system76/oryp9-b
Add oryp10
2022-09-07 12:49:21 -06:00
Tim Crawford
3e594a6d4b Update EC
- Fix signal used to detect S0ix
- Fix value to start/stop charging at

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-09-07 11:30:52 -06:00
Tim Crawford
280f061470 oryp10: Update CSME
- Disable Boot Guard
- Disable PTT
- Disable locking the descriptor

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-09-06 09:48:49 -06:00
Tim Crawford
1169a60ca5 oryp10: Add Oryx Pro 10
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-09-06 09:48:49 -06:00
Tim Crawford
87b0a4903c scripts: Build crossgcc with multiple cores
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-09-01 16:23:31 -06:00
Tim Crawford
161895da77 scripts: Install deps without confirmation
This makes `dep.sh` usable from CI. Also update the package lists before
installing on debian/ubuntu.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-08-29 12:55:07 -06:00
Tim Crawford
7160b01929 scripts: Install Rust with stable toolchain
The trick of using `show` to install components requires a default
toolchain be set. Assume users with Rust installed already have one set,
and use stable for new installs.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-08-29 10:10:34 -06:00
Tim Crawford
9754d7d8a9 scripts: Drop some unneeded deps
- coreboot no longer requires Python 2 for the FSP
- nasm is provided by the coreboot toolchain

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-08-29 10:10:34 -06:00
Tim Crawford
f311c8b10f scripts: Build coreboot toolchain as part of deps
Front load building the toolchain binaries when installing deps instead
of during the first board build.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-08-29 10:10:34 -06:00
Tim Crawford
42814e6e5c scripts: Build edk2 using coreboot toolchain
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-08-29 10:10:34 -06:00
leviport
2680d93538 docs (flashing): Remove chip package info (#348)
Since there are now two different chip package types used in our laptops, mentioning only one may cause confusion.
2022-08-12 13:42:42 -06:00
Tim Crawford
ba68c9901c coreboot: Fix intel-microcode submodule
Intel rewrote the git history for the new release. Use the tagged commit
for the microcode-20220510 release to fix clones.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-08-10 12:36:10 -06:00
Tim Crawford
1c03ebeba9 Update CSME for TGL-H and TGL-U to 15.0.41.2158v2
- TGL-U ID: 729569
- TGL-H ID: 729571

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-08-10 12:36:10 -06:00
Tim Crawford
26f97c8d88 galp6: Add support for new board
- Update submodules to support the new board
- Add board to list of supported models

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-08-03 17:29:54 -06:00
Tim Crawford
db2a47337a galp6: Update CSME
Disable Boot Guard, PTT, and locking of the descriptor.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-08-03 17:29:54 -06:00
Daniel Sutton
6a97accff4 galp6: Add Galago Pro 6 2022-08-03 17:29:54 -06:00
Tim Crawford
302c1eedd6 Update CSME for ADL-P to 16.0.15.1810v8
- ID: 735206
- Updated: 2022-06-23
- Version: 16.0.15.1810v8 ADL-P

The reported version is 16.0.15.1829.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-08-03 17:29:54 -06:00
Tim Crawford
6d4ccd9aeb changelog: Add some missing details
The coreboot rebase for gaze17 brought in a lot of fixes for other
boards.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-08-03 17:29:54 -06:00
Tim Crawford
6ff4ccfbcb coreboot: rebase on 37bf8c6dd590
Update coreboot and switch boards to use public releases of blobs.

- TGL-U microcode: revision 0xa4
- TGL-H microcode: revision 0x3e
- ADL microcode: revision 0x41c
- ADL FSP: C.0.69.74

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-08-03 17:29:54 -06:00
John Wiggins
7e4a92c854 Merge pull request #339 from system76/spipi-update
Set spipi to new name instead of IP address
2022-07-27 12:28:59 -06:00
John Wiggins
584bc40189 Set spipi to new name instead of IP address
Improved config script so the spipi config file doesn't have
to be updated with the IP address of the raspberry pi.
2022-07-27 12:20:29 -06:00
Tim Crawford
00cebe9042 gaze17-3050: Update 3050 variant
- Update EC and coreboot to support the new board
- Update README and CHANGELOG with the new board
- Add `chip.txt` to allow external flashing

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-07-27 10:12:02 -06:00
Tim Crawford
46d6040dbd gaze17-3050: Update CSME
Disable Boot Guard, PTT, and locking of the descriptor.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-07-27 10:12:02 -06:00
Tim Crawford
2e133ed72e docs: Add things to dump before porting
Information required for porting may not be in the schematics and
require inspection while running the proprietary firmware.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-07-27 10:12:02 -06:00