Pmod Pack Demo
The Pmod Pack Demo presents two applications that demonstrate the operation of the Zybo Pmod Pack on a Zybo running Linux. The Linux distribution running on the Zybo for this demo is a light weight RAM disc operation version developed using the Petalinux tools. Following this quick tutorial, you will be able to deploy Linux onto your Zybo and run this demo project for the Zybo Pmod Pack.
- USB Cables
- Zybo Pmod Pack (PmodRTCC, PmodALS, PmodTMP3, PmodOLED, PmodBT2)
- Linux OS
- Ubuntu 16.04 was used to for this demo (Build also verified on 14.04)
- Xilinx SDK 2015.4
- Select as an additional installation option during Vivado 2015.4 installation.
- PetaLinux reference guide can be found here.
Board Support Files
- Board Support Files – BSP Download
1. Download the BSP and Setup Dependencies
Download and unzip the BSP. Check the “PetaLinux Tools Installation Requirements” section in the PetaLinux reference guide to verify you have all the dependencies for PetaLinux to operate correctly. Some of the tools are 32 bit binaries so you will need to make sure you have the appropriate 32 bit libraries.
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
You will also need to run the following command to change your shell to bash if you are not already running it.
sudo dpkg-reconfigure dash
When prompted to use dash as default shell, select no. Bash is the recommended shell for PetaLinux.
2. Create your PetaLinux project directory.
Once you are in a directory in which you want to create your PetaLinux project, enter the following command.
petalinux-create -t project -s <path-to-bsp>
3. Run PetaLinux configuration.
Change directory into the project directory that was just created, and enter in the following command:
The configuration tools are already set with the appropriate options selected as defaults, so when the config menu opens you can simply hit exit and it should resume (this will take a few minutes).
4. Build the PetaLinux project.
Once the config downloads the appropriate files from the Digilent repository, you will need to build the project. Enter the following command to build the project (this will also take a few minutes).
Here is a link to Digilent's Github which has IP's for all of the Pmod in this Pack.
The IP's are used with Microblaze or Zynq architecture
Pmod Pack Resources
Link to find additional information and resources for the Pmod Pack