BSP Setup

Setting up Git

If not already done, setup git with the commands below:

git config --global user.name "Your Name"
git config --global user.email "Your Email"
git config --list

BSP Checkout

Starting with Yocto Wrynose, the repo tool is no longer used. The BSP repository only contains the configuration metadata; the actual layers are checked out by the bitbake-setup tool during the build directory setup (see Building Images).

Clone the NXP BSP repository (karo-nxp-bsp) and check out the Wrynose release branch:

git clone https://github.com/karo-electronics/karo-nxp-bsp.git -b wrynose-2026-12
cd karo-nxp-bsp

Note

The branch wrynose-2026-12 is a release tag branch of the rolling wrynose branch. Use -b wrynose if you want to follow the latest Wrynose development state.

The repository contains:

  • configurations/default.conf.json — the bitbake-setup configuration template that defines which layers (OpenEmbedded, NXP, meta-karo-nxp, meta-karo-distro, …) are checked out and which machine/distro/baseboard combinations are available.

  • bitbake-builds/settings.conf — the bitbake-setup settings for this repository, pointing the registry at the local configurations directory. Build setups are created in the bitbake-builds directory.

  • .devcontainer — a ready-to-use VS Code DevContainer configuration (see VS Code + DevContainer).

Installing bitbake-setup

The bitbake-setup tool is installed via pip, preferably in a Python virtual environment:

python3 -m venv --clear ./bitbake-setup-venv
. ./bitbake-setup-venv/bin/activate
pip install bitbake-setup

Tip

To update bitbake-setup when already installed, run pip install --upgrade bitbake-setup.

Note

If errors occur during the build directory setup, try deleting the affected setup directory under bitbake-builds and running bitbake-setup init again.