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