Boot Commands for Windows Host Machine - 2024.2 English - UG1209

Zynq UltraScale+ MPSoC Embedded Design Tutorial (UG1209)

Document ID
UG1209
Release Date
2025-03-20
Version
2024.2 English
  1. In the Vitis IDE, select Terminal → New Terminal.

  2. In the shell, verify if the DFU can detect the USB target:

    dfu-util.exe -l
    

    Note

    dfu-util.exe can be found in <Vitis installation path>\tps\Win64\dfu-util-0.9\dfu-util.exe.

  3. The USB device should be enumerated with the vendor and product ID (03fd:0050).

    Note

    If you do not see the message starting with “Found DFU…”, download and install the Zadig software. Open the software and click Options and select List all devices. Select device Xilinx Dfu Downloader and click Install driver.

  4. Download the boot.bin that was created in Creating Boot Images for USB Boot.

    $ dfu-util.exe -d 03fd:0050 -D BOOT.bin
    
  5. Verify from the Serial Terminal (UART 0) that FSBL is loaded successfully.

  6. Download the usb_boot.bin. Before this, start another terminal session for the UART-1 serial console.

    $ dfu-util.exe -d 03fd:0050 -D usb_boot.bin``
    
  7. On the U-Boot prompt, press Enter to terminate auto-boot. Verify from the UART1 console that the R5 application has also loaded successfully.

    Note

    At this point, use the Zadig utility to install drivers for the “USB download gadget” with device ID 03fd:0300. Without this, the Zadig software does not show “Xilinx DFU Downloader” after booting U-Boot on the target.

  8. Run the following commands to set up the DFU environment in the U-Boot command line:

    $ setenv loadaddr 0x10000000
    $ setenv kernel_addr 0x10000000
    $ setenv kernel_size 0x1e00000
    $ setenv dfu_ram_info "setenv dfu_alt_info image.ub ram $kernel_addr $kernel_size"
    
  9. In the U-Boot console, start DFU_RAM to enable downloading Linux images:

    U-boot\ run dfu_ram
    
  10. Download the Linux image image.ub using the following command from the host machine terminal:

    $ dfu-util.exe -d 03fd:0300 -D image.ub -a 0
    
  11. Run the bootm command from the U-Boot console.

    U-boot\ bootm
    
  12. Verify that Linux loads successfully on the target.