Course Description
This intermediate-level, two-day course provides embedded systems developers with experience in creating an embedded PetaLinux SDK operating system on a Xilinx Zynq™ All Programmable System on a Chip (SoC) processor development board. The course offers students hands-on experience on building the environment and booting the system using a basic Zynq All Programmable SoC design with PetaLinux SDK on the ARM® Cortex™-A9 processor.
This course also introduces embedded Linux components, use of open-source components, environment configurations, network components, and debugging/profiling options for embedded Linux platforms. The primary focus is on embedded Linux development in conjunction with the Xilinx tool flow.
Release Date
October 2012
Level
Embedded Software 4
Training Duration
2 days
Who Should Attend?
Embedded software developers interested in customizing the PetaLinux kernel on an ARM processor design for a Xilinx Zynq All Programmable SoC
Prerequisites
Software Tools
- ISE® Design Suite: Embedded or System Edition 14.2
- PetaLinux 12.9
Hardware
- Architecture: Zynq-7000 All Programmable SoC*
- Demo board: ZedBoard
* This course focuses on the Zynq-7000 All Programmable SoC architecture. Check with your local Authorized Training Provider for the specifics of the in-class lab board or other customizations.
Skills Gained
After completing this comprehensive training, you will know how to:
- Explain what an embedded Linux kernel and device driver architecture requires
- Use the hardware interfacing options for the ARM Cortex-A9 MPcore
- Create a working the ARM Cortex-A9 MPcore Linux system using the Xilinx PlanAhead™ tool, Embedded Development Kit (EDK), and PetaLinux Software Development Kit (SDK)
- Build custom hardware cores and device drivers
Course Outline
Day 1
- Embedded Linux Overview
- Lab 1.1: A First Look
- Introduction to PetaLinux SDK
- Lab 1.2: Build and Boot an Image
- Application Development and Debugging
- Lab 1.3: Application Development and Debug
- Networking and TCP/IP
- Lab 1.4: Networking and TCP/IP
- Device Drivers, User Space I/O, and Loadable Modules
- Lab 1.5: Accessing Hardware Devices from User Space
Day 2
- Board Bring Up with PetaLinux SDK and the PlanAhead Tool
- Lab 2.1: Base System Builder and Board Bring Up
- Custom Hardware Development and Interfacing
- Lab 2.2: Custom Hardware Development
- Device Driver for the Hardware
- Lab 2.3: Custom Driver Development
Lab Descriptions
- Lab 1.1: A First Look – Log in to the ARM processor Linux system and make comparisons between the embedded Linux and desktop Linux environments.
- Lab 1.2: Build and Boot an Image – Explore the Linux configuration menus, and build the ARM processor Linux kernel and applications. Download the resulting system image to the development board.
- Lab 1.3: Application Development and Debug – Create a simple user application with PetaLinux tools and debug the application with GDB.
- Lab 1.4: Networking and TCP/IP – Explore the kernel configuration menu and enable Linux TCP/IP networking. Log in to the ARM processor Linux system by using telnet. Transfer files to and from Linux by using FTP. Use the Network File System (NFS) to mount your host file system. Build and experiment with web-based applications under Linux.
- Lab 1.5: Accessing Hardware Devices from User Space – Access a hardware device directly from user space. Use the UIO framework to access a hardware device. Experience loading and unloading kernel modules.
- Lab 2.1: Base System Builder and Board Bring Up – Use BSB and EDK to create a simple Linux-capable design. Use PetaLinux to create a new embedded Linux target for the hardware platform.
- Lab 2.2: Custom Hardware Development – Design a customized IP core. Integrate an IP core with the AXI interface and debug.
- Lab 2.3: Custom Driver Development– Write a UIO program to access the PWM AXI IP core. Or, use petalinux-new-module to create a new kernel module. Write an application to test the AXI PWM controller with the PetaLinux generic driver.