Add Comet Lake models

This commit is contained in:
Jeremy Soller
2019-09-19 15:52:56 -06:00
parent 6d84ca030a
commit 0db29facf1
31 changed files with 1025 additions and 38 deletions

View File

@@ -6,46 +6,14 @@ System76 Open Source Firmware
### Install toolchain
```
sudo apt-get install \
build-essential \
bison \
ccache \
flex \
git-lfs \
gnat \
mtools \
nasm \
uuid-dev \
zlib1g-dev
./scripts/deps.sh
```
### Make sure git lfs is set up
```
git lfs install
git lfs pull
```
### Install rust
```
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \
| sh -s -- -y --default-toolchain nightly
```
### Load cargo environment (or optionally reboot)
### Load Rust environment (or optionally reboot)
```
source ~/.cargo/env
```
### Ensure rust source is installed for current toolchain
```
rustup component add --toolchain "$(cat rust-toolchain)" rust-src
```
### Install cargo-xbuild
```
cargo install cargo-xbuild
```
### Build firmware, replace darp5 with your model (look in the models directory for examples)
```
./scripts/build.sh darp5