...
| Code Block |
|---|
|
build_script -hw <path to HDF> -apps <list of apps to be built> -package |
...
- Set boot mode to JTAG mode. See page 232
- Power on the Board
- Source the jtag_boot.tcl from the same directory it was created in
Creating a BOOT.BIN file:
This script also supports the creation of a BOOT.BIN file from the auto-generated boot images.
| Code Block |
|---|
| language | c# |
|---|
| title | create boot image |
|---|
|
source xsct_script.tcl
build_hw -hw <path to HDF> -apps <insert apps here> -boot |
For example:
| Code Block |
|---|
|
source xsct_script.tcl
build_hw -hw design_1_wrapper -apps zynqmp_fsbl zynqmp_pmufw -boot |
This will automatically generate an fsbl, pmufw. Then a BIF file will be generated, and bootgen will be called to create the BOOT.BIN file.