Embedded Software - VisionFive - Mender - Yocto - Part 1 a screenshot of a computer

VisionFive - Mender - Yocto

Part 1 - Basic setup Yocto environment VisionFive

VisionFive Yocto setup

Basic Yocto setup for VisionFive board

We are using the Yocto Kirkstone branch for development. We assume that you already have a working development environment installed.

Clone meta-starfive-bsp

First, go to your poky directory - in my case poky-kirkstone - and clone the meta-starfive-bsp repository.

cd poky-kirkstone
git clone -b kirkstone https://github.com/limingle/meta-starfive-bsp.git

I also clone meta-riscv, but it's not necessarily needed.

Download meta-interelectronix-visionfive

Download meta-interelectronix-visionfive.zip - see the link further up - and unzip it in poky-kirkstone directory.

Create build directory

Step out of poky-kirkstone and source the environment

cd ..
source poky-kirkstone/oe-init-build-env VisionFive-build

Now copy bblayers.conf.sample and local.conf.sample from meta-interelectronix-visionfive directory into the conf directory and rename it to bblayers.conf and local.conf:

cp ../poky-kirkstone/meta-interelectronix-visionfive/conf/bblayers.conf.sample conf/bblayers.conf
cp ../poky-kirkstone/meta-interelectronix-visionfive/conf/local.conf.sample conf/local.conf

In the bblayers.conf file, you have to adjust the path to your poky-kirkstone directory. Also delete the line '/workdir/poky-kirkstone/meta-interelectronix ' - it's only needed for our psplash customization.

bitbake Yocto Linux

Now you can bitbake your first Linux image.

bitbake vision-five-image

This takes a long while, and after finishing, you can flash the Linux image to an SD card and boot the VisionFive board from the SD card.

See how to get a basic setup for Mender in VisionFive - Mender - Yocto - Part 2.

Copyright License

Copyright © 2022 Interelectronix e.K.
This Project source code is licensed under the GPL-3.0 license.

Embedded Software - VisionFive - Mender - Yocto a screenshot of a computer
Part 2 - Basic setup to include Mender

Part 2 of a series of articles, how to set up a Yocto environment to create a Yocto Linux with the integration of a Mender client.

Embedded Software - VisionFive - Mender - Yocto a screenshot of a computer
Part 3 - u-boot configuration for Mender

Part 3 of a series of articles, how to set up a Yocto environment to create a Yocto Linux with the integration of a Mender client.

Embedded Software - VisionFive - Mender - Yocto a screenshot of a computer
Part 4 - Create an artifact for mender

Part 4 of a series of articles, how to set up a Yocto environment to create a Yocto Linux with the integration of a Mender client.