1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:47:44 +00:00

Meta: Run aarch64 with the disk image in the SD card slot

Co-authored-by: Timon Kruiper <timonkruiper@gmail.com>
Co-authored-by: Ollrogge <nils-ollrogge@outlook.de>
This commit is contained in:
Marco Cutecchia 2023-03-11 12:51:47 +01:00 committed by Linus Groh
parent c91db6ec97
commit f3363c1088
2 changed files with 18 additions and 1 deletions

View file

@ -279,7 +279,11 @@ fi
# add -machine vmport=off below to run the machine with ps/2 mouse
if [ -z "$SERENITY_MACHINE" ]; then
if [ "$SERENITY_ARCH" = "aarch64" ]; then
SERENITY_MACHINE="-M raspi3b -serial stdio"
SERENITY_MACHINE="
-M raspi3b
-serial stdio
-drive file=${SERENITY_DISK_IMAGE},if=sd,format=raw
"
else
SERENITY_MACHINE="
-m $SERENITY_RAM_SIZE