当前位置:网站首页>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 .
边栏推荐
- Exploration and practice of inress in kubernetes
- 我在中山,到哪里开户比较好?实际上网上开户安全么?
- Redis startup and library entry
- 指定的服务已标记为删除
- 超详细黑苹果安装图文教程送EFI配置合集及系统
- S7-1500plc simulation
- Adjacency matrix undirected graph (I) - basic concepts and C language
- 印象深刻的bug汇总(持续更新)
- Impressive bug summary (continuously updated)
- GID:旷视提出全方位的检测模型知识蒸馏 | CVPR 2021
猜你喜欢

Matrix of numpy

C summary of knowledge points 1

Interpretation of R & D effectiveness measurement framework
![[MCU] [nixie tube] nixie tube display](/img/5e/9e14302b4e4f5e03601392ac90479d.png)
[MCU] [nixie tube] nixie tube display

Skip the test cases to be executed in the unittest framework

S7-1500PLC仿真

陈珙:微服务,它还那么纯粹吗?

How to set decimal places in CAD

CAD如何設置標注小數比特

用实际例子详细探究OpenCV的轮廓检测函数findContours(),彻底搞清每个参数、每种模式的真正作用与含义
随机推荐
强大、好用、适合程序员/软件开发者的专业编辑器/笔记软件综合评测和全面推荐
如何看懂开发的查询语句
Uniapp uses uni upgrade Center
CPI tutorial - asynchronous interface creation and use
Acly and metabolic diseases
Redis启动与库进入
自定义 grpc 插件
力扣首页简介动画
Abbirb120 industrial robot mechanical zero position
[classic example] classic list questions @ list
redis常识
uniapp 使用 uni-upgrade-center
openinstall:微信小程序跳转H5配置业务域名教程
Xiaomi mobile phone unlocking BL tutorial
redis中value/set
Neo4j Chinese developer monthly - issue 202206
C summary of knowledge points 3
2022/6/28学习总结
使用set_handler过滤掉特定的SystemC Wraning &Error Message
About keil compiler, "file has been changed outside the editor, reload?" Solutions for