File:  [NetBSD Developer Wiki] / wikisrc / ports / evbarm / rockchip.mdwn
Revision 1.8: download - view: text, annotated - select for diffs
Fri Jan 10 03:12:40 2020 UTC (2 years, 7 months ago) by mrg
Branches: MAIN
CVS tags: HEAD
it's rksd_loader.img not rkspi_loader.img.  from aymeric@

[[!meta title="NetBSD/evbarm on Fuzhou RockChip SoCs"]]

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

<img src="" width="300">

[[!toc levels=2]]

# Supported SoCs

      <th>NetBSD version</th>
      <th>Example boards</th>
    <tr><td>RK3328</td><td>Rock64</td><td>9.0</td><td><a href="">Pine64 Rock64</a><td></td></tr>
    <tr><td>RK3399</td><td>Rock64</td><td>9.0</td><td><a href="">Pine64 RockPro64</a>, <a href="">Pine64 Pinebook Pro</a><td></td></tr>

Other systems may work, but they have not been tested.

# Supported hardware

Please refer to the [GENERIC64 (64-bit)]( kernel configs for the most up-to-date list of supported hardware.

    <tr><td>Audio codec</td><td>Yes</td><td></td></tr>
    <tr><td>Framebuffer</td><td>Yes</td><td>Uses simplefb configured by bootloader</td></tr>
    <tr><td>Gigabit Ethernet</td><td>Yes</td><td></td></tr>
    <tr><td>Thermal sensors</td><td>Yes</td><td></td></tr>
    <tr><td>USB 2.0</td><td>Yes</td><td></td></tr>
    <tr><td>USB 3.0</td><td>Yes</td><td></td></tr>
    <tr><td>Watchdog timer</td><td>Yes</td><td></td></tr>

# Installation

- Download or build **arm64.img** (64-bit) from NetBSD 9.0 or later
- Write the image to disk: **dd if=arm64.img of=/dev/rld0d bs=1m conv=sync**
- Install a board-specific U-Boot from pkgsrc to the SD card
  **dd if=/usr/pkg/share/u-boot/&lt;boardname&gt;/rksd_loader.img of=/dev/rld0d seek=64 conv=sync**

If your SoC has a SATA controller and you would like to install on
an hard disk and use a SD card only for u-boot please give a look
[[NetBSD/evbarm install via sysinst(8) on a SATA hard disk, USB stick or (u)SD card|ports/evbarm/install_using_sysinst]].

# Tips and tricks

# Links

- [[NetBSD/evbarm install via sysinst(8) on a SATA hard disk, USB stick or (u)SD card|ports/evbarm/install_using_sysinst]]

CVSweb for NetBSD wikisrc <> software: FreeBSD-CVSweb