* AT91SAM9260EK DFU - Error using dfu-util
@ 2013-01-23 13:17 Fabio Porcedda
2013-01-23 13:41 ` Eric Bénard
0 siblings, 1 reply; 3+ messages in thread
From: Fabio Porcedda @ 2013-01-23 13:17 UTC (permalink / raw)
To: barebox
Hi All,
I'm trying the dfu support for AT91SAM9260EK.
I've succefully activated it using th bp button, but
the dfu-util give me the error "Cannot open device".
I'm doing something wrong?
Can someone help me?
-----
I'm using:
- Barebox 2013.01.0 - at91sam9260ek_defconfig
- Ubuntu 12.10
-------
AT91SAM9260EK serial output:
dfu_bp pressed detected wait 5s
Start DFU Mode
dfu: register alt0(barebox) with device /dev/nand0.barebox.bb
dfu: register alt1(kernel) with device /dev/nand0.kernel.bb
dfu: register alt2(rootfs) with device /dev/nand0.rootfs.bb
-------
$ dfu-util -l
dfu-util 0.7
...
Found Runtime: [4321:1234] devnum=0, cfg=1, intf=0, alt=0, name="UNDEFINED"
Found Runtime: [4321:1234] devnum=0, cfg=1, intf=0, alt=1, name="UNDEFINED"
Found Runtime: [4321:1234] devnum=0, cfg=1, intf=0, alt=2, name="UNDEFINED"
-------
$ dfu-util -a 1 -D zImage
dfu-util 0.7
...
Cannot open device
Opening DFU capable USB device...
Best regards
--
Fabio Porcedda
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: AT91SAM9260EK DFU - Error using dfu-util
2013-01-23 13:17 AT91SAM9260EK DFU - Error using dfu-util Fabio Porcedda
@ 2013-01-23 13:41 ` Eric Bénard
2013-01-23 13:45 ` Fabio Porcedda
0 siblings, 1 reply; 3+ messages in thread
From: Eric Bénard @ 2013-01-23 13:41 UTC (permalink / raw)
To: Fabio Porcedda; +Cc: barebox
Hi Fabio,
Le Wed, 23 Jan 2013 14:17:59 +0100,
Fabio Porcedda <fabio.porcedda@gmail.com> a écrit :
> $ dfu-util -l
> dfu-util 0.7
> ...
> Found Runtime: [4321:1234] devnum=0, cfg=1, intf=0, alt=0, name="UNDEFINED"
> Found Runtime: [4321:1234] devnum=0, cfg=1, intf=0, alt=1, name="UNDEFINED"
> Found Runtime: [4321:1234] devnum=0, cfg=1, intf=0, alt=2, name="UNDEFINED"
>
here you should get the name of the partitions, else that means you
have a right problem on the USB device.
>
> -------
> $ dfu-util -a 1 -D zImage
> dfu-util 0.7
> ...
> Cannot open device
> Opening DFU capable USB device...
>
try the same thing with root rights (sudo dfu-util).
Best regards,
Eric
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: AT91SAM9260EK DFU - Error using dfu-util
2013-01-23 13:41 ` Eric Bénard
@ 2013-01-23 13:45 ` Fabio Porcedda
0 siblings, 0 replies; 3+ messages in thread
From: Fabio Porcedda @ 2013-01-23 13:45 UTC (permalink / raw)
To: Eric Bénard; +Cc: barebox
On Wed, Jan 23, 2013 at 2:41 PM, Eric Bénard <eric@eukrea.com> wrote:
> Hi Fabio,
>
> Le Wed, 23 Jan 2013 14:17:59 +0100,
> Fabio Porcedda <fabio.porcedda@gmail.com> a écrit :
>> $ dfu-util -l
>> dfu-util 0.7
>> ...
>> Found Runtime: [4321:1234] devnum=0, cfg=1, intf=0, alt=0, name="UNDEFINED"
>> Found Runtime: [4321:1234] devnum=0, cfg=1, intf=0, alt=1, name="UNDEFINED"
>> Found Runtime: [4321:1234] devnum=0, cfg=1, intf=0, alt=2, name="UNDEFINED"
>>
> here you should get the name of the partitions, else that means you
> have a right problem on the USB device.
>
>>
>> -------
>> $ dfu-util -a 1 -D zImage
>> dfu-util 0.7
>> ...
>> Cannot open device
>> Opening DFU capable USB device...
>>
> try the same thing with root rights (sudo dfu-util).
Thank you very much now is working!
I'm ashamed.
Best regards
--
Fabio Porcedda
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-01-23 13:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-23 13:17 AT91SAM9260EK DFU - Error using dfu-util Fabio Porcedda
2013-01-23 13:41 ` Eric Bénard
2013-01-23 13:45 ` Fabio Porcedda
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox