Project

General

Profile

Yocto » History » Version 11

Alex Seferidis, 07/15/2025 12:18 PM

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 Alex Seferidis
  **(also use files from attached zip)**
11 1 Alex Seferidis
12
meta-rockchip (https://github.com/JeffyCN)
13
meta-openembedded (github)
14
meta-qt5 (use provided files)
15
meta-python2 (github)
16
meta-clang (github)
17
meta-rtlwifi (use provided files)
18
19
3. Copy cgroups.cfg to meta-rockchip/recipes-kernel/linux/files
20
21
4. Execute from terminal:
22
23
```
24
cd /poky 
25
. oe-init-build-env build-rockchip/
26
```
27
28
5. copy bblayers.conf to build-rockchip/conf folder
29
copy local.conf to build-rockchip/conf folder
30
copy ddutil to meta-rockchip/recipes-devtools
31
copy librkcrypto to meta-rockchip/recipes-devtools
32
33
Yocto folders must be like in this image (do not clone deleted folders)
34 4 Alex Seferidis
35 9 Alex Seferidis
<img src="Yocto.png" width="50%">
36 1 Alex Seferidis
37
6. copy linux-rockchip_4.19.bb to meta-rockchip/recipes-kernel/linux
38
39
7. execute:
40
```
41
bitbake core-image-minimal
42
```
43
44
Note:
45
if bitbake fails with error at QT then go to "07. SDK QT5" folder