Commit Graph

689 Commits

Author SHA1 Message Date
2b9cb92b20 Update coreboot 2023-04-03 13:23:12 -06:00
70e6f70c91 Update intel-spi 2023-04-03 13:23:12 -06:00
9b16a5a84a Update firmware-update 2023-04-03 13:23:12 -06:00
5b7f116fc6 Update firmware-update 2023-04-03 13:23:12 -06:00
70dd645e06 Update coreboot 2023-04-03 13:23:12 -06:00
8933544389 oryp11: Add config files
- Specify chip.txt for external flashing
- Copy IntelGopDriver.inf so GOP is used
- Copy edk2.config to build with correct configs

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2023-04-03 13:23:12 -06:00
3f91e984a1 docs: Add section for smart amp to porting notes
Document how to find the Realtek smart amp init data from the
proprietary firmware image.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2023-04-03 13:23:12 -06:00
2a568cfb2e oryp11: Update CSME
- Disable Boot Guard
- Disable PTT
- Disable locking the descriptor

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2023-04-03 13:23:12 -06:00
e65a4d4ef5 Add coreboot configs for oryp11, gaze18-3050
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2023-04-03 13:23:12 -06:00
8489f11d31 Update coreboot 2023-04-03 13:23:12 -06:00
9f2ea7303f Update coreboot 2023-04-03 13:23:12 -06:00
adfabb401f Add FSP for gaze18-40x0 2023-04-03 13:23:12 -06:00
bc75d1a6eb Add chip.txt for gaze18 2023-04-03 13:23:12 -06:00
f8146b3cf5 Disable bootguard for gaze18 2023-04-03 13:23:12 -06:00
b2ecfb615c Update coreboot and add gaze18-40x0 configs 2023-04-03 13:23:12 -06:00
03ef3bde94 models: Add oryp11 blobs
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2023-04-03 13:23:12 -06:00
ae90538df1 models: Add oryp11 extract
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2023-04-03 13:23:12 -06:00
95a7b9edf8 Add gaze18-40x0 extract 2023-04-03 13:23:12 -06:00
49f0d55c00 Update coreboot-collector 2023-04-03 13:23:12 -06:00
faf51f7379 Update coreboot-collector 2023-04-03 13:23:12 -06:00
c01e392b4d models: Add gaze18-3050 dump
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2023-04-03 13:23:12 -06:00
a308d84632 modeltool: Update edition, deps
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2023-04-03 13:23:12 -06:00
85f8a8b933 coreboot: oryp10: select DRIVERS_GFX_NVIDIA 2023-02-14 14:48:45 -07:00
8c603b0126 coreboot: oryp10: enable DGPU 2023-02-14 14:47:16 -07:00
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
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
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
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
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
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
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
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
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
ec7f2adb2e changelog: Use past tense
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-11-04 17:24:51 -06:00
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
b39e1944a5 lemp11: Apply PMC hack to fix S0ix
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-10-17 18:43:49 -06:00
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
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
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
aa797d2e00 Update coreboot 2022-09-26 12:11:14 -06:00
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
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
74e75ff8e4 Merge pull request #350 from system76/oryp9-b
Add oryp10
2022-09-07 12:49:21 -06:00
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
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
1169a60ca5 oryp10: Add Oryx Pro 10
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-09-06 09:48:49 -06:00
87b0a4903c scripts: Build crossgcc with multiple cores
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-09-01 16:23:31 -06:00
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
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
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