Problem with dfu-util (flashing)

2009-11-12 Thread Live session user
Hi all,

I'm trying to flash SHR in NAND, but dfu-util gives me problems - there 
is another device, and passing -i 2 (2 is the ID) don't help...

Here's the output it gives (with and without the FreeRunner connected), 
together with lsusb:

ubu...@ubuntu:~/Desktop$ '/home/ubuntu/Desktop/dfu-util' -a kernel
-i 2 -R -D

/home/ubuntu/Desktop/uImage-2.6.29-oe11+gitr119844+a3587e4ed77974adfb057af261aaeea4022018e8-r3.5-om-gta02.bin
dfu-util - (C) 2007 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

More than one DFU capable USB device found, you might try `--list'
and then disconnect all but one device
ubu...@ubuntu:~/Desktop$ '/home/ubuntu/Desktop/dfu-util' -l
dfu-util - (C) 2007 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

Found Runtime: [0x0a5c:0x2151] devnum=0, cfg=0, intf=3, alt=0,
name=UNDEFINED
ubu...@ubuntu:~/Desktop$ lsusb
Bus 002 Device 003: ID 064e:a117 Suyin Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 003: ID 0603:00f2 Novatek Microelectronics Corp.
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 0a5c:2151 Broadcom Corp.
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 147e:1000  
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 1532:0007 Razer USA, Ltd DeathAdder Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
ubu...@ubuntu:~/Desktop$ lsusb
Bus 002 Device 003: ID 064e:a117 Suyin Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 003: ID 0603:00f2 Novatek Microelectronics Corp.
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 0a5c:2151 Broadcom Corp.
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 147e:1000  
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 1532:0007 Razer USA, Ltd DeathAdder Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

As you can see, Bus 006 Device 002: ID 0a5c:2151 Broadcom Corp. is the 
other device. But I don't have a Broadcom device! Maybe it's internal 
(laptop)? Anyway, can I disable that device (I'm using a live CD right now)?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problem with dfu-util (flashing)

2009-11-12 Thread Live session user
Ok, I fixed the previous error by passing --device vendor:product, but 
now I get a segmentation fault:

ubu...@ubuntu:~/Desktop$ sudo '/home/ubuntu/Desktop/dfu-util' -a
kernel -d 0x1d50:0x5119 -i 2 -R -D

/home/ubuntu/Desktop/uImage-2.6.29-oe11+gitr119844+a3587e4ed77974adfb057af261aaeea4022018e8-r3.5-om-gta02.bin
dfu-util - (C) 2007 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

Opening USB Device 0x1d50:0x5119...
Claiming USB DFU Runtime Interface...
Determining device status: state = appIDLE, status = 0
Device really in Runtime Mode, send DFU detach request...
Resetting USB...
Opening USB Device...
Segmentation fault (core dumped)

On the Neo it says (the first try):

DFU: Switching to DFU Mode
DEVICE_CONFIGURED: 1

After that if I try the command again the segfault occurs sooner:

dfu-util - (C) 2007 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

Opening USB Device 0x1d50:0x5119...
Segmentation fault (core dumped)


Any suggestions to what could cause this error?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problem with dfu-util (flashing)

2009-11-12 Thread Dave
I run kubuntu hardy (8.04) and found that I had to build dfu-util from
source to get it to run reliably.

Dave

On Fri, Nov 13, 2009 at 7:58 AM, Live session user smu...@gmail.com wrote:

 Ok, I fixed the previous error by passing --device vendor:product, but
 now I get a segmentation fault:

ubu...@ubuntu:~/Desktop$ sudo '/home/ubuntu/Desktop/dfu-util' -a
kernel -d 0x1d50:0x5119 -i 2 -R -D

  
 /home/ubuntu/Desktop/uImage-2.6.29-oe11+gitr119844+a3587e4ed77974adfb057af261aaeea4022018e8-r3.5-om-gta02.bin
dfu-util - (C) 2007 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

 Opening USB Device 0x1d50:0x5119...
Claiming USB DFU Runtime Interface...
Determining device status: state = appIDLE, status = 0
Device really in Runtime Mode, send DFU detach request...
Resetting USB...
Opening USB Device...
Segmentation fault (core dumped)

 On the Neo it says (the first try):

DFU: Switching to DFU Mode
DEVICE_CONFIGURED: 1

 After that if I try the command again the segfault occurs sooner:

dfu-util - (C) 2007 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

 Opening USB Device 0x1d50:0x5119...
Segmentation fault (core dumped)


 Any suggestions to what could cause this error?

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problem with dfu-util (flashing)

2009-11-12 Thread Åsmund Stavdahl
I used the Windows port of DFU-util (in Windows 7 RC), and it worked 
without complications.

SHR is still booting (after 5 min++) - I thought 2 minutes boot time was 
an exaggeration :-) Hope this is the configuration stage or something so 
I don't have to wait this long every time :-/

Thanks for the support though! I'll try building from source once I fix 
my MBR :-)

Dave wrote:
 I run kubuntu hardy (8.04) and found that I had to build dfu-util
 from source to get it to run reliably.

 Dave

 On Fri, Nov 13, 2009 at 7:58 AM, Live session user
 smu...@gmail.com mailto:smu...@gmail.com wrote:

 Ok, I fixed the previous error by passing --device
 vendor:product, but
 now I get a segmentation fault:

ubu...@ubuntu:~/Desktop$ sudo
 '/home/ubuntu/Desktop/dfu-util' -a
kernel -d 0x1d50:0x5119 -i 2 -R -D
  
  
 /home/ubuntu/Desktop/uImage-2.6.29-oe11+gitr119844+a3587e4ed77974adfb057af261aaeea4022018e8-r3.5-om-gta02.bin
dfu-util - (C) 2007 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

Opening USB Device 0x1d50:0x5119...
Claiming USB DFU Runtime Interface...
Determining device status: state = appIDLE, status = 0
Device really in Runtime Mode, send DFU detach request...
Resetting USB...
Opening USB Device...
Segmentation fault (core dumped)

 On the Neo it says (the first try):

DFU: Switching to DFU Mode
DEVICE_CONFIGURED: 1

 After that if I try the command again the segfault occurs sooner:

dfu-util - (C) 2007 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

Opening USB Device 0x1d50:0x5119...
Segmentation fault (core dumped)


 Any suggestions to what could cause this error?

 ___
 Openmoko community mailing list
 community@lists.openmoko.org mailto:community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


 

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 



-- 
Save humanity from self destruction -- STOP POPULATION GROWTH!

Don't bother sending me Word or PowerPoint attachments. They make me puke.
Read http://www.gnu.org/philosophy/no-word-attachments.html and you will 
understand why.



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community