Merge branch 'master' of https://github.com/system76/firmware-open
This commit is contained in:
Submodule apps/firmware-smmstore updated: fed0772838...e7c01dd86b
12
scripts/smmstore.sh
Executable file
12
scripts/smmstore.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
cargo build --manifest-path libs/intel-spi/Cargo.toml --example read --release
|
||||
sudo ./libs/intel-spi/target/release/examples/read
|
||||
|
||||
make -C coreboot/util/cbfstool -j "$(nproc)"
|
||||
./coreboot/util/cbfstool/cbfstool read.rom read -r SMMSTORE -f smmstore.rom
|
||||
|
||||
cargo build --manifest-path libs/smmstore/Cargo.toml --release
|
||||
./libs/smmstore/target/release/smmstore smmstore.rom
|
Reference in New Issue
Block a user