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 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 No Bitstream File in Petalinux Build
  • 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 5 replies
  • Subscribers 307 subscribers
  • Views 3069 views
  • Users 0 members are here
Related

No Bitstream File in Petalinux Build

apadana1984
apadana1984 over 4 years ago

Hi,

 

I am building a Petlinux 2020 project for my Minized board using Avnet BSPs. I get the following Warning:

 

iman@DESKTOP-6SCK4QO:~/SPEEDER$ petalinux-build -c avnet-image-full

INFO: sourcing build tools

[INFO] building avnet-image-full

[INFO] sourcing build environment

[INFO] generating user layers

[INFO] generating workspace directory

INFO: bitbake avnet-image-full

Parsing recipes: 100% |################################################################################################| Time: 0:01:27Parsing of 2991 .bb files complete (0 cached, 2991 parsed). 4260 targets, 198 skipped, 0 masked, 0 errors.

NOTE: Resolving any missing task queue dependencies

Initialising tasks: 100% |#############################################################################################| Time: 0:00:07Checking sstate mirror object availability: 100% |#####################################################################| Time: 0:00:35Sstate summary: Wanted 1749 Found 1311 Missed 438 Current 40 (74% match, 75% complete)

NOTE: Executing Tasks

NOTE: Setscene tasks completed

NOTE: linux-xlnx: compiling from external source tree /home/iman/SPEEDER/components/yocto/workspace/sources/linux-xlnx

WARNING: bitstream-extraction-git-r0 do_package: bitstream-extraction: NOT adding alternative provide /boot/bitstream-extraction.bit: /boot/download-r0.bit does not exist

WARNING: xilinx-bootbin-1.0-r0 do_configure: Empty file /home/iman/SPEEDER/build/tmp/deploy/images/minized/download-minized.bit, excluding from bif file

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

 

 

Summary: There were 2 WARNING messages shown.

INFO: Failed to copy built images to tftp dir: /tftpboot

[INFO] successfully built avnet-image-full

 

And I see there is no system.bit file in my images/linux folder:

 

iman@DESKTOP-6SCK4QO:~/SPEEDER$ ls images/linux

avnet-boot  image.ub      rootfs.manifest  rootfs.wic  u-boot.bin  uImage   zImage

boot.scr    pxelinux.cfg  rootfs.tar.gz    system.dtb  u-boot.elf  vmlinux  zynq_fsbl.elf

 

However, when I am not using Avnet BSP, the bitstream file is in this folder. What am I missing?

 

Is there a simple "LED blinker linux"  example project for the Minized board using Vivado/Petalinux 2020.1? I am having difficulties with the old training files.

 

Thank you

  • Sign in to reply
  • Cancel

Top Replies

  • apadana1984
    apadana1984 over 4 years ago +1
    narrucmot @bartosz Thank you Tom and Bartosz. I noticed I had removed some packages during my Vivado installation due to lack of enough space. I allotted more memory to my dual boot Ubuntu and re-installed…
  • bartokon
    bartokon over 4 years ago

    petalinux-build -c image-avnet-minimal should generate basic elements like system.bit. Did you try that?

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

    Thank you. I did try it and it says command not found. It doesn't recognize "image-avnet-minimal" while it recognizes "image-avnet-full"!!!

    I finally installed Linux on my machine. I am following your post "https://www.hackster.io/bartosz-rycko/minized-2020-1-getting-started-pynq-b39925 ". When I run ./make_minized.sh, it gives me the following error:

     

    me@my_machine:~/Avnet20201/petalinux/scripts$ ./make_minized.sh

     

    Verifying repositories ...

     

     

    Checking Environment (Xilinx tools sourced) ...

     

     

    Checking 'minized_petalinux/MINIZED_2020_1' Vivado Project ...

     

     

    No built Vivado HW project minized_petalinux/MINIZED_2020_1 found.

    Will build the hardware platform now.

     

     

    ****** Vivado v2020.1 (64-bit)

      **** SW Build 2902540 on Wed May 27 19:54:35 MDT 2020

      **** IP Build 2902112 on Wed May 27 22:43:36 MDT 2020

        ** Copyright 1986-2020 Xilinx, Inc. All Rights Reserved.

     

    source make_minized_petalinux.tcl

    # set argv [list board=MINIZED project=minized_petalinux sdk=no close_project=yes version_override=yes]

    # set argc [llength $argv]

    # source ./make.tcl -notrace

     

    *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

    *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

    *-                                                     -*

    *-        Welcome to the Avnet Project Builder         -*

    *-                                                     -*

    *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

    *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

     

    BDF path set to /home/me/Avnet20201/bdf

     

     

     

    +------------------+------------------------------------+

    | Setting          |     Configuration                  |

    +------------------+------------------------------------+

    | Board            |     MINIZED                        |

    +------------------+------------------------------------+

    | Project          |     minized_petalinux              |

    +------------------+------------------------------------+

    | SDK              |     no                             |

    +------------------+------------------------------------+

    | No Close Project |     yes                            |

    +------------------+------------------------------------+

    | Version override |     yes                            |

    +------------------+------------------------------------+

     

     

     

    Overriding Version Check, Please Check the Design for Validity!

     

     

    *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

    Selected Board and Project as:

    MINIZED and minized_petalinux

    *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

     

     

    Not Requesting Tag

    Setting Up Project minized_petalinux...

     

    ***** Creating Vivado Project...

    ERROR: [Common 17-539] Failed to load tclapp initializer can't find package ::tclapp::support::appinit 1.2 from '/home/me/.Xilinx/Vivado/2020.1/XilinxTclStore'

    ERROR: [Common 17-69] Command failed: ERROR: [Common 17-539] Failed to load tclapp initializer can't find package ::tclapp::support::appinit 1.2 from '/home/me/.Xilinx/Vivado/2020.1/XilinxTclStore'

     

     

        while executing

    "source ./ProjectScripts/$project.tcl -notrace"

        ("MINIZED" arm line 2)

        invoked from within

    "switch -nocase $board {

       PZ7015_FMCCC               -

       PZ7030_FMCCC               -

       PZ7010_FMC2                -

       PZ7020_FMC2                ..."

        (file "./make.tcl" line 358)

     

        while executing

    "source ./make.tcl -notrace"

        (file "make_minized_petalinux.tcl" line 56)

    INFO: [Common 17-206] Exiting Vivado at Fri Oct 16 12:58:03 2020...

     

     

    I followed exactly what they say in UG1144 and your post. I am giving up on Avnet!

     

    Thank you

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

    Hello Iman,

     

    I am sorry you are having trouble building the 2020.1 MiniZed BSP.  Thank you for including the log of the error message.

     

    In addition to building the PetaLinux OS image, the make_minized.sh build script will first check to see if the required underlying Zynq hw platform for the MiniZed exists.  This needs to be done before the OS image build can begin, and if it doesn't exist the script will call the Vivado tools to build it.  That is what is happening here.  Vivado is trying to build the hw platform and has failed. This error message indicates something has gone with the Vivado build.  This Xilinx forum article references an older version of the Vivado tools, but might still be relevant.  It indicates the issue might be with a environment variable for TCLLIBPATH that conflicts with Vivado:

    https://forums.xilinx.com/t5/Installation-and-Licensing/quot-Common-17-539-quot-error-when-starting-up-Vivado-2015-2-or/td-p/726525

     

    Could this be your issue?  Do you have this TCLLIBPATH environment variable set?

     

    --Tom

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

    Hmm, If Avnet script doesn't work you could use clean Minized 2020.1 bsp generated by Avnet's script, and use that for building system and PYNQ for Minized. BSP should be at the bottom of hackster project.

     

    Also, you could download PYNQ image from Xilinx github and run setup_host.sh script, it should download some libraries for Vivado, and try to re-run one more time make_minized.sh.

    By the way I was using Ubuntu 18.04.5 LTS for all these projects and used setup guide for Vivado/Petalinux and ran all necessary commands.

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

    narrucmot

    @bartosz

     

    Thank you Tom and Bartosz. I noticed I had removed some packages during my Vivado installation due to lack of enough space. I allotted more memory to my dual boot Ubuntu and re-installed everything and ran the Avnet scripts today. It worked perfect and generated the BSP files. Now, it is time to build my own hardware and Linux application.

    • Cancel
    • Vote Up +1 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