This README file contains information on the contents of the meta-orangepi-r1plus-bsp layer.
See this link for a complete build setup using this layer: Yocto OrangePi R1+
Layer: poky
Please submit any patches against the meta-orangepi-r1plus-bsp layer to the current github repository.
Maintainers: Samuel Geoffroy-Héroux samuel@geoffroy.dev and Alexi Demers alexidemers@gmail.com
I. Building core-image-minimal for orangepi-r1+
II. Flashing the SD card
- Clone Poky and current repository:
mkdir layers && cd layers
git clone http://git.yoctoproject.org/git/poky -b kirkstone
git clone git://git.openembedded.org/meta-openembedded -b kirkstone
git clone https://github.com/aledemers/meta-orangepi-r1plus.git
cd -
- Start environment:
source layers/poky/oe-init-build-env
- You can use the example files local.conf.example and bblayers.conf.example from this repository to have a functionnal base. Put these files in "build/conf", removing the ".example" extension.
- Build a basic image:
bitbake core-image-minimal
- Find the output SD Card image:
tmp/deploy/images/orangepi-r1plus/core-image-minimal-orangepi-r1plus.wic
- Insert the SD card to be programmed in your computer.
- Flash the image, replacing sdX by your SD card identifier (e.g.: sdb):
sudo bmaptool --bmap tmp/deploy/images/orangepi-r1plus/core-image-minimal-orangepi-r1plus.wic.bmap tmp/deploy/images/orangepi-r1plus/core-image-minimal-orangepi-r1plus.wic /dev/sdX
- Remove the SD card from your computer, insert it in your orangepi-r1+, and watch it boot!
- UART console access will be provided on the 3-pins header beside the USB connector, baudrate=1500000 (see user orangepi r1+ user manual for more information about debug UART header)