Project

General

Profile

Yocto » History » Version 7

Alex Seferidis, 07/15/2025 11:58 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 4 Alex Seferidis
34 7 Alex Seferidis
<img src="Yocto.png" width="70%">
35 1 Alex Seferidis
36
6. copy linux-rockchip_4.19.bb to meta-rockchip/recipes-kernel/linux
37
38
7. execute:
39
```
40
bitbake core-image-minimal
41
```
42
43
Note:
44
if bitbake fails with error at QT then go to "07. SDK QT5" folder