RNX-RZV2N-SMARC Yocto Linux

From Ronetix's Wiki
Jump to navigation Jump to search


Overview

The Yocto Project is an open source collaboration project that helps developers create custom Linux-based systems for embedded products, regardless of the hardware architecture.
This article show how to build Yocto Image for RNX-RZV2N-SMARC CPU module using:

Yocto Linux Kernel U-BOOT
Scarthgap 6.1.107 2024.07

Learn more about Yocto

Installing required packages

Please make sure your host PC is running Ubuntu 22.04+ 64-bit and install the following packages:

$ sudo apt-get install gawk wget git diffstat unzip texinfo gcc build-essential \
chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils \
iputils-ping python3-git python3-jinja2 python3-subunit zstd liblz4-tool file \
locales libacl1 bmap-tools

More details about the Yocto Environment Setup can be found on the Yocto official site

Download Yocto based on Renesas AI SDK v6.20

$ git config --global user.name "Your Name"
$ git config --global user.email "Your Email"
$ mkdir ~/yocto-renesas
$ cd ~/yocto-renesas
  • Download the Renesas Verified Linux Package
$ git clone https://github.com/ronetix/rzv_ai_sdk.git
$ cd rzv_ai_sdk

Setup and build Yocto

$ TEMPLATECONF=$PWD/meta-renesas/meta-rz-boards/conf/templates/rz-conf/ source poky/oe-init-build-env build
$ MACHINE=rnx-rzv2n-smarc bitbake core-image-weston

Build Results

The resulted images are located in tmp/deploy/images/rnx-rzv2n-smarc

Programming Images

See also