diff --git a/Makefile b/Makefile index 070cb562..0dc9c4b3 100644 --- a/Makefile +++ b/Makefile @@ -212,7 +212,7 @@ dfu-ram: build/$(TARGET).dfu dfu-util -D build/$(TARGET).dfu -a firmware.dfu dfu-util -e -jtag-bootstrap: build/u-boot.elf build/ps7_init.tcl build/system_top.bit scripts/run.tcl +jtag-bootstrap: build/u-boot.elf build/ps7_init.tcl build/system_top.bit scripts/run.tcl scripts/run-xsdb.tcl $(TOOLS_PATH) $(CROSS_COMPILE)strip build/u-boot.elf zip -j build/$(ZIP_ARCHIVE_PREFIX)-$@-$(VERSION).zip $^ diff --git a/scripts/run-xsdb.tcl b/scripts/run-xsdb.tcl new file mode 100644 index 00000000..b13ba7ae --- /dev/null +++ b/scripts/run-xsdb.tcl @@ -0,0 +1,18 @@ +## JTAG bootstrap u-boot for initial SF/SPI flash programming +## Use Xilinx System Debug Tool +## type: xsdb run-xsdb.tcl + +#fpga -f system_top.bit + +connect +target 2 + +rst + +source ps7_init.tcl +ps7_init +ps7_post_config + +dow u-boot.elf +con +disconnect