Orangepi Prime

This tutorial will show the details of Orangepi Prime board mainline support and other needed details, for more information about hardware

Hardware Access


Serial debug and Power connections

BSP Build

Manual Build

For manual building refer here for all necessary information.

Image building need host to ready with all necessary tools ready, refer here

Below are the details of Image build for Orangepi Prime board.


$ git clone
$ cd arm-trusted-firmware
$ make PLAT=sun50iw1p1 bl31
$ export BL31=/path/to/arm-trusted-firmware/build/sun50iw1p1/release/bl31.bin


$ git clone git://
$ cd u-boot
$ make orangepi_prime_defconfig
$ make


$ git clone git://
$ cd linux-next
$ make mrproper
$ ARCH=arm64 make defconfig
$ ARCH=arm64 make -j 4 Image dtbs


It’s easy to build entire system using buildroot and mainline supported orangepi prime already. See read this readme.txt for more info.

$ git clone git://
$ cd buildroot
$ make orangepi_prime_defconfig
$ make


SD Boot