05-02-2020 11:36 AM
I have ZCU104 trying to test USB boot mode following UG1209 (2019.2).
I can successfully load boot.bin file (to load FSBL and PMU on OCM) as well as usb_boot.bin (to load U-BOOT on DDR) from my windows machine. Then I run dfu_ram in u-boot mode and try to load image.ub in DDR, it throws the error mentioned below. Can you please help? As an FYI, commands I am following are on Pg 103 of UG1209 v2019.2
Message displayed on the Terminal :
"request exceeds allowed area"
Message displayed on Shell:
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/
Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
Run-time device DFU version 0110
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
DFU mode device DFU version 0110
Device returned transfer size 4096
Copying data from PC to DFU device
Download [==================== ] 80% 73740288 bytes failed!
state(10) = dfuERROR, status(14) = Something went wrong, but the device does not know what it was
05-21-2020 02:18 PM
Have you tried with a smaller image.ub?
05-21-2020 02:31 PM
Why would the size matter? Image is being loaded into PS DDR which is 2GB for zcu104, whereas the image file is only 90MB or something like that
Also how can I reduce image size? Its whatever petalinux generates
05-22-2020 01:57 PM
I don't know if there are size limitations but that's what the log is saying.
Ask the Embedded OS forum to help you shrink the image.
They might also have ideas about u-boot/USB limitation as well.