commit 47232b59f9d342947216a82767fb631b04c86c3a parent d7f828ad2f478d6d88c897c9995b73f88b375b9d Author: Roberto E. Vargas Caballero <k0ga@shike2.com> Date: Wed, 9 Nov 2022 16:37:38 +0100 pi3: Improve the launcher Change-Id: I00826b4734b05dccb52b433cab8e720eb37bed69 Diffstat:
M | scripts/fvp.sh | | | 2 | +- |
M | scripts/pi3.sh | | | 22 | ++++++++++++++-------- |
2 files changed, 15 insertions(+), 9 deletions(-)
diff --git a/scripts/fvp.sh b/scripts/fvp.sh @@ -1,6 +1,6 @@ #!/bin/sh -os=bin/os9.bin +os=bin/9fvp.bin uart0=uart0.out uart3=uart3.out bl31=$TFA_PATH/build/fvp/debug/bl31.bin diff --git a/scripts/pi3.sh b/scripts/pi3.sh @@ -1,13 +1,19 @@ #!/bin/sh -os=bin/os9.bin +os=bin/9pi3.bin -qemu-system-aarch64 \ - -machine type=raspi3\ - -m 1024 - -bios $os \ +qemu-system-aarch64\ + -M raspi3 -m 1024 \ -serial mon:stdio\ + -nographic\ + -no-reboot\ -gdb tcp::7000 -S\ - -no-reboot \ - -nographic \ - -bios $os \ + -kernel $os & + +aarch64-linux-musl-gdb bin/9pi3.elf + +kill $! + +# -machine type=raspi3\ +#image must be a multiple of 4 bytes +#kernel execution begins at 0x80000