bsp - 2024.2 English

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
Release Date
2024-11-13
Version
2024.2 English

Configure BSP settings of a baremetal domain

Table 1. bsp- Configure BSP settings of a baremetal domain
XSCT methods Arguments Corresponding Python API Arguments Comments
bsp config <param> <value> set_config

Required Arguments:

  • Option

    = <"lib"/"os"/"proc">

    Valid options are "lib"/"os"/"proc".

  • param_value

    = [key1:value1, key2:value2, **]

    List of key:value pairs to be set. Use list_param("lib"/"os"/"proc") to get the list of configurable parameters.

Optional Arguments:

lib_name= <lib_name>

Library name in case 'lib' option is selected.

 
getdrives -dict Return the result as <IP-name driver:version> pairs.

(No support for this in Python CLI)

domain.get_drivers None  
getlibs -dict Return the result as <lib-name version> pairs domain.get_libs    
getos -dict Return the result as <os-name version> pair domain.get_os    
listparams

-lib <lib-name> Return the configurable parameters of the library in BSP

-os Return the configurable parameters of the OS in BSP

-proc Return the configurable parameters of the processor in BSP.

domain.list_params Required Arguments

option = <"lib"/"os"/"proc">

Valid options are "lib"/"os"/"proc"

Optional Arguments

lib_name = <lib_name>

Library name if 'lib' option is selected

 
regenerate   domain.regenerate    
reload       No support in Python CLI
write       No support in Python CLI
removelib   domain.remove_lib   Required Arguments:

lib_name = <lib_name> Library to be added to the BSP settings

setdriver

-driver <driver-name> Driver to be assigned to an IP

-ip <ip-name> IP instance for which the driver has to be added.

-ver <version> Driver version.

domain.update_path

In the following arguments, option is supposed to be set to 'DRIVER', for setdriver

option = <'OS'/'DRIVER'/'LIBRARY'> Valid options are 'OS', 'DRIVER' and 'LIB'

name = <OS/Driver/Library name> Name of the OS/Driver/Library

new_path = <OS/Driver/Library path> New path to be set for the mentioned OS/Driver/Library

In Python CLI, instead of version, path is to be passed.
setlib

-name <lib-name> Library to be added to the BSP settings. This is the default option, so lib-name can be directly specified as an argument without usingthis option.

-ver <version> Library version.

domain.update_path

In the following arguments, option is supposed to be set to 'LIBRARY', for setlib

option = <'OS'/'DRIVER'/'LIBRARY'> Valid options are 'OS', 'DRIVER' and 'LIB'

name = <OS/Driver/Library name> Name of the OS/Driver/Library

new_path = <OS/Driver/Library path> New path to be set for the mentioned OS/Driver/Library

In Python CLI, instead of version, path is to be passed.
setosversion

-ver <version> OS version.

domain.update_path In the following arguments, option is supposed to be set to 'OS', for setosversion

option = <'OS'/'DRIVER'/'LIBRARY'> Valid options are 'OS', 'DRIVER' and 'LIB'

name = <OS/Driver/Library name> Name of the OS/Driver/Library

new_path = <OS/Driver/Library path> New path to be set for the mentioned OS/Driver/Library

In Python CLI, instead of version, path is to be passed.