www/riscv64.html

99 lines
2.7 KiB
HTML

<!doctype html>
<html lang=en id=platform>
<meta charset=utf-8>
<title>OpenBSD/riscv64</title>
<meta name="description" content="the OpenBSD/riscv64 page">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="openbsd.css">
<link rel="canonical" href="https://www.openbsd.org/riscv64.html">
<h2 id=OpenBSD>
<a href="index.html">
<i>Open</i><b>BSD</b></a>
riscv64
</h2>
<hr>
<table><tr><td>
<p>
OpenBSD/riscv64 is a port of OpenBSD to various 64-bit RISC-V based systems.
</table>
<hr>
<h3 id="status"><strong>Current status</strong></h3>
<p>
The current target platform is the HiFive Unmatched board.
<p>
When booting the HiFive Unmatched board, write an install/miniroot image
to a USB flash drive, and boot with that drive plugged in. Make sure you
also have the microSD card plugged in that shipped with the HiFive Unmatched
board. The board should auto-boot the OpenBSD bootloader, which will load
the bsd.rd RAMDISK install kernel.
<h3 id="hardware"><strong>Supported hardware</strong></h3>
<p>
OpenBSD/riscv64 runs on the following hardware:
<ul>
<li>SiFive
<ul>
<li><a href="https://www.sifive.com/boards/hifive-unmatched">HiFive Unmatched</a>
</ul>
<li>StarFive
<ul>
<li>StarFive VisionFive
<li><strong>Note:</strong> Some firmware configuration tweaks are necessary to boot OpenBSD
</ul>
<li>Microsemi
<ul>
<li><a href="https://www.microsemi.com/product-directory/soc-fpgas/5498-polarfire-soc-fpga">PolarFire SoC Icicle Kit</a>
<li><strong>Note:</strong>PolarFire SoC Icicle Kit support is incomplete
</ul>
</ul>
<h4>Ethernet</h4>
<ul>
<li><a href="https://man.openbsd.org/riscv64/cad.4">cad(4)</a>
integrated Cadence Gigabit Ethernet controller
</ul>
<h4>Storage</h4>
<ul>
<li><a href="https://man.openbsd.org/riscv64/dwmmc.4">dwmmc(4)</a>
on StarFive VisionFive
<li><a href="https://man.openbsd.org/riscv64/nvme.4">nvme(4)</a>
on HiFive Unmatched
</ul>
<h4>USB</h4>
<ul>
<li><a href="https://man.openbsd.org/riscv64/xhci.4">xhci(4)</a>
on HiFive Unmatched and StarFive VisionFive
</ul>
<h3 id="install">
<strong>Getting and installing OpenBSD/riscv64:</strong>
</h3>
<p>
The latest supported OpenBSD/riscv64 release is
<a href="73.html">OpenBSD 7.3</a>.
Here are the
<a href="https://ftp.openbsd.org/pub/OpenBSD/7.3/riscv64/INSTALL.riscv64">
OpenBSD/riscv64 installation instructions</a>.
<p>
Snapshots are made available from time to time, in
<a href="https://cdn.openbsd.org/pub/OpenBSD/snapshots/riscv64">this location</a>
as well as on a few
<a href="ftp.html">mirrors</a>.
Here are the
<a href="https://ftp.openbsd.org/pub/OpenBSD/snapshots/riscv64/INSTALL.riscv64">
OpenBSD/riscv64 snapshot installation instructions</a> as well.