failed to generate/re-generate BSP with xilinx SDK (gui)

1,459 views
Skip to first unread message

vivozhang

unread,
Mar 31, 2018, 11:15:46 AM3/31/18
to open-amp
Environment:
  --  windows 10 home
  -- vivado 2016.4/ vivado 2017.4

I met a very strange issue. Everything works fine before until several days ago, I made some changes to the FPGA part and need to regenerate BSP (with openamp and libmetal library) with new hardware platform, I can not re-generate bsp. Every time I have openamp and libmetal library selected and click the "re-generate" bsp button on mss file page, the Xilinx SDK program runs into a dead lock. I have to use task manager to close the SDK.

I have been dealing with this issue for a few days, some of the tests include: 

  1. undo all changes to the FPGA part (git), use original hardware platform file (used to work ok for generating BSP) to generate BSP with openamp, not working.
  2. Install new version (2017.4) , start with a basic hello project, to generate BSP with openamp. not working
 3. generate bsp without openamp or libmetal. works OK.
 4. install vivado/sdk in linux, everything works OK.
 5. use xsct  (in windows, same hardware platform) to geneate BSP and project file, with openamp and libmetal, works OK.

checking the SDK.log, the only fragment that may related to this issue:
21:24:51 INFO  : Successfully done setting XSCT server connection channel  
21:24:53 INFO  : Successfully done setting SDK workspace  
21:29:14 INFO  : Refreshed build settings on project test
22:04:11 ERROR : Error generating bsp sources: Failed in generating sources
22:04:11 ERROR : Failed to regenerate sources for BSP project standalone_bsp_0
org.eclipse.core.runtime.CoreException: Internal error occurred while generating bsp sources. Please check the SDK Log view for further details.
at com.xilinx.sdk.sw.ui.handlers.RegenBspSourcesHandler.internalGenerateBsp(RegenBspSourcesHandler.java:178)
at com.xilinx.sdk.sw.ui.handlers.RegenBspSourcesHandler.access$2(RegenBspSourcesHandler.java:163)
at com.xilinx.sdk.sw.ui.handlers.RegenBspSourcesHandler$1$1.run(RegenBspSourcesHandler.java:131)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
at com.xilinx.sdk.sw.ui.handlers.RegenBspSourcesHandler$1.run(RegenBspSourcesHandler.java:135)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
22:15:14 INFO  : Registering command handlers for SDK TCF services
22:17:44 INFO  : Result from executing command 'getProjects': RemoteSystemsTempFiles;base_wrapper_hw_platform_0;bsp0;standalone_bsp_0;test

I guess the problem is not related to the project file itself, is the problem of the operation system/SDK GUI, maybe java or cmake.. I donot know. 

Does anyone have any clue? 
 

sunnyl...@gmail.com

unread,
Apr 1, 2018, 9:08:02 PM4/1/18
to open-amp
It looks like the the issue is related to the tools, not sure if it is related to cmake as you said if you install vivado/sdk in linux, it works, and if you use xsct in windows it works.

I assume the issue is related to the SDK windowns gui?

Please use Xilinx support portal: https://www.xilinx.com/support.html#serviceportal

to submit your issue?

Best Regards,
Wendy

On Saturday, March 31, 2018 at 8:15:46 AM UTC-7, vivozhang wrote:
> Environment:
>   --  windows 10 home
>   -- vivado 2016.4/ vivado 2017.4
>
>
> I met a very strange issue. Everything works fine before until several days ago, I made some changes to the FPGA part and need to regenerate BSP (with openamp and libmetal library) with new hardware platform, I can not re-generate bsp. Every time I have openamp and libmetal library selected and click the "re-generate" bsp button on mss file page, the Xilinx SDK program runs into a dead lock. I have to use task manager to close the SDK.
>
>
> I have been dealing with this issue for a few days, some of the tests include: 
>
>
>   1. undo all changes to the FPGA part (git), use original hardware platform file (used to work ok for generating BSP) to generate BSP with openamp, not working.
>   2. Install new version (2017.4) , start with a basic hello project, to generate BSP with openamp. not working
>  3. generate bsp without openamp or libmetal. works OK.
>  4. install vivado/sdk in linux, everything works OK.
>  5. use xsct  (in windows, same hardware platform) to geneate BSP and project file, with openamp and libmetal, works OK.
>
>
> checking the SDK.log, the only fragment that may related to this issue:21:24:51 INFO  : Successfully done setting XSCT server connection channel  21:24:53 INFO  : Successfully done setting SDK workspace  21:29:14 INFO  : Refreshed build settings on project test22:04:11 ERROR : Error generating bsp sources: Failed in generating sources22:04:11 ERROR : Failed to regenerate sources for BSP project standalone_bsp_0org.eclipse.core.runtime.CoreException: Internal error occurred while generating bsp sources. Please check the SDK Log view for further details. at com.xilinx.sdk.sw.ui.handlers.RegenBspSourcesHandler.internalGenerateBsp(RegenBspSourcesHandler.java:178) at com.xilinx.sdk.sw.ui.handlers.RegenBspSourcesHandler.access$2(RegenBspSourcesHandler.java:163) at com.xilinx.sdk.sw.ui.handlers.RegenBspSourcesHandler$1$1.run(RegenBspSourcesHandler.java:131) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267) at com.xilinx.sdk.sw.ui.handlers.RegenBspSourcesHandler$1.run(RegenBspSourcesHandler.java:135) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)22:15:14 INFO  : Registering command handlers for SDK TCF services22:17:44 INFO  : Result from executing command 'getProjects': RemoteSystemsTempFiles;base_wrapper_hw_platform_0;bsp0;standalone_bsp_0;test
Reply all
Reply to author
Forward
0 new messages