Re: pre-flash backup fails

2008-07-21 Thread Andy Green
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Somebody in the thread at some point said:
| Andy Green wrote:
|
|> Yes dfu-util can be a bit promiscuous about which USB device it will try
|> to work with, I recall it trying to flash my device when I first met it
|> by talking to USB bluetooth device on that laptop.
|>
|> I changed it to add
|>
|> - -d 0x1d50:0x5119
|>
|> to the dfu-util commandline and it was able to discriminate the
|> Freerunner USB device properly.
|>
|> If that's the problem it should help.
|
| In my case that is not the problem, it actually gets quite a long way
through uploading the rootfs
| to my host via USB, before this happens. How far through it gets seems
to vary each time I try it.

Sounds like U-Boot DFU / USB support being crashy under stress, in your
other mail you mentioned it reboots.  I have used dfu-util in the other
direction, sending a new rootfs image, many times though and it worked OK.

Until Mike Montour noticed it the other day, our distribution package
for U-Boot was coming from months old sources.  Today or tomorrow the
U-Boot package in the repo should jump ahead many patches (although I
don't remember any for DFU).  One of the packages allows ext2 / 3 boot
from SD Card, if you are backing up your NAND rootfs so you can try ASU
or another image, you will be able to do it shortly from SD Card boot
fairly easily (after that U-Boot update).

- -Andy

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiESRsACgkQOjLpvpq7dMogxgCeMBZEQVrB3ZH/ZGj0hx+f/4/h
AnAAn0mNlbq1WslYcdx2YxSg0eS867D3
=7ZIc
-END PGP SIGNATURE-

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


Re: pre-flash backup fails

2008-07-21 Thread Jim Morris
Andy Green wrote:

> 
> Yes dfu-util can be a bit promiscuous about which USB device it will try
> to work with, I recall it trying to flash my device when I first met it
> by talking to USB bluetooth device on that laptop.
> 
> I changed it to add
> 
> - -d 0x1d50:0x5119
> 
> to the dfu-util commandline and it was able to discriminate the
> Freerunner USB device properly.
> 
> If that's the problem it should help.

In my case that is not the problem, it actually gets quite a long way through 
uploading the rootfs 
to my host via USB, before this happens. How far through it gets seems to vary 
each time I try it.

Thanks

-- 
Jim Morris, http://blog.wolfman.com

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


Re: pre-flash backup fails

2008-07-21 Thread Andy Green
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Somebody in the thread at some point said:
| On Sun, Jul 20, 2008 at 05:32:01PM -0700, Jim Morris wrote:
|> I followed the directions here
http://wiki.openmoko.org/wiki/Pre-Flash_Backup
|>
|> I could backup the kernel of my GTA02 but trying to use that method
to backup the rootfs failed
|> several times
|
| I had similar problems (see [1]), although I got error "-84" most of the
| time instead of "-110". Unfortunately, I never solved this problem.
| After several unsuccessful tries and no feedback from the list I gave up
| on this backup method.
|
| Does anyone else have ideas?

Yes dfu-util can be a bit promiscuous about which USB device it will try
to work with, I recall it trying to flash my device when I first met it
by talking to USB bluetooth device on that laptop.

I changed it to add

- -d 0x1d50:0x5119

to the dfu-util commandline and it was able to discriminate the
Freerunner USB device properly.

If that's the problem it should help.

- -Andy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiEOuYACgkQOjLpvpq7dMp7IgCfdOmXPyk/Pnq38Phbf3XUQkPI
oDwAn3yuSXYjEG3Ia2NrXbugxlwF2K7L
=ElZo
-END PGP SIGNATURE-

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


Re: pre-flash backup fails

2008-07-20 Thread Thomas B.
On Sun, Jul 20, 2008 at 05:32:01PM -0700, Jim Morris wrote:
> I followed the directions here http://wiki.openmoko.org/wiki/Pre-Flash_Backup
> 
> I could backup the kernel of my GTA02 but trying to use that method to backup 
> the rootfs failed 
> several times

I had similar problems (see [1]), although I got error "-84" most of the
time instead of "-110". Unfortunately, I never solved this problem.
After several unsuccessful tries and no feedback from the list I gave up
on this backup method.

Does anyone else have ideas?

Regards,
Thomas

[1] http://lists.openmoko.org/pipermail/community/2008-July/020707.html

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


pre-flash backup fails

2008-07-20 Thread Jim Morris
I followed the directions here http://wiki.openmoko.org/wiki/Pre-Flash_Backup

I could backup the kernel of my GTA02 but trying to use that method to backup 
the rootfs failed 
several times

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

  Opening USB Device 0x:0x...
  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...
  Found Runtime: [0x1d50:0x5119] devnum=20, cfg=0, intf=0, alt=6, name="rootfs"
  Claiming USB DFU Interface...
  Setting Alternate Setting ...
  Determining device status: state = dfuIDLE, status = 0
  dfuIDLE, continuing
  Transfer Size = 0x1000
  dfu_upload error -110

In demsg I get this error
  usb 5-2: usbfs: USBDEVFS_CONTROL failed cmd dfu-util rqt 161 rq 2 len 4096 
ret -110

I have not been able to backup rootfs using this method.

I can flash OK though.

Any ideas?

-- 
Jim Morris, http://blog.wolfman.com

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