QS95-9610

For details see the Yocto Guide.

Build and flash quick guide

This is a summary of the steps to setup your Yocto Development Environment and be able to create and flash images.

Just copy&paste the commands. The whole process usually takes less than 10 minutes.

1. Setup Git

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

2. Get BSP configuration

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

Open with VS Code and continue with the instructions provided by the README.md (Recommended) and skip to Step 7

code .

or continue with the legacy instructions below.

3. Check System requirements - Supported Linux Distributions

Refer to Yocto Wrynose Reference Manual - System Requirements for details

Ubuntu 26.04

Ubuntu 24.04 (LTS)

Ubuntu 22.04 (LTS)

Debian GNU/Linux 13 (Trixie)

Debian GNU/Linux 12 (Bookworm)

Debian 11

√

√

√

√

√

not supported

4. Host PC

Use either a Linux PC or Windows Subsystem for Linux (WSL)

5. Install required packages

Refer to Yocto Wrynose Reference Manual - Required Packages for details

sudo apt update
sudo apt-get install build-essential chrpath cpio debianutils diffstat file gawk gcc git \
iputils-ping libacl1 libcrypt-dev locales python3 python3-git python3-jinja2 python3-pexpect \
python3-pip python3-subunit socat texinfo unzip wget xz-utils zstd
sudo locale-gen en_US.UTF-8
sudo apt install python-is-python3

6. Setup bitbake-setup

Install the bitbake-setup tool in a python virtual environment

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

7. Setup BSP

bitbake-setup init

Follow the instructions to setup the sources and your build directory. Choose the karo-minimal distro.

8. Source into the build environment

As noted by bitbake-setup

. /workspaces/karo-nxp-bsp/bitbake-builds/karo-minimal-qs95-9610-wrynose/build/init-build-env

9. Build

bitbake karo-image-minimal

10. Flash the module

Refer to Enabling USB-Bootmode and UUU - Universal Update Utility for details

Close the Bootmode Jumper (Bootmode: USB) - Reset the Board

Linux PC

cd tmp/deploy/images/qs95-9610/karo-image-minimal
wget https://github.com/nxp-imx/mfgtools/releases/download/uuu_1.5.243/uuu
chmod a+x uuu
sudo ./uuu -v

Windows PC - Windows Subsystem for Linux (WSL)

Linux uuu fails with a USB device attached to WSL. Use Windows uuu.exe instead.

cp -r tmp/deploy/images/qs95-9610/karo-image-minimal /mnt/c/
cd /mnt/c/karo-image-minimal
wget https://github.com/nxp-imx/mfgtools/releases/download/uuu_1.5.243/uuu.exe

Open a Windows cmd shell:

cd /d c:\\karo-image-minimal
uuu -v

If programming fails, simply retry uuu without resetting the board.