public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] dfu broken on rk3288 dwc2_otg
@ 2019-01-21 17:55 Jack Mitchell
  2019-01-22  1:19 ` [U-Boot] dfu broken on rk3288 dwc2_otg【请注意,邮件由u-boot-bounces@lists.denx.de代发】 Kever Yang
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jack Mitchell @ 2019-01-21 17:55 UTC (permalink / raw)
  To: u-boot

Hi,

Has anyone successfully used DFU on an rk3288 or dwc2_otg based board?
When trying to download a binary to the board over DFU it currently
seems to timeout and the transfer fails. I have tested the
firefly-rk3288 and also the Tinkerboard.

I have successfully used the same setup on an am335x beaglebone black on
the same U-Boot commit.

U-Boot:

U-Boot 2019.01-00189-g2acc24fc28 (Jan 21 2019 - 16:27:07 +0000)

Model: Firefly-RK3288
DRAM:  4 GiB
MMC:   dwmmc at ff0c0000: 1, dwmmc at ff0f0000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default
environment

In:    serial
Out:   serial
Err:   serial
Model: Firefly-RK3288
Net:
Warning: ethernet at ff290000 (eth0) using random MAC address -
ba:90:f6:9f:c4:70
eth0: ethernet at ff290000
Hit any key to stop autoboot:  0
=> setenv dfu_alt_info "kernel ram ${kernel_addr_r} 0x4000000"
=> dfu 0 ram 0

Desktop:

[jack at arch-corsair rk3288]$ 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: [2207:320a] ver=9999, devnum=84, cfg=1, intf=0, path="5-4.1",
alt=0, name="kernel", serial="UNKNOWN"

[jack at arch-corsair rk3288]$ dfu-util -D test.img -a 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 2207:320a
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	[                         ]   0%            0 bytes
dfu-util: Error during download get_status

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-01-24 11:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-21 17:55 [U-Boot] dfu broken on rk3288 dwc2_otg Jack Mitchell
2019-01-22  1:19 ` [U-Boot] dfu broken on rk3288 dwc2_otg【请注意,邮件由u-boot-bounces@lists.denx.de代发】 Kever Yang
2019-01-22 22:39 ` [U-Boot] dfu broken on rk3288 dwc2_otg Lukasz Majewski
2019-01-24 11:34 ` Jack Mitchell
2019-01-24 11:37 ` Jack Mitchell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox