[U-Boot] [PATCH 4/4] dfu: add SF backend
Fabio Estevam
festevam at gmail.com
Mon Sep 21 19:13:57 CEST 2015
Hi Stephen,
On Wed, Jun 11, 2014 at 7:03 PM, Stephen Warren <swarren at wwwdotorg.org> wrote:
> From: Stephen Warren <swarren at nvidia.com>
>
> This allows SPI Flash to be programmed using DFU.
>
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
Is this still working in mainline U-boot?
I am getting the following error on the PC host side:
sudo dfu-util -D u-boot.imx -a u-boot
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 at 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 0525:a4a5
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% 478208 bytes
Download done.
state(7) = dfuMANIFEST, status(0) = No error condition is present
state(10) = dfuERROR, status(14) = Something went wrong, but the
device does not know what it was
Done!
On the target side:
=> dfu 0 sf 0:0:25000000:0
SF: Detected M25P32 with page size 256 Bytes, erase size 64 KiB, total 4 MiB
Any ideas?
Thanks,
Fabio Estevam
More information about the U-Boot
mailing list