cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor
1,053 Views
Registered: ‎02-24-2016

Error generating BSP for microblaze - "Couldn't figure out compiler's library directory" (Vivado 2018.2)

Jump to solution

Hi all,

 

I'm trying to start with microblaze now in vivado 2018.2. Unfortunately, when I try to create a helloworld application the SDK fails generating bsp and reports the following error:

 

16:06:48 ERROR	: (XSDB Server)ERROR: [Hsi 55-1545] Problem running tcl command ::sw_cpu_v2_7::generate : Couldn't figure out compiler's library directory
    while executing
"error "Couldn't figure out compiler's library directory" "" "hsi_error""
    (procedure "::sw_cpu_v2_7::generate" line 139)
    invoked from within
"::sw_cpu_v2_7::generate startup_config_microblaze_mcs_0_microblaze_I"
ERROR: [Hsi 55-1442] Error(s) while running TCL procedure generate()
16:06:48 ERROR	: (XSDB Server)ERROR: [Hsi 55-1450] Error: running generate_bsp.
16:06:48 ERROR	: Error generating bsp sources: Failed in generating sources

I seems like the microblaze compiler is not set properly. I followed exactly same steps with same project (migrated) in vivado 2017.2 and I can generate BSP, no problem there.

I found a related post HERE. However it is quite old already and it does not say how to change the compiler!

 

Any guesses?

 

Thanks,

Garbí

 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Contributor
Contributor
1,015 Views
Registered: ‎02-24-2016

All right, I found the issue (duhhh...):

* the compiler for microblaze was not installed!

 

I figure it out when running again the installer. The 'check box' for the microblaze compiler was not checked. To fix the issue:

- Open Vivado --> Help --> Add Design Tools or Devices

- Installation dialog, Select Extra Content --> Select missing compilers...

 

Vivado 2018.2 Installer - Select Extra Content_001.png

 

I hope this helps others with similar tendency to make dummy mistakes...

Thanks!

Garbí

View solution in original post

0 Kudos
2 Replies
Highlighted
Contributor
Contributor
1,046 Views
Registered: ‎02-24-2016

I just wanted to add that this error also occurs with the given template for Microblaze (example design). I can't generate any kind of BSP.

I use Ubuntu 16.04 and Vivado 2018.2. I regularly update my workstation.

* What can be 'broken' in my installation/setup?

 

Thanks again,

Garbí

0 Kudos
Highlighted
Contributor
Contributor
1,016 Views
Registered: ‎02-24-2016

All right, I found the issue (duhhh...):

* the compiler for microblaze was not installed!

 

I figure it out when running again the installer. The 'check box' for the microblaze compiler was not checked. To fix the issue:

- Open Vivado --> Help --> Add Design Tools or Devices

- Installation dialog, Select Extra Content --> Select missing compilers...

 

Vivado 2018.2 Installer - Select Extra Content_001.png

 

I hope this helps others with similar tendency to make dummy mistakes...

Thanks!

Garbí

View solution in original post

0 Kudos