当前位置:网站首页>Build yocto system offline for i.mx8mmini development board
Build yocto system offline for i.mx8mmini development board
2022-07-01 11:58:00 【mucheni】
because yocto Most of the required software packages are stored on foreign websites , Domestic download is slow , In order to facilitate everyone to build a file system , We will
The software package downloaded online before construction is packaged in advance . Directory is “i.MX8MM Development board \02-i.MX8MM Development board network disk
Data summary ( No CD content )\08_i.MX8MM Development board Yocto System construction materials \Yocto System source code package ”, Here, the volume is compressed into several
Parts of , Download and decompress and use . If you don't need it, you don't need to download it for the time being . As shown in the figure below :

(1) adopt SSH Send the compressed package to ubuntu Of “/home” Under the table of contents . As shown in the figure below :

(2) Then use the command “tar xvf Yocto_20210715.tar.gz” Command decompression Yocto Source code , As shown in the figure below :

(3) Then execute the following command to modify the permissions of the specified file , As shown in the figure below :
sudo chmod -R 777 imx-yocto-bsp/

(4) Finally, use the following command to enter the extracted Yocto Source folder . As shown in the figure below :
cd imx-yocto-bsp/

(5)i.MX A script is provided fsl-setup-release.sh, Can be simplified i.MX Machine settings . The script sets the directory and refers to
Set the configuration files of the machine and the backend . Let's enter the following command :
DISTRO=fsl-imx-xwayland MACHINE=imx8mmevk source fsl-setup-release.sh -b build-xwayland

(6) We choose to compile an image , Enter the following command . This process takes a long time , Please be patient , There will be more than ten hours , And the net
speed , electric brain with Set up , virtual quasi machine with Set up Yes Turn off , in between Yes Out wrong love condition can use , Ctrl+C end stop , Again Time send use “ bitbake
fsl-image-qt5-validation-imx” structure ,yocto Will skip the work that has been completed before , Go ahead with the task .
bitbake fsl-image-qt5-validation-imx

Entering the following command will rebuild the image , The rebuild process takes a long time , Please be patient .
bitbake fsl-image-qt5-validation-imx -c compile
(7) The images generated by compilation are “imx-yocto-bsp/build-xwayland/tmp/deploy/images/imx8mmevk” Under the table of contents , We
Use command “cd tmp/deploy/images/imx8mmevk” You can view it , As shown in the figure below :

In the generated file , Some are linked files , Here are the purposes of different documents :
file name purpose
*.rootfs.manifest ⽂ List of software in the system
*.rootfs.ext4 Pack it up ext4 Format ⽂ Piece system
*.rootfs.sdcard Can be directly to write ⼊ SD card , from SD Card started image
*.rootfs.tar.bz2 Pack it up tar.bz2 Format ⽂ Piece system
*.rootfs.tar.xz Pack it up tar.xz Format ⽂ Piece system
imx-boot-imx8mmevk-sd.bin Suitable for SD and emmc Starting up u-boot Mirror image
There are different formats uboot, kernel , Device tree , File system mirroring . We only use “tar.bz2” The format is just .
We will fsl-image-qt5-validation-imx-imx8mmevk-20210715012231.rootfs.tar.bz2 File copy to Linux Source code rootfs Compile under directory .
边栏推荐
- Building external modules
- 图的理论基础
- Kafuka learning path (I) Kafuka installation and simple use
- 博途V15添加GSD文件
- 内核同步机制
- About keil compiler, "file has been changed outside the editor, reload?" Solutions for
- ES6 promise Usage Summary
- Redis common sense
- Introduction to unittest framework and the first demo
- Comment Nike a - t - il dominé la première place toute l'année? Voici les derniers résultats financiers.
猜你喜欢

Exposure: a white box photo post processing framework reading notes
![[MCU] [nixie tube] nixie tube display](/img/5e/9e14302b4e4f5e03601392ac90479d.png)
[MCU] [nixie tube] nixie tube display

Learning summary on June 30, 2022

Neo4j Chinese developer monthly - issue 202206

Harbor webhook from principle to construction

博途V15添加GSD文件

Istio, ebpf and rsocket Broker: in depth study of service grid

Rural guys earn from more than 2000 a month to hundreds of thousands a year. Most brick movers can walk my way ǃ

Chen Gong: Micro service, is it still so pure?

二叉堆(一) - 原理与C实现
随机推荐
Test case writing specification in unittest framework and how to run test cases
ACLY与代谢性疾病
Golang introduces the implementation method of the corresponding configuration file according to the parameters
用实际例子详细探究OpenCV的轮廓检测函数findContours(),彻底搞清每个参数、每种模式的真正作用与含义
对于mvvm和mvc的理解
Skip the test cases to be executed in the unittest framework
Comment Nike a - t - il dominé la première place toute l'année? Voici les derniers résultats financiers.
Why does the JVM heap memory exceed 32g and pointer compression fail?
Extended tree (I) - concept and C implementation
Dataset partitioning script for classification tasks
Dlhsoft Kanban, Kanban component of WPF
Epoll introduction
redis中value/SortedSet
Vscode shortcut key (the most complete) [easy to understand]
耐克如何常年霸榜第一名?最新财报答案来了
Kernel synchronization mechanism
redis中value/list
8 best practices to protect your IAC security!
图的理论基础
二叉堆(一) - 原理与C实现