Project

General

Profile

Yocto » History » Version 2

Alex Seferidis, 07/15/2025 11:49 AM

1 1 Alex Seferidis
# Yocto
2
3
1. Follow Yocto documentation to git clone Poky repository
4
5
https://docs.yoctoproject.org/brief-yoctoprojectqs/index.html
6
7
Attention: Make sure to clone "kirkstone" branch, as on any of the other layers
8
9
2. Locate at github and git clone required layers (kirkstone branch)
10
11
meta-rockchip (https://github.com/JeffyCN)
12
meta-openembedded (github)
13
meta-qt5 (use provided files)
14
meta-python2 (github)
15
meta-clang (github)
16
meta-rtlwifi (use provided files)
17
18
3. Copy cgroups.cfg to meta-rockchip/recipes-kernel/linux/files
19
20
4. Execute from terminal:
21
22
```
23
cd /poky 
24
. oe-init-build-env build-rockchip/
25
```
26
27
5. copy bblayers.conf to build-rockchip/conf folder
28
copy local.conf to build-rockchip/conf folder
29
copy ddutil to meta-rockchip/recipes-devtools
30
copy librkcrypto to meta-rockchip/recipes-devtools
31
32
Yocto folders must be like in this image (do not clone deleted folders)
33 2 Alex Seferidis
![](Yocto.png)
34 1 Alex Seferidis
35
6. copy linux-rockchip_4.19.bb to meta-rockchip/recipes-kernel/linux
36
37
7. execute:
38
```
39
bitbake core-image-minimal
40
```
41
42
Note:
43
if bitbake fails with error at QT then go to "07. SDK QT5" folder