11-09-2020 11:26 AM
I've seen discussions about this topic, such as this one. But I'm still confused and got errors when configuring the kernel after set the Yocto options as stated. I'm running PetaLinux 2020.1 and my downloaded sstate files are in /opt/xilinx/PetaLinux/2020.1/sstate, in which I have 3 folders: arm, aarch64, and downloads (empty).
1. What is the pre-mirror url pointing to? Should it be an empty/writable folder or should I put something inside? I pointed it to /opt/xilinx/PetaLinux/2020.1/sstate/downlods.
2. I pointed local sstate feeds url to /opt/xilinx/PetaLinux/2020.1/sstate/arm for my zynq project.
3. I selected Enable BB NO NETWORK.
4. When running petalinux-config -c kernel, I got errors:
......
Checking sstate mirror object availability: 100% |############################################| Time: 0:00:00 Sstate summary: Wanted 44 Found 44 Missed 0 Current 0 (100% match, 0% complete) NOTE: Executing Tasks ERROR: Network access disabled through BB_NO_NETWORK (or set indirectly due to use of BB_FETCH_PREMIRRORONLY) but access requested with command /usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate -P /home/data/fpga/exer/dma/dma-single-fifo/software/dma/build/downloads 'http://petalinux.xilinx.com/sswreleases/rel-v2020/downloads/git2_github.com.Xilinx.linux-xlnx.git.tar.gz' (for url http://petalinux.xilinx.com/sswreleases/rel-v2020/downloads/git2_github.com.Xilinx.linux-xlnx.git.tar.gz) ERROR: Logfile of failure stored in: /home/liji/data/fpga/exer/dma/dma-single-fifo/software/dma/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/linux-xlnx/5.4+gitAUTOINC+22b71b4162-r0/devtooltmp-3zs10x1y/temp/log.do_fetch.30281 NOTE: Tasks Summary: Attempted 14 tasks of which 13 didn't need to be rerun and 1 failed. ERROR: Extracting source for linux-xlnx failed ERROR: Failed to config kernel.
Should I download something else (linux-xlnx.git.tar.gz?) as well to make petalinux to work offline completely?
11-18-2020 10:51 AM - edited 11-18-2020 10:56 AM
Hi @azzzztec
The instructions on correctly setting up the sstate-cache in Petalinux can be found at:
The sstate-cache archive and the downloads archive are available for download as two separate entities via https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/embedded-design-tools/2020-1.html
11-18-2020 09:13 AM
Anyone had/didn't have this problem?
11-18-2020 10:51 AM - edited 11-18-2020 10:56 AM
Hi @azzzztec
The instructions on correctly setting up the sstate-cache in Petalinux can be found at:
The sstate-cache archive and the downloads archive are available for download as two separate entities via https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/embedded-design-tools/2020-1.html
11-19-2020 11:48 AM
OK, so downloads is a file to be downloaded. That makes sense and it should solve my problem. Thank you.