Annotation of www/arm64.html, Revision 1.20
1.1 patrick 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2: "http://www.w3.org/TR/html4/loose.dtd">
3: <html>
4: <head>
5: <title>OpenBSD/arm64</title>
6: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
7: <meta name="description" content="the OpenBSD/arm64 page">
1.17 tj 8: <meta name="copyright" content="This document copyright 2017-2018 by OpenBSD.">
1.1 patrick 9: <meta name="viewport" content="width=device-width, initial-scale=1">
10: <link rel="stylesheet" type="text/css" href="openbsd.css">
11: <link rel="canonical" href="https://www.openbsd.org/arm64.html">
12: </head>
13:
14: <body bgcolor="#ffffff" text="#000000" link="#23238e">
15:
16: <h2>
17: <a href="index.html">
18: <font color="#0000ff"><i>Open</i></font><font color="#000084">BSD</font></a>
19: <font color="#e00000">arm64</font>
20: </h2>
21: <hr>
22:
23: <p>
24: OpenBSD/arm64 is a port of OpenBSD to various 64-bit ARM based systems.
25: </p>
26:
1.3 tb 27: <p>
1.1 patrick 28: A mailing list for ARM-based ports is available at
29: <u><font color="#23238e">arm@openbsd.org</font></u>.
30: To join the OpenBSD/arm mailing list, send a message body of
31: <b>"subscribe arm"</b> to
32: <a href="mailto:majordomo@openbsd.org">majordomo@openbsd.org</a>.
33: Please be sure to check our <a href="mail.html">mailing list policy</a> before
34: subscribing.
35:
36: <br clear=all>
37: <hr>
38:
39: <a name="status"></a>
40: <h3><font color="#0000e0"><strong>Current status</strong></font></h3>
41:
42: <p>
1.19 kettenis 43: The current target platforms are Allwinner A64/H5, AMD Opteron A1100,
44: Marvell ARMADA 7K/8K, Rockchip RK3328/RK3399, Broadcom BCM2837
45: (Raspberry Pi 3) and Socionext SCA11.
1.1 patrick 46: </p>
47:
1.6 jsg 48: <p>
1.12 kettenis 49: The install media includes firmware required to boot the Pine 64/64+
50: and Raspberry Pi.
1.6 jsg 51: </p>
52:
53: <p>
54: The Raspberry Pi 3 requires closed but redistributable files on the
1.12 kettenis 55: system disk to load into the VC4 GPU which starts the ARM cores. By
56: default the boot ROM will only try to load these files off an SD card.
1.6 jsg 57: These files are present in the install media but there is no driver
1.12 kettenis 58: for SD/MMC yet so a USB disk drive and manual steps are required. To
59: load the firmware off the SD card and have the root disk on USB after
60: installing OpenBSD reboot and interrupt U-Boot before the timeout
1.7 jsg 61: expires and instruct U-Boot to prefer USB over the SD card:
1.6 jsg 62: </p>
1.7 jsg 63:
1.20 ! tj 64: <pre class="cmdbox">
1.7 jsg 65: Hit any key to stop autoboot: 0
66: U-Boot> setenv boot_targets usb0 mmc0 pxe dhcp
67: U-Boot> saveenv
68: U-Boot> boot
1.20 ! tj 69: </pre>
1.6 jsg 70:
71: <p>
72: Opteron A1100 machines on the other hand come with a UEFI firmware
73: that includes a device tree and can boot off SATA or USB devices without
74: board specific boot files on the system disk.
1.12 kettenis 75: </p>
76:
1.6 jsg 77: <p>
1.12 kettenis 78: All other machines that lack UEFI firmware require additional steps to
79: create bootable install media. See the
80: <a href="https://ftp.OpenBSD.org/pub/OpenBSD/snapshots/arm64/INSTALL.arm64">
81: OpenBSD/arm64 snapshot installation instructions</a> for further details.
82: </p>
1.6 jsg 83:
1.1 patrick 84: <a name="hardware"></a>
85: <h3><font color="#0000e0"><strong>Supported hardware</strong></font></h3>
86:
87: <p>
1.18 kettenis 88: OpenBSD/arm64 runs on the following hardware:
1.1 patrick 89: </p>
90:
91: <ul>
1.12 kettenis 92: <li>Allwinner A64/H5
1.4 jsg 93: <ul>
1.18 kettenis 94: <li>Pine64 Pine 64/64+
95: <li>NanoPi A64
1.12 kettenis 96: <li>Orange Pi PC2
1.4 jsg 97: </ul>
98: <li>AMD Opteron A1100 (Seattle)
99: <ul>
100: <li>AMD Seattle Development Board
1.5 jsg 101: <li>SoftIron OverDrive 1000
1.19 kettenis 102: <li>SoftIron OverDrive 3000
1.4 jsg 103: </ul>
104: <li>Broadcom BCM2837
105: <ul>
106: <li>Raspberry Pi 3
107: </ul>
1.19 kettenis 108: <li>Marvell ARMADA 7K/8K
109: <ul>
110: <li>SolidRun/Marvell MACCHIATObin
111: </ul>
1.18 kettenis 112: <li>Rockchip RK3328/RK3399
1.9 kettenis 113: <ul>
1.19 kettenis 114: <li>Pine64 ROCK64
115: <li>Pine64 ROCKPro64
1.9 kettenis 116: <li>Firefly-RK3399
1.19 kettenis 117: <li>Theobroma Systems RK3399-Q7
118: </ul>
119: <li>Socionext SC2A11
120: <ul>
121: <li>Socionext SynQuacer-E Developerbox
1.9 kettenis 122: </ul>
1.1 patrick 123: </ul>
124:
1.18 kettenis 125: <p>
126: In general other boards/machines that use one of the SoCs listed above
127: will work as well as long as UEFI firmware (e.g. U-Boot) and a device
128: tree that describes the hardware is available.
129: </p>
130:
1.1 patrick 131: <h4>Ethernet</h4>
132: <ul>
1.12 kettenis 133: <li><a href="https://man.openbsd.org/?query=dwge&sektion=4&arch=arm64">dwge(4)</a>
1.16 naddy 134: integrated Synopsys DesignWare GMAC 10/100/Gigabit Ethernet on Rockchip RK3399</li>
1.15 patrick 135: <li><a href="https://man.openbsd.org/?query=dwxe&sektion=4&arch=arm64">dwxe(4)</a>
1.16 naddy 136: integrated Allwinner EMAC 10/100/Gigabit Ethernet on Allwinner A64/H5</li>
1.12 kettenis 137: <li><a href="https://man.openbsd.org/?query=msk&sektion=4&arch=arm64">msk(4)</a>
1.16 naddy 138: integrated Marvell Yukon-2 10/100/Gigabit Ethernet on OverDrive 1000</li>
1.10 tb 139: <li><a href="https://man.openbsd.org/?query=smsc&sektion=4&arch=arm64">smsc(4)</a>
1.16 naddy 140: integrated SMSC LAN95xx 10/100 USB Ethernet on Raspberry Pi 3</li>
1.1 patrick 141: </ul>
142:
143: <h4>Storage</h4>
1.4 jsg 144: <ul>
1.10 tb 145: <li><a href="https://man.openbsd.org/?query=ahci&sektion=4&arch=arm64">ahci(4)</a>
1.19 kettenis 146: on AMD Opteron A1100, Marvell 7K/8K and SynQuacer-E</li>
1.12 kettenis 147: <li><a href="https://man.openbsd.org/?query=dwmmc&sektion=4&arch=arm64">dwmmc(4)</a>
1.18 kettenis 148: on Rockchip RK3328/RK3399</li>
1.12 kettenis 149: <li><a href="https://man.openbsd.org/?query=dwmmc&sektion=4&arch=arm64">sdhc(4)</a>
1.16 naddy 150: on Rockchip RK3399</li>
1.18 kettenis 151: <li><a href="https://man.openbsd.org/?query=dwmmc&sektion=4&arch=arm64">sximmc(4)</a>
152: on Allwinner A64/H5</li>
1.4 jsg 153: </ul>
1.1 patrick 154:
155: <h4>USB</h4>
156: <ul>
1.10 tb 157: <li><a href="https://man.openbsd.org/?query=dwctwo&sektion=4&arch=arm64">dwctwo(4)</a>
1.16 naddy 158: on Raspberry Pi 3</li>
1.10 tb 159: <li><a href="https://man.openbsd.org/?query=ehci&sektion=4&arch=arm64">ehci(4)</a>
1.18 kettenis 160: on Allwinner A64/H5 and Rockchip RK3328/RK3399</li>
1.10 tb 161: <li><a href="https://man.openbsd.org/?query=xhci&sektion=4&arch=arm64">xhci(4)</a>
1.19 kettenis 162: on Rockchip RK3399, OverDrive 1000 and SynQuacer-E</li>
1.1 patrick 163: </ul>
164:
165: <b>No real time clock:</b> Many of the arm64 devices do not have a
166: battery-backed real time clock. For this reason, using the <tt>-s</tt>
167: option of <a href="faq/faq8.html#OpenNTPD">OpenNTPD</a> may be desirable.
168:
169: <a name="install"></a>
170: <h3><font color="#0000e0">
1.17 tj 171: <strong>Getting and installing OpenBSD/arm64:</strong>
1.1 patrick 172: </font></h3>
1.17 tj 173:
174: <p>
175: The latest supported OpenBSD/arm64 release is
176: <a href="63.html">OpenBSD 6.3</a>.
177: Here are the
178: <a href="https://ftp.OpenBSD.org/pub/OpenBSD/6.3/arm64/INSTALL.arm64">
179: OpenBSD/arm64 installation instructions</a>.
1.1 patrick 180:
181: <p>
182: Snapshots are made available from time to time, in
183: <a href="https://ftp.OpenBSD.org/pub/OpenBSD/snapshots/arm64">this location</a>
184: as well as in a few
185: <a href="ftp.html">mirrors</a>.
186: Here are the
187: <a href="https://ftp.OpenBSD.org/pub/OpenBSD/snapshots/arm64/INSTALL.arm64">
1.2 tb 188: OpenBSD/arm64 snapshot installation instructions</a> as well.
1.1 patrick 189: </p>
190:
191: </body>
192: </html>