Skip to content

Commit

Permalink
scripts: Add run-xsdb.tcl
Browse files Browse the repository at this point in the history
Adresses: JTAG Bootstrap package: xmd program discontinued #72

Signed-off-by: Michael Hennerich <[email protected]>
  • Loading branch information
mhennerich committed Nov 15, 2023
1 parent 036b9a3 commit 0ecb139
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 $^

Expand Down
18 changes: 18 additions & 0 deletions scripts/run-xsdb.tcl
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0ecb139

Please sign in to comment.