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
FPGA
  • Technologies
  • More
FPGA
Blog Ultra96-V2 ON Semiconductor Dual Camera Mezzanine hardware build instructions
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join FPGA to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ctammann
  • Date Created: 16 Dec 2020 10:00 PM Date Created
  • Views 3052 views
  • Likes 4 likes
  • Comments 9 comments
  • ultra96-v2
  • avnet
  • mezzanine
  • petalinux
  • xilinx
  • 96boards
  • dual camera
Related
Recommended

Ultra96-V2 ON Semiconductor Dual Camera Mezzanine hardware build instructions

ctammann
ctammann
16 Dec 2020

I'm going to borrow heavily from my colleague Tom Curran and his excellent HDL howto blog (Avnet HDL git HOWTO (Vivado 2020.1 and earlier)). I highly recommend reading through that blog before continuing. I will modify it as needed to help you build the hardware design for the 96Boards ON Semiconductor Dual Camera Mezzanine design using Ultra96-V2. I will preface this blog post by saying I have been a power and hardware designer most of my career. In an effort to diversify and help out on more projects I've decided to learn more about Xilinx tools, virtual boxes, Linux, etc. It's been a challenge to say the least, but I have to say the guys on my team have put together some incredible materials as far as guides and instructions to get you started. I have attached the install procedure I followed to setup a virtual machine with the proper tools in order to create this build. If you do not have Vivado 2020.1 installed on a Linux machine, please follow the virtual box install instructions before continuing.

 

If you've gotten through the pain of installing all the tools, hopefully our "stats" align:

 

  • Ubuntu v18.04 LTS 64-bit host OS
  • PetaLinux tools installed
  • Vivado 2020.1
  • At least 100GB of free disk space

 

A couple other notes about this build. There is an IP block inside this design that requires a v_osd IP license. This IP core license is included in the SDSoC license that ships with Ultra96-V2 so anyone working with this design should have access to it. Unfortunately if you do not have this license then you will not be able to successfully build this design. There are plans to replace this IP block, but there is no timeline in place so I would expect months not weeks. Bottom line, find your SDSoC license that came with Ultra96-V2.

 

If you need help with licensing, please refer to the attached getting started guide for Ultra96-V2. Page 30 starts the instructions on setting up your license.

 

It took quite a bit of time to convert this design over from a locally built design to work with our HDL structure on GitHub. Huge thanks to Dan Rozwood, Tom Curran and Kevin Keryk for helping me do the conversion. Now that the conversion has been done, the design can easily be rebuilt from github and future updates should not break the design as it will be maintained along with the rest of the library. Below you will find a series of commands that will build this hardware design for you from a terminal window. I have highlighted the commands that need to be entered:

 

# 
# Setup Xilinx environment
# It is recommended to also add these lines to the end of your ~/.bashrc file
#
$ TOOLS_VER=2020.1
$ source /tools/Xilinx/Vivado/$TOOLS_VER/settings64.sh
$ source /tools/petalinuxv2020.1-final/settings.sh

#
# Clone the repositories
#

$ cd ~
$ mkdir -p git/avnet
$ cd git/avnet/
$ git clone https://github.com/Avnet/bdf.git
$ git clone https://github.com/Avnet/hdl.git
$ git clone https://github.com/Avnet/petalinux.git
$ cd bdf
$ git checkout master

$ cd ../petalinux
$ git checkout 2020.1
$ cd ../hdl
$ git checkout 2020.1

#
# Run the Vivado build script for the Ultra96-V2 dualcam design
#

$ cd Scripts
$ vivado -mode batch -source ./make_ultra96v2_dualcam.tcl

 

When the design is done building (keep in mind it takes a while, while in hours not minutes, note the time shown in the capture below) you will see this:

image

 

You can then open Vivado and navigate to the project, which should be here:

image

 

You can then navigate the project, connect to your target hardware and program if you'd like (be sure the boot mode is set to JTAG) or check out the block design. You're block design should look something like this:

image

 

You'll still need to build petalinux on top of this to have the full OOB image. When that design has been fully validated in our Github process I will post a followup blog outlining the complete build.

 

Ultra96-V2Ultra96-V2

Attachments:
imageUltra96-V2-GSG-v1_1.pdf
imageVirtualBox_Installation_Guide_2020_1_v1p1.pdf
  • Sign in to reply

Top Comments

  • ctammann
    ctammann over 4 years ago in reply to saadtiwana_int +1
    No problem Saad, sorry it took so long to get posted but we had a backlog of designs to validate and get checked in. Hope you find it useful! Thanks Chris
  • saadtiwana_int
    saadtiwana_int over 4 years ago in reply to ctammann +1
    As they say, "better late than never" Yes, this is very useful to me. Thanks a lot for posting this. I am usually comfortable with the hardware (vivado) side of things and also baremetal/rtos software…
  • bhfletcher
    bhfletcher over 4 years ago in reply to jomoenginer +1
    It's not the xczu3eg that is causing you problems. It is the v_osd IP license. ctammann describes this in the blog above: There is an IP block inside this design that requires a v_osd IP license. This…
Parents
  • saadtiwana_int
    saadtiwana_int over 4 years ago

    Hi Chris,


    Thanks for sharing this. I am looking forward to your post (as you mentioned in your last post) regarding building the petalinux side of it. Any idea when?

     

    Thanks and Regards,
    Saad

     

     

    UPDATE: I found it already; Pls disregard my question image. Thanks

    Ultra96-V2 Dual Camera Mezzanine Petalinux Build Instructions

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • saadtiwana_int
    saadtiwana_int over 4 years ago

    Hi Chris,


    Thanks for sharing this. I am looking forward to your post (as you mentioned in your last post) regarding building the petalinux side of it. Any idea when?

     

    Thanks and Regards,
    Saad

     

     

    UPDATE: I found it already; Pls disregard my question image. Thanks

    Ultra96-V2 Dual Camera Mezzanine Petalinux Build Instructions

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • ctammann
    ctammann over 4 years ago in reply to saadtiwana_int

    No problem Saad, sorry it took so long to get posted but we had a backlog of designs to validate and get checked in. Hope you find it useful!

    Thanks
    Chris

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • saadtiwana_int
    saadtiwana_int over 4 years ago in reply to ctammann

    As they say, "better late than never" image
    Yes, this is very useful to me. Thanks a lot for posting this. I am usually comfortable with the hardware (vivado) side of things and also baremetal/rtos software. However, i have yet to get to the same comfort level on the Petalinux integration side.
    If you know of a good resource to understand and learn about integrating a hardware component as a device in petalinux, pls do share. In the meantime, i will review the scripts on the git repositories referenced above.

    Thanks again.

     

    Best Regards,
    Saad

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