[[!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.
[[!toc levels=2]]
# Supported SoCs
Other systems may work, but they have not been tested.
# Supported hardware
Please refer to the [GENERIC64 (64-bit)](https://nxr.netbsd.org/xref/src/sys/arch/evbarm/conf/GENERIC64) kernel configs for the most up-to-date list of supported hardware.
Device |
Supported |
Notes |
Audio codec | Yes | |
CSRNG (RK3399) | Yes | |
DisplayPort (RK3399) | Yes | |
Framebuffer | Yes | Uses simplefb configured by bootloader |
Gigabit Ethernet | Yes | |
GPIO | Yes | |
GPU | - | |
I2C | Yes | |
I2S/PCM | Experimental | |
NAND | Yes | |
P2WI/RSB | Yes | |
PCIe | - | |
PWM | Yes | |
RTC | Yes | |
SATA | Yes | |
SD/MMC | Yes | |
SMP | Yes | |
SPDIF | - | |
SPI | Yes | |
SPI Flash (RK3328) | Yes | |
Thermal sensors | Yes | |
UART | Yes | |
USB 2.0 | Yes | |
USB 3.0 | Yes | |
Watchdog timer | Yes | |
# 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/<boardname>/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
to
[[NetBSD/evbarm install via sysinst(8) on a SATA hard disk, USB stick or (u)SD card|ports/evbarm/install_using_sysinst]].
The [PINE64 Quartz64 boots from UEFI](https://github.com/jaredmcneill/quartz64_uefi).
Flash NetBSD and the UEFI firmware to separate storage devices, or replace the
contents of the boot partition on arm64.img.
# 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]]