This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
resources:tools-software:linux-drivers:platforms:zynq [05 Apr 2021 10:47] – Ioana Chelaru | resources:tools-software:linux-drivers:platforms:zynq [31 Jan 2023 09:40] (current) – Replaced the obsolete Kuiper Linux page link Joyce Velasco | ||
---|---|---|---|
Line 75: | Line 75: | ||
===== Alternative method of building the Zynq boot image ===== | ===== Alternative method of building the Zynq boot image ===== | ||
- | {{page>resources/tools-software/linux-software/build-the-zynq-boot-image& | + | {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: | ||
+ | |||
+ | * [[resources/fpga/docs/ | ||
+ | |||
+ | |||
+ | All further steps are lengthy explained on the [[http:// | ||
+ | |||
+ | * [[http:// | ||
+ | * Make sure you checkout the proper git tag matching your Vivado Version (xilinx-v2018.2, | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | ===== 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, | ||
+ | |||
+ | ==== Download ==== | ||
+ | |||
+ | The script can be downloaded from here: | ||
+ | |||
+ | * [[https:// | ||
+ | |||
+ | |||
+ | < | ||
+ | < | ||
+ | $ chmod +x build_zynqmp_boot_bin.sh | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ==== Usage ==== | ||
+ | |||
+ | |||
+ | < | ||
+ | usage: build_zynqmp_boot_bin.sh system_top.xsa u-boot.elf (download | bl31.elf | <path-to-arm-trusted-firmware-source> | ||
+ | </ | ||
+ | * Path to '' | ||
+ | * The 3rd argument must either be '' | ||
+ | * An optionally 4th '' | ||
+ | * Build output is located in a local directory named: output_boot_bin. | ||
+ | * This script requires Xilinx Vitis and bootgen in the PATH.\\ | ||
+ | * A simple way is to source vivado settings[32|64].sh for Linux: | ||
+ | < | ||
+ | $ source / | ||
+ | </ | ||
+ | |||
+ | * When using **cygwin**, you can add the following in the ~/.bashrc configuration file: | ||
+ | |||
+ | < | ||
+ | export PATH=$PATH:/ | ||
+ | export PATH=$PATH:/ | ||
+ | export PATH=$PATH:/ | ||
+ | </ | ||
+ | |||
+ | <WRAP left tip round box 100%> | ||
+ | For those who don't want to build u-boot themselves.\\ | ||
+ | The **u-boot.elf** can be extracted from the project folder on the [[: | ||
+ | |||
+ | </ | ||
===== Build and install the kernel image ===== | ===== Build and install the kernel image ===== | ||
Line 263: | Line 326: | ||
* [[resources: | * [[resources: | ||
* [[resources: | * [[resources: | ||
- | * [[resources: | + | * AD-FMCOMMS5-EBZ User Guide |
* [[resources: | * [[resources: | ||
* [[resources: | * [[resources: |