Tool/software: Linux
We are attempting to flash the eMMC of our am5728-based board using USB peripheral boot mode from an Ubuntu host PC. We are using U-boot 2016.05.
1) How can u-boot be configured so that more DFU capable devices are available when executing dfu-util -l (please see step 2 below)?
2) What should be done after u-boot.img is downloaded and the target console responds with "Ctrl+C to exit ..." (please see step 3 below)? Pressing Ctrl+C does nothing.
3) Can the message "Invalid DFU suffix signature" be ignored (please see step 3 below)?
4) Can MLO and u-boot.img be written directly to eMMC via dfu-util?
Below is the sequence of events:
###################################
1)
[Ubuntu PC]
usbboot -S u-boot-spl.bin
reading ASIC ID
CHIP: 5641
rom minor version: 02
IDEN: 0000000000000000000000000000000000000000
MPKH: 0000000000000000000000000000000000000000000000000000000000000000
CRC0: 51d2f9a7
CRC1: 00000000
device is GP
sending 2ndstage to target...
[Target Console]
U-Boot SPL 2016.05-00304-g323bf10-dirty (Apr 12 2017 - 11:57:56)
DRA752-GP ES1.1
Trying to boot from USB DFU
Using default environment
2)
[Ubuntu PC]
dfu-util -l
dfu-util 0.8
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org
Found DFU: [0451:d022] ver=0223, devnum=121, cfg=1, intf=0, alt=2, name="ramdisk", serial="UNKNOWN"
Found DFU: [0451:d022] ver=0223, devnum=121, cfg=1, intf=0, alt=1, name="fdt", serial="UNKNOWN"
Found DFU: [0451:d022] ver=0223, devnum=121, cfg=1, intf=0, alt=0, name="kernel", serial="UNKNOWN"
3)
[Ubuntu PC]
dfu-util c 1 -i 0 -a 0 -D "u-boot.img"
dfu-util 0.8
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org
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 0451:d022
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% 315120 bytes
Download done.
state(7) = dfuMANIFEST, status(0) = No error condition is present
state(2) = dfuIDLE, status(0) = No error condition is present
Done!
[Target Console]
#####DOWNLOAD ... OK
Ctrl+C to exit ...
###################################
Thanks!