Project

General

Profile

Yocto » History » Revision 8

Revision 7 (Alex Seferidis, 07/15/2025 11:58 AM) → Revision 8/14 (Alex Seferidis, 07/15/2025 11:59 AM)

# 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 

 2. Locate at github and git clone required layers (kirkstone branch) 

 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) 

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

 4. Execute from terminal: 

 ``` 
 cd /poky  
 . oe-init-build-env build-rockchip/ 
 ``` 

 5. 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) 

 <img src="Yocto.png" width="30%"> width="70%"> 

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

 7. execute: 
 ``` 
 bitbake core-image-minimal 
 ``` 

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