cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
317 Views
Registered: ‎08-07-2020

Command Line Tools in Vitis

I understand that prior to Vitis, Xilinix provided an SDK integrated both into Eclipse and as a command line tool suite. I'd like to use the command line interface, but I can't seem to install the tool suite separate than Vitis. I'm on a 64-bit Ubuntu machine with less than 50 GiB of space, so I can't install Vitis outright. Any suggestions? Thanks!

0 Kudos
4 Replies
Highlighted
Moderator
Moderator
217 Views
Registered: ‎11-04-2010

Installation size is a problem, but currently SDK cannot be installed independently.

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
168 Views
Registered: ‎08-07-2020

That's too bad =/ I'll buy a bigger harddrive I suppose. Once the whole suite is installed, do you know if it's possible to interface with the tools via the command line instead of through the GUI? Thanks.

0 Kudos
Highlighted
Moderator
Moderator
139 Views
Registered: ‎05-08-2012

A good reference for command line usage XSCT would be below:

https://www.xilinx.com/html_docs/xilinx2019_2/vitis_doc/Chunk464819247.html?hl=xsct

Also from the XSCT terminal, you can use the help commands, such as "help", and help "projects" to get more information.

---------------------------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
---------------------------------------------------------------------------------------------
0 Kudos
Highlighted
Moderator
Moderator
93 Views
Registered: ‎09-12-2007

The commandline tool you are referring to is the XSCT. The XSCT, Unfortunately, this cannot be installed on its own.

Yes, you can connect to the target in the XSCT, and debug from the command line tools.

For example, taking zynq ultrascale, we can do all this via the XSCT:

 

connect
 
# Add the Microblaze PMU to target
targets -set -nocase -filter {name =~ "PSU"}
mwr 0xFFCA0038 0x1FF
# Download PMUFW to PMU
target -set -filter {name =~ "MicroBlaze PMU"}
dow zynqmp_pmufw/executable.elf
con
 
# Configuring PSU
targets -set -nocase -filter {name =~ "PSU"}
source psu_init.tcl
psu_init
after 500
psu_post_config
after 500
psu_ps_pl_reset_config
after 500
psu_ps_pl_isolation_removal
after 500
 
# write bootloop and release A53-0 reset
targets -set -nocase -filter {name =~ "PSU"}
mwr 0xffff0000 0x14000000
mwr 0xFD1A0104 0x380E
 
# Download Hello World to A53 #0
targets -set -filter {name =~ "Cortex-A53 #0"}
dow hello_world/executable.elf
con
after 500
stop

 

You can add a breakpoint

  • bpadd -addr <addr, or symbol>

You can step, stop, resume ect

  • stpi, stp,con

 

0 Kudos