Installing Xillinux on Zybo

by muton92 in Circuits > Computers

6482 Views, 11 Favorites, 0 Comments

Installing Xillinux on Zybo

Xillinux_13_140510.jpg

This tutorial is the first part of a bigger project called IPSec implementation with proprietary cryptographic algorithm.

The purpose of the project is to implement a hardware cryptographic algorithm using a Zybo board.

Requirements for this tutorial:

  • Zybo board
  • 4GB or bigger microSD card
  • card reader
  • a Linux distribution on your computer(I've used Ubuntu)
  • monitor with VGA or HDMI input
  • mouse
  • keyboard

Preparing You Micro SD Card for Partitioning

partititi card.png

For installing Xillinux on your Zybo board you need to create 2 partitions on your micro sd card that will be used in the board.

For this step I recommend you to follow the first 3 steps from this tutorial.

After you followed those 3 steps you will have 2 partitions on your card as shown in the above image.

First one is called ZYBO_BOOT and the second one is called ROOT_FS.

Setup Boot Volume

For setting up you boot partition from your card,follow these steps.

  1. Download the boot files from here.
  2. Extract the zip file.
  3. Copy the files from "bootfiles" folder into your ZYBO_BOOT volume.
  4. Download the prebuilt xillydemo.bin from xilinx and copy it to ZYBO_BOOT volume.

At this step your boot volume have to contain the following files:

-boot.bin

-devicetree.dtb

-xillydemo.bit

Note: for this tutorial I am using prebuilt boot files.There will be another tutorial where I will build the boot files to add functionalities for my project.

Downloads

  1. Download Xillinux from here
  2. Extract the archive
  3. Double click on xillinux-1.3.img image file and 2 volumes will be mounted automatically.
  4. From the 16 MB volume copy uImage file to ZYBO_BOOT volume.
  5. Copy the content from the 1.8 GB to ROOT_FS volume.
cd /media/[your username]/[1.8 GB volume name]
sudo rsync -a ./ /media/[your_username]/ROOT_FS

Check Boot Volume Content

content_zybo_boot.png

After copying the uImage file on ZYBO_BOOT volume it has to contain the files from the image above

Check Linux Volume Content

content_root_fs.png

Your ROOT_FS volume has to contain the files from the image above.

Preparing Your Board for Booting

WP_20150417_006.jpg
  1. Extract the SD card from your computer or card reader.
  2. Insert the microSD card in your Zybo board.
  3. Change JP7 jumper position for wall power supply.
  4. Change JP5 jumper position for booting from SD card.

Your board jumper configuration should look like the image above.

First Start

WP_20150418_003.jpg

Connect a mouse and a keyboard to your board using an usb hub,connect the monitor and power supply to your board and then you are ready to power on your board.

Start graphic interface by typing startx into the shell.