tool: Add error for write locked

Add a new error for the case of trying to flash when security is enabled
and it is still locked and update the related docs.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
Tim Crawford
2024-03-22 14:48:56 -06:00
committed by Tim Crawford
parent 54d795480c
commit 70c8678a5f
6 changed files with 26 additions and 12 deletions

View File

@ -2,5 +2,5 @@
# SPDX-License-Identifier: GPL-3.0-only
set -e
cargo build --release --manifest-path tool/Cargo.toml
cargo build --release --quiet --manifest-path tool/Cargo.toml
sudo tool/target/release/system76_ectool "$@"