Difference between revisions of "Xilinx ZYNQ UltraScale+ MPSoC/Introduction/Getting started"

From RidgeRun Developer Connection
Jump to: navigation, search
(Using prebuilt Ubuntu image)
(Running the NLP-SmartVision app)
Line 47: Line 47:
 
== Running the NLP-SmartVision app ==
 
== Running the NLP-SmartVision app ==
  
Install the Xilinx Development and Demonstration environment
+
Install the Xilinx Development and Demonstration environment:
  
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
 
sudo snap install xlnx-config --classic
 
sudo snap install xlnx-config --classic
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
For Ubuntu 20.04 you need to install an older version with:
 +
<syntaxhighlight lang=bash>
 +
sudo snap install xlnx-config --classic --channel=1.x
 +
</syntaxhighlight>
 +
 +
Then initialize the Xilinx environment. This will install all the required packages. Just execute and follow the on-screen instructions:
 +
<syntaxhighlight lang=bash>
 +
xlnx-config.sysinit
 +
</syntaxhighlight>
 +
 +
  
 
=== Certificates issues ===
 
=== Certificates issues ===
Line 58: Line 70:
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
 
timedatectl set-timezone 'America/Los_Angeles'
 
timedatectl set-timezone 'America/Los_Angeles'
timedatectl set-time '2022-08-26 03:00:00'
+
timedatectl set-time '2022-08-26 16:00:00'
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 19:04, 26 August 2022






Previous: Introduction/Developer kits Index Next: Development





Using prebuilt Ubuntu image

Flash the microSD card

You can download the prebuilt images from the following link: Install Ubuntu on Xilinx. In my case, I had a better outcome using the Ubuntu Desktop 20.04.3 LTS image. With these images, you should be able to get a graphical interface automatically working using a display, keyboard, and mouse.

After downloading the image you need to write it to your microSD card. You can flash it with a tool like balenaEtcher (https://www.balena.io/etcher/) or following the instructions below:

1. Insert the microSD card into your computer and identify the corresponding device:

dmesg | tail | grep sd

2. Flash the downloaded image, change /dev/sdX to your corresponding device:

xzcat ~/Downloads/<image-file.xz> | sudo dd of=/dev/sdX bs=32M

3. Eject the microSD card:

sudo eject /dev/sdx

Setup the Board

1. Insert the prepared microSD card into the board.

2. Connect an HDMI display

3. Connect USB keyboard and mouse

4. Connect your power supply. The KV260 Starter kit will power on and boot automatically.

First Boot

Many green LEDs close to the Micro-USB connector will light as soon as the board gets power. Wait for the kernel to finish loading, and you will see the login screen with a single user named "ubuntu":

  • Log in to ubuntu with the password: ubuntu
  • It will immediately ask you to change the password. Go ahead and choose another one.

After these steps, you should see the Ubuntu 20.04 GUI Desktop.

Running the NLP-SmartVision app

Install the Xilinx Development and Demonstration environment:

sudo snap install xlnx-config --classic

For Ubuntu 20.04 you need to install an older version with:

sudo snap install xlnx-config --classic --channel=1.x

Then initialize the Xilinx environment. This will install all the required packages. Just execute and follow the on-screen instructions:

xlnx-config.sysinit


Certificates issues

If you have trouble with certificates check the date of the system and adjust it with:

timedatectl set-timezone 'America/Los_Angeles'
timedatectl set-time '2022-08-26 16:00:00'

Using prebuilt Petalinux image

References

You can take a look at the official Xilinx documentation at the following links:



Previous: Introduction/Developer kits Index Next: Development