Orangepi One Plus

This tutorial will show the details of Orangepi One Plus board mainline support and other details like documentation, hardware schismatic and other needful information is available at hardware and linux-sunxi

Hardware Access

../../../_images/opi-one-plus.jpg

Serial debug and Power connections

BSP Build

Manual Build

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

ATF

$ git clone https://github.com/ARM-software/arm-trusted-firmware
$ cd arm-trusted-firmware
$ sudo CROSS_COMPILE=/to/path/aarch64-linux-gnu- make PLAT=sun50i_h6
$ export BL31=/path/to/arm-trusted-firmware/build/sun50i_h6/release/bl31.bin

U-Boot

$ git clone git://git.denx.de/u-boot.git
$ cd u-boot
$ make orangepi_one_plus_defconfig; $ make

Linux

$ git clone https://github.com/amarula/linux-amarula
$ cd linux-amarula
$ git checkout -b wip-sun-h6 origin/wip-sun-h6
$ make mrproper
$ ARCH=arm64 make defconfig
$ ARCH=arm64 make -j 4 Image dtbs

Buildroot

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

$ git clone https://github.com/amarula/buildroot-amarula
$ cd buildroot-amarula
$ git checkout -b wip-sun-h6 origin/wip-sun-h6
$ make orangepi_one_plus_defconfig
$ make