Project

General

Profile

Actions

Yocto » History » Revision 13

« Previous | Revision 13/14 (diff) | Next »
Alex Seferidis, 07/15/2025 12:27 PM


Yocto

  1. Follow Yocto documentation to git clone Poky repository

https://docs.yoctoproject.org/brief-yoctoprojectqs/index.html

Attention: Make sure to clone "kirkstone" branch, as on any of the other layers

  1. Locate at github and git clone required layers (kirkstone branch)
    (also use files from attached zip)

meta-rockchip (https://github.com/JeffyCN)
meta-openembedded (github)
meta-qt5 (use provided files)
meta-python2 (github)
meta-clang (github)
meta-rtlwifi (use provided files)

  1. Copy cgroups.cfg to meta-rockchip/recipes-kernel/linux/files

  2. Execute from terminal:

cd /poky 
. oe-init-build-env build-rockchip/
  1. copy bblayers.conf to build-rockchip/conf folder
    copy local.conf to build-rockchip/conf folder
    copy ddutil to meta-rockchip/recipes-devtools
    copy librkcrypto to meta-rockchip/recipes-devtools

Yocto folders must be like in this image (do not clone deleted folders)

Yocto
  1. copy linux-rockchip_4.19.bb to meta-rockchip/recipes-kernel/linux

  2. execute:

bitbake core-image-minimal

After these steps a first image is created, but we must build the right kernel and u-boot for our device
Image files located at /data/Yocto/poky/build-rockchip/latest

Note:
if bitbake fails with error at QT then go to "07. SDK QT5" folder

Updated by Alex Seferidis 5 months ago · 13 revisions