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.
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.
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>
Change directory into the project directory that was just created, and enter in the following command:
petalinux-config
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).
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).
petalinux-build
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
https://github.com/Digilent/vivado-library/tree/master/ip/Pmods
Link to find additional information and resources for the Pmod Pack
Pmod™