MicroZed Chronicles: Kria, PYNQ, and Ubuntu Images

February 4, 2022

Editor's Note: This content is republished from the MicroZed Chronicles, with permission from the author.

A few months ago, Xilinx released official Ubuntu images for the ZCU102, ZCU104, and ZCU106 evaluation kits certified by canonical and available from the official Ubuntu site. When we covered this in a previous MicroZed Chronicles, we interviewed Tony McDowell and Terry O'Neal who hinted that there would be a version for the Kria KV260 Vision AI Starter Kit which might include support for PYNQ as well.

This release is very exciting because it brings together several aspects that I think really open the capabilities of the Kria board and regular readers know I am huge fan of PYNQ. This release provides the developer with access to composable pipelines and the DPU-PYNQ.

To get started, we first need to download the Ubuntu image from the Ubuntu website and write it to a SD card.

Once you have the image written to a SD card, ensure you have an Ethernet connection and boot the Kria. The next step is to sign into Ubuntu using a serial terminal (115200:n:1).

Log in information is Ubuntu / Ubuntu and you will be asked to change the password as part of the sign on process.

Following the boot, you will see the IP address of the board and information on the status of the system processor.

Unlike with other PYNQ boards, the file system does not contain PYNQ. We need to install it instead. While this might sound daunting, it is quite straightforward. We simply need to clone the Kria PYNQ repository and run the installation script.

Cloning the repository can be achieved using the following command:

git clone https://github.com/Xilinx/Kria-PYNQ.git

Once this is achieved, we can enter the directory and run the install.sh script.

sudo bash install.sh

This might take several minutes to install.

Once installed, we will be able to log into Jupyter Notebooks just as we do with other PYNQ systems.

In a browser, navigate to the kria:9090/lab and log in with the password xilinx.

Once logged in, you will see the Juypter lab environment. The notebooks can be found several folders down the left handside of the screen.

These notebooks contain designs which include the following:

  • Image processing with the Digilent Pcam 5C connected to the RPI port
  • Composable video processing pipeline
  • DPU accelerated machine learning at the edge

Of course, we still get the same capabilities that we have always been able to do in PYNQ to accelerate and prototype our designs.

I ran the MNIST example to get started exploring the DPU algorithm. This show the throughput which is possible when the DPU is used.

I am looking forward to creating some Hackster projects using these new capabilities and features.

Xilinx Xclusive Blog
    • Let's Get Ready to Rumble: Xilinx is Competing in the BattleBots TV Series Arena
    • Dec 07, 2021
    • Over 50 Top Companies, Universities, and Research Firms to Speak at Xilinx Adapt 2021
    • Sep 01, 2021
    • Vitis AI Development Platform for AI Inference Acceleration Adds First Time Support for Versal ACAP and Kria SOM Platforms
    • Jul 22, 2021
View more...
Adaptable Advantage Blog
    • MicroZed Chronicles: Kria, PYNQ, and Ubuntu Images
    • Feb 04, 2022
    • Kria SOM Earns its Varsity Letter
    • Feb 02, 2022
    • MicroZed Chronicles: Scripting Vivado ML
    • Jan 28, 2022
View more...
Xilinx AI and Software Blog
    • Vitis AI 2.0 is Here!
    • Jan 20, 2022
    • Xilinx Celebrate Double Win at 2021 CVPR and ICCv
    • Oct 08, 2021
    • Have You Visited the Xilinx App Store? The One-Stop Shop to Evaluate and Buy Alveo and Kria SOM Solutions.
    • Sep 23, 2021
View more...

Attachments

  • Original Link
  • Original Document
  • Permalink

Disclaimer

Xilinx Inc. published this content on 04 February 2022 and is solely responsible for the information contained therein. Distributed by Public, unedited and unaltered, on 03 February 2022 00:18:01 UTC.