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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
Path II Programmable
  • Challenges & Projects
  • Design Challenges
  • Path II Programmable
  • More
  • Cancel
Path II Programmable
Blog Path II Programmable (P2P): Up and running
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: nerdyupdates
  • Date Created: 17 Oct 2019 4:28 AM Date Created
  • Views 832 views
  • Likes 5 likes
  • Comments 5 comments
  • ultra96-v2
  • path ii programmable
Related
Recommended

Path II Programmable (P2P): Up and running

nerdyupdates
nerdyupdates
17 Oct 2019

I'm finally up and running with the development environment and Xilinx tools. The training material was serious when it mentioned the Ubuntu virtual machine (VM) installation would take a significant amount of time!

 

The VM instructions were thorough and detailed for the most part; however, there were a few items which weren't explicitly stated. In the network bridging section it said to select "Bridged Adapter" in order to connect the VM to the Internet via my computer's network hardware. If a new IP address was not assigned, it said to restart the Ethernet service. There are a few ways to check the IP address. One is to use the Ubuntu GUI and navigate to network settings. Another method is to open a terminal and use the ifconfig command. As seen in Fig 1, this showed a non-standard IP address before applying the "Bridged Adapter" setting.

 

image

Fig 1

 

After applying the "Bridged Adapter" setting, a more standard default IP address was assigned, as seen in Fig 2.

 

image

Fig 2

 

When installing the GTK terminal and selecting the USB-UART device to use, the instructions showed a device called "Digilent USB Device". The JTAG programming card included in this training program showed up as "Xilinx JTAG+ Serial" for me, as seen in Fig 3.

 

image

Fig 3

 

One other issue I came across was a persistent error window in the VM saying: "Could not apply stored configuration for monitors". Searching around a bit, I found a related question asked on the AskUbuntu Stack Exchange which solved the issue for me:

https://askubuntu.com/questions/67337/how-do-i-get-rid-of-this-monitor-error

 

I got the VM set up without too many issues, however I had some issues with installing Xilinx Vivado / SDK / SDx. I was not expecting the system resource requirement to be so great. The instructions recommended allocating 300GB (150GB minimum) storage for the Ubuntu VM. My laptop did not have enough space to accommodate this, so I installed the VM on an external hard drive. I ended up allocating 200GB to the VM.

 

The issues came when trying to extract the Xilinx SDx installer on the VM desktop. It would get about halfway and then throw an Input/output error. Trying the md5sum command on the .tar.gz file resulted in a similar error. Stumped, I put down the Xilinx installation until the next day. The next time I plugged in my external hard drive, WIndows said there was an issue with my external drive and it needed to be repaired. This consumed another evening as the disk repair took several hours and was not even finished before the night was up. The next morning I checked, and the disk repair had completed. I tried once again to save the SDx installer to the VM. I ran the md5sum command again just in case and got the correct checksum response; it matched the one listed by Xilinx. After this I tried extracting the installer. Finally it worked! It seems the disk repair healed an unknown issue with my external drive and allowed the SDx installer to be copied correctly to the VM desktop.

 

It was mostly smooth sailing from there. One final "gotcha" was forgetting to change the name "training" to my VM username when setting up the Desktop links to launch all the Xilinx tools, as seen in FIg 4. It was a simple fix to get the links working and everything seems to be installed correctly now.

 

image

 

Fig 4

 

In addition to completing the installation of everything, I followed the Ultra96-V2 Quick Start Guide and Getting Started Guide. I flashed the Ultra96-V2 image on the provided microSD card using Etcher. I inserted the microSD card, connected the USB-JTAG card, opened the serial terminal in the VM and powered on the Ultra96-V2. I could see various booting messages over the serial terminal and was able to login as root to the Ultra96-V2 board. I accessed the Ultra96-V2 web server and was able to play with the demo projects after connecting my laptop to the Ultra96-V2 access point. This was a great demo for getting started, and I'm looking forward to diving deeper into the training now that I'm all set up!

 

-Phil

  • Sign in to reply

Top Comments

  • nerdyupdates
    nerdyupdates over 6 years ago in reply to clem57 +1
    My understanding is the PetaLinux tools are only supported on Linux operating systems. The PetaLinux documentation ( https://www.xilinx.com/support/documentation/sw_manuals/xilinx2019_1/ug1144-petalinux…
  • cmelement14
    cmelement14 over 6 years ago in reply to clem57 +1
    In my opinion, for users working on Linux environment most of time, it doesn't make sense to use VM. However, probably most users are still using Windows. For PetaLinux development, it won't work well…
  • aspork42
    aspork42 over 6 years ago +1
    I had the same issue with the /training/ folder as mine is called /James/ (my user name). I am expecting more issues later on like when I get to the tcl scripting.
  • aspork42
    aspork42 over 6 years ago

    I had the same issue with the /training/ folder as mine is called /James/ (my user name). I am expecting more issues later on like when I get to the tcl scripting.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • nerdyupdates
    nerdyupdates over 6 years ago in reply to cmelement14

    Good point, if I was a dedicated Linux user, I would've skipped straight to the Linux tool install portion. No need for VM then.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • cmelement14
    cmelement14 over 6 years ago in reply to clem57

    In my opinion, for users working on Linux environment most of time, it doesn't make sense to use VM. However, probably most users are still using Windows. For PetaLinux development, it won't work well under Windows even it's possible. That's where VM comes in for help. There's another solution: dual boot PC if one isn't bothered by switching OS often.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • nerdyupdates
    nerdyupdates over 6 years ago in reply to clem57

    My understanding is the PetaLinux tools are only supported on Linux operating systems. The PetaLinux documentation (https://www.xilinx.com/support/documentation/sw_manuals/xilinx2019_1/ug1144-petalinux-tools-reference-guide.pdf) lists supported operating systems are Red Hat Enterprise, CentOS and Ubuntu Linux. I think the idea is to create a more cohesive development environment by having all the tools installed in the same place (Ubuntu VM) rather than having some tools installed on Windows, the PetaLinux tools installed in Linux, and having to go back and forth to merge all the components required to target the Zynq MPSoC.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • clem57
    clem57 over 6 years ago

    So what is the purpose using VM as far as the Ultra96 board?

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