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
Using Xilinx Tools Forum How .bsp files is added in SDK
  • 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 4 replies
  • Subscribers 336 subscribers
  • Views 1678 views
  • Users 0 members are here
Related

How .bsp files is added in SDK

Former Member
Former Member over 9 years ago

Hello

I made my project on vivado 2015.3 then export the project to sdk.

I downloaded the predefined Bsp file Petalinux2014.4 Board Support Package for the Avnet/Digilent Zedbard .BSP
from the following link
http://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/embedded-design-tools/2014-4.html

Can anyone explain or Any tutorial which show how can i add this BSP in my project so that I can make FSBL for my project.

I am using windows 7 machine
thanks

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 9 years ago

    Umer,

      PetaLinux requires a Linux host to operate, you cannot use it on a Windows 7 host natively.  To begin, you need to download the PetaLinux tool chain from Xilinx and install it on a Linux host.  If you do not have a separate Linux machine, you can download VirtualBox and create a Linux Virtual Machine on your Windows 7 host.  There are instructions on Zedboard.org under the Mini-ITX reference designs for installing VirtualBox and Linux.  For instructions on using the PetaLinux toolchain, see UG1144 and UG1156 from Xilinx.

    A PetaLinux project is based on the hardware description file exported from Vivado.  You can create a Petalinux project from scratch, and import the hdf file, which generates the BSP (including the FSBL) for your software design.  No use of the SDK is needed.  If you are using a BSP, the hdf has already been imported, and you can build a working software design for the target immediately (or use the pre-built files in the BSP to validate your hardware setup).

    One other note, you should match the version of PetaLinux to the version of Vivado you are working with.  PetaLinux is released every 6 months, on even releases, so if you are using Vivado 2015.3, you should be using the tool chain and BSPs for PetaLinux 2015.2.  Older versions might work, but you are just introducing additional complexity that could cause you grief in your development.

    Ron

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to Former Member

    Hello again
    As you suggested I moved from windows to ubuntu.
    I installed following softwares
    1.vivado 2015.2
    2.petalinux-v2015.2.1
    3.Avnet-DIgilent-Zedboard-V2015.2.1.bsp

    but I want to make my own Bsp,  I export the hardware to SDK. 
    after that add the following repositories from the menu
    xilinx tools
    /opt/petalinux-v2015.2.1/components/edk_user_repositotry
    But it give me devicetree as OS platform not petalinux.
    where I am doing mistake??
    thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to Former Member

    Hi,

    I have the same issue.

    If you have found the solution, please share.

    Thx.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • zedhed
    0 zedhed over 9 years ago

    Hi Folks,

    The PetaLinux BSP is not used with Xilinx SDK for the manner which you are indicating, nor can Xilinx SDK be used to create a PetaLinux BSP for the manner in which you are indicating.

    There are two different approaches that I see being made here:

    1) Trying to use a pre-built BSP to build PetaLinux for a target board
    2) Trying to create your own PetaLinux BSP

    For #1, using a pre-built BSP to build PetaLinux for a target board, first be sure you are understanding the overall PetaLinux build:

    http://www.wiki.xilinx.com/PetaLinux+Getting+Started

    Then follow the instructions found in UG976 in the section "BSP Installation Procedure" to create a PetaLinux project derived from the BSP for your board:

    http://www.xilinx.com/support/documentation/sw_manuals/petalinux2013_10/ug976-petalinux-installation.pdf

    For #2, creating your own PetaLinux BSP, I suggest following the directions of UG980 to first target your board:

    http://www.xilinx.com/support/documentation/sw_manuals/petalinux2014_2/ug980-petalinux-board-bringup.pdf

    Once you have a working PetaLinux project from which you wish to derive a BSP, package the hardware source and PetaLinux settings into a BSP package output using this petalinux-package command:

    $ petalinux-package --bsp -p <PETALINUX_PROJECT_NAME> --hwsource <VIVADO_PROJECT_FOLDER>/ --output $<PETALINUX_PROJECT_NAME>

    This will pack everything into a .BSP file which you (or another developer) can then use as a pre-built PetaLinux BSP for #1 above.

    We have automated this process in-house for our SOMs so if you want to see what is done for that, take a look at our PetaLinux BSP build scripts over on our Github:

    https://github.com/Avnet/software/tree/master/petalinux/scripts

    Regards,

    -Kevin

    • 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