Skip to content

Latest commit

 

History

History
83 lines (64 loc) · 2.25 KB

README.md

File metadata and controls

83 lines (64 loc) · 2.25 KB

meta-rpi-dev

build your own raspberry pi image by yocto build system.

license

Target board

  • raspberrypi 3b
  • raspberrypi 4b (not yet tested)

Dependencies

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

Quick Start

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.

Create workspace

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

Update existing workspace

In order to bring all the layers up to date with upstream

cd rpi-yocto-build
repo sync
repo rebase

Setup Build Environment

. ./meta-rpi-dev/setup.sh

Support Machine

  • raspberrypi3
  • raspberrypi3-64 (64 bit kernel & userspace)
  • raspberrypi4
  • raspberrypi4-64 (64 bit kernel & userspace)

Build Image

MACHINE=raspberrypi3-64 bitbake rpi-test-image

flash image

After build succes, you can find sdimg in deploy

Recomend you to flash sdcard by Etcher

Maintainer

sungwon.pino at gmail.com