Skip to content

Commit 6fa15a0

Browse files
committed
Use the example command to run hifive mainboard from a
recent upstream oreboot/master. Successful run of this script should prove that this is ready to be merged into upstream.
1 parent e23faa0 commit 6fa15a0

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
qemu/
2+
test/qemu-system-riscv64

notes.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,8 @@ could just disable that device.
2121
- :x: Try removing that flag.
2222

2323
Also anyway need to update QEMU to version 5.1.0, so all the builds
24-
should be executed with that version.
24+
should be executed with that version.
25+
26+
Also I thought that using softmmut-* target requries that we also copy
27+
the qemu-img binary to usr/bin, but now seems like that is not a
28+
requirement with --static flag.

test/example_run.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env bash
2+
3+
IMAGE=./softmmu/hifive ./qemu-system-riscv64 -m 1g -machine sifive_u,start-in-flash=true -nographic -device loader,addr=0x20000000,file=${IMAGE} -bios none -smp 4

0 commit comments

Comments
 (0)