This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
resources:tools-software:linux-software:build-the-zynq-boot-image [14 Feb 2018 11:40] – fixup Michael Hennerich | resources:tools-software:linux-software:build-the-zynq-boot-image [31 Jan 2023 08:10] – Replaced the obsolete Kuiper Linux page link Joyce Velasco | ||
---|---|---|---|
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 u-boot.elf | + | 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: | The script can be downloaded from here: | ||
Line 22: | Line 24: | ||
* [[https:// | * [[https:// | ||
- | | + | |
+ | < | ||
+ | < | ||
+ | $ chmod +x build_boot_bin.sh | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ==== Usage ==== | ||
< | < | ||
- | #chmod +x build_boot_bin.sh | + | usage: |
</ | </ | ||
+ | * Path to '' | ||
+ | * An optionally 3rd '' | ||
+ | * 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: | ||
< | < | ||
- | usage: build_boot_bin.sh system_top.hdf u-boot.elf [output-archive] | + | $ source / |
</ | </ | ||
- | | + | * When using **cygwin**, you can add the following |
- | * A simple way is to source vivado settings: | + | |
< | < | ||
- | # | + | export PATH=$PATH:/cygdrive/c/ |
+ | export PATH=$PATH:/ | ||
</ | </ | ||
+ | There is also a version of script that works in Windows Powershell: [[ https:// | ||
- | | + | < |
- | | + | For those who don't want to build u-boot themselves.\\ |
- | | + | The **u-boot.elf** can be extracted from the project folder on the [[: |
- | | + | </ |