Quantcast
Channel: Altera Forums
Viewing all articles
Browse latest Browse all 19390

BSP-Generation: Problem find custom device drivers from command line

$
0
0
Hello!

I developed some own device drivers for some custom IPs. I added a _sw.tcl script to every device driver. Now I want to generate a bsp for a SOPC-Project from the command-line and the generation shall include my custom device drivers. For that I use commands like nios2-bsp-create-settings, nios2-bsp-generate-files, etc. This works fine, when I put my device drivers into the folder <AlteraInstallationDir>/ip/custom_drivers.
But I don't want to add them there, I want to place my own device drivers at another place. In the documentation I read:

Quote:

The root directory of the driver or software package is in one of the following
places:
■ In any directory included in the SOPC_BUILDER_PATH environment variable, or
in any directory located one level beneath such a directory. This approach is
recommended if your driver or software packages are installed in a
distribution you create.
■ In a directory named ip, one level beneath the Quartus II project directory
containing the design your BSP targets. This approach is recommended if your
driver or software package is used only once, in a specific hardware project.
The second option works, but I want to use the first one. But when I set the enviroment variable SOPC_BUILDER_PATH to my IP-Path and start the generation process, my custom device drivers are not found.
For example the SOPC_BUILDER_PATH variable is: "C:\User\myIP\". The root directiories of my IPs are stored beneath this folder.

Has someone used this option? Where is my mistake? Can someone help me?

Thanks a lot!
daniel123

QUARTUS VERSION: QUARTUS II 12.1 Web Edition Build 177

Viewing all articles
Browse latest Browse all 19390

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>