[BACK]Return to arm64.html CVS log [TXT][DIR] Up to [local] / www

Annotation of www/arm64.html, Revision 1.53

1.23      bentley     1: <!doctype html>
                      2: <html lang=en id=platform>
                      3: <meta charset=utf-8>
                      4:
1.1       patrick     5: <title>OpenBSD/arm64</title>
                      6: <meta name="description" content="the OpenBSD/arm64 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/arm64.html">
                     10:
                     11:
1.23      bentley    12: <h2 id=OpenBSD>
1.1       patrick    13: <a href="index.html">
1.23      bentley    14: <i>Open</i><b>BSD</b></a>
                     15: arm64
1.1       patrick    16: </h2>
                     17: <hr>
                     18:
1.23      bentley    19: <table><tr><td>
1.1       patrick    20: <p>
                     21: OpenBSD/arm64 is a port of OpenBSD to various 64-bit ARM based systems.
                     22:
1.3       tb         23: <p>
1.1       patrick    24: A mailing list for ARM-based ports is available at
1.23      bentley    25: <a href="mailto:arm@openbsd.org">arm@openbsd.org</a>.
1.1       patrick    26: To join the OpenBSD/arm mailing list, send a message body of
                     27: <b>"subscribe arm"</b> to
                     28: <a href="mailto:majordomo@openbsd.org">majordomo@openbsd.org</a>.
                     29: Please be sure to check our <a href="mail.html">mailing list policy</a> before
                     30: subscribing.
1.23      bentley    31: </table>
1.1       patrick    32:
                     33: <hr>
                     34:
1.23      bentley    35: <h3 id="status"><strong>Current status</strong></h3>
1.1       patrick    36:
                     37: <p>
1.52      kevlo      38: The current target platforms are Allwinner A64/H5/H6, Amlogic G12B/SM1,
1.48      kettenis   39: AMD Opteron A1100, Ampere eMAG, Apple M1, Marvell ARMADA 3K/7K/8K, Rockchip
1.42      kurt       40: RK3328/RK3399(pro), Broadcom BCM2837/BCM2711 (Raspberry Pi 3/4)
                     41: and Socionext SCA11.
1.1       patrick    42:
1.6       jsg        43: <p>
1.40      sthen      44: The install media includes firmware required to boot the Pine 64/64+,
                     45: Raspberry Pi 3 and Raspberry Pi 4.
1.6       jsg        46:
                     47: <p>
1.40      sthen      48: The Raspberry Pi boards require closed but redistributable files on the
                     49: system disk to load into the VC4 GPU which starts the ARM cores.
                     50: By default the boot ROM on Raspberry Pi 3 and older versions on
                     51: Raspberry Pi 4 will only try to load these files off an SD card.
1.33      jsg        52: To load the firmware off the SD card and have the root disk on USB after
1.40      sthen      53: installing OpenBSD, reboot and interrupt U-Boot before the timeout
1.7       jsg        54: expires and instruct U-Boot to prefer USB over the SD card:
                     55:
1.20      tj         56: <pre class="cmdbox">
1.7       jsg        57: Hit any key to stop autoboot:  0
                     58: U-Boot&gt; setenv boot_targets usb0 mmc0 pxe dhcp
                     59: U-Boot&gt; saveenv
                     60: U-Boot&gt; boot
1.20      tj         61: </pre>
1.6       jsg        62:
                     63: <p>
1.40      sthen      64: Some Raspberry Pi models that do not work with the included U-Boot
                     65: (e.g. Raspberry Pi 400) can instead be booted using
                     66: <a href="https://github.com/pftf/RPi4">EDK2-based UEFI firmware</a>.
                     67: The simplest way to use this is to install the firmware on an SD
                     68: card and install the OS on USB.
1.30      kettenis   69:
                     70: <p>
1.50      tj         71: Apple systems need to have a UEFI environment installed before
                     72: OpenBSD can be booted. This can be done by running the
1.49      kettenis   73: <a href="https://asahilinux.org/2022/03/asahi-linux-alpha-release">
1.50      tj         74: Asahi Linux installer</a>. Afterwards you can boot the installer from
1.49      kettenis   75: a USB device connected to one of the type-C USB ports on the machine.
                     76:
                     77: <p>
