This intermediate-level, two-day course provides embedded systems developers with experience in creating an embedded PetaLinux SDK operating system on a Xilinx MicroBlaze™ processor development board. The course offers students hands-on experience on building the environment and booting the system using a basic, single-processor System on Chip (SoC) design with PetaLinux SDK on the MicroBlaze 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.
Who should attend:
Embedded software developers interested in customizing the PetaLinux kernel on a MicroBlaze processor design for a Xilinx embedded processor system.
After completing this training, you will be able to:
Explain what an embedded Linux kernel and device driver architecture requires
Use the hardware interfacing options for the MicroBlaze processor
Create a working MicroBlaze processor Linux system using the Xilinx Embedded Developers Kit (EDK) and the PetaLinux Software
Essentials of FPGA Design course (introductory FPGA design course)
Embedded Systems Software Development course (software development for FPGA embedded systems course)
1. Embedded Linux Overview
Lab 1.1: A First Look
2. Introduction to PetaLinux SDK
Lab 1.2: Build and Boot an Image
3. Application Development and Debugging
Lab 1.3: Application Development and Debug
4. Networking and TCP/IP
Lab 1.4: Networking and TCP/IP
5. Device Drivers, User Space I/O, and Loadable Modules
Lab 1.5: Accessing Hardware Devices from User Space
6. Board Bring Up with PetaLinux SDK and Xilinx Platform Studio
Lab 2.1: Base System Builder and Board Bring Up
7. Custom Hardware Development and Interfacing
Lab 2.2: Custom Hardware Development
8. Device Driver for the Hardware
Lab 2.3: Custom Driver Development
Lab 1.1: A First Look – Log in to the MicroBlaze 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 MicroBlaze 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 MicroBlaze 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 PLB or FSL interface and debug.
Lab 2.3: Custom Driver Development – Write a UIO program to access the PWM PLB IP core. Or, use petalinux-new-module to create a new kernel module. Write an application to test the FSL PWM controller with the PetaLinux generic FSL driver.