UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

加速PetaLinux工程编译过程

回复
Highlighted
Xilinx Employee
发帖数: 29
注册日期: ‎02-16-2012

加速PetaLinux工程编译过程

 

加速PetaLinux工程编译过程

1: 使用local sstate。请参见下列readme.
2: 使用本地download目录,重新使用已经下载好的文件。请参见下列readme.
3: 关闭网络接口,如使用命令 ifconfig eth0 down.


By default petalinux uses sstate-cache and download mirrors from petalinux.xilinx.com
This README is for the users who uses tool completely offline.

Setting sstate cache

1) Extract the downloaded tar contents of sstate-cache at any location
2) run petalinux-config
-> Yocto Settings
->Local sstate feeds settings
->local sstate feeds url
(press Enter)
3) Provide the path of sstate-cache from above
Ex: /<path>/aarch64 for ZynqMP projects
/<path>/arm for Zynq projects
/<path>/mb-full for MB AXI full projects

4) Save the configurations to use the sstate-cache

Setting download mirror

1) Extract the downloaded tar contents of sstate-cache at any location
2) run petalinux-config
-> Yocto Settings
-> Add pre-mirror url
-> (press Enter)
Clear default value

3) Provide the path of sstate-cache from above
file://<path>/downloads for all projects

4) Save the configurations to use the download mirrors

5) Verify the changes in build/conf/plnxtool.conf
6) petalinux-build