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 Petalinux BSP and Vitis - Vivado 2020.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
  • State Not Answered
  • Replies 1 reply
  • Subscribers 323 subscribers
  • Views 2237 views
  • Users 0 members are here
Related

Petalinux BSP and Vitis - Vivado 2020.1

prateek.mohan1
prateek.mohan1 over 4 years ago

Hello, I am new to using the Zynq platform and I currently have all 2020.1 versions of the tools (Vivado, Vitis, Petalinux)

 

I got the 2020.1 BSP for the Minized from this link:

https://avtinc.sharepoint.com/teams/ET-Downloads/Shared%20Documents/Forms/AllItems.aspx?originalPath=aHR0cHM6Ly9hdnRpbmMuc2hhcmVwb2ludC5jb20vOmY6L3QvRVQtRG93bmxvYWRzL0VpYUJ6ZkRrRHI5Sm8yT1FONTJ6b1FzQkQxUkdEcUJIdDVtYTEwSjFzVWloVXc%5FcnRpbWU9TUQ2dGNZYTYyRWc&viewid=dba68156%2Dce4b%2D4ebb%2Db7a7%2Dec03b27b013d&id=%2Fteams%2FET%2DDownloads%2FShared%20Documents%2Fprojects%2Fpublic%5Frelease

 

From going to 2020.1 → BSP → minized_2020_1.tar.gz.

 

I was curious what the actual block diagram was for this, so I extracted the BSP and found the xpr (Vivado project) and opened it up and saw this:

 

image

I had a couple of questions from this point:

 

1. So I wanted to start small, and try controlling the PL_LED_G and PS_LED_R from the Linux operating system (just to get my feet wet) by writing some C code.

 

So, from the root of the petalinux BSP package (the directory where I see the folders components, project-spec, pre-built, etc.) I tried doing:

 

petalinux-boot --jtag --prebuilt 3

 

Because I wanted to boot into the linux OS through JTAG. I was able to boot up successfully but I don't think I have any of the gcc tools on my environment. Do I need to run petalinux-build and change some settings?

 

2. I also see videos where I can make a platform package in Vitis and I can test run C code (perhaps to do my controlling of PL_LED_G and PS_LED_R) from that but I'm not too sure how to make a platform package in Vitis by using the BSP I downloaded.

 

Thanks for the help!

 

Prateek

  • Sign in to reply
  • Cancel

Top Replies

  • narrucmot
    narrucmot over 4 years ago +1
    Hi Prateek, To make changes to the PetaLinux project you will need to first fun the shell script to set the PetaLinux environment varaiables, and then run petalinux-config. All of this is described in…
Parents
  • narrucmot
    0 narrucmot over 4 years ago

    Hi Prateek,

     

    To make changes to the PetaLinux project you will need to first fun the shell script to set the PetaLinux environment varaiables, and then run petalinux-config.  All of this is described in Xilinx UG1144:
    https://www.xilinx.com/support/documentation/sw_manuals/xilinx2020_1/ug1144-petalinux-tools-reference-guide.pdf

    Xilinx XAPP1165 may also be useful:
    https://www.xilinx.com/support/documentation/sw_manuals/xilinx2020_1/ug1165-zynq-embedded-design-tutorial.pdf

    All of the required cross-compile gcc tools are included in the PetaLinux installation.

     

    --Tom

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

    Hi Prateek,

     

    To make changes to the PetaLinux project you will need to first fun the shell script to set the PetaLinux environment varaiables, and then run petalinux-config.  All of this is described in Xilinx UG1144:
    https://www.xilinx.com/support/documentation/sw_manuals/xilinx2020_1/ug1144-petalinux-tools-reference-guide.pdf

    Xilinx XAPP1165 may also be useful:
    https://www.xilinx.com/support/documentation/sw_manuals/xilinx2020_1/ug1165-zynq-embedded-design-tutorial.pdf

    All of the required cross-compile gcc tools are included in the PetaLinux installation.

     

    --Tom

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