Annotation of www/riscv64.html, Revision 1.16
1.1 mlarkin 1: <!doctype html>
2: <html lang=en id=platform>
3: <meta charset=utf-8>
4:
5: <title>OpenBSD/riscv64</title>
6: <meta name="description" content="the OpenBSD/riscv64 page">
7: <meta name="viewport" content="width=device-width, initial-scale=1">
8: <link rel="stylesheet" type="text/css" href="openbsd.css">
9: <link rel="canonical" href="https://www.openbsd.org/riscv64.html">
10:
11:
12: <h2 id=OpenBSD>
13: <a href="index.html">
14: <i>Open</i><b>BSD</b></a>
15: riscv64
16: </h2>
17: <hr>
18:
19: <table><tr><td>
20: <p>
21: OpenBSD/riscv64 is a port of OpenBSD to various 64-bit RISC-V based systems.
22: </table>
23:
24: <hr>
25:
26: <h3 id="status"><strong>Current status</strong></h3>
27:
28: <p>
1.8 jsg 29: The current target platform is the HiFive Unmatched board.
1.1 mlarkin 30:
31: <p>
32: When booting the HiFive Unmatched board, write an install/miniroot image
33: to a USB flash drive, and boot with that drive plugged in. Make sure you
34: also have the microSD card plugged in that shipped with the HiFive Unmatched
35: board. The board should auto-boot the OpenBSD bootloader, which will load
36: the bsd.rd RAMDISK install kernel.
37:
38: <h3 id="hardware"><strong>Supported hardware</strong></h3>
39:
40: <p>
41: OpenBSD/riscv64 runs on the following hardware:
42:
43: <ul>
1.6 jsg 44: <li>SiFive
1.1 mlarkin 45: <ul>
1.3 mlarkin 46: <li><a href="https://www.sifive.com/boards/hifive-unmatched">HiFive Unmatched</a>
1.1 mlarkin 47: </ul>
1.11 kettenis 48: <li>StarFive
49: <ul>
1.16 ! mlarkin 50: <li>StarFive VisionFive and VisionFive 2
1.12 tj 51: <li><strong>Note:</strong> Some firmware configuration tweaks are necessary to boot OpenBSD
1.11 kettenis 52: </ul>
1.1 mlarkin 53: <li>Microsemi
54: <ul>
1.7 jsg 55: <li><a href="https://www.microsemi.com/product-directory/soc-fpgas/5498-polarfire-soc-fpga">PolarFire SoC Icicle Kit</a>
56: <li><strong>Note:</strong>PolarFire SoC Icicle Kit support is incomplete
1.1 mlarkin 57: </ul>
58: </ul>
59:
60: <h4>Ethernet</h4>
61: <ul>
62: <li><a href="https://man.openbsd.org/riscv64/cad.4">cad(4)</a>
63: integrated Cadence Gigabit Ethernet controller
1.16 ! mlarkin 64: <li><a href="https://man.openbsd.org/riscv64/dwqe.4">dwqe(4)</a>
! 65: Synopsys DesignWare Ethernet Quality-of-Service Controller
1.1 mlarkin 66: </ul>
67:
68: <h4>Storage</h4>
69: <ul>
1.11 kettenis 70: <li><a href="https://man.openbsd.org/riscv64/dwmmc.4">dwmmc(4)</a>
1.16 ! mlarkin 71: on StarFive VisionFive/VisionFive 2
1.1 mlarkin 72: <li><a href="https://man.openbsd.org/riscv64/nvme.4">nvme(4)</a>
1.16 ! mlarkin 73: on HiFive Unmatched and VisionFive 2
1.1 mlarkin 74: </ul>
75:
76: <h4>USB</h4>
77: <ul>
78: <li><a href="https://man.openbsd.org/riscv64/xhci.4">xhci(4)</a>
1.16 ! mlarkin 79: on HiFive Unmatched and StarFive VisionFive/VisionFive 2
1.1 mlarkin 80: </ul>
81:
82: <h3 id="install">
83: <strong>Getting and installing OpenBSD/riscv64:</strong>
84: </h3>
85:
86: <p>
87: The latest supported OpenBSD/riscv64 release is
1.15 deraadt 88: <a href="74.html">OpenBSD 7.4</a>.
1.1 mlarkin 89: Here are the
1.15 deraadt 90: <a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/riscv64/INSTALL.riscv64">
1.1 mlarkin 91: OpenBSD/riscv64 installation instructions</a>.
92:
93: <p>
94: Snapshots are made available from time to time, in
95: <a href="https://cdn.openbsd.org/pub/OpenBSD/snapshots/riscv64">this location</a>
96: as well as on a few
97: <a href="ftp.html">mirrors</a>.
98: Here are the
1.4 mlarkin 99: <a href="https://ftp.openbsd.org/pub/OpenBSD/snapshots/riscv64/INSTALL.riscv64">
1.1 mlarkin 100: OpenBSD/riscv64 snapshot installation instructions</a> as well.