Reference Design SD Card Creation - 2020.2 English - XD336

Versal Base TRD Documentation (XD336)

Document ID
XD336
Release Date
2025-12-01
Version
2020.2 English

The reference design prebuilt SD image zip files can be downloaded from the below locations. Note there is a separate zip file per platform:

Table 1 Table 1: SD Image zip files

Platform

2D filter

XVDPU

vck190_mipiRxSingle_hdmiTx

vck190_base_trd_single_xvdpu_prebuilt

vck190_mipiRxQuad_hdmiTx

vck190_base_trd_quad_xvdpu_prebuilt

vck190_hdmiRx_hdmiTx

vck190_base_trd_hdmi_filter2d_prebuilt

Unzip the downloded file. This should contain the zipped wic image petalinux-sdimage.wic.xz and a readme file pointing to Third party licenses and sources associated with this image.

Choose an unpartitioned SD card of size 8GB or greater for this demo. Use the Win32 Disk Imager utility for Windows or ‘dd’ command line utility for Linux to write the given raw disk image petalinux-sdimage.wic to the SD card.

After unzipping the image file petalinux-sdimage.wic.xz using the 7zip utility on Windows, use the following steps to write a raw disk image to a removable device using the Win32 Disk Imager utility.

  1. Browse to the location of the unzipped image in the Win32 utility. In the ‘File name’ field, type *.wic, otherwise only files with the .img ending file be shown. Alternatively, change the drop down menu on the bottom right from ‘Disk Images (*.img *.IMG)’ to ‘*.*’.

  2. Choose the correct SD card drive letter under ‘Device’

  3. Select ‘Write’ to the SD card, click ‘Yes’ at the prompt to continue writing and wait till the operation is complete

    Win32 Image

Steps to write a raw disk image to a removable device using dd command-line utility for Linux

  1. unzip the given image file petalinux-sdimage.wic.xz in linux

  2. Use dd to write petalinux-sdimage.wic to correct enumerated disk for SD card in the Linux machine:

    unxz petalinux-sdimage.wic.xz
    sudo dd if=petalinux-sdimage.wic of=/dev/sdbx bs=1M
    

SD card partitions

Once the raw image is written to the SD card, you will be able to see two partitions. The first partition (FAT16 format) is the boot partition and it contains:

  • Xilinx OpenCL binary container (binary_container_1.xclbin)

  • Boot image (BOOT.BIN)

  • u-boot boot script (boot.scr)

  • Linux kernel image (image.ub)

  • Initial filesystem in ramdisk (ramdisk.cpio.gz.u-boot)

while in the second patition (ext4 format) resides the root file system.

Note: A Windows OS would only allow FAT16 partitions to be viewed whereas the ext4 format is not recognized.