[arch][riscv] a few small tweaks

Updated comment regarding clobbers on the SBI call.
Tweak a boot time print of SBI version.
Add a commented out line to the do-qemuriscv to assist in dumping future
device trees.
This commit is contained in:
Travis Geiselbrecht
2023-02-18 14:42:59 -08:00
parent 415096a2bf
commit 3dd8a32e92
2 changed files with 7 additions and 5 deletions

View File

@@ -107,7 +107,9 @@ if [[ -z "$PROJECT" ]]; then
fi
# construct a list of args based on previous variables
ARGS=" -machine $MACHINE -kernel build-${PROJECT}/lk.elf"
ARGS=" -machine $MACHINE"
#ARGS+=",dumpdtb=riscv.dtb" # uncheck this to get a binary dump of the device tree for this config
ARGS+=" -kernel build-${PROJECT}/lk.elf"
if [[ ! -z "$CPU" ]]; then
ARGS+=" -cpu $CPU"
fi