add manual image specifier

This commit is contained in:
bunnie 2021-04-27 21:56:18 +08:00
parent 9997749c4c
commit cbe0a2d7fc

View file

@ -73,6 +73,11 @@ do
OVERRIDE_SVD=precursors/soc.svd OVERRIDE_SVD=precursors/soc.svd
shift shift
;; ;;
--image)
IMAGE=$2
shift
shift
;;
-h|--help) -h|--help)
echo "$0 provisions betrusted. --kernel-skip skips the kernel, --fpga-skip skips the FPGA. --current-csr indicates to use the CSR for the new FPGA image to do the update (normally you want to use the one corresponding to the older, currently installed version)." echo "$0 provisions betrusted. --kernel-skip skips the kernel, --fpga-skip skips the FPGA. --current-csr indicates to use the CSR for the new FPGA image to do the update (normally you want to use the one corresponding to the older, currently installed version)."
echo "Alternatively, using --copy-to <hostname> copies the files to a remote host and skips provisioning." echo "Alternatively, using --copy-to <hostname> copies the files to a remote host and skips provisioning."