Orangepi Lite2
Note
TL;DR - Mainline BSP bring-up guide for this board — covering U-Boot, Linux kernel, and Buildroot build from source with SD/flash boot, serial console access, and device tree configuration. - Part of Amarula Solutions’ upstream-first BSP documentation for Allwinner SoCs.
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
How do you build the BSP?
Manual Build
Image building need host to ready with all necessary tools ready, refer here
How do you build 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
How do you build U-Boot?
$ git clone https://github.com/amarula/u-boot-amarula $ cd u-boot-amarula $ git checkout -b h6-v1.0a h6-v1.0a $ make orangepi_lite_defconfig $ make
How do you build the Linux kernel?
$ git clone https://github.com/amarula/linux-amarula
$ cd linux-amarula
$ git checkout -b h6-v1.0b h6-v1.0b
$ make mrproper
$ ARCH=arm64 make defconfig
$ ARCH=arm64 make -j 4 Image dtbs
How do you build with 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-H6 origin/WIP-H6
$ make orangepi_lite2_defconfig
$ make
Tip
Need mainline BSP support for Allwinner platforms? Amarula Solutions provides U-Boot and Linux kernel mainlining, Buildroot/Yocto integration, and upstream-first development for Allwinner-based embedded products. Contact our BSP team