In the Vitis IDE, select Terminal → New Terminal.
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
.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.
Download the boot.bin that was created in Creating Boot Images for USB Boot.
$ dfu-util.exe -d 03fd:0050 -D BOOT.bin
Verify from the Serial Terminal (UART 0) that FSBL is loaded successfully.
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``
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.
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"
In the U-Boot console, start DFU_RAM to enable downloading Linux images:
U-boot\ run dfu_ram
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
Run the
bootm
command from the U-Boot console.U-boot\ bootm
Verify that Linux loads successfully on the target.