beautypg.com

Bsp-generate-files – Altera SoC Embedded Design Suite User Manual

Page 173

background image

Option

Required

Description

--get-all

No

This option shows all the BSP settings values.
When using

--get-all,

you must also use

--

show-names

.

--show-names

No

This option only takes effect when used

together with

--get

or

--get-all

.

When used with one of these options, names

and values of the BSP settings are shown side-

by-side.

Related Information

BSP Settings

on page 7-9

bsp-generate-files

The bsp-generate-files tool generates the files and settings stored in BSP settings file, as shown in the

following examples.

Example 7-5: Generating Files After BSP Creation

The following command creates a settings file based on the handoff folder, then generates the

Preloader source files based on those settings:

bsp-create-settings --type spl --bsp-dir . \
--settings settings.bsp \
--preloader-settings-dir \
../../hps_isw_handoff/
bsp-generate-files --settings settings.bsp --bsp-dir

Example 7-6: Generating Files After BSP Updates

bsp-update-settings --settings settings.bsp --set \
spl.debug.SEMIHOSTING 1
bsp-generate-files --settings settings.bsp --bsp-dir

Use the bsp-generate-files tool when BSP files need to be regenerated under one of the following

conditions:
bsp-create-settings creates the PSP, but the --bsp-dir parameter was not specified, so PSP files were

not generated.

bsp-update-settings updates the PSP, but the --bsp-dir parameter was not specified, so the files were

not updated.

• You want to ensure the BSP files are up-to-date

7-8

bsp-generate-files

ug-1137

2013.05.03

Altera Corporation

HPS Preloader User Guide

Send Feedback