We have been following the open, royalty-free RISC-V ISA for some time. First we learn the specs after which we checked out RISC-V cores on microcontrollers, however now there is a new board that provides sufficient processing energy at a low sufficient value to be actually attention-grabbing on a single board pc. VisionFive 2 ran a profitable Kickstarter in September 2022 and I lastly acquired a unit with 8 GB of RAM. And works! The JH7110 will not outperform a contemporary desktop, or perhaps a Raspberry Pi 4, however it’s ok for operating a desktop surroundings, shopping the net, and testing software program.
And that is a giant drawback, as a result of the RISC-V structure is beginning to present up in a whole lot of locations. The problem has been getting actual {hardware} that is highly effective sufficient to run Linux and compile software program, that does not value an arm and a leg. If ARM is another structure, then RISC-V remains to be experimental, and that is an issue when attempting to make use of VF2. That is a subject we’ll be repeating just a few instances, however the factor to recollect right here is that getting extra units out within the wild is step one to fixing issues.
{hardware}
So what do you get? The VF2 is available in three flavors, with two, 4, and eight gigabytes of RAM. The boards are in any other case an identical and the star of the present is the JH7110, a 64-bit quad-core RISC-V SoC. Built-in into that CPU is the Creativeness BXE-4-32 GPU. There is a USB-C port, which is usually used to energy the board, 4 USB 3.0 ports that share a single PCIe 2.0 lane, and two Gigabit Ethernet ports. The board has a single HDMI 2.0 port, however can also be able to operating twin shows by using a MIPI DSI port.
There are additionally some Raspberry Pi compatibility options. The board has a 40-pin GPIO header, principally suitable with the Raspberry Pi pinout, and even has the 4-pin Energy over Ethernet header in the fitting place for utilizing the Pi PoE HATs. That works nice, and the one merchandise lacking is the fan management on the HAT.
There’s additionally MIPI enter. That needs to be suitable with one thing like Raspberry Pi cameras, although I haven’t got a hand with testing. There’s an SD card slot, an eMMC socket, and a really welcome M.2 NVMe slot on the backside of the gadget. To date, NVMe booting nonetheless requires a bootable partition on the SD card, however nonetheless leads to all of the velocity increase the only devoted PCIe 2.0 lane is price. Direct boot from NVMe is on the roadmap, however not but applied.
working system help
The {hardware} is fairly spectacular, however the utility depends on OS and software program help. There’s a Debian picture that receives common updates and points are frequently fastened. What actually issues to us is upstream standing, and that course of has begun. There’s hope of a minimal bootable system with the 6.3 kernel, though there are fairly just a few upstream drivers earlier than the system is absolutely usable with the vanilla kernel.
And one such controller that we now have to say is the GPU. The {hardware} is named the BXE-4-32 GPU, a GPU core from Creativeness Applied sciences and successor to the PowerVR structure. Creativeness is making a transfer to embed its designs on RISC-V chips, and as a part of that it has launched open supply drivers for its fashionable merchandise. There’s an ongoing effort to replace these drivers, and an allow code has already made its strategy to Mesa.
There’s additionally the broader situation of RISC-V help. Most fashionable distributions construct RISC-V packages, however it’s not unusual to search out issues or lacking packages on this much less common structure. For instance, I needed to check the VF2 board with the Phoronix Check Suite. That’s obtainable as a noarch package deal, however it has a number of dependencies, equivalent to php-cli
. that is dependent upon php8.2
, and that package deal at present can’t be compiled to RISC-V on Debian. There’s a patch obtainable to repair the issue, so I used to be in a position to rebuild the .deb in VF2 and get every thing working.
So about these benchmarks
It is at all times enjoyable to check shiny new {hardware}. So think about my disappointment when nearly each CPU check I attempted failed to put in or run. I think that is additionally new to the RISC-V platform, as most of the PTS assessments haven’t but been constructed for the platform.
For individuals who ran, it isn’t nice. Check out my outcomes. I think efficiency might improve because the software program turns into extra mature, however it at present lags nicely behind a Raspberry Pi 4. Jeff Geerling additionally has protection of this board and located that the VF2 is at present operating within the ballpark of a Pi B 3.
There are some vital exceptions to these observations. First, system assessments that rely closely on drive entry present a big benefit for the VF2. The Pi booted from an NVMe drive by way of a USB3 adapter, however native NVMe efficiency remains to be considerably higher.
After which these two Ethernet ports are significantly attention-grabbing. Might this factor be helpful as a excessive efficiency router? I checked its efficiency pushing packages with the Debian set up, and it’s able to nearly wire speeds. I ran an iperf3 velocity check by the gadget doing a easy NAT, much like an ordinary router setup, and it achieved a mean of 755 Mbits per second. Utilizing the bidirectional choice, the check dealt with simply over 600 Mbits per second in each instructions. Respectable for something however a full Gigabit Web connection. Work has been performed to deliver OpenWRT to the platform, and that will have higher efficiency, however the newest growth department of OpenWRT will not begin on my gadget.
What’s it for?
Nicely, we have lined a whole lot of floor. So how do the brass studs look right here? The VisionFive 2 has some potential. Twin Gigabit ports and upcoming OpenWRT help make the $100 gadget tempting as a router, and PoE help does not damage. The NVMe drive is one other plus, and there may very well be a case for the VF2 as a community storage gadget.
It is not highly effective sufficient to be a desktop alternative gadget, and the dearth of twin HDMI ports does not assist issues. The varied distributions additionally wouldn’t have first stage help for RISC-V but. And apparently, which may be the largest promoting level of this board. Do you do any upkeep or programming work? Have you ever already examined your code on a RISC-V processor? That’s the actual alternative right here. It’s an reasonably priced platform for testing RISC-V compatibility.
That course of is ongoing, for builders around the globe. And that is one of many the reason why the efficiency is a bit disappointing. Many performance-hungry purposes characteristic multiversioning, a method that enables for platform-specific code that may really enhance efficiency. If a platform doesn’t have a customized implementation, this system reverts to the slower default code. And given the relative newness of the RISC-V platform, it is no shock that efficiency remains to be not in its greatest form.
However 2023 may very well be the 12 months of the RISC-V SBC. VisionFive 2 is out and the oldsters at Pine64 are planning a brand new board primarily based on the identical JH7110 CPU. There’s the upcoming HiFive Professional board or the Ventana Veyron CPU. So possibly it is time to dive in and provides RISC-V a spin.
–
The Future Of RISC-V And The VisionFive 2 Single Board Computer