Where '''<tt>phone</tt>''' is the ip address of your phone (192.168.0.202).

Personally I added an entry to /etc/hosts so the above works for me. I also added the desktop key to /home/root/.ssh/authorized_keys on the phone as per the instructions in [[USB_Networking#SSH_Keys]].

Personally I added an entry to /etc/hosts so the above works for me. I also added the desktop key to /home/root/.ssh/authorized_keys on the phone as per the instructions in [[USB_Networking#SSH_Keys]].

Line 97:

Line 97:

DEVICE_CONFIGURED: 1

DEVICE_CONFIGURED: 1

Starting DFU Upload of partition 'kernel'

Starting DFU Upload of partition 'kernel'

+

DEVICE_CONFIGURED: 1

</pre>

</pre>

Line 135:

Line 136:

Insure yourself, that you connect the FR directly to the computer (without any USB hubs), if you experience timed out connections

Insure yourself, that you connect the FR directly to the computer (without any USB hubs), if you experience timed out connections

As when flashing, you will need to be in U-Boot in the NOR Flash. Log into the NOR uBoot menu and select Set console to USB (for FreeRunner just stay in NOR uBoot menu, do not select or enter anything). Now you will be able to flash, make backups of your FreeRunner or query the FreeRunner with dfu-util. Backup is fairly slow; it took over ten minutes to back up a 247 MB rootfs.

It is important that you connect the USB cable directly from your computer to your phone. If there is a hub between them, backup (and flashing) will mostly likely fail.

NOTE: On a Windows host, omit the "./" or "sudo ./" that precedes the commands listed on this page

This script is based on the above "Simple backup script" (by unknown). It does the backup of what you want and choose promting you for choices. Enjoy it! test it! contribute! You can find us at /server irc.freenode.net /j #openmoko and we'll be pleased to accept you help (ideas || code).

NOTE that the script works for me(tm) but it still needs some love. especially on traps and catches for wrong choices.

NeoTool is a zenity-based script which allows you to both backup and Flash your device from a pretty GUI. It uses both the dfu-util method and the alternate method described on this page, and can produce flashable images of everything including rootfs. Check it out.

Following is a very simple implementation of
incremental rsync snapshots with hardlinks. Just put it to /etc/cron.daily/backup-neo
on your PC and setup ssh keys between your PC and neo. It will then
daily try to backup all files in the / partition. Each successful
backup is hardlinked under a timestamped directory so you can access
old backups easily. In fact, you can even NFS mount /backup/neo to
phone and then chroot inside the backups to run programs in the
backup'ed environment.

Backing-up flash images

As when flashing, you will need to be in U-Boot in the NOR Flash. Log into the NOR uBoot menu and select Set console to USB (for FreeRunner just stay in NOR uBoot menu, do not select or enter anything). Now you will be able to flash, make backups of your FreeRunner or query the FreeRunner with dfu-util. Backup is fairly slow; it took over ten minutes to back up a 247 MB rootfs.

It is important that you connect the USB cable directly from your computer to your phone. If there is a hub between them, backup (and flashing) will mostly likely fail.

NOTE: On a Windows host, omit the "./" or "sudo ./" that precedes the commands listed on this page

Interactive script

This script is based on the above "Simple backup script" (by unknown). It does the backup of what you want and choose promting you for choices. Enjoy it! test it! contribute! You can find us at /server irc.freenode.net /j #openmoko and we'll be pleased to accept you help (ideas || code).

NOTE that the script works for me(tm) but it still needs some love. especially on traps and catches for wrong choices.

Pretty GUI Script

NeoTool is a zenity-based script which allows you to both backup and Flash your device from a pretty GUI. It uses both the dfu-util method and the alternate method described on this page, and can produce flashable images of everything including rootfs. Check it out.

Backing up the incremental rsync hardlink way

Following is a very simple implementation of
[http://www.mikerubel.org/computers/rsync_snapshots/ incremental rsync
snapshots with hardlinks]. Just put it to /etc/cron.daily/backup-neo
on your PC and setup ssh keys between your PC and neo. It will then
daily try to backup all files in the / partition. Each successful
backup is hardlinked under a timestamped directory so you can access
old backups easily. In fact, you can even NFS mount /backup/neo to
phone and then chroot inside the backups to run programs in the
backup'ed environment.