--- wikisrc/ports/evbarm/rockchip.mdwn 2015/01/05 11:04:28 1.1 +++ wikisrc/ports/evbarm/rockchip.mdwn 2020/01/08 06:45:15 1.5 @@ -1,21 +1,83 @@ -[[!meta title="NetBSD/evbarm on Rockchip SoCs"]] +[[!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 boards - - [MINIX NEO X7](http://www.minix.com.hk/Products/MINIX-NEOX7-ANDROID-TV.html) - - [Radxa Rock 2013/Pro/Lite](http://radxa.com/Rock) - - [Rayeager PX2](http://en.chipspark.com/goods/Rayeager%20PX2%20Board/13) +# Supported SoCs + + + + + + + + + + + + + + + +
FamilySoCNetBSD versionExample boardsNotes
RK3328Rock649.0Pine64 Rock64
RK3399Rock649.0Pine64 RockPro64, Pine64 Pinebook Pro
+ +Other systems may work, but they have not been tested. # Supported hardware - - SoCs - - Cortex-A9: PX2/RK3066 (dual core), RK3188/RK3188+ (quad core) - - CPU frequency/voltage scaling (RK3188/RK3188+) - - SD/MMC controller - - GPIO - - UART - - I2C - - PMU - - ACT8834 - - Watchdog timer - - USB host (DWC2) + +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. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DeviceSupportedNotes
Audio codecYes
FramebufferYesUses simplefb configured by bootloader
Gigabit EthernetYes
GPIOYes
GPU-
I2CYes
I2S/PCMExperimental
NANDYes
P2WI/RSBYes
PCIe-H6
PWMYes
RTCYes
SATAYes
SD/MMCYes
SMPYes
SPDIF-
SPIYes
Thermal sensorsYes
UARTYes
USB 2.0Yes
USB 3.0Yes
Watchdog timerYes
+ +# Installation + +- Download or build **arm64.img** (64-bit) from NetBSD 9.0 or later +- Write the image to disk: **dd if=armv7.img of=/dev/rld0d bs=1m conv=sync** +- Install a board-specific U-Boot (2018.05 or later) from pkgsrc to the SD card + **dd if=/usr/pkg/share/u-boot/<boardname>/rkspi_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]]. + +# 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]]