element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
MiniZed Hardware Design MiniZed Petalinux 2010.1
  • 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
  • Replies 15 replies
  • Subscribers 324 subscribers
  • Views 1947 views
  • Users 0 members are here
Related

MiniZed Petalinux 2010.1

bigguiness
bigguiness over 4 years ago

Hello all,

 

I'm following this, Minized getting started 2020.1 + PYNQ setup , to try and figure out the Petalinux 2010.1 workflow with a MiniZed board.

 

During the "Building project..." stage I got a WARNING and ERROR about speexdsp-1.2rc3-r0 not being found.

 

After quite a while (where I assume it was building the packages) I got this:

 

NOTE: Tasks Summary: Attempted 4686 tasks of which 3322 didn't need to be rerun and all succeeded.

 

Summary: There was 1 WARNING message shown.

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

ERROR: Failed to build avnet-image-full

 

It's still building but I was wondering how I can fix the WARNING/ERROR and how do you do a rebuild without going through the initial part that builds seems to build the Vivado part?

 

Thanks

  • Sign in to reply
  • Cancel

Top Replies

  • bhfletcher
    bhfletcher over 4 years ago in reply to bigguiness +1
    That ( 2020p1_minized_20201104_065342 ) is not the correct tag. Please try refreshing your checkout. I think you may have pulled a preliminary version. You can see the correct tags documented in this blog…
  • bigguiness
    bigguiness over 4 years ago

    Well.. the build appears to be stuck here:

     

    NOTE: Resolving any missing task queue dependencies

    Initialising tasks: 100% |###################################################################################################################################################################################| Time: 0:00:18

    Checking sstate mirror object availability: 100% |###########################################################################################################################################################| Time: 0:00:33

    Sstate summary: Wanted 210 Found 25 Missed 185 Current 1179 (11% match, 86% complete)

    NOTE: Executing Tasks

    NOTE: Setscene tasks completed

    Currently  1 running tasks (4166 of 4645)  89% |#########################################################################################################################################################                  |

    0: linux-xlnx-5.4+gitAUTOINC+22b71b4162-r0 do_compile - 2h12m31s (pid 9082)

     

    It's been at 89% for about an hour. I'm leaving it running for now to see if it ever finishes.

     

    Any ideas...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • narrucmot
    narrucmot over 4 years ago

    Hi Hartley,

     

    You are correct that the MiniZed BSP build script also builds the underlying hw platform in Vivado.  The build script senses if the hw project has been built and runs Vivado in the background to build it.  This also means that the hw project only has to be built once.  The next time the BSP build script is run it will just grab the Vivado xsa and bitstream files and import them into the PetaLinux project.  This saves significant time.

     

    A PetaLinux build requires an active internet connection, and the "ERROR about speexdsp-1.2rc3-r0 not being found" error you mention could be the result of a few things:

    • Your internet connection having problems
    • The server where the speexdsp package is hosted is having internet connection problems
    • The speexdsp package files have moved to a different server, or the version has changed, but the package build recipe has not be updated

     

    Sometimes this warning/error will fix itself on a retry of the build.  Quite often this error will fix itself (e.g. the package recipe will find alternate hosting sites for the package sources) while the BSP is being built. 

     

    --Tom

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • narrucmot
    narrucmot over 4 years ago in reply to bigguiness

    It appears the build task it is stuck is on compiling the kernel.  Depending on your PC resources (RAM, CPU cores, etc.) it can take a long time to complete some build tasks like compiling the kernel.

     

    --Tom

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • bigguiness
    bigguiness over 4 years ago in reply to narrucmot

    Should I just kill the build and run the ./make_minized.sh script again?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • narrucmot
    narrucmot over 4 years ago in reply to bigguiness

    Killing the PetaLinux build is sometimes tricky.  It does not like to be killed and will often hang.  If you do that you should reboot to be sure there aren't any stray processes still running.

     

    --Tom

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • bigguiness
    bigguiness over 4 years ago in reply to narrucmot

    Hmmm. A Ctrl-C didn't kill the build. It appears to have restarted it.

     

    Looking at the log it looks like it has restarted a couple times. Is this normal?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • bigguiness
    bigguiness over 4 years ago in reply to bigguiness

    The ./make_minized.sh script finally finished but I did a Ctrl+C a number of times when it appeared to hang while compiling the kernel. Not sure what effect that will have.

     

    I think running the script again and just letting it try to finish overnight may be worthwhile. What is the best way to ensure that the build is clean?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • narrucmot
    narrucmot over 4 years ago in reply to bigguiness

    The best way to do a clean and rebuild is the following concatenated (&&) commands:

    $ petalinux-build -x mrproper --force && petalinux-build

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • narrucmot
    narrucmot over 4 years ago in reply to bigguiness

    The BSP build script will retry the 'petalinux-build' step once on a failure:

    # Sometimes the build fails because of fetch or setscene issues, so we try another time

    petalinux-build -c ${PETALINUX_BUILD_IMAGE} || petalinux-build -c ${PETALINUX_BUILD_IMAGE}

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • bigguiness
    bigguiness over 4 years ago in reply to narrucmot

    A second run of the ./make_minized.sh script went much better.

     

    It actually renamed the first project directory and created a new one but it finished with no issues in less than an hour.

     

    Now I have a stupid question.... What do I need to do to boot the created files?

     

    I would like to jtag boot the board first to make sure it works then I would like to put the new files on the MiniZed eMMC and boot it normally.

     

    Thanks for the help trying to figure this out. I still don't quite get how petalinux works (I'm more familiar with Buildroot) but at least I'm getting something to start with.

     

    Hartley

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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