Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ZCU102 Host

ZCU102 Device

Use the command below to download BOOT.bin to Device

Code Block
root@xilinx-zcu102-2021_1:~# dfu-util -d 03fd:0050 -D BOOT.bin

Verify from Device’s Serial Terminal whether the FSBL is loaded successfully.

Code Block
Xilinx Zynq MP First Stage Boot Loader
Release 2021.1 Apr 15 2021 - 13:29:46

...

ZCU102 Host

ZCU102 Device

Use the command below to download usb_boot.bin to Device

Code Block
root@xilinx-zcu102-2021_1:~# dfu-util -d 03fd:0050 -D usb_boot.bin

Check UART 0 terminal and wait until U-Boot loads.

On U-Boot prompt, press Enter key to terminate autoboot.

Code Block
PMU Firmware 2021.1	Mar 24 2021   17:58:53
PMU_ROM ê
ATF running on XCZU9EG/silicon v4/RTL5.1 at 0xfffea000
NOTICE:  BL31: v2.2(release):xilinx-v2020.2
NOTICE:  BL31: Built : 16:49:36, Apr  8 2021

U-Boot 2021.01 (Feb 02 2021 - 16:42:22 +0000)

Model: ZynqMP ZCU102 Rev1.0
Board: Xilinx ZynqMP
DRAM:  4 GiB
PMUFW:	v1.1
EL Level:	EL2
Chip ID:	zu9eg
NAND:  0 MiB
MMC:   mmc@ff170000: 0
In:    serial
Out:   serial
Err:   serial
Bootmode: USB_MODE
Reset reason:	EXTERNAL 
Net:   
ZYNQ GEM: ff0e0000, mdio bus ff0e0000, phyaddr 12, interface rgmii-id

Warning: ethernet@ff0e0000 (eth0) using random MAC address - 42:fe:41:9a:7a:30
eth0: ethernet@ff0e0000
Hit any key to stop autoboot:  2 1 0 

...

ZCU102 Device

ZCU102 Host

On Device’s U-Boot console start DFU_RAM to download Linux Image

After executing the command below, Device gets detected on Host

Code Block
ZynqMP> run dfu_ram

Check if the DFU can detect the USB target.

Code Block
root@xilinx-zcu102-2021_1:~# dfu-util -l
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Found DFU: [03fd:0300] ver=0223, devnum=2, cfg=1, intf=0, path="2-1", alt=2, name="rootfs.cpio.gz.u-boot", serial="UNKNOWN"
Found DFU: [03fd:0300] ver=0223, devnum=2, cfg=1, intf=0, path="2-1", alt=1, name="system.dtb", serial="UNKNOWN"
Found DFU: [03fd:0300] ver=0223, devnum=2, cfg=1, intf=0, path="2-1", alt=0, name="Image", serial="UNKNOWN"

After successful download of Linux Image, execute CTRL+C on U-Boot console to stop dfu_ram.

Code Block
ZynqMP> run dfu_ram
##DOWNLOAD ... OK
Ctrl+C to exit ...

Download Linux Image using following command from Host

Code Block
root@xilinx-zcu102-2021_1:~# dfu-util -d 03fd:0300 -D Image --alt 0
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 03fd:0300
Run-time device DFU version 0110
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 0110
Device returned transfer size 4096
Copying data from PC to DFU device

Download [=========================] 100%     32000512 bytes
Download done.
state(7) = dfuMANIFEST, status(0) = No error condition is present
state(2) = dfuIDLE, status(0) = No error condition is present
Done!

After successful download of Linux Image, execute CTRL+C on U-Boot console to stop dfu_ram.

Code Block
ZynqMP> run dfu_ram
##DOWNLOAD ... OK
Ctrl+C to exit ...

Download DTB

ZCU102 Device

ZCU102 Host

On Device’s U-Boot console start DFU_RAM to download system.dtb

After executing the command below, Device gets detected on Host

Code Block
ZynqMP> run dfu_ram

Download system.dtb using following command from Host

Code Block
root@xilinx-zcu102-2021_1:~# dfu-util -d 03fd:0050 -D system.dtb --alt 1

After successful download of Linux Image, execute CTRL+C on U-Boot console to stop dfu_ram.

Code Block
ZynqMP> run dfu_ram
##DOWNLOAD ... OK
Ctrl+C to exit ...

...