This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
resources:tools-software:linux-software:build-the-zynqmp-boot-image [06 Feb 2023 07:06] – Added details in the usage of the script to lessen plausible troubleshooting. ALEXIS CZEZAR TORRENO | resources:tools-software:linux-software:build-the-zynqmp-boot-image [20 Mar 2023 12:41] (current) – Mention .xsa instead of .hdf Iulia Moldovan | ||
---|---|---|---|
Line 3: | Line 3: | ||
The boot image BOOT.BIN is build using the bootgen tool which requires several input files.\\ | The boot image BOOT.BIN is build 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 |
- | * [[resources/ | + | * [[resources/ |
Line 11: | Line 11: | ||
* [[http:// | * [[http:// | ||
- | * Make sure you checkout the proper git tag matching your Vivado Version (xilinx-v2018.2, xilinx-v2017.4, ...) | + | * Make sure you checkout the proper git tag matching your Vivado Version (xilinx-v2022.2, xilinx-v2021.2, ...) |
* [[http:// | * [[http:// | ||
- | * [[http:// | + | * [[http:// |
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
Line 19: | Line 19: | ||
===== 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, u-boot.elf and either bl31.elf or a path to the Arm Trusted Firmware repository | + | For ease of use we provide a bash shell script which allows building BOOT.BIN from system_top.xsa, u-boot.elf and either bl31.elf or a path to the Arm Trusted Firmware repository |
==== Download ==== | ==== Download ==== | ||
Line 33: | Line 33: | ||
</ | </ | ||
</ | </ | ||
- | |||
Line 42: | Line 41: | ||
usage: build_zynqmp_boot_bin.sh system_top.xsa u-boot.elf (download | bl31.elf | < | usage: build_zynqmp_boot_bin.sh system_top.xsa u-boot.elf (download | bl31.elf | < | ||
</ | </ | ||
- | * Make sure that Vivado and Vitis is included in the path and a cross compiler for arm64 exist before running the script. For more information about cross compilers, see [[: | + | * Make sure that Vivado and Vitis is included in the path and a cross compiler for arm64 exists |
* Path to '' | * Path to '' | ||
* To find '' | * To find '' | ||
Line 51: | Line 50: | ||
* **BOOT.BIN** and other build output files are located at the newly created local directory named: output_boot_bin. | * **BOOT.BIN** and other build output files are located at the newly created 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 | + | * A simple way is to source |
< | < | ||
$ source / | $ source / |