From past experiences with the Freescale Community BSP I was recently wondering if the same tooling was already setup for one of the largest community targetted board around: the Raspberry PI. And it seems it is not!
I went ahead and put it together. You can now easily initialize, synchronize and get your builds running by using Google’s Repo tool in conjuction with Yocto.
The repo can be found below together with instructions:
https://github.com/geoffrey-vl/rpi-community-bsp-platform
To get the BSP you need to have repo installed and use it as:
Install the repo utility:
$: mkdir ~/bin
$: curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$: chmod a+x ~/bin/repo
$: PATH=${PATH}:~/bin
Download the BSP source:
$: mkdir rpi-community-bsp
$: cd rpi-community-bsp
$: repo init -u https://github.com/geoffrey-vl/rpi-community-bsp-platform -b rocko
$: repo sync
At the end of the commands you have every metadata you need to start work with. The source code is checked out at rpi-community-bsp/sources. You can use any directory to host your build. As a personal favor I’m using rpi-community-bsp/build as build folder.
To configure the build:
$: chmod a+x .repo/manifests/setup
$: .repo/manifests/setup
Afterwards you may want to edit the build/conf/local.conf to set the correct machine.
To start a simple image build:
$: source sources/poky/oe-init-build-env build
$: bitbake console-image
Other images:
- ap-image
- audio-image
- console-basic-image
- console-image
- flask-image
- gumsense-image
- iot-image
- pyqt5-image
- qt5-basic-image
- qt5-image
More documentation at http://www.jumpnowtek.com/rpi/Raspberry-Pi-Systems-with-Yocto.html
