This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
resources:tools-software:linux-software:build-the-zynq-boot-image [24 Sep 2019 17:16] Adrian Costina Added cygwin specific configuration |
resources:tools-software:linux-software:build-the-zynq-boot-image [10 Jan 2022 09:20] Stefan-Robert Raus [Usage] |
||
---|---|---|---|
Line 34: | Line 34: | ||
<code> | <code> | ||
- | usage: build_boot_bin.sh system_top.hdf u-boot.elf [output-archive] | + | usage: build_boot_bin.sh system_top.xsa u-boot.elf [output-archive] |
</code> | </code> | ||
- | * Path to ''system_top.hdf'' 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 XSDK 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: | ||
<code> | <code> | ||
- | $ source /opt/Xilinx/Vivado/201x.x/settings64.sh | + | $ source /opt/Xilinx/Vivado/202x.x/settings64.sh |
</code> | </code> | ||
Line 49: | Line 49: | ||
<code> | <code> | ||
- | export PATH=$PATH:/cygdrive/c/Xilinx/Vivado/201x.x/bin | + | export PATH=$PATH:/cygdrive/c/Xilinx/Vivado/202x.x/bin |
- | export PATH=$PATH:/cygdrive/c/Xilinx/SDK/201x.x/bin | + | export PATH=$PATH:/cygdrive/c/Xilinx/SDK/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 ]] | ||
<WRAP left tip round box 100%>**NOTE: u-boot.elf**\\ | <WRAP left tip round box 100%>**NOTE: u-boot.elf**\\ |