petalinux离线编译

发布时间 2023-04-25 11:18:11作者: sxxing

petalinux2022.2 离线编译包

1. 下载地址:https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/embedded-design-tools/2022-2.html
  打开网页,并在网页内搜索 “ sstate ”关键词找到下图所示位置,下载红色框中两个文件,分别保存到不通路径中。
  0
 
2. 解压两个文件,分别得到如下图所示文件:
  arm sstate-cache:
0
  downloads

 

 

离线编译步骤

1. 指定 arm sstate-cache 所在路径
  执行 petalinux-config
  -> Yocto Settings
    ->Local sstate feeds settings
      ->local sstate feeds url
  添加 arm 文件夹所在路径,如下:
0
 
2. 指定 downloads 所在路径
  执行 petalinux-config
  -> Yocto Settings
    -> Add pre-mirror url
  添加 downloads 文件夹所在路径,如下:
0
 
3. 开启 “Enable BB NO NETWORK”
  执行 petalinux-config,打开下图红框中选项

 
4. 此时即可离线编译