1.25      kettenis   78: Ampere eMAG and AMD Opteron systems come with a UEFI firmware in ROM
                     79: and can boot off SATA or USB devices without board specific boot files
                     80: on the system disk.
1.12      kettenis   81:
1.6       jsg        82: <p>
1.25      kettenis   83: Most other machines load their firmware from the boot media and
                     84: require additional steps to create bootable install media.  See the
1.21      tj         85: <a href="https://ftp.openbsd.org/pub/OpenBSD/snapshots/arm64/INSTALL.arm64">
1.12      kettenis   86: OpenBSD/arm64 snapshot installation instructions</a> for further details.
1.6       jsg        87:
1.23      bentley    88: <h3 id="hardware"><strong>Supported hardware</strong></h3>
1.1       patrick    89:
                     90: <p>
1.18      kettenis   91: OpenBSD/arm64 runs on the following hardware:
1.1       patrick    92:
                     93: <ul>
1.52      kevlo      94:        <li>Allwinner A64/H5/H6
1.4       jsg        95:        <ul>
1.18      kettenis   96:                <li>Pine64 Pine 64/64+
1.52      kevlo      97:                <li><a href="https://www.pine64.org/pine-h64-ver-b/">Pine64 H64</a>
1.36      sthen      98:                <li><a href="https://www.pine64.org/pinebook/">Pine64 Pinebook</a>
                     99:                <li><a href="https://wiki.friendlyarm.com/wiki/index.php/NanoPi_A64">NanoPi A64</a>
                    100:                <li><a href="http://www.orangepi.org/orangepipc2/">Orange Pi PC2</a>
1.37      dtucker   101:                <li><a href="http://www.orangepi.org/OrangePiZeroPlus/">Orange Pi Zero Plus</a>
1.4       jsg       102:        </ul>
                    103:        <li>AMD Opteron A1100 (Seattle)
                    104:        <ul>
                    105:                <li>AMD Seattle Development Board
1.5       jsg       106:                <li>SoftIron OverDrive 1000
1.19      kettenis  107:                <li>SoftIron OverDrive 3000
1.4       jsg       108:        </ul>
1.38      kettenis  109:        <li>Amlogic G12B/SM1
1.25      kettenis  110:        <ul>
1.36      sthen     111:                <li><a href="https://www.hardkernel.com/shop/odroid-n2-with-4gbyte-ram/">Hardkernel ODROID-N2</a>
1.38      kettenis  112:                <li><a href="https://www.hardkernel.com/shop/odroid-c4/">Hardkernel ODROID-C4</a>
                    113:                <li><a href="https://www.hardkernel.com/shop/odroid-hc4/">Hardkernel ODROID-HC4</a>
1.25      kettenis  114:        </ul>
                    115:        <li>Ampere eMAG
                    116:        <ul>
                    117:                <li>Lenovo ThinkSystem HR330A
                    118:                <li>Lenovo ThinkSystem HR350A
                    119:        </ul>
1.48      kettenis  120:        <li>Apple M1
                    121:        <ul>
                    122:                <li>Apple Mac mini (M1, 2020)
                    123:                <li>Apple MacBook Pro (13-inch, M1, 2020)
                    124:                <li>Apple MacBook Air (M1, 2020)
                    125:                <li>Apple iMac (24-inch, M1, 2021)
                    126:                <li>Apple MacBook Pro (14-inch, M1 Pro/Max, 2021)
                    127:                <li>Apple MacBook Pro (16-inch, M1 Pro/Max, 2021)
                    128:        </ul>
1.30      kettenis  129:        <li>Broadcom BCM2837/BCM2711
1.4       jsg       130:        <ul>
1.36      sthen     131:                <li><a href="https://www.raspberrypi.org/products/raspberry-pi-3-model-b/">Raspberry Pi 3</a>
1.40      sthen     132:                <li><a href="https://www.raspberrypi.org/products/raspberry-pi-3-model-b-plus/">Raspberry Pi 3 Model B+</a>
1.36      sthen     133:                <li><a href="https://www.raspberrypi.org/products/raspberry-pi-4-model-b/specifications/">Raspberry Pi 4</a>
1.40      sthen     134:                <li><a href="https://www.raspberrypi.org/products/raspberry-pi-400-unit/">Raspberry Pi 400</a>
1.46      kettenis  135:                <li><a href="https://www.raspberrypi.com/products/compute-module-4/">Raspberry Pi Compute Module 4</a>
1.4       jsg       136:        </ul>
1.43      kettenis  137:        <li>Marvell ARMADA 3K
                    138:        <ul>
                    139:                <li><a href="https://www.turris.com/en/mox/">Turris MOX</a>
                    140:        </ul>
1.19      kettenis  141:        <li>Marvell ARMADA 7K/8K
                    142:        <ul>
1.36      sthen     143:                <li><a href="https://www.solid-run.com/marvell-armada-family/macchiatobin/">SolidRun/Marvell MACCHIATObin</a>
1.19      kettenis  144:        </ul>
1.42      kurt      145:        <li>Rockchip RK3328/RK3399(pro)
1.9       kettenis  146:        <ul>
1.36      sthen     147:                <li><a href="https://www.pine64.org/devices/single-board-computers/rock64/">Pine64 ROCK64</a>
                    148:                <li><a href="https://www.pine64.org/rockpro64/">Pine64 ROCKPro64</a>
                    149:                <li><a href="https://www.pine64.org/pinebook-pro/">Pinebook Pro</a>
                    150:                <li><a href="https://en.t-firefly.com/product/rk3399.html">Firefly-RK3399</a>
                    151:                <li><a href="http://wiki.friendlyarm.com/wiki/index.php/NanoPC-T4">FriendlyElec NanoPC-T4</a>
                    152:                <li><a href="https://www.theobroma-systems.com/som-product/rk3399-q7/">Theobroma Systems RK3399-Q7</a>
1.42      kurt      153:                <li><a href="https://wiki.radxa.com/RockpiN10">Radxa Rock Pi N10</a>
1.19      kettenis  154:        </ul>
                    155:        <li>Socionext SC2A11
                    156:        <ul>
1.36      sthen     157:                <li><a href="https://www.socionext.com/en/products/assp/SynQuacer/Edge/">Socionext SynQuacer-E Developerbox</a>
1.9       kettenis  158:        </ul>
1.1       patrick   159: </ul>
1.48      kettenis  160:
                    161: <p>
1.26      tj        162: In general, other boards/machines that use one of the SoCs listed above
                    163: will work as well, as long as UEFI firmware (e.g. U-Boot or EDK II
                    164: firmware) is available. Both device trees and ACPI are supported.
                    165: An updated device tree may have to be supplied to make OpenBSD usable.
                    166:
1.1       patrick   167: <h4>Ethernet</h4>
                    168: <ul>
1.30      kettenis  169:        <li><a href="https://man.openbsd.org/arm64/bse.4">bse(4)</a>
                    170:          integrated Broadcom GENET 10/100/Gigabit Ethernet on Raspberry Pi 4
1.23      bentley   171:        <li><a href="https://man.openbsd.org/arm64/dwge.4">dwge(4)</a>
1.24      deraadt   172:          integrated Synopsys DesignWare GMAC 10/100/Gigabit Ethernet on Rockchip RK3399
1.23      bentley   173:        <li><a href="https://man.openbsd.org/arm64/dwxe.4">dwxe(4)</a>
1.52      kevlo     174:          integrated Allwinner EMAC 10/100/Gigabit Ethernet on Allwinner A64/H5/H6
1.23      bentley   175:        <li><a href="https://man.openbsd.org/arm64/msk.4">msk(4)</a>
1.24      deraadt   176:          integrated Marvell Yukon-2 10/100/Gigabit Ethernet on OverDrive 1000
1.44      mglocker  177:        <li><a href="https://man.openbsd.org/arm64/mue.4">mue(4)</a>
                    178:          integrated Microchip LAN75xx/LAN78xx 10/100/Gigabit USB Ethernet on Raspberry Pi 3 Model B+
1.43      kettenis  179:        <li><a href="https://man.openbsd.org/arm64/mvneta.4">mvneta(4)</a>
                    180:          integrated Marvell ARMADA Ethernet on Marvell ARMADA 3K
1.23      bentley   181:        <li><a href="https://man.openbsd.org/arm64/smsc.4">smsc(4)</a>
1.24      deraadt   182:          integrated SMSC LAN95xx 10/100 USB Ethernet on Raspberry Pi 3
1.1       patrick   183: </ul>
                    184:
1.34      stsp      185: <h4>802.11 wireless</h4>
                    186: <ul>
                    187:        <li><a href="https://man.openbsd.org/arm64/bwfm.4">bwfm(4)</a>
1.51      deraadt   188:          on Raspberry Pi 3/4/400, Pinebook Pro, and Apple M1
1.34      stsp      189: </ul>
                    190:
1.1       patrick   191: <h4>Storage</h4>
1.4       jsg       192: <ul>
1.23      bentley   193:        <li><a href="https://man.openbsd.org/arm64/ahci.4">ahci(4)</a>
1.25      kettenis  194:          on AMD Opteron A1100, Ampere eMAG, Marvell 7K/8K and SynQuacer-E
1.33      jsg       195:        <li><a href="https://man.openbsd.org/arm64/bcmsdhost.4">bcmsdhost(4)</a>
                    196:          on Raspberry Pi 3
1.23      bentley   197:        <li><a href="https://man.openbsd.org/arm64/dwmmc.4">dwmmc(4)</a>
1.24      deraadt   198:          on Rockchip RK3328/RK3399
1.42      kurt      199:        <li><a href="https://man.openbsd.org/arm64/rkpcie.4">rkpcie(4)</a>
                    200:          on Rockchip RK3399
1.25      kettenis  201:        <li><a href="https://man.openbsd.org/arm64/sdhc.4">sdhc(4)</a>
1.43      kettenis  202:          on Marvell ARMADA 3K/7K/8K, Rockchip RK3399 and Raspberry Pi 4
1.25      kettenis  203:        <li><a href="https://man.openbsd.org/arm64/sximmc.4">sximmc(4)</a>
1.52      kevlo     204:          on Allwinner A64/H5/H6
1.4       jsg       205: </ul>
1.1       patrick   206:
                    207: <h4>USB</h4>
                    208: <ul>
1.23      bentley   209:        <li><a href="https://man.openbsd.org/arm64/dwctwo.4">dwctwo(4)</a>
1.24      deraadt   210:          on Raspberry Pi 3
1.23      bentley   211:        <li><a href="https://man.openbsd.org/arm64/ehci.4">ehci(4)</a>
1.52      kevlo     212:          on Allwinner A64/H5/H6 and Rockchip RK3328/RK3399
1.23      bentley   213:        <li><a href="https://man.openbsd.org/arm64/xhci.4">xhci(4)</a>
1.43      kettenis  214:          on Amlogic G12A/B, Ampere eMAG, Marvell ARMADA 3K/7K/8K,
                    215:          Overdrive 1000, Raspberry Pi 4, Rockchip RK3399 and SynQuacer-E
1.1       patrick   216: </ul>
                    217:
1.23      bentley   218: <strong>No real time clock:</strong> Many of the arm64 devices do not have a
1.27      deraadt   219: battery-backed real time clock, but <a href="https://man.openbsd.org/ntpd">ntpd(8)</a>
                    220: should be able to compensate.
1.1       patrick   221:
1.23      bentley   222: <h3 id="install">
1.17      tj        223: <strong>Getting and installing OpenBSD/arm64:</strong>
1.23      bentley   224: </h3>
1.17      tj        225:
                    226: <p>
                    227: The latest supported OpenBSD/arm64 release is
1.53    ! tj        228: <a href="71.html">OpenBSD 7.1</a>.
1.17      tj        229: Here are the
1.53    ! tj        230: <a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/arm64/INSTALL.arm64">
1.17      tj        231: OpenBSD/arm64 installation instructions</a>.
1.1       patrick   232:
                    233: <p>
                    234: Snapshots are made available from time to time, in
1.21      tj        235: <a href="https://cdn.openbsd.org/pub/OpenBSD/snapshots/arm64">this location</a>
                    236: as well as on a few
1.1       patrick   237: <a href="ftp.html">mirrors</a>.
                    238: Here are the
1.21      tj        239: <a href="https://ftp.openbsd.org/pub/OpenBSD/snapshots/arm64/INSTALL.arm64">
1.2       tb        240: OpenBSD/arm64 snapshot installation instructions</a> as well.