aboutsummaryrefslogtreecommitdiff
path: root/riscv64-uboot.sh
diff options
context:
space:
mode:
authorAleksa Vuckovic <aleksa@vuckovic.cc>2023-12-13 01:38:14 +0100
committerAleksa Vuckovic <aleksa@vuckovic.cc>2024-04-02 23:17:31 +0200
commit36137438446c1754a522c5b3cc3aff92c43ac1ee (patch)
treef7358ef0aec7023321e52e116f94fba95e52611f /riscv64-uboot.sh
Initial commitHEADmaster
X86/X86_64 debug/release WORKING riscv64 WORKING uart idk
Diffstat (limited to 'riscv64-uboot.sh')
-rwxr-xr-xriscv64-uboot.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/riscv64-uboot.sh b/riscv64-uboot.sh
new file mode 100755
index 0000000..7055608
--- /dev/null
+++ b/riscv64-uboot.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+qemu-system-riscv64 -machine virt -kernel /usr/share/qemu/u-boot-riscv64.bin -device loader,file=./src/kernel.bin,addr=0x80200000 -nographic -serial mon:stdio