Go to file
Thomas Klaehn cf613e7086 linux-blackfinn: Switch to new yocto branch "gatesgarth"
Change-Id: I54c2e0b3f392b9de8f0148d84d5eb80fb2f416d8
2021-01-28 13:26:36 +01:00
default.xml linux-blackfinn: Switch to new yocto branch "gatesgarth" 2021-01-28 13:26:36 +01:00
Jenkinsfile jenkins: Use unified yocto model. 2019-03-16 06:45:08 +01:00
README.md README.md: Correct Build the Image section 2020-09-29 14:14:50 +00:00

Yocto

...

Get the repository

mkdir yocto-bf
cd yocto-bf
repo init -u "https://git.blackfinn.de/yocto/linux-blackfinn.git"
repo sync

Set Environment

MACHINE=<machineconf> source blackfinn-init-build-env

Supported machineconfs:

  • qemuarm
  • beaglebone-yocto
  • raspberrypi3-64
  • raspberrypi4-64

Build the Image

bitbake <image_name>

Supported images:

  • console-image
  • console-dev-image
  • docker-image

Flash the Image

beaglebone-yocto

dd if=tmp/deploy/images/beaglebone-yocto/docker-image-beaglebone-yocto.wic of=/dev/<sd_card>

raspberrypiX-64

bmaptool copy --bmap \
	tmp/deploy/images/raspberrypiX-64/docker-image-raspberrypiX-64.wic.bmap \
	tmp/deploy/images/raspberrypiX-64/docker-image-raspberrypiX-64.wic.bz2 \
	/dev/<sd_card>