File:  [NetBSD Developer Wiki] / wikisrc / ports / evbarm / allwinner.mdwn
Revision 1.61: download - view: text, annotated - select for diffs
Sun Oct 8 14:39:23 2017 UTC (3 years, 4 months ago) by wiki
Branches: MAIN
CVS tags: HEAD
web commit by jmcneill: Add a table of supported SoCs, add simplified install guide, and xref the latest kernel config for an up-to-date list of supported hardware

[[!meta title="NetBSD/evbarm on Allwinner Technology SoCs"]]

NetBSD supports many boards based on Allwinner SoCs. Starting with NetBSD 8.0, FDT is used to configure devices. As a result, a large number of boards and configurations can be supported with a single kernel.

[[!toc levels=2]]

# Supported SoCs

<table>
  <thead>
    <tr>
      <th>Family</th>
      <th>SoC</th>
      <th>NetBSD version</th>
      <th>Notes</th>
    </tr>
  </thead>
  <tbody>
    <tr><td>sun4i</td><td>A10</td><td>8.99.3 and later</td><td></td></tr>
    <tr><td>sun5i</td><td>A10s</td><td>-</td><td></td></tr>
    <tr><td>sun5i</td><td>A13</td><td>8.99.2 and later</td><td></td></tr>
    <tr><td>sun5i</td><td>GR8</td><td>8.99.2 and later</td><td></td></tr>
    <tr><td>sun5i</td><td>R8</td><td>8.99.2 and later</td><td></td></tr>
    <tr><td>sun6i</td><td>A31</td><td>7.0 and later</td><td></td></tr>
    <tr><td>sun6i</td><td>A31s</td><td>-</td><td></td></tr>
    <tr><td>sun7i</td><td>A20</td><td>7.0 and later</td><td></td></tr>
    <tr><td>sun8i</td><td>A23</td><td>-</td><td></td></tr>
    <tr><td>sun8i</td><td>A33</td><td>-</td><td></td></tr>
    <tr><td>sun8i</td><td>A83T</td><td>8.0 and later</td><td></td></tr>
    <tr><td>sun8i</td><td>H2+</td><td>8.0 and later</td><td></td></tr>
    <tr><td>sun8i</td><td>H3</td><td>8.0 and later</td><td></td></tr>
    <tr><td>sun9i</td><td>A80</td><td>8.0 and later</td><td></td></tr>
    <tr><td>sun50i</td><td>A64</td><td>8.99.2 and later</td><td>aarch32 mode</td></tr>
    <tr><td>sun50i</td><td>H5</td><td>-</td><td></td></tr>
    <tr><td>sun50i</td><td>H6</td><td>-</td><td></td></tr>
  </tbody>
</table>


# Supported hardware

Please refer to the [SUNXI kernel config](https://nxr.netbsd.org/xref/src/sys/arch/evbarm/conf/SUNXI) for a list of supported hardware.

# Installation

- Download or build **armv7.img** from NetBSD -current
- Write the image to disk: **dd if=armv7.img of=/dev/rld0d bs=1m conv=sync**
- Install a board-specific U-Boot (2017.07 or later) from pkgsrc to the SD card: **dd if=/usr/pkg/share/u-boot/&lt;boardname&gt;/u-boot-sunxi-with-spl.bin of=/dev/rld0d bs=1k seek=8 conv=sync**

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb