Hello world
I just got my VisionFive2 board (powerful rPI like with RISC-V CPU)!
Here are the details: https://www.waveshare.com/wiki/VisionFive2
Onboard RV64GC ISA Quad-core 64-bit JH7110 SoC, operating frequency up to 1.5GHz, VisionFive 2 supports OpenCL 3.0, OpenGL ES 3.2, and Vulkan 1.2. It is available in 4GB/8GB LPDDR4 RAM options and an optional wireless module. Also, it has multiple onboard interfaces, including M.2 / CSI / DSI / HDMI / eMMC / USB 3.0 / 40PIN GPIO / RJ45 Gigabit Ethernet port / TF card slot, etc. Supports 4K@60fps and H264/H265 multi-stream video decoding, 1080p@30fps and H265 multi-stream video encoding. Onboard 40PIN GPIO header, VisionFive2 is compatible with Raspberry Pi series boards.
I got the variant with 8GB RAM, 2xGbit Ethernet, 4xUSB3.0 + 16GB eMMC module.
I have made some Debian Linux run on it quickly from SD.
Flashed the generic 13.1-RELEASE to the SD card from:
OpenSBI shows up, boots off the SD card, FreeBSD loader shows up, then kernel stops at
Anyone else interested in running FreeBSD on that CPU / Board?
I just got my VisionFive2 board (powerful rPI like with RISC-V CPU)!
Here are the details: https://www.waveshare.com/wiki/VisionFive2
Onboard RV64GC ISA Quad-core 64-bit JH7110 SoC, operating frequency up to 1.5GHz, VisionFive 2 supports OpenCL 3.0, OpenGL ES 3.2, and Vulkan 1.2. It is available in 4GB/8GB LPDDR4 RAM options and an optional wireless module. Also, it has multiple onboard interfaces, including M.2 / CSI / DSI / HDMI / eMMC / USB 3.0 / 40PIN GPIO / RJ45 Gigabit Ethernet port / TF card slot, etc. Supports 4K@60fps and H264/H265 multi-stream video decoding, 1080p@30fps and H265 multi-stream video encoding. Onboard 40PIN GPIO header, VisionFive2 is compatible with Raspberry Pi series boards.
I got the variant with 8GB RAM, 2xGbit Ethernet, 4xUSB3.0 + 16GB eMMC module.
I have made some Debian Linux run on it quickly from SD.
Flashed the generic 13.1-RELEASE to the SD card from:
OpenSBI shows up, boots off the SD card, FreeBSD loader shows up, then kernel stops at
CPU(0): Unknown Implementer Unknown Processor
. Also RAM amount does not seem to be detected correctly (4GB instead 8GB).Anyone else interested in running FreeBSD on that CPU / Board?
Code:
Loading kernel...
/boot/kernel/kernel text=0x5f00e0 text=0x12c234 data=0xeb748 data=0xad4+0x1d097c syms=[0x8+0xc31b0+0x8+0xe43e2]
Loading configured modules...
can't find '/boot/entropy'
can't find '/etc/hostid'
/boot/kernel/umodem.ko text=0x2160 text=0x1230 data=0x6e8+0x10 syms=[0x8+0x6ff0+0x8+0xe1c]
loading required module 'ucom'
/boot/kernel/ucom.ko text=0x24df text=0x30c0 data=0x8a8+0x858 syms=[0x8+0x12e70+0x8+0x14af]
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
Using DTB provided by EFI at 0x47ef3000.
Kernel entry at 0xf660002e...
Kernel args: (null)
clk u5_dw_i2c_clk_core already disabled
clk u5_dw_i2c_clk_apb already disabled
---<<BOOT>>---
Copyright (c) 1992-2021 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212 GENERIC riscv
FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)
VT: init without driver.
SBI: OpenSBI v1.0
SBI Specification Version: 0.3
CPU(0): Unknown Implementer Unknown Processor
real memory = 4294967296 (4096 MB)
avail memory = 4157841408 (3965 MB)
pbiS_ttarratpi_negr rCoPrU: 4h a(rhtar0:t 0tr)a
handler failed (error -2)
sbi_trap_error: hart0: mcause=0x0000000000000005 mtval=0x0000000040059060
sbi_trap_error: hart0: mepc=0x00000000400047fc mstatus=0x0000000200001800
sbi_trap_error: hart0: ra=0x0000000040009972 sp=0x0000000040058f10
sbi_trap_error: hart0: gp=0x0000000000000000 tp=0x0000000040059000
sbi_trap_error: hart0: s0=0x0000000040058f20 s1=0x0000000040059000
sbi_trap_error: hart0: a0=0x0000000040059060 a1=0x0000000000000002
sbi_trap_error: hart0: a2=0x0000000000000000 a3=0x0000000000000000
sbi_trap_error: hart0: a4=0x0000000000000001 a5=0x0000000040059060
sbi_trap_error: hart0: a6=0x00000000400590a8 a7=0x0000000000000000
sbi_trap_error: hart0: s2=0x0000000040023188 s3=0x0000000000000000
sbi_trap_error: hart0: s4=0x0000000000000000 s5=0x0000000040027000
sbi_trap_error: hart0: s6=0x0000000040027020 s7=0x0000000000000000
sbi_trap_error: hart0: s8=0x000000000000001c s9=0x00000000400476a8
sbi_trap_error: hart0: s10=0x0000000000000000 s11=0x0000000000000000
sbi_trap_error: hart0: t0=0x0000000000000000 t1=0x0000000000000000
sbi_trap_error: hart0: t2=0x0000000000000000 t3=0x0000000000002000
sbi_trap_error: hart0: t4=0x0000000000000000 t5=0x0000000000000000
sbi_trap_error: hart0: t6=0x0000000000000000