Commit Graph

543 Commits

Author SHA1 Message Date
Tim Crawford
cf7fc2c540 scripts: Update rustup or inform user of env vars
Ensure rustup is up-to-date to avoid users having a version that is too
old to support the TOML format.

If rustup was just installed, tell the user to source the new env vars
to use the correct version of the toolchain.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-02-28 16:00:54 -07:00
Tim Crawford
10c256d6fa readme: Rewrite info for building
Replace the headers with setences. Provide a brief description on the
different methods to flash and link to `flashing.md` for more details.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-02-28 16:00:54 -07:00
Tim Crawford
998378efcc models: Add edk2 config for QEMU
Ensure QEMU builds with the correct edk2 options by providing a config
file like the other models.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-02-28 16:00:54 -07:00
Tim Crawford
9e09461c65 scripts: Change QEMU binary name
`kvm` is a symlink to the `qemu-system-x86_64`. Use this name instead so
the script can be used on other distros without modification.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-02-28 16:00:54 -07:00
Jeremy Soller
8c343acafe Update changelog 2022-02-15 07:53:49 -07:00
Jeremy Soller
aff1f133d7 Update EC 2022-02-15 07:50:36 -07:00
Jeremy Soller
e8d7c8e636 Update IFD and ME for all models 2022-02-03 08:58:23 -07:00
Tim Crawford
239e2cbaed build.sh: Set git-describe length
Specify `abbrev` to ensure the length of the commit hash is always the
same, in case `core.abbrev` is set or the default changes.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-01-18 11:57:12 -07:00
Tim Crawford
417e5898da models: Set coreboot, PS/2 keyboard in edk2 config
Set BOOTLOADER and PS2_KEYBOARD_ENABLE in the edk2 config. This will
allow us to drop the corresponding commits in edk2 when rebasing on the
next stable release.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-01-12 13:49:19 -07:00
Tim Crawford
17cf8b1334 github: Add issue template
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-01-07 18:32:50 -07:00
Tim Crawford
c73e48228b coreboot: Fix lemp10 boot
- Fix lemp10 memory info to prevent an error message in cbmem.
- Fix booting lemp10 with DIMM not present.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-01-06 13:20:17 -07:00
Tim Crawford
1dc7780b1c edk2: Add back boot text about Pop!_OS Recovery
Preserve existing UI and add the note about pressing Space to go to
the systemd-boot menu for Pop!_OS Recovery.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-12-21 15:43:49 -07:00
Tim Crawford
d38ec4e972 changelog: Set date for release
Use the date of this commit as the release date.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-12-21 13:11:09 -07:00
Tim Crawford
8d9fbd1e3c models: Enable coreboot measured boot
All the laptops contain a TPM 2.0 chip. Enable the measured boot
security feature by default.

Link: https://doc.coreboot.org/security/vboot/measured_boot.html
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-12-21 13:11:09 -07:00
Tim Crawford
8c88ca0252 docs: Add notes about UEFI features
Document that only UEFI booting is supported, the current status of
Secure Boot, and that the shell and networking are disabled.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-12-21 13:11:09 -07:00
Tim Crawford
9c63db4c9f docs: Update Intel ME info
Document the new CMOS option for enabling/disabling the IME.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-12-21 13:11:09 -07:00
Tim Crawford
92a601fbb7 Add changelog entry
Remove 2021-09-29 section, as the change was released in 2021-09-30.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-12-21 13:11:09 -07:00
Tim Crawford
dbe7213ecf Remove top-level README.md.in
- The generated "Contents" section isn't useful
- Non-standard, causing confusion on how to update README.md
- It's already out of sync

Remove galp3-c and darp5, as we never released the firmware due to
issues with the touchpad and keyboard. Add gaze16-3060-b variant.

Make "Schematics" a subsection of "Supported models".

Remove directory from list of paths to update in `scripts/readmes.sh`.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-12-21 13:11:09 -07:00
Tim Crawford
3e4688fcbc Remove libs/smmstore
Replace the stand-alone smmstore app in favor of the read example in
firmware-smmstore.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-12-21 13:11:09 -07:00
Tim Crawford
ffdceb5f0b Update Rust toolchain to 2021-06-15
Update the toolchain to the version used by Redox.

Update a lot of the submodules, which have been updated to build on the
new toolchain.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-12-21 13:11:09 -07:00
Tim Crawford
fa98ecae1f edk2: Rebase on edk2-stable202108
Set options in edk2.config for each board.

PCIE_BASE is no longer an edk2 option. The value is expected to be in
AcpiBoardInfo HOB, generated from the bootloader's ACPI table.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-12-21 13:11:09 -07:00
Tim Crawford
af955613e0 models: Enable SMMSTOREv2 in coreboot
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-12-21 13:11:09 -07:00
Tim Crawford
5b4dbd9c53 coreboot: Rebase on 4.15
Rebase on upstream coreboot/coreboot@5622666396. The is slightly ahead
of the 4.15 tag, but includes all of our boards and most Intel SoC
changes we need.

We are now ~10 patches on top of upstream.

The following boards have been upstreamed:

- addw1
- addw2
- bonw14
- darp5
- darp6
- darp7
- galp2
- galp3-b
- galp3-c
- galp4
- galp5
- gaze14
- gaze15
- gaze16
- lemp10
- oryp5
- oryp6
- oryp7
- oryp8

The following drivers have been upstreamed:

- tas5825m

microcode:

- TGL-U boards have been updated to rev 0x9a from private repo
- TGL-H boards have been updated to rev 0x3c from private repo
- Remaining boards changed to use blobs from public repo

FSP:

- TGL changed to use A.0.51.31 from public repo

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-12-21 13:11:09 -07:00
Tim Crawford
fb9d759338 gaze16-3060: Add variant for I219-V board
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-11-01 11:27:30 -06:00
Tim Crawford
de3b0a65fa scripts: Add Python2 to deps
coreboot requires python2 explicitly when using the FSP submodule as the
source for FSP binaries.

    python2 3rdparty/fsp/Tools/SplitFspBin.py ...

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-10-04 08:13:40 -06:00
Jeremy Soller
14b8a6e967 Update ec and changelog 2021-09-30 12:40:22 -06:00
Tim Crawford
eea2668748 gaze16: Fix using USB 2.0 devices in Type-C port
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-09-29 10:33:00 -06:00
Tim Crawford
b9b0e894d3 Fix brightness controls on TGL 2021-09-23 12:42:12 -06:00
Tim Crawford
f5274dedba oryp8: Correct SSID
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-09-20 19:22:56 -06:00
Jeremy Soller
99c0308205 Update changelog for 2021-09-20 2021-09-20 11:22:12 -06:00
Jeremy Soller
7b9977081f Add oryp8 2021-09-20 10:58:55 -06:00
Tim Crawford
06576f7fc1 scripts: Update pkg for python symlink
Install `python-is-python3` to provide the `/usr/bin/python` symlink.
Fixes installing dependencies on Pop!_OS 21.10.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-09-17 14:46:49 -06:00
Jeremy Soller
d8d400d4ed Update edk2 2021-09-09 11:51:52 -06:00
Jeremy Soller
bbe219dab3 Update submodules 2021-09-09 09:20:07 -06:00
leviport
3fac9d61ca Also update chip.txt for galp4 and lemp9 2021-08-20 15:18:03 -06:00
leviport
75b2a26627 Update chip.txt for darp5 2021-08-20 15:18:03 -06:00
Jeremy Soller
93c2809b7d Add realtek-coeffs script 2021-07-20 16:32:32 -06:00
Jeremy Soller
c2cfab23d4 Add gaze16 2021-07-20 16:32:32 -06:00
smth-0
9b096dc283 Replace "out of stock" Amazon link and add AliExpress one (#202) 2021-06-18 09:47:24 -06:00
Tim Crawford
d7813dae8e Add missing ccache/xxd deps 2021-05-14 12:48:48 -06:00
Tim Crawford
2f1069d381 Clean up Arch deps
- Sort deps
- Remove duplicates
- Replace libgudev with systemd-libs for `libudev.so`
2021-05-14 12:48:48 -06:00
Tim Crawford
bc684170d0 Drop qt5 as a dep
It is only needed for building UEFITool/UEFIExtract, but cmake can just
be used by itself for that.
2021-05-14 12:48:48 -06:00
Tim Crawford
dde58209de gaze14: Add coreboot configs 2021-05-12 13:59:50 -06:00
Tim Crawford
3fe5ccbc8c gaze14: Reduce from 4 variants to 2 2021-05-12 13:59:50 -06:00
Tim Crawford
ab1ba075a2 Update coreboot
- Fixes building KBL boards
- Adds config to disable IME
- Reduces gaze14 to from 4 to 2 variants
2021-05-12 13:59:50 -06:00
Jeremy Soller
4328777136 Fixes for python 3.9 2021-05-12 11:11:25 -06:00
Tim Crawford
0905c82add Fix USB-C on galp3-c
Update coreboot to pull in changes that fix USB-C on galp3-c.

Remove darp5/galp3-c from the changelog as they have not been released.
2021-04-23 08:03:48 -06:00
Tim Crawford
971416091d scripts: Use PAD_CFG_GPO if there is no pull 2021-04-15 11:56:23 -06:00
Tim Crawford
7fb3203a01 Add chip.txt for addw1 and darp7
- addw1 uses a MX25L12873F, the same as oryp7
- darp7 uses a GD25B127D, the same as darp6
2021-04-08 14:14:24 -06:00
Jeremy Soller
236914e8e8 darp7, galp5, lemp10: Update microcode 2021-04-07 14:54:16 -06:00