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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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
FPGA
  • Technologies
  • More
FPGA
Forum Minized BSP 2019.2 error
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join FPGA to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 10 replies
  • Answers 4 answers
  • Subscribers 558 subscribers
  • Views 3019 views
  • Users 0 members are here
  • minized_petalinux
  • petalinux
  • bsp
  • minized
Related

Minized BSP 2019.2 error

bartokon
bartokon over 5 years ago

Hi,

 

I have downloaded minized BSP for 2019.2 version but I couldn't build it.

Petalinux throws me an error while building:

 

[INFO] building project

[INFO] sourcing bitbake

[INFO] generating user layers

[INFO] generating workspace directory

INFO: bitbake petalinux-user-image

ERROR:  OE-core's config sanity checker detected a potential misconfiguration.

    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).

    Following is the list of potential problems / advisories:

 

    Failed to create a file in SSTATE_DIR: Permission denied.

You could try using /home/training/git/avnet/petalinux/scripts/../cache/2019_2/sstate_arm in SSTATE_MIRRORS rather than as an SSTATE_CACHE.

 

I tried to find solution on my own but without luck.

Can someone point me to right direction or provide solution?

 

Thanks!

  • Sign in to reply
  • Cancel

Top Replies

  • bartokon
    bartokon over 5 years ago +1 verified
    I have commented last two lines in /project-spec/meta-user/conf/petalinuxbsp.conf like this: #DL_DIR = "/home/training/git/avnet/petalinux/scripts/../cache/2019_2/downloads" #SSTATE_DIR = "/home/training…
  • narrucmot
    narrucmot over 5 years ago +1 suggested
    This is error is an unforeseen artifact of creating this BSP with the Avnet build script ( Using Avnet Build Scripts to Build a PetaLinux BSP (2019.2 and earlier) ). The script makes changes to the <>…
  • narrucmot
    narrucmot over 5 years ago in reply to bartokon +1
    The PetaLinux 2020.1 BSPs for all of the Zed and UltraZed SOMs and SBCs are being developed now. I suspect the error you are seeing may have something to do with something that has changed in the tools…
Parents
  • narrucmot
    0 narrucmot over 5 years ago

    This is error is an unforeseen artifact of creating this BSP with the Avnet build script (Using Avnet Build Scripts to Build a PetaLinux BSP (2019.2 and earlier) ).  The script makes changes to the <>/project-spec/configs/config and <>/project-spec/meta-user/conf/petalinuxbsp.conf files to allow the BSPs to build faster using the local DL_DIR and SSTATE_DIR  folders. This is described in this Element14 blog article Accelerating PetaLinux BSP Build Time .  I forgot to 'undo' these file edits before posting this BSP online.  Your fix to comment these lines in the petalinuxbsp.conf file is the correct one.  I am sorry for the inconvenience.  This will be fixed in future BSPs and in the build scripts.

     

    --Tom

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • jchang_endiag
    0 jchang_endiag over 4 years ago in reply to narrucmot

    I still see this error with uz7_evcc_2020_1.tar.gz, which shows last modified November 6, 2020.  Could someone verify that it has been fixed for future BSPs?

     

    Thanks.

    Joe

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • jchang_endiag
    0 jchang_endiag over 4 years ago in reply to narrucmot

    I still see this error with uz7_evcc_2020_1.tar.gz, which shows last modified November 6, 2020.  Could someone verify that it has been fixed for future BSPs?

     

    Thanks.

    Joe

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
  • narrucmot
    0 narrucmot over 4 years ago in reply to jchang_endiag

    Hi Joe,

     

    We are planning to fix this for the upcoming 2020.2 BSPs and also add some other enhancements to aid rebuilding the BSP.  In the meantime the fix is still to manually edit the
    <project root>/project-spec/meta-user/conf/petalinuxbsp.conf file and comment out the "DL_DIR" and "SSTATE_DIR" lines.

     

    --Tom

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject 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