element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
MiniZed Hardware Design Error at exporting Minized BSP 2020.2 hardware xpr
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 2 replies
  • Subscribers 338 subscribers
  • Views 1991 views
  • Users 0 members are here
Related

Error at exporting Minized BSP 2020.2 hardware xpr

Sungwoo
Sungwoo over 3 years ago

When exporting 2020.2 xpr at Vivado, following error comes up.

ERROR: [Common 17-53] User Exception: Specified ip cache dir /home/training/Projects/bsp_build_tests/test_tag/minized_sbc_base/hdl/projects/minized_sbc_base_2020_2/minized_sbc_base.cache/ip does not exist. Unable to copy into Shell.

To replicate, here is steps based on Ubuntu 20.04

~/Downloads$ tar -xf minized_sbc_base_2020_2.tar.gz

$ source ~/petalinux/settings.sh
$ petalinux-create -t project -s ~/Downloads/minized_sbc_base_2020_2.bsp

At Vivado 2020.2, open project at /hardware/minized_sbc_base_2020_2/minized_sbc_base.xpr

Then File/Export/Export Platform, select Next, select Hardware, select include bitstream, select Next, Next, Finish.
Then above error pops up.



I want to modify the design and export to xsa but the error is blocking. Any advice ?

  • Sign in to reply
  • Cancel

Top Replies

  • narrucmot
    narrucmot over 3 years ago +1
    This bogus IP cache path is unfortunately hard-coded in the minized_sbc_base.xpr Vivado project file and is an artifact of when the Vivado project was first created in the /home/training/Projects/bsp_build_tests…
  • narrucmot
    0 narrucmot over 3 years ago

    This bogus IP cache path is unfortunately hard-coded in the minized_sbc_base.xpr Vivado project file and is an artifact of when the Vivado project was first created in the /home/training/Projects/bsp_build_tests/test_tag/minized_sbc_base/hdl/projects/minized_sbc_base_2020_2 folder.  The only way I know to fix this is to edit the  minized_sbc_base.xpr Vivado project file and change the bogus path to be relative to where the project currently is.  Here are the steps for this:

    1. Close the project in Vivado
    2. Open the xpr file in your favorite text editor and look for the "DSAIpCacheDir" setting
    3. Change it to a relative path:
      <Option Name="DSAIpCacheDir" Val="./minized_sbc_base.cache/ip"/>
      NOTE: Be careful and don't make any other edits!
    4. Save and close the xpr file
    5. Open the project in Vivado
    6. Export the new xsa file

    BTW, Xilinx UG896 says changing this path is not possible (Ch. 2, pg. 14 "the caching directory is local to the project (project_name.ip_cache)and the location cannot be changed"), but manually changing it in the xpr file seemed to work for me.  I don't know if it may cause other problems.  Hopefully not!  Let us know if this works for you!

    --Tom

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Sungwoo
    0 Sungwoo over 3 years ago in reply to narrucmot

    Hi Tom,

    Thanks for the solution and it works !.  I put absolute path on the DSAlpCacheDir and it successfully exported xsa and futher down, 'petalinux-config --get-hw-dewscription' works also fine.  I still see issue on relative path though... 

    Sungwoo

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube