Skip to content

Commit

Permalink
[scripts] specify bash as program loader
Browse files Browse the repository at this point in the history
  • Loading branch information
ekiwi authored and dayeol committed Nov 6, 2018
1 parent 4c5ffcf commit b00d61b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions gdb.sh
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
./riscv-qemu/riscv64-softmmu/qemu-system-riscv64 -S -s -D debug.log -nographic -machine virt \
-secure-boot sanctum_bootloader/boot_trng.bin \
-kernel riscv-pk/build/bbl -append "root=/dev/vda ro console=ttyS0" \
Expand Down
1 change: 1 addition & 0 deletions scripts/apply-patch.sh
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
cd riscv-qemu
patch hw/riscv/boot.c < ../patches/qemu-kernel-reloc.patch
patch target/riscv/pmp.c < ../patches/pmp-bug.patch
1 change: 1 addition & 0 deletions scripts/debug.sh
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
#./riscv-qemu/riscv64-softmmu/qemu-system-riscv64 -d in_asm \ #in_asm,out_asm,int,mmu,exec,cpu
#gdb --args ./riscv-qemu/riscv64-softmmu/qemu-system-riscv64 -d in_asm -D debug.log -nographic -machine virt \
./riscv-qemu/riscv64-softmmu/qemu-system-riscv64 \
Expand Down
1 change: 1 addition & 0 deletions scripts/run-qemu.sh
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
./riscv-qemu/riscv64-softmmu/qemu-system-riscv64 -D debug.log -nographic -machine virt \
-bios sanctum_bootloader/boot_trng.elf \
-kernel riscv-pk/build/bbl -append "root=/dev/vda ro console=ttyS0" \
Expand Down

0 comments on commit b00d61b

Please sign in to comment.