Booting Linux Images over JTAG or HSDP - Booting Linux Images over JTAG or HSDP - 2025.2 English - UG1305

Versal Adaptive SoC Embedded Design Tutorial (UG1305)

Document ID
UG1305
Release Date
2025-12-09
Version
2025.2 English

SmartLynq+ can be used to download Linux images directly to the VCK190/VMK180 without using an SD Card. Linux images can be loaded using JTAG or HSDP.

The design package included with this tutorial contains a script that downloads the Linux images created in the prior steps using the SmartLynq+ module. The script can use either JTAG or HSDP.

  1. On the machine with access to the SmartLynq+ module, open the Vivado Tcl shell.

    ../_images/ch6-image24.png
  2. Change the working directory to the PetaLinux build root, if working on the machine used to build PetaLinux, or change to the location where the images/linux directory was transferred to the local machine in the preceding steps.

  3. At the Vivado tcl shell, issue the following command to download the images using HSDP:

    xsdb linux_download.tcl <smartlynq+ ip> images/linux HSDP
    

    This loads BOOT.BIN using JTAG, following which an HSDP link is auto-negotiated and the rest of the boot images are loaded using HSDP. This increases the speed substantially compared to JTAG.

    ../_images/ch6-image16.png

    Note

    You can also download Linux images using JTAG by changing the last argument of the script to FTDI-JTAG as shown: xsdb linux-download <smartlynq+ ip> images/linux FTDI-JTAG. This uses the JTAG to program all of the Linux boot images. Note the difference in download speed when using HSDP.

  4. Versal boot messages can be viewed from the VCK190 UART on the terminal opened in the preceding section:

    ../_images/ch6-image17.png
  5. Once Linux has completed booting using either JTAG or HSDP, you will be presented with the following login screen:

    ../_images/ch6-image18.png