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