Skip to content

Latest commit

 

History

History
98 lines (67 loc) · 5.41 KB

Linux set-up.md

File metadata and controls

98 lines (67 loc) · 5.41 KB

Linux Set-up

If you are using a Linux environment, you can use these instructions for your set-up.

You can click on the following links for Windows and Mac enviroments.

Part 1: Setup Board (15 - 25 minutes)

Items you’ll need to provide to bring up the lab

  • Barrel Jack Power supply (12V,3A)
  • MicroSD card [32GB UHS-1]
  • Micro-USB to USB-A cable
  • IAS camera module (AR1335 recommended) or USB camera
  • Ethernet cable
  • HDMI/DI cable (optional) to connect a monitor display

You can purchase all these items with the KV260 Basic Accessory Pack

Xilinx Tools needed to Boot via SD card

You will need the following tools installed on your computer or you can access the Xilinx specific tools via AWS in order to boot via SD card

Locally Via AWS
Putty and or Tera Term Terminal
(click on the link to download an application terminal)
- Vivado & Vitis to update hardware or model
- Petalinux (2020.2 or later)

1. Write to SD card

If you already have an SD card with the image pre-installed, you may skip this step.

Using the downloaded petalinux-sdimage.wic, write the image onto an SD card that is plugged into your local computer. First, open a new terminal to check what device is assigned to the SD card.

Use the following command dmesg|grep sd|tail to identify the SD card. In this example, we'll use sd<#> to indicate the SD card. Make sure that you select the correct device so that you do not accidentally overwrite the hard drive. The image below indicates the correct device based on the size and type of device:

Then enter the following commands in the terminal,replacing sd<#> with your SD card number:

gunzip petalinux-sdimage.wic.gz
dd if=petalinux-sdimage.wic of=/dev/sd<#>conv=fsync
sudo eject /dev/sd<#>

2. Board Set up

  • Insert the microSD card with boot image into the microSD card slot (J11)
  • Connect micro-USB cable, with the micro-B end into J4 connection.
  • Connect the IAS camera module (AR 1335) or plug the USB camera into U44 or U46.
  • Optionally, you can also connect the HDMI cable into J5 or the DisplayPort cable into J6. 4K monitor is preferred to demonstrate at the maximum supported resolution.
  • Optionally, you can capture audio on the SOM board with an Audio Pmod setup in RTSP mode. You can connect an audio Pmod to J2, and then connect a microphone or any other sound input device. NOTE: smart camera does not support speakers.

You can refer to the following image to pinpoint the interfaces and connectors on the SOM carrier card:

You can also use the following cameras (from UG 1089):

Accelerated Application Peripheral Part Number
Smart camera AA1 IAS camera sensor ISP interface (J7) OnSemi AR1335 sensor module. Avnet part number: CAVBA-000A
Smart camera AA1 USB camera Logitech BRIO
Smart camera AA1 Audio Codec I2S2 PMOD (J2) Digilent PMOD SKU 410-379
Defect detection AA4 IAS camera sensor ISP interface (J7) OnSemi AR0144 sensor module. Avnet part number: CAV10-000A

You will also plug your ethernet cable into J10. You will have the best results if you are connected directly into your router.

If you need to set up a static address within your host machine, you can follow the instructions at this link: Setting up a private network

3. Configure your terminal

This will be used to enter and read commands for the SOM board.

You will need to identify the connected USB cable. Within the same Linux terminal, enter the following command to observe which COM ports appear when you plug in the USB cable attached to the KV260 into your computer

dmesg | grep tty

Four COM ports should be enumerated. The 2nd numbered COM port corresponds to the UART.

You will configure the settings using the following command: sudo putty /dev/ttyUSB1 -serial -sercfg 115200,8,n,1,N

This corresponds to the corresponding format:

  • Baud rate = 115200
  • Data bits = 8
  • Stop bits = 1
  • Flow control = None
  • Parity = None

Power on the SOM board by connecting the power supply into J12 and into the wall outlet. Observe the LED’s illuminating to indicate power.

Plug USB cable connected into J4 into your local computer and proceed to the next part below:

Jump to Part 2

Go to Part 2: Exploring the Different AAs

Return to Main Page


© Copyright 2021 Xilinx, Inc. All rights reserved.