Specifications

--help: Displays basic information about this command and its options.
--jdi <filename>: The location of the JTAG Debugging Information File (.jdi) generated by the
Quartus II software. The .jdi file specifies the name-to-node mappings for the JTAG chain elements.
The tool inserts the JTAG Debugging Information File (.jdi) path in public.mk. If no .jdi path is
specified, the command searches the directory containing the SOPC Information File (.sopcinfo), and
uses the first .jdi file found.
--librarian-factory-path<directory> : Comma-separated librarian search path. Use $ for default
factory search path.
--librarian-path<directory> : Comma-separated librarian search path. Use $ for default search
path.
--log <filename>: Creates a debug log and write to specified file. Also logs debug information to
stdout.
--script <filename>: Run the specified Tcl script with optional arguments. Multiple --script
options are allowed.
--set <name> <value>: Sets the setting called <name> to <value>. Multiple --set options are
allowed.
--settings <filename>: File name of the BSP settings file to create. This file is created with a .bsp file
extension. It overwrites any existing settings file.
--silent: Suppresses information about the command's operation normally sent to stdout.
--sopc <filename>: The .sopcinfo file used to create the BSP.
--type <OS name>: BSP type. Use ? or types to list available BSP types for this option. Use names to
list the display names of available BSP types. For a Nios II DPX system, always set this argument to
lwhal.
--type-version <version>: BSP software component version. By default the latest version is used.
default value can be used to reset to this default behavior. Use ? to list available BSP types and
versions.
--verbose: Sends verbose output, and default information about the command's operation, to stdout.
--version: Displays the version of this command and exits with a zero exit status.
Description
If you use nios2-bsp-create-settings to create a settings file without any command-line options, Tcl
commands, or Tcl scripts to modify the default settings, it creates a settings file that fails when running
nios2-bsp-generate-files. Failure occurs because the nios2-bsp-create-settings command is able to create
reasonable defaults for most settings, but the command requires additional information for system-
dependent settings. The default Tcl scripts set the required system-dependent settings. Therefore it is
better to use default Tcl scripts when calling nios2-bsp-create-settings directly. For an example of how to
use the default Tcl scripts, refer to the nios2-bsp script.
If no command-line arguments are specified, this command returns an exit value of 1 and sends a help
message to stderr.
Note:
For more information about this command, use the --extended-help option to display
comprehensive usage information.
Example
nios2-bsp-create-settings --settings my_settings.bsp --sopc \
../my_sopc.sopcinfo --type hal --script default_settings.tcl
Related Information
Tcl Commands for BSP Settings on page 15-64
NII5V2
2015.05.14
nios2-bsp-create-settings
15-5
Nios II Software Build Tools Reference
Altera Corporation
Send Feedback