RNX-RZG2UL-OSM Yocto Linux: Difference between revisions
Jump to navigation
Jump to search
(Modify to use Template:SeeAlso) |
(Modify to skip Section Level 1 formatting) |
||
Line 2: | Line 2: | ||
{{#vardefine:URL_PEEDI|[https://ronetix.at/product/peedi-jtag-swd-bdm-emulator-and-flash-programmer/ PEEDI]}} | {{#vardefine:URL_PEEDI|[https://ronetix.at/product/peedi-jtag-swd-bdm-emulator-and-flash-programmer/ PEEDI]}} | ||
[[File:RNX-RZG2UL-OSM_top.png|thumb]] | [[File:RNX-RZG2UL-OSM_top.png|thumb]] | ||
= Overview = | == 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.<br> | 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.<br> | ||
This article show how to build Yocto Image for {{#var:HARDWARE_NAME}} CPU module using:<br> | This article show how to build Yocto Image for {{#var:HARDWARE_NAME}} CPU module using:<br> | ||
Line 18: | Line 18: | ||
[https://www.yoctoproject.org/docs/ Learn more about Yocto] | [https://www.yoctoproject.org/docs/ Learn more about Yocto] | ||
= Installing required packages = | == Installing required packages == | ||
Please make sure your host PC is running Ubuntu 20.04+ 64-bit and install the following packages: | Please make sure your host PC is running Ubuntu 20.04+ 64-bit and install the following packages: | ||
Line 36: | Line 36: | ||
[https://docs.yoctoproject.org/brief-yoctoprojectqs/index.html 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 v3.0.5 = | == Download Yocto based on Renesas Verified Linux Package v3.0.5 == | ||
$ git config --global user.name "Your Name" | $ git config --global user.name "Your Name" | ||
Line 48: | Line 48: | ||
$ cd rzg_vlp | $ cd rzg_vlp | ||
= Setup and build Yocto = | == Setup and build Yocto == | ||
$ TEMPLATECONF=$PWD/meta-renesas/meta-rzg2l/docs/template/conf/ source poky/oe-init-build-env build | $ TEMPLATECONF=$PWD/meta-renesas/meta-rzg2l/docs/template/conf/ source poky/oe-init-build-env build | ||
$ MACHINE=rnx-rzg2ul-osm bitbake core-image-bsp | $ MACHINE=rnx-rzg2ul-osm bitbake core-image-bsp |
Revision as of 16:50, 16 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 |
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 v3.0.5
$ 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