Project

General

Profile

Yocto » History » Version 14

Alex Seferidis, 07/17/2025 11:27 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 14 Alex Seferidis
Attention: Make sure to clone " **kirkstone** " branch, as on any of the other layers
8 1 Alex Seferidis
9 14 Alex Seferidis
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 12 Alex Seferidis
After these steps a first image is created, but we must build the right kernel and u-boot for our device
44
Image files located at /data/Yocto/poky/build-rockchip/latest
45 13 Alex Seferidis
<img src="roofs.png" width="50%">
46 1 Alex Seferidis
47
Note:
48
if bitbake fails with error at QT then go to "07. SDK QT5" folder