485 Commits

Author SHA1 Message Date
Tim Crawford
2e371d49fb Update apps for toolchain fix
rustup conflicts with itself when a component is installed via the
toolchain file vs rustup directly. Update the apps so submodules do not
attempt to (re)install components using rustup.
2021-03-18 08:01:19 -06:00
Jeremy Soller
7c3e89e122
oryp6, oryp7: Fix buzzing at lowest fan speed 2021-03-16 18:53:18 -06:00
Tim Crawford
0a98ce8c93 scripts: Check coreboot config is correct
If a board in models/ does not exist in coreboot, coreboot will emit a
warning and select the first available board for the vendor instead.

This may result in building and being able to flash coreboot with an
addw1 configuration on another board.
2021-03-15 10:12:23 -06:00
Tim Crawford
7d6a15e63c Convert toolchain file to TOML syntax
rustup 1.23.0 (2020-11-27) introduced support for TOML syntax for the
toolchain file. Use this and specify required compoenents.

To ensure you are using a new enough rustup, run:

    rustup self update
2021-03-15 10:10:03 -06:00
Jeremy Soller
50eedc20d2
lemp9: Fix backlight ACPI issues and TPM interrupt 2021-03-11 15:21:06 -07:00
Jeremy Soller
abfba25b93
Update firmware-update 2021-03-11 09:11:49 -07:00
Jeremy Soller
a065fdbb31
Update ec and changelog 2021-03-08 15:56:11 -07:00
Jeremy Soller
b8e602e14e
Fix some readme issues 2021-03-05 15:08:37 -07:00
Jeremy Soller
a768d9bd7e Add changelog 2021-03-05 15:06:45 -07:00
Tim Crawford
99e0b46092 Fix building on Debian
Debian does not export /usr/bin in PATH for users like every other
distro so builds fail to find mkfs and parted.
2021-03-05 11:29:53 -07:00
Tim Crawford
19f50c00c4 readme: Add newer supported models 2021-03-04 16:21:45 -07:00
Jeremy Soller
dadad22a64
Update submodules 2021-03-03 15:10:14 -07:00
Tim Crawford
9373a7ff15 docs: Commands to collect some devicetree values
These values were originally comments in every devicetree. Add them here
for now.
2021-03-01 13:22:14 -07:00
Jeremy Soller
bb639eff50 Update submodules 2021-02-26 15:56:43 -07:00
Jeremy Soller
45d7645df9 oryp7 2021-02-26 15:56:43 -07:00
Jeremy Soller
83b35f6870
Revert "scripts: Check coreboot config is correct"
This reverts commit af5041f90befc28d8d99efa052d5823b2b1833c6.
2021-02-26 15:28:05 -07:00
Tim Crawford
af5041f90b scripts: Check coreboot config is correct
If a board in models/ does not exist in coreboot, coreboot will emit a
warning and select the first available board for the vendor instead.

This may result in building and being able to flash coreboot with an
addw1 configuration on another board.
2021-02-26 12:43:29 -07:00
Tim Crawford
c59c6e7fa4 docs: Add note about IME state on TGL-U
Explain why we ship galp5/lemp10 with the IME enabled.
2021-02-26 10:17:14 -07:00
Tim Crawford
541f4f3f13 deps: Skip installing Rust if rustup is available
Saves time and prevents errors with trying to install rustup twice or
potentially overriding the user's default toolchain.
2021-02-22 15:43:29 -07:00
Tim Crawford
07dfef8cb9 scripts: Fix installing deps
- Remove extra `then` to fix running this script
- Update messages for system dependencies
- Add `--progress` for submodule clones, which can get slow
2021-02-22 15:16:03 -07:00
Neal Gompa
7a7bc80b8f scripts/deps.sh: Use os-release(5) to select correct package manager
Fedora has apt packaged, which causes this script to do the wrong
thing if it is installed. Instead of checking for the package manager
binary, use os-release(5) data to select the correct package manager
to use.
2021-02-22 08:30:22 -07:00
Jeremy Soller
09e2a550ea
Raise HDMI data rate for darp7 and galp5 2021-02-15 10:05:39 -07:00
Jeremy Soller
0e7fe5866a
Update coreboot 2021-02-15 10:05:24 -07:00
Jeremy Soller
65b2b4d015
Update coreboot 2021-02-09 07:54:48 -07:00
Jeremy Soller
c3994a1cb7
Update EC 2021-02-05 09:52:39 -07:00
Jeremy Soller
be04aea0fe
Update submodules 2021-02-04 09:15:13 -07:00
Tim Crawford
6213d00b73 Use Intel GOP driver from proprietary BIOS
Using the Intel GOP driver from proprietary firmware has resolved some
issues with the lemp10. Use UEFIExtract from UEFITool to extract the GOP
driver from the proprietary firmware for other boards.

    ./UEFIExtract <firmware.rom> 7755CA7B-CA8F-43C5-889B-E1F59A93D575

The version we have been using is what is present in gaze14.
2021-01-26 10:27:54 -07:00
Tim Crawford
8bfc769028 Extract GOP driver when generating new model 2021-01-26 10:21:07 -07:00
Tim Crawford
85a3921c1c Add script to use UEFIExtract
This avoids having to build UEFITool manually, which requires qt5.
2021-01-26 10:21:07 -07:00
Tim Crawford
aeb83e33f6 Add deps for building UEFITool
Include qt5 and CMake for building UEFITool/UEFIExtract.
2021-01-26 10:21:07 -07:00
Jeremy Soller
2b9e45d3e1
Update submodules 2021-01-26 09:55:44 -07:00
Jeremy Soller
361e96fb84
Update coreboot 2021-01-21 09:01:29 -07:00
Tim Crawford
d6d37c086b Update coreboot 2021-01-19 15:41:51 -07:00
Jeremy Soller
c20844583d Update coreboot 2021-01-19 15:41:51 -07:00
Jeremy Soller
2941274f82 Update coreboot 2021-01-19 15:41:51 -07:00
Jeremy Soller
de7fa7cb16 Add darp7, galp5, and lemp10 2021-01-19 15:41:51 -07:00
Jeremy Soller
ad08651d7d Update submodules 2021-01-19 15:41:51 -07:00
Jeremy Soller
d70b7856bb Support edk2.config file 2021-01-19 15:41:51 -07:00
Jeremy Soller
c3c51af172 scripts/coreboot-gpio.sh: Support TGL-U GPIOs 2021-01-19 15:41:51 -07:00
Jeremy Soller
bb877392e2 scripts/generate.sh: Do not require firmware.rom 2021-01-19 15:41:51 -07:00
Jeremy Soller
ad2d818403
Schematics require verification of purchase 2021-01-06 08:35:42 -07:00
Tim Crawford
621890252b Remove unneeded microcode ROMs
ROMs for these models are provided by coreboot.
2020-12-14 15:07:14 -07:00
Tim Crawford
837060b28d Remove now unneeded reconfig script
With .config generated at build time, there is no need to keep this
script.
2020-12-14 15:07:14 -07:00
Tim Crawford
ff0a27ad9c Use defconfig to generate .config
Use minimal set of config selections and let coreboot generate the
default values for the rest of them.

The only differences are the following models selecting
CONFIG_CPU_MICROCODE_CBFS_DEFAULT_BINS instead of *_EXTERNAL_BINS:

- darp5
- darp6
- galp3-c
- galp4
- lemp9
2020-12-14 15:07:14 -07:00
Fabian Topfstedt
3df8580f37 adding systemd-devel (which provides libudev-devel) for Fedora/RedHat 2020-10-19 13:32:32 -06:00
Fabian Topfstedt
e00d08af3b Added libudev-dev for Pop!_OS
My build failed on a Pop!_OS-Live-Stick until I installed `libudev-dev`. I don't remember if it was the firmware-open or the ec build that failed, but ec references deps.sh.
2020-10-19 13:32:32 -06:00
Tim Crawford
e5abb6529b Update rust-toolchain to 2020-07-27 2020-10-19 13:32:03 -06:00
Tim Crawford
d5deed54c6 Update EC for oryp6 charger fix 2020-10-19 13:18:59 -06:00
leviport
7040907614 Remove gaze15 2020-10-14 20:03:15 -06:00
leviport
2ed1bf3c28 Add gaze15 and addw2 to README 2020-10-14 20:03:15 -06:00