OpenMoko Flash Problem

Igor Foox igorfoox at gmail.com
Tue Oct 23 02:28:59 CEST 2007


On 10/22/07, 7150 <linux.1 at litenverden.com> wrote:
> I am trying to flash OpenMoko kernel and rootfs. I've sucessfully done a
> Qtopia flash (I used the phone at work today). I did the Qtopia flash
> because I could not flash an OpenMoko image before. Now, I'm trying to
> figure out why.
>
> DFU-util is in /usr/bin, so ./ is not required in commands.
> I am running as root.
>
> Here is my 'lab notebook' with the results:
>
> 10-21-07: First attempt to install OpenMoko software.
>
> Downloaded
> OpenMoko-openmoko-devel-image-glibc-ipk-P1-Snapshot-20071021-fic-gta01.rootfs.jffs2
> and openmoko-devel-image-fic-gta01.jffs2.
>
> Preparing the Neo:
> Unplug all usb devices from the host.
> Hold the phone's AUX button and then press the phone's POWER button. [OK]
>
> Hold the POWER button for about 4 seconds before the device will turn
> on. Otherwise the screen will only flash white for a second and the
> phone won't power up.
>
> The u-boot menu should appear. [OK]
> Plug Neo1973 into host with supplied USB cable. [OK]
>
> Using terminal 1, connect to boot loader:
> screen -l /dev/ttyACM0 [OK]
>
> >From now on do not cut and paste commands in terminal 1!
>
> GTA01Bv4 # setenv boot_menu_timeout 65000 [OK]
> GTA01Bv4 # saveenv [OK]
>
> Clear nand:
> nand erase kernel [OK]
> nand erase rootfs [OK]
>
> Using terminal 2, flash kernel:
> dfu-util -a kernel -R -D
> /root/openmoko/openmoko-devel-image-fic-gta01.jffs2 [FAIL]

The problem here is that you are doing "-a kernel" and giving it the
rootfs image file. I assume what happens is that the rootfs is too big
to fit in the kernel partition, try this command with the kernel file.

Igor



More information about the device-owners mailing list