.. _yocto-wrynose-setup: BSP Setup ========= Setting up Git -------------- If not already done, setup git with the commands below: .. prompt:: :prompts: $ 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 :doc:`Building Images <../build/index>`). Clone the NXP BSP repository (``karo-nxp-bsp``) and check out the Wrynose release branch: .. prompt:: :prompts: $ 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 :doc:`VS Code + DevContainer <../dev-setup/vscode/index>`). Installing bitbake-setup ------------------------ The ``bitbake-setup`` tool is installed via ``pip``, preferably in a Python virtual environment: .. prompt:: :prompts: $ 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.