Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
resources:tools-software:linux-software:build-the-zynq-boot-image [31 Jan 2023 08:10] – Replaced the obsolete Kuiper Linux page link Joyce Velascoresources:tools-software:linux-software:build-the-zynq-boot-image [20 Mar 2023 12:38] (current) – Mention Vitis and .xsa instead of SDK and .hdf Iulia Moldovan
Line 1: Line 1:
 ====== How to build the Zynq boot image BOOT.BIN ====== ====== How to build the Zynq boot image BOOT.BIN ======
  
-The boot image BOOT.BIN is build using the bootgen tool which requires several input files.\\+The boot image BOOT.BIN is built using the bootgen tool which requires several input files.\\
  
-Instructions on how to build the Hardware Description File (HDF) handover file can be found here:+Instructions on how to build the Xilinx Shell Archive (XSA) handover file can be found here:
  
-  * [[resources/fpga/docs/build|Building HDL]]+  * [[resources/fpga/docs/build|Building HDL]] projects
  
  
Line 16: Line 16:
 ===== Use script to build BOOT.BIN ===== ===== Use script to build BOOT.BIN =====
  
-For ease of use we provide a bash shell script which allows building BOOT.BIN from system_top.hdf and u-boot.elf+For ease of usewe provide a bash shell script which allows building BOOT.BIN from system_top.xsa and u-boot.elf
  
 ==== Download ==== ==== Download ====
Line 36: Line 36:
 usage: build_boot_bin.sh system_top.xsa u-boot.elf [output-archive] usage: build_boot_bin.sh system_top.xsa u-boot.elf [output-archive]
 </code> </code>
-  * Path to ''system_top.xsa'' and ''u-boot.elf'' are required parameters. +  * Path to ''system_top.xsa'' and ''u-boot.elf'' are required parameters 
-  * An optionally 3rd ''name'' parameter can be given to tar.gz the output directory(''name''.tar.gz) +  * An optionally 3rd ''name'' parameter can be given to tar.gz the output directory (''name''.tar.gz) 
-  * Build output is located in a local directory named: output_boot_bin. +  * Build output is located in a local directory named: output_boot_bin 
-  * This script requires Xilinx Vitis and bootgen in the PATH.\\+  * This script requires Xilinx Vitis and bootgen in the PATH
     * A simple way is to source vivado settings[32|64].sh:     * A simple way is to source vivado settings[32|64].sh:
  
Line 50: Line 50:
 <code> <code>
 export PATH=$PATH:/cygdrive/c/Xilinx/Vivado/202x.x/bin export PATH=$PATH:/cygdrive/c/Xilinx/Vivado/202x.x/bin
-export PATH=$PATH:/cygdrive/c/Xilinx/SDK/202x.x/bin+export PATH=$PATH:/cygdrive/c/Xilinx/Vitis/202x.x/bin
 </code> </code>
 There is also a version of script that works in Windows Powershell: [[ https://raw.githubusercontent.com/analogdevicesinc/wiki-scripts/master/zynq_boot_bin/build_boot_bin.ps1 | build_boot_bin.ps1 ]] There is also a version of script that works in Windows Powershell: [[ https://raw.githubusercontent.com/analogdevicesinc/wiki-scripts/master/zynq_boot_bin/build_boot_bin.ps1 | build_boot_bin.ps1 ]]
resources/tools-software/linux-software/build-the-zynq-boot-image.txt · Last modified: 20 Mar 2023 12:38 by Iulia Moldovan