Unable to Flash Root File System - Error 60

11 messages Options Options
Embed this Post
Permalink
Markku

Unable to Flash Root File System - Error 60

Reply Threaded MoreMore options
Print post
Permalink
I'm not able to flash my Neo Freerunner root file system. I'm using Mac OS 10.5.4, and using the OpenMoko Flasher 1.4 to try to flash it. I'm able to flash kernels fine, but when I try to flash the root file system (I'm trying to flash it with OM2008.8.rootfs.jffs2, I get the following errors:

On the FreeRunner (while in uBoot):
Starting DFU DOWNLOAD to partition "factory"
End of write exceeds partition end

In the flash app:
Opening USB Device 0x0000:0x0000...
Found Runtime: [0x1d50:0x5119] devnum=0, cfg=0, intf=0, alt=5, name="factory"
Claiming USB DFU Interface...
Setting Alternate Setting ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
Transfer Size = 0x1000
bytes_per_hash=1431306
Starting download: [dfu_download error -60
Error during download

Any ideas why I'm not able to flash the root file system?
I've tried flashing it both from the NOR and the NAND uboot menu.

PS I can't get run dfu-util provided with OpenMoko Flasher to run from Terminal ... -bash: dfu-util: command not found

Rod Whitby

Re: Unable to Flash Root File System - Error 60

Reply Threaded MoreMore options
Print post
Permalink
Markku wrote:
> I'm not able to flash my Neo Freerunner root file system. I'm using Mac OS
> 10.5.4, and using the OpenMoko Flasher 1.4 to try to flash it. I'm able to
> flash kernels fine, but when I try to flash the root file system (I'm trying
> to flash it with OM2008.8.rootfs.jffs2, I get the following errors:
>
> On the FreeRunner (while in uBoot):
> Starting DFU DOWNLOAD to partition "factory"
> End of write exceeds partition end

Use "-a rootfs" on the dfu-util command line.  You're writing to the
wrong partition.

-- Rod

_______________________________________________
support mailing list
support@...
https://lists.openmoko.org/mailman/listinfo/support
Jay Vaughan

Re: Unable to Flash Root File System - Error 60

Reply Threaded MoreMore options
Print post
Permalink
In reply to this post by Markku
> PS I can't get run dfu-util provided with OpenMoko Flasher to run from
> Terminal ... -bash: dfu-util: command not found


Here is how I do it:

DYLD_LIBRARY_PATH=/Applications/OpenMoko\ Flasher\ 1.2.app/Contents/
MacOS/../Resources/ /Applications/OpenMoko\ Flasher\ 1.2.app/Contents/
MacOS/dfu-util -a 5 -R -D  openmoko-image.jffs2

(All on one line, careful of spaces in the path ..)


;
--
Jay Vaughan





_______________________________________________
support mailing list
support@...
https://lists.openmoko.org/mailman/listinfo/support
Rod Whitby

Re: Unable to Flash Root File System - Error 60

Reply Threaded MoreMore options
Print post
Permalink
Jay Vaughan wrote:
> Here is how I do it:
>
> DYLD_LIBRARY_PATH=/Applications/OpenMoko\ Flasher\ 1.2.app/Contents/
> MacOS/../Resources/ /Applications/OpenMoko\ Flasher\ 1.2.app/Contents/
> MacOS/dfu-util -a 5 -R -D  openmoko-image.jffs2

Please advise people to use '-a rootfs' instead of '-a 5', since -a 5
will break the next time that Openmoko decides to change the mtd layout
(as did happen between GTA01 and GTA02).

-- Rod

_______________________________________________
support mailing list
support@...
https://lists.openmoko.org/mailman/listinfo/support
Max Kiva

Re: Unable to Flash Root File System - Error 60

Reply Threaded MoreMore options
Print post
Permalink
In reply to this post by Markku
Some javascript/style in this post has been disabled (why?)
sorry may be a silly question , but is  dfu-util in that directory ?


----- Original Message ----
From: Jay Vaughan <jayv@...>
To: Support for Openmoko Device Owners <support@...>
Sent: Wednesday, 13 August, 2008 1:05:19 PM
Subject: Re: Unable to Flash Root File System - Error 60

> PS I can't get run dfu-util provided with OpenMoko Flasher to run from
> Terminal ... -bash: dfu-util: command not found


Here is how I do it:

DYLD_LIBRARY_PATH=/Applications/OpenMoko\ Flasher\ 1.2.app/Contents/
MacOS/../Resources/ /Applications/OpenMoko\ Flasher\ 1.2.app/Contents/
MacOS/dfu-util -a 5 -R -D  openmoko-image.jffs2

(All on one line, careful of spaces in the path ..)


;
--
Jay Vaughan





_______________________________________________
support mailing list
support@...
https://lists.openmoko.org/mailman/listinfo/support

Send instant messages to your online friends http://uk.messenger.yahoo.com
_______________________________________________
support mailing list
support@...
https://lists.openmoko.org/mailman/listinfo/support
Jay Vaughan

Re: Unable to Flash Root File System - Error 60

Reply Threaded MoreMore options
Print post
Permalink
> sorry may be a silly question , but is  dfu-util in that directory ?


It is installed as part of the .app bundle of the OpenMoko Flasher  
application, so substitute my path with yours to that .app ..

;
--
Jay Vaughan





_______________________________________________
support mailing list
support@...
https://lists.openmoko.org/mailman/listinfo/support
Dr. H. Nikolaus Schaller

Re: Openmoko Flasher - Unable to Flash Root File System - Error 60

Reply Threaded MoreMore options
Print post
Permalink
In reply to this post by Rod Whitby

Am 13.08.2008 um 14:35 schrieb Rod Whitby:

> Jay Vaughan wrote:
>> Here is how I do it:
>>
>> DYLD_LIBRARY_PATH=/Applications/OpenMoko\ Flasher\ 1.2.app/Contents/
>> MacOS/../Resources/ /Applications/OpenMoko\ Flasher\ 1.2.app/
>> Contents/
>> MacOS/dfu-util -a 5 -R -D  openmoko-image.jffs2

This command can be copied from the Console log after using the  
"Flash" button (even if no device is connected).

BTW: the currently latest release is 1.4 (Universal Binary) @ http://www.handheld-linux.com/wiki.php?page=Openmoko%20Flasher

>>
>
> Please advise people to use '-a rootfs' instead of '-a 5', since -a 5
> will break the next time that Openmoko decides to change the mtd  
> layout
> (as did happen between GTA01 and GTA02).

Ah, that explains everything.

Does someone have a good list of all allowed values of -a? And, are  
they the same between GTA01 and GTA02?

Please test this version if it works correctly before I make it  
official:

        http://www.dsitri.de/download/OpenMoko%20Flasher-1.4.1.tgz

And what would be nice is if someone can send me a list of current  
repositories for GTA01 and GTA02 that you would like to see  
preinstalled.

Nikolaus

_______________________________________________
support mailing list
support@...
https://lists.openmoko.org/mailman/listinfo/support
Rod Whitby

Re: Openmoko Flasher - Unable to Flash Root File System - Error 60

Reply Threaded MoreMore options
Print post
Permalink
Dr. H. Nikolaus Schaller wrote:

> Am 13.08.2008 um 14:35 schrieb Rod Whitby:
>> Please advise people to use '-a rootfs' instead of '-a 5', since -a 5
>> will break the next time that Openmoko decides to change the mtd  
>> layout
>> (as did happen between GTA01 and GTA02).
>
> Ah, that explains everything.
>
> Does someone have a good list of all allowed values of -a? And, are  
> they the same between GTA01 and GTA02?

At least the following are:

u-boot, kernel, rootfs

-- Rod

_______________________________________________
support mailing list
support@...
https://lists.openmoko.org/mailman/listinfo/support
Markku

Re: Openmoko Flasher - Unable to Flash Root File System - Error 60

Reply Threaded MoreMore options
Print post
Permalink
Thanks for the help with getting dfu-util working in Terminal on the
Mac. Is anyone currently managing the Mac OS X page in the wiki. These
better instructions for running dfu-util should be posted. I'll
volunteer to update it and a couple other things if no one is currently
keeping that page up to date.

Marcus


Rod Whitby wrote:

> Dr. H. Nikolaus Schaller wrote:
>  
>> Am 13.08.2008 um 14:35 schrieb Rod Whitby:
>>    
>>> Please advise people to use '-a rootfs' instead of '-a 5', since -a 5
>>> will break the next time that Openmoko decides to change the mtd  
>>> layout
>>> (as did happen between GTA01 and GTA02).
>>>      
>> Ah, that explains everything.
>>
>> Does someone have a good list of all allowed values of -a? And, are  
>> they the same between GTA01 and GTA02?
>>    
>
> At least the following are:
>
> u-boot, kernel, rootfs
>
> -- Rod
>
> _______________________________________________
> support mailing list
> support@...
> https://lists.openmoko.org/mailman/listinfo/support
>
>  


_______________________________________________
support mailing list
support@...
https://lists.openmoko.org/mailman/listinfo/support
Dr. H. Nikolaus Schaller

Re: Openmoko Flasher - Unable to Flash Root File System - Error 60

Reply Threaded MoreMore options
Print post
Permalink
Well it was mostly me :-) During 1973 ages. Plus some others who  
updated networking issues.

But feel free to add things. It is a Community Wiki...

Nikolaus

Am 13.08.2008 um 17:45 schrieb Marcus Stong:

> Thanks for the help with getting dfu-util working in Terminal on the
> Mac. Is anyone currently managing the Mac OS X page in the wiki. These
> better instructions for running dfu-util should be posted. I'll
> volunteer to update it and a couple other things if no one is  
> currently
> keeping that page up to date.
>
> Marcus
>
>
> Rod Whitby wrote:
>> Dr. H. Nikolaus Schaller wrote:
>>
>>> Am 13.08.2008 um 14:35 schrieb Rod Whitby:
>>>
>>>> Please advise people to use '-a rootfs' instead of '-a 5', since -
>>>> a 5
>>>> will break the next time that Openmoko decides to change the mtd
>>>> layout
>>>> (as did happen between GTA01 and GTA02).
>>>>
>>> Ah, that explains everything.
>>>
>>> Does someone have a good list of all allowed values of -a? And, are
>>> they the same between GTA01 and GTA02?
>>>
>>
>> At least the following are:
>>
>> u-boot, kernel, rootfs
>>
>> -- Rod
>>
>> _______________________________________________
>> support mailing list
>> support@...
>> https://lists.openmoko.org/mailman/listinfo/support
>>
>>
>
>
> _______________________________________________
> support mailing list
> support@...
> https://lists.openmoko.org/mailman/listinfo/support


_______________________________________________
support mailing list
support@...
https://lists.openmoko.org/mailman/listinfo/support
Michael Shiloh

Re: Openmoko Flasher - Unable to Flash Root File System - Error 60

Reply Threaded MoreMore options
Print post
Permalink
Marcus,

I'll echo what Nikolaus says and much stronger: It is a wiki, and
depends on community input. Your experience will help us, so thanks for
volunteering. We do have quite a number of Mac users who will appreciate
your work.

Thanks,
Michael

Dr. H. Nikolaus Schaller wrote:

> Well it was mostly me :-) During 1973 ages. Plus some others who  
> updated networking issues.
>
> But feel free to add things. It is a Community Wiki...
>
> Nikolaus
>
> Am 13.08.2008 um 17:45 schrieb Marcus Stong:
>
>> Thanks for the help with getting dfu-util working in Terminal on the
>> Mac. Is anyone currently managing the Mac OS X page in the wiki. These
>> better instructions for running dfu-util should be posted. I'll
>> volunteer to update it and a couple other things if no one is  
>> currently
>> keeping that page up to date.
>>
>> Marcus
>>
>>
>> Rod Whitby wrote:
>>> Dr. H. Nikolaus Schaller wrote:
>>>
>>>> Am 13.08.2008 um 14:35 schrieb Rod Whitby:
>>>>
>>>>> Please advise people to use '-a rootfs' instead of '-a 5', since -
>>>>> a 5
>>>>> will break the next time that Openmoko decides to change the mtd
>>>>> layout
>>>>> (as did happen between GTA01 and GTA02).
>>>>>
>>>> Ah, that explains everything.
>>>>
>>>> Does someone have a good list of all allowed values of -a? And, are
>>>> they the same between GTA01 and GTA02?
>>>>
>>> At least the following are:
>>>
>>> u-boot, kernel, rootfs
>>>
>>> -- Rod
>>>
>>> _______________________________________________
>>> support mailing list
>>> support@...
>>> https://lists.openmoko.org/mailman/listinfo/support
>>>
>>>
>>
>> _______________________________________________
>> support mailing list
>> support@...
>> https://lists.openmoko.org/mailman/listinfo/support
>
>
> _______________________________________________
> support mailing list
> support@...
> https://lists.openmoko.org/mailman/listinfo/support

_______________________________________________
support mailing list
support@...
https://lists.openmoko.org/mailman/listinfo/support