build your own raspberry pi image by yocto build system.
- raspberrypi 3b
- raspberrypi 4b (not yet tested)
This distro dependends on :
- URI: git://github.com/openembedded/openembedded-core
- branch: master
- revision: HEAD
- URI: git://github.com/openembedded/meta-openembedded
- layers: meta-oe, meta-multimedia, meta-networking, meta-python
- branch: master
- revision: HEAD
- URI: git://github.com/openembedded/bitbake
- branch: master
- revision: HEAD
- URI: git://github.com/agherzan/meta-raspberrypi
- branch: master
- revision: HEAD
Note: You only need this if you do not have an existing Yocto Project build environment.
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
build-essential chrpath socat cpio python3 python3-pip python3-pexpect \
xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \
pylint3 xterm
You can find more information below site to set Yocto Project build environment.
Yocto Project Quick Build : Build Host Packages
Make sure to install the repo
command by Google first.
mkdir rpi-yocto-build && cd rpi-yocto-build
repo init -u git://github.com/pino-kim/meta-rpi-dev -b master -m manifests/manifests.xml
repo sync
repo start work --all
In order to bring all the layers up to date with upstream
cd rpi-yocto-build
repo sync
repo rebase
. ./meta-rpi-dev/setup.sh
- raspberrypi3
- raspberrypi3-64 (64 bit kernel & userspace)
- raspberrypi4
- raspberrypi4-64 (64 bit kernel & userspace)
MACHINE=raspberrypi3-64 bitbake rpi-test-image
After build succes, you can find sdimg in deploy
Recomend you to flash sdcard by Etcher
sungwon.pino at gmail.com