From: Lukasz Majewski <lukma@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] dfu broken on rk3288 dwc2_otg
Date: Tue, 22 Jan 2019 23:39:28 +0100 [thread overview]
Message-ID: <20190122233928.666237ad@jawa> (raw)
In-Reply-To: <74632825-96f5-a07a-a421-8669d1a50d07@embed.me.uk>
On Mon, 21 Jan 2019 17:55:51 +0000
Jack Mitchell <ml@embed.me.uk> wrote:
> 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 see from the output that you are using dwmmc. You may want to look
into trats/trats2/Odroid XU3 board from Samsung, as they use the same
IP block (and shall work).
>
> 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
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190122/d3c23578/attachment.sig>
next prev parent reply other threads:[~2019-01-22 22:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Lukasz Majewski [this message]
2019-01-24 11:34 ` [U-Boot] dfu broken on rk3288 dwc2_otg Jack Mitchell
2019-01-24 11:37 ` Jack Mitchell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190122233928.666237ad@jawa \
--to=lukma@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox