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
Path II Programmable
  • Challenges & Projects
  • Design Challenges
  • Path II Programmable
  • More
  • Cancel
Path II Programmable
Blog Integrating Sensors on Ultra96 with PetaLinux Lab 0 & 1
  • 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: buffteethr
  • Date Created: 8 Dec 2019 10:47 PM Date Created
  • Views 726 views
  • Likes 2 likes
  • Comments 0 comments
Related
Recommended

Integrating Sensors on Ultra96 with PetaLinux Lab 0 & 1

buffteethr
buffteethr
8 Dec 2019

Lab 0 and Lab 1 involved setting up the PetaLinux development environment wit the Xilinx SDOC tools. I used the latest version of the Linux tools 2019.1 instead of the 2018.3 version used in the training.  The minimal PetaLinux on the Ultra96 platform was installed. Even though minimal system was installed it is still feature rich and prepped me for larger PetaLinux image installs in future labs.

At the end of these labs I learnt  how to:

• Use the Xilinx tool chain in conjunction with the Ultra96 board USB JTAG to program new boards that have never been programmed or boards that can no longer boot up due to software problems.

• Access Avnet Ultra96 and other Zed board hardware designs from the Avnet github.

• Setup and configure a minimal PetaLinux system using the PetaLinux tools.

• Boot a minimal PetaLinux image.

• Exercise and use hardware through PetaLinux using a USB Serial Terminal

 

There were two experiments that proven helpful in these tasks:

Experiment 1: Create, Configure and Build Minimal PetaLinux

Experiment 2: Preparing our SD Card

Experiment 3: Boot Minimal PetaLinux on Ultra96-V2

 

I had problems with Experiment 1 with the final PetaLinux build. I got two errors that I couldn't get resolved so I ended up using the lab solutions images (See below). With that image I was able to prep the SDCard and boot the minimal on the Ultra96-V2.

 

===Errors=========

| collect2: fatal error: ld terminated with signal 9 [Killed]

| compilation terminated.

| ninja: build stopped: subcommand failed.

| WARNING: /home/buffteethr/petalinux/2018_3/support_documents/v2/lab2/lab2_example/build/tmp/work/aarch64-xilinx-linux/chromium/54.0.2810.2-r0/temp/run.do_compile.20276:1 exit 1 from 'ninja -v -j 2 chrome chrome_sandbox chromedriver'

| ERROR: Function failed: do_compile (log file is located at /home/buffteethr/petalinux/2018_3/support_documents/v2/lab2/lab2_example/build/tmp/work/aarch64-xilinx-linux/chromium/54.0.2810.2-r0/temp/log.do_compile.20276)

ERROR: Task (/tools/petalinux-v2019.1-final/components/yocto/source/aarch64/layers/meta-browser/recipes-browser/chromium/chromium_54.0.2810.2.bb:do_compile) failed with exit code '1'

NOTE: Tasks Summary: Attempted 9909 tasks of which 2085 didn't need to be rerun and 2 failed.

 

 

Summary: 2 tasks failed:

  /tools/petalinux-v2019.1-final/components/yocto/source/aarch64/layers/meta-xilinx-tools/recipes-bsp/pmu-firmware/pmu-firmware_git.bb:do_patch

  /tools/petalinux-v2019.1-final/components/yocto/source/aarch64/layers/meta-browser/recipes-browser/chromium/chromium_54.0.2810.2.bb:do_compile

Summary: There were 3 WARNING messages shown.

Summary: There were 3 ERROR messages shown, returning a non-zero exit code.

ERROR: Failed to build project

  • Sign in to reply
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