Xilinx Software Command-Line Tool (XSCT)

https://www.xilinx.com/html_docs/xilinx2017_3/SDK_Doc/xsct/intro/xsct_introduction.html
Graphical development environments such as the Xilinx® Software Development Kit (Xilinx SDK) are useful for getting up to speed on development for a new processor architecture. It helps to abstract away and group most of the common functions into logical wizards that even the novice can use. However, scriptability of a tool is also essential for providing the flexibility to extend what is done with that tool. It is particularly useful when developing regression tests that will be run nightly or running a set of commands that are used often by the developer.

Xilinx Software Command-line Tool (XSCT) is an interactive and scriptable command-line interface to Xilinx SDK. As with other Xilinx tools, the scripting language for XSCT is based on Tools Command Language (Tcl). You can run XSCT commands interactively or script the commands for automation. XSCT supports the following actions:
Create hardware, board support packages (BSPs), and application projects
Manage repositories
Set toolchain preferences
Configure and build BSPs/applications
Download and run applications on hardware targets
Create and flash boot images by running Bootgen and program_flash tools.
This reference guide is intended to provide information you need to develop scripts for software development and debug targeting the Xilinx family of processors.

As you read the document you will notice usage of some abbreviations for various products produced by Xilinx. For example:
Use of ps7 in the source code implies that these files are targeting the Zynq® - 7000 AP SoC family of products, and specifically the dual-core Cortex™ ARM® A9 processors in the SoC.
Use of psu in the source code implies that this code is targeting a Zynq UltraScale+™ MPSoC device, which contains a Cortex Quad-core ARM A53, dual-core ARM R5, ARM Mali 400 GPU, and a MicroBlaze™ processor based platform management unit (PMU).
Hardware definition files (HDF) are used to transfer the information about the hardware system that includes a processor to the embedded software development tools such as Xilinx SDK (XSDK) and Xilinx Software Command-Line Tools (XSCT). It includes information about which peripherals are instantiated, clocks, memory interfaces, and memory maps.
Microprocessor Software Specification (MSS) files are used to store information about the BSP. They contain OS information for the BSP, software drivers associated with each peripheral of the hardware design, STDIO settings, and compiler flags like optimization and debug information level

google翻译:
Xilinx软件命令行工具(XSCT)
诸如Xilinx®软件开发套件(Xilinx SDK)等图形开发环境对于快速开发新的处理器架构非常有用。它有助于抽象并将大多数常见功能组合成逻辑向导,即使是初学者也可以使用。但是,工具的可编程性对于提供扩展该工具的灵活性也是必不可少的。在开发将每晚运行的回归测试或运行开发人员经常使用的一组命令时,它尤其有用。

Xilinx软件命令行工具(XSCT)是Xilinx SDK的交互式脚本命令行界面。与其他Xilinx工具一样,XSCT的脚本语言基于工具命令语言(Tcl)。您可以交互方式运行XSCT命令,也可以编写自动化命令脚本。XSCT支持以下操作:
创建硬件,板级支持包(BSP)和应用程序项目
管理存储库
设置工具链首选项
配置和构建BSP /应用程序
在硬件目标上下载并运行应用程序
通过运行Bootgen和program_flash工具创建和刷新启动映像。
本参考指南旨在提供开发针对Xilinx系列处理器的软件开发和调试脚本所需的信息。

在阅读本文档时,您会注意到Xilinx生产的各种产品的缩写。例如:
使用ps7源代码意味着这些文件针对Zynq® - 7000 AP SoC系列产品,并在SoC特别是双核Cortex™ARM®A9处理器。
使用的psu源代码中的指的是此代码的目标是一个ZYNQ的UltraScale +™片上多核装置,其包含的Cortex四核ARM A53,双核ARM R5,ARM马里400 GPU,和一个的MicroBlaze™处理器基于平台管理单元( PMU)。
硬件定义文件(HDF)用于将包含处理器的硬件系统的信息传输到嵌入式软件开发工具,如Xilinx SDK(XSDK)和Xilinx软件命令行工具(XSCT)。它包括有关实例化哪些外设,时钟,存储器接口和存储器映射的信息。
微处理器软件规范(MSS)文件用于存储有关BSP的信息。它们包含BSP的OS信息,与硬件设计的每个外围设备相关的软件驱动程序,STDIO设置以及优化和调试信息级别等编译器标志。

猜你喜欢

转载自blog.csdn.net/hbcbgcx/article/details/85000417