aboutsummaryrefslogtreecommitdiff
path: root/sysutils/u-boot-qemu-riscv64/pkg-descr
blob: ee12472a9220d06f9fb88ac6f2e9a78b748da66d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
U-Boot loader for QEMU RISC-V 64-bit

To use this bootloader to boot a FreeBSD RISC-V image, install
emulators/qemu50 and sysutils/opensbi and execute it as:

qemu-system-riscv64 -machine virt -m 2048m -smp 2 -nographic \
    -bios /usr/local/share/opensbi/lp64/generic/firmware/fw_jump.elf \
    -kernel /usr/local/share/u-boot/u-boot-qemu-riscv64/u-boot.bin \
    -drive file=/path/to/freebsd.img,format=raw,id=hd0 \
    -device virtio-blk-device,drive=hd0