Specifications
Optional arguments:
• <sopc>: The path name of the .sopcinfo file. Alternatively, specify a directory containing a .sopcinfo file.
In the latter case, the tool finds a file with the extension .sopcinfo. This argument is ignored when
updating a BSP. If you omit this argument, it defaults to the current directory.
• <override>: Options to override defaults. The nios2-bsp script passes most overrides to nios2-bsp-
create-settings or nios2-bsp-update-settings. It also passes the --silent, --verbose, --debug, and
--log options to nios2-bsp-generate-files.
nios2-bsp passes the following overrides to the default Tcl script:
• --default_stdio <device>|none|DONT_CHANGE
Specifies stdio device.
• --default_sys_timer <device>|none|DONT_CHANGE
Specifies system timer device.
• --default_memory_regions DONT_CHANGE
Suppresses creation of new default memory regions when updating a BSP. Do not use this option
when creating a new BSP.
• --default_sections_mapping <region>|DONT_CHANGE
Specifies the memory region for the default sections.
• --use_bootloader 0|1|DONT_CHANGE
Specifies whether a boot loader is required.
On a preexisting BSP, the value DONT_CHANGE prevents associated settings from changing their
current value.
Note:
The "--" prefix is stripped when the option is passed to the underlying utility.
If no command-line arguments are specified, this command returns an exit value of 1 and sends a help
message to stderr.
nios2-bsp-console
Usage
nios2-bsp-console [--cmd <tcl> <command>] [--extended-help] [--gui]
[--help] [--script <filename>] [--version]
Options
• --cmd <tcl> <command>: Runs the specified Tcl command. Multiple --cmd options are allowed.
• --extended-help: Displays full information about this command and its options. Lists Altera BSP Tcl
command help for the --cmd and --script options
• --gui: This option opens a Tcl console for creating, editing, and generating Altera BSPs.
• --help: Displays basic information about this command and its options.
• --script <filename>: Run the specified Tcl script with optional arguments. Multiple --script
options are allowed.
• --version: Displays the version of this command and exits with a zero exit status.
NII5V2
2015.05.14
nios2-bsp-console
15-21
Nios II Software Build Tools Reference
Altera Corporation
Send Feedback