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 MiniZed - Vitis/Vivado 2020.1
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Avnet Boards Forums requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 13 replies
  • Subscribers 303 subscribers
  • Views 2323 views
  • Users 0 members are here
  • minized
Related

MiniZed - Vitis/Vivado 2020.1

bigguiness
bigguiness over 4 years ago

Hello all,

 

Is there any updated tutorials on how to get started with the MiniZed using the latest tools from Xilinx?

 

All I have found is old information and it's a real pain trying to figure out how this all works...

 

Thanks

  • Sign in to reply
  • Cancel

Top Replies

  • narrucmot
    narrucmot over 4 years ago in reply to bigguiness +1
    Avnet has hardware, software, and training courses for the MiniZed board. Though targeted to a recent version of the Xilinx tools, they may be very helpful for you to learn what you are trying to do: Technical…
  • bigguiness
    bigguiness over 4 years ago in reply to bhfletcher +1
    Hello Bryan, I gave up trying to get a stable Ubuntu VM running. I purchased a NUC and just installed Ubuntu on it. I now have Ubuntu 18.04.4 installed and the Xilinx 2020.2 tools. With that setup I have…
Parents
  • gustavovelascoh
    gustavovelascoh over 4 years ago

    Hi, have you checked this?

    https://www.hackster.io/workshops/minized

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

    Gustavo,

     

    I was not aware of the workshop. Thanks for the link.

     

    The only issue with it is that the workshop appears to be based on 2019.1. I really would like to figure this out with the latest tools (2020.1).

     

    Thanks

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

    Yep. I noticed that. I use Ubuntu mainly and have a minized but I have been hesitating to start doing something as all the documentation I've found use old tools or is spread across different sites. It good to know someone else is interested in that as well. image

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

    Progress... (Other than still running the Windows tools, still can't get the Linux tools to work reliably in Linux (Ubuntu VM).)

     

    I have been successfully able to:

     

    1) Create a 2010.1 Vivado/Vitis "Hello World" design for the MiniZed board. The main issue is remembering to change the stdin/stdout to ps7_uart_1 to match the hardware.

    2) Create a design to toggle the PS LEDs and read the PS button on the MiniZed.

    3) Create a design to toggle the PS and PL LEDs and read the PS button the PL switch on the MiniZed using AXI GPIO interfaces to the PL LEDs and switch.

    4) Create a design with a simple 16-bit hardware multiplier as a custom IP AXI slave peripheral.

     

    Now I'm trying to figure out how to make a more advanced Custom IP AXI slave peripheral.

     

    What I would like is a AXI slave peripheral with 4 registers that are:

     

    Register 0 - Writes to a FIFO, reads from same FIFO

    Register 1 - Writes to a second FIFO, reads from same FIFO

    Register 2 - Writes to a register that sets the PL LEDs, reads the PL LED state

    Register 3 - Writes do nothing, reads the PL switch

     

    But, I'm not sure what needs to be done in the Custom IP stuff to create and hookup the FIFOs or how to connect the LEDs and switch.

     

    Any pointers?

     

    Thanks

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

    We have now posted the 2020.1 PetaLinux BSPs for all the various boards. Even though you aren't interested in PetaLinux at this point, you can still use the scripted flow that we provide to rebuild the default design, which may be a good starting point.

     

    The 2020.1 release is documented here:

    Updated Designed By Avnet BSP & Platforms for v2020.1 tools, the 1 command to rule them all edition!

     

    Then you can follow these instructions, but you can limit what you run to the hardware build.

    Avnet HDL git HOWTO (Vivado 2020.1 and earlier)

     

    Bryan

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

    Hello Bryan,

     

    I gave up trying to get a stable Ubuntu VM running. I purchased a NUC and just installed Ubuntu on it. I now have Ubuntu 18.04.4 installed and the Xilinx 2020.2 tools.

     

    With that setup I have had great success running Vivado/Vitis and have created a couple standalone examples from on the web. Everything seems to be going good.

     

    I'm now trying the figure out PetaLinix but of course am running into problems.

     

    I followed the Avnet HDL git HOWTO you referenced but since the BSPs are based on 2020.1 they are not working quite right.

     

    The PetaLinux build succeeds and I the generated Vivado design opens and appears ok. I can JTAG boot the MiniZed using the 'xsdb boot_jtag_INITRD_MINIMAL.tcl' command. But when I try to boot from QSPI with 'sh boot_qspi_INITRD.sh' I get the following error:

     

    [ERROR]  : section avnet_qspi.scr.0 offset of 0xFC0000 overlaps with prior section end address of 4A921C0

     

    My guess is that the INITRD is to large for the QSPI.

     

    What do I need to do to modify the PetaLinux build so reduce the size of the INITRD?

     

    Or, do you have any idea when the Avnet BSP and Platforms will be updated to work with 2020.2?

     

    Thanks,

    Hartley

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • bhfletcher
    bhfletcher over 4 years ago in reply to bigguiness

    It looks like you need to change the offsets in the petalinux-config. I will also run this by our Petalinux experts to see if they have different advice.

    https://forums.xilinx.com/t5/Embedded-Linux/Not-able-to-package-the-image-ub-at-Petalinux-tool/td-p/1143528

     

    We are working on the 2020.2 BSPs now, but a couple issues were identified with the Ultra96-V2 Wi-Fi in 2020.1, so we are fixing those first. I expect we will have the 2020.2 BSPs done by the end of January (hopefully!). It always takes us a month or two after Xilinx releases new tools, and that assumes there aren't any problems. The 2020.1 release introduced a slew of issues that took us more time to correct. Our initial look at 2020.2 suggests that this update will be much simpler, so we are optimistic we can get it done quicker this time.

     

    It looks like both 2020.1 and 2020.2 are compatible with Ubuntu 18.04.4, so you could install the 2020.1 tools and get comfortable with that first, which will give us time to work on 2020.2.

     

    Bryan

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

    Hello All

      Not been on this forum -- I've been struggling with the MiniZED and getting PetaLinux working ---minized-petalinux-course from HacksterIO-  

     

      The videos are a nice touch, put the quality of the labs are NOT good.  (sorry)  --- way too many broken links, incomplete directions, incompatabilities, miss-matching scripts -   -

     

      I have been using the MicroZED PL and PS successfully -- I have built logic and did C++ code for the ZYNQ using Vivado 2020.1 on WIndows 10  - the orginal MiniZed tutorial from Hackster, for this was pretty good.    Lots of success here.   Passing messages through BRAM without issue, both ways.

     

    Looking for advice,  what is a clean way to get into the Petalinux, that the tutorial is straight-forward, hopefully using the WINDOWS envorirment,  I do have Vivado and VITIS 2020.2 up on Linux 18.04 on VBOX --- so I can do it there, as well ---  

     

    Thanks in advance

    Greg Casey

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • gregcasey
    gregcasey over 4 years ago in reply to bhfletcher

    Hello All

      Not been on this forum -- I've been struggling with the MiniZED and getting PetaLinux working ---minized-petalinux-course from HacksterIO-  

     

      The videos are a nice touch, put the quality of the labs are NOT good.  (sorry)  --- way too many broken links, incomplete directions, incompatabilities, miss-matching scripts -   -

     

      I have been using the MicroZED PL and PS successfully -- I have built logic and did C++ code for the ZYNQ using Vivado 2020.1 on WIndows 10  - the orginal MiniZed tutorial from Hackster, for this was pretty good.    Lots of success here.   Passing messages through BRAM without issue, both ways.

     

    Looking for advice,  what is a clean way to get into the Petalinux, that the tutorial is straight-forward, hopefully using the WINDOWS envorirment,  I do have Vivado and VITIS 2020.2 up on Linux 18.04 on VBOX --- so I can do it there, as well ---  

     

    Thanks in advance

    Greg Casey

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • bhfletcher
    bhfletcher over 4 years ago in reply to gregcasey

    Hello Greg,

     

    I am sorry to hear about your trouble with the 2019.1 labs. If you can provide some specifics as to what isn't working, we can correct the documentation. Also, note that the MiniZed trainings are also available on Element14 here:

    Technical Training Courses

     

    Windows is not a supported development environment for PetaLinux. You can find the specific list in PetaLinux User Guide for the release you are using. For example, here is the list for PetaLinux 2019.1: https://www.xilinx.com/support/documentation/sw_manuals/xilinx2019_1/ug1144-petalinux-tools-reference-guide.pdf.

     

    Supported OS:

    - Red Hat Enterprise Workstation/Server 7.4, 7.5, 7.6 (64-bit)

    - CentOS 7.4, 7.5, 7.6 (64-bit)

    - Ubuntu Linux 16.04.5, 18.04.1 (64-bit)

     

    I still think that the Avnet-provided PetaLinux training is the best place to start. Please make sure you are using the version for which the training was written (2019.1 for MiniZed, 2018.3 for Ultra96) and that you are using a supported OS, preferably the one referenced in the training (Ubuntu 18.04.1). If there are broken links or typos, please share here, and we will work to get those fixed.

     

    Bryan

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

    please highlight

    Windows is not a supported development environment for PetaLinux

    in future documentation as well.

     

    Thanks

    • 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