Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157317662
D25737.id75220.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D25737.id75220.diff
View Options
Index: head/sysutils/Makefile
===================================================================
--- head/sysutils/Makefile
+++ head/sysutils/Makefile
@@ -1364,6 +1364,7 @@
SUBDIR += u-boot-pinebookpro
SUBDIR += u-boot-qemu-arm
SUBDIR += u-boot-qemu-arm64
+ SUBDIR += u-boot-qemu-riscv64
SUBDIR += u-boot-riotboard
SUBDIR += u-boot-rock64
SUBDIR += u-boot-rockpro64
Index: head/sysutils/u-boot-qemu-riscv64/Makefile
===================================================================
--- head/sysutils/u-boot-qemu-riscv64/Makefile
+++ head/sysutils/u-boot-qemu-riscv64/Makefile
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+MASTERDIR= ${.CURDIR}/../u-boot-master
+
+MODEL= qemu-riscv64
+BOARD_CONFIG= qemu-riscv64_smode_defconfig
+FAMILY= qemu
+UBOOT_ARCH= riscv64
+
+.include "${MASTERDIR}/Makefile"
Index: head/sysutils/u-boot-qemu-riscv64/pkg-descr
===================================================================
--- head/sysutils/u-boot-qemu-riscv64/pkg-descr
+++ head/sysutils/u-boot-qemu-riscv64/pkg-descr
@@ -0,0 +1,12 @@
+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
+
+WWW: https://www.denx.de/wiki/U-Boot
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 21, 7:06 AM (15 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33379001
Default Alt Text
D25737.id75220.diff (1 KB)
Attached To
Mode
D25737: RISC-V u-boot ports
Attached
Detach File
Event Timeline
Log In to Comment