Specifications
Note: You can select the operating system only at the time you create the BSP. To change operating
systems, you must create a new BSP.
• The operating system version.
• The name of the BSP settings file. It is created with file extension .bsp.
• Absolute or relative path names in the BSP settings file. By default, relative paths are enabled for
filenames in the BSP settings file.
• An optional Tcl script that you can run to supply additional settings.
Normally, you specify the path to your .sopcinfo file relative to the BSP directory. This enables you to
move, copy and archive the hardware and software files together. If you browse to the .sopcinfo file, or
specify an absolute path, the Nios II BSP Editor offers to convert your path to the relative form.
Using a Tcl Script in BSP Creation
When you create a BSP, the New BSP Settings File dialog box allows you to specify the path and filename
of a Tcl script. The Nios II BSP Editor runs this script after all other BSP creation steps are done, to
modify BSP settings.
This feature allows you to perform the following tasks:
• Recreate an existing BSP as a starting point for a new BSP
• Recreate a BSP on a different hardware platform
• Include custom settings common to a group of BSPs
The Tcl script can be created by hand or exported from another BSP.
Related Information
• Exporting a Tcl Script on page 2-19
For more information about how to create a Tcl script from an existing BSP.
• Nios II Software Build Tools on page 4-1
For more information about Tcl scripts and BSP settings, refer to "Tcl Scripts for BSP Settings".
BSP Validation Errors
If you modify a hardware system after basing a BSP on it, some BSP settings might no longer be valid.
This is a very common cause of BSP validation errors. Eliminating these errors usually requires correcting
a large number of interrelated settings.
If your modifications to the underlying hardware design result in BSP validation errors, the best practice
is to update or recreate the BSP. Updating and recreating BSPs is very easy with the BSP Editor.
If you recreate your BSP, you might find it helpful to capture your old BSP settings by exporting them to a
Tcl script. You can edit the Tcl script to remove any settings that are incompatible with the new hardware
design.
Related Information
• Using a Tcl Script in BSP Creation on page 2-20
For more information about how to run a Tcl script during BSP creation.
• Exporting a Tcl Script on page 2-19
For more information about how to create a Tcl script from an existing BSP.
• Nios II Software Build Tools on page 4-1
For more information about Tcl scripts and BSP settings, refer to "Tcl Scripts for BSP Settings".
2-20
Using a Tcl Script in BSP Creation
NII5V2
2015.05.14
Altera Corporation
Getting Started with the Graphical User Interface
Send Feedback