Additional Options for Booting with JTAG - 2020.2 English

PetaLinux Tools Documentation Reference Guide (UG1144)

Document ID
UG1144
Release Date
2020-11-24
Version
2020.2 English
  • To download a bitstream to target board:
    $ petalinux-boot --jtag --fpga --bitstream <BITSTREAM> --hw_server-url <hostname:3121>
  • To download newly built <plnx-proj-root>/images/linux/u-boot.elf to target board:
    $ petalinux-boot --jtag --u-boot --hw_server-url <hostname:3121>
  • To download newly built kernel to target board:
    $ petalinux-boot --jtag --kernel --hw_server-url <hostname:3121>
    • For MicroBlaze™ processors, this boots <plnx-proj-root>/images/linux/system.bit, u-boot.elf, linux.bin.ub, system.dtb, and rootfs.cpio.gz.u-boot on target board.
      Note: If using a MicroBlaze processor, you need to add --fpga to the petalinux-boot command as shown in the following example:
      petalinux-boot --jtag --fpga --kernel --hw_server-url <hostname:3121>
    • For Zynq® UltraScale+™ MPSoC, this boots <plnx-proj-root>/images/linux/pmufw.elf, zynqmp_fsbl.elf, u-boot.elf, Image, system.dtb, and rootfs.cpio.gz.u-boot on target board.
    • For Zynq-7000 devices, this boots <plnx-proj-root>/images/linux/zynq_fsbl.elf, u-boot.elf, uImage, system.dtb, and rootfs.cpio.gz.u-boot on target board.
  • To download a image with a bitstream with --fpga --bitstream <BITSTREAM> option:
    $ petalinux-boot --jtag --u-boot --fpga --bitstream <BITSTREAM>

    The above command downloads the bitstream and then download the U-Boot image.

  • To see the verbose output of JTAG boot with -v option:
    $ petalinux-boot --jtag --u-boot -v