RNX-RZG2UL-OSM Yocto Linux: Difference between revisions

From Ronetix's Wiki
Jump to navigation Jump to search
(Move "Programming Images" to a separate page)
(Fix bad Yocto link)
Line 34: Line 34:


More details about the Yocto Environment Setup can be found  
More details about the Yocto Environment Setup can be found  
[https://www.yoctoproject.org/docs/2.6/brief-yoctoprojectqs/brief-yoctoprojectqs.html#brief-build-system-packages on the Yocto official site]
[https://docs.yoctoproject.org/brief-yoctoprojectqs/index.html on the Yocto official site]


= Download Yocto based on Renesas Verified Linux Package =
= Download Yocto based on Renesas Verified Linux Package =

Revision as of 10:06, 9 November 2023


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-RZG2UL-OSM CPU module using:

Yocto Linux Kernel U-BOOT
Poky 5.10.184 2021.10

Learn more about Yocto

Installing required packages

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

$ sudo apt-get install gawk wget git diffstat unzip texinfo gcc-multilib \
build-essential chrpath socat cpio python3 python3-pip python3-pexpect \
xz-utils debianutils iputils-ping libsdl1.2-dev xterm

$ sudo apt-get install autoconf libtool libglib2.0-dev libarchive-dev python-git-doc \
sed cvs subversion coreutils texi2html docbook-utils \
help2man make gcc g++ desktop-file-utils libgl1-mesa-dev libglu1-mesa-dev \
mercurial automake groff curl lzop asciidoc u-boot-tools dos2unix mtd-utils pv \
libncurses5 libncurses5-dev libncursesw5-dev libelf-dev zlib1g-dev bmap-tools

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

Download Yocto based on Renesas Verified Linux Package

$ 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/rzg_vlp.git
$ cd rzg_vlp

Setup and build Yocto

$ TEMPLATECONF=$PWD/meta-renesas/meta-rzg2l/docs/template/conf/ source poky/oe-init-build-env build
$ MACHINE=rnx-rzg2ul-osm bitbake core-image-bsp

Build Results

The resulted images are located in tmp/deploy/images/rnx-rzg2ul-osm

Programming Images

See also