Replace the stand-alone smmstore app in favor of the read example in firmware-smmstore. Signed-off-by: Tim Crawford <tcrawford@system76.com>
13 lines
424 B
Bash
Executable File
13 lines
424 B
Bash
Executable File
#!/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 apps/firmware-smmstore/Cargo.toml --example read --release
|
|
./apps/firmware-smmstore/target/release/examples/read
|