Author Topic: Openmoko Flasher  (Read 9224 times)

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
Openmoko Flasher
« on: August 06, 2007, 10:58:24 pm »
With a new tool 'OpenMoko Flasher' and an update of AJZaurusUSB it appears now to be possible to flash and communicate between a Mac and an OpenMoko through the USB cable.

A description is at: http://wiki.openmoko.org/wiki/MacOS_X

Please let us know your experiences.

Now comes the next level to climb to... syncing...

-- hns
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com

stongo

  • Newbie
  • *
  • Posts: 1
    • View Profile
Openmoko Flasher
« Reply #1 on: August 12, 2008, 03:50:52 pm »
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

stupkid

  • Hero Member
  • *****
  • Posts: 578
    • View Profile
    • http://
Openmoko Flasher
« Reply #2 on: August 14, 2008, 12:50:22 am »
Quote from: stongo
On the FreeRunner (while in uBoot):
Starting DFU DOWNLOAD to partition "factory"
End of write exceeds partition end

Hmm,

Openmoko Flasher.app/Contents/MacOS/dfu-util -a rootfs -R -D rootfs_filename.jffs2

Should be the command to flash the rootfs and I don't know where you are getting that "factory" partition name from.  After the -a option you should be specifying 'rootfs' as the partition to flash.

Zaurus SL-C3200 pdaXii13v2 5.5 / Ambicom WC1100C-CF / Socket Bluetooth Rev G


OpenMoko FreeRunner - Running Tweaked OM2008.x Image

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
Openmoko Flasher
« Reply #3 on: August 14, 2008, 05:31:38 am »
Quote from: stupkid
Openmoko Flasher.app/Contents/MacOS/dfu-util -a rootfs -R -D rootfs_filename.jffs2

Should be the command to flash the rootfs and I don't know where you are getting that "factory" partition name from.  After the -a option you should be specifying 'rootfs' as the partition to flash.
You can get a new version 1.4.1 through http://www.handheld-linux.com/wiki.php?pag...nmoko%20Flasher
Feedback & Bug reports welcome!

That one now uses the partition names

"rootfs"
"kernel"
"u-boot"

What I don't know is the string for the value "4", i.e. the splash partition.

-- hns
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com

handheld-linux

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
    • http://www.handheld-linux.com
Openmoko Flasher
« Reply #4 on: September 28, 2008, 06:57:44 am »
Quote from: dhns
You can get a new version 1.4.1 through http://www.handheld-linux.com/wiki.php?pag...nmoko%20Flasher
Hi all,

There is now version 1.5 with updated repository links and some fixes for improved file type recognition.

Download through the same page.

-- hns