UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer hegau
Observer
209 Views
Registered: ‎03-27-2018

Vitis: customer platfrom not valid

With the update from Vivado 2019.1 to 2019 I have also to update my tcl-script to auto-generate the boot.bin file

My steps:

  1. open xsct
  2. set Workspace, setws $mySdkWorkspaceFolder
  3. Create Platfrom, platform create -name ${myHwProject} -hw ${myXsa} -proc {psu_cortexr5_0} -os {standalone}
  4. Create empty app, myRun "app create -name ${myRpuApp} -sysproj ${myRpuSystem} -platform ${myHwProject} -domain {standalone_domain} -proc psu_cortexr5_0 -os standalone -template {Empty Application} -lang {c++}"
  5. import sources, importsources -name ${myRpuApp} -path ${myAppProjectBackupFolder} -linker-script

When I open Vitis after this step, I can't see the platfrom but the system project and the app in the standalone_domain.

When I open the .sprj file I got the following error message

grafik.png

 

Do somebody knows what I'm doing wrong?

Thanks

0 Kudos
2 Replies
Highlighted
Observer hegau
Observer
135 Views
Registered: ‎03-27-2018

Re: Vitis: customer platfrom not valid

Now I found a working solution

  1. setws $mySdkWorkspaceFolder
  2. platform create -name ${myHwProject} -hw ${myXsa} -proc {psu_cortexr5_0} -os {standalone}
  3. platform read ${mySdkWorkspaceFolder}/${myHwProject}/platform.spr
  4. platform active ${myHwProject}
  5. domain active {standalone_domain}
  6. bsp setlib lwip211
  7. bsp config phy_link_speed CONFIG_LINKSPEED1000
  8. platform generate
  9. app create -name ${myRpuApp} -sysproj ${myRpuSystem} -platform ${myHwProject} -domain {standalone_domain} -proc psu_cortexr5_0 -os standalone -template {Empty Application} -lang {c++}
  10. importsources -name ${myRpuApp} -path ${myAppProjectBackupFolder} -linker-script
  11. sysproj clean -name ${myRpuSystem}
  12. sysproj build -name ${myRpuSystem}

 

Xilinx Employee
Xilinx Employee
75 Views
Registered: ‎12-21-2016

Re: Vitis: customer platfrom not valid

Hi,

For every change that you did to the platform, platform need to be built to proceed.

Thanks a lot for posting your solution.

Regards,
Raju
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.

0 Kudos