NeoTool is a bash script for your desktop system to provide a friendly GUI frontend to some common management tasks, like for example flashing Openmoko smartphones. It is aimed at being very intuitive and easy to use, and flexible enough to make it useful in a wide variety of circumstances.
The main features of NeoTool are:
The most recent version of NeoTool is available for download at http://users.on.net/~antisol/neotool
When a new version is released it will be announced on the community mailing list, and on this page.
Here is the packaging request of NeoTool for Ubuntu; here for Debian (which will probably not succeed).
You will have to install dfu-util in order to be able to use NeoTool.
Other prerequisites for NeoTool should be installed on most modern linux systems by default:
user@host# su root@host# ssh-keygen root@host# scp ~/.ssh/id_rsa.pub root@<Neo IP Address>:/home/root root@host# ssh root@<Neo IP Address> root@om-gta02:~# cat id_rsa.pub >> /home/root/.ssh/authorized_keys
This will prevent you from having to enter the password for your Neo when you use ssh and scp.
If you don't do this, you will need to enter your password repeatedly in order to backup rootfs.
NeoTool should usually be run as root, although this is not required if you only want to backup rootfs and/or the kernel via scp.
sudo ./neotool
You will initially be presented with the main menu. Most of the functions should be relatively self-explanatory
(thorough documentation on usage goes here)
See this thread and that update for discussions on the community list.
- ability to flash more than one image at once - the 'what do you wanna flash' now has checkboxes instead of radio buttons, and all your selections are flashed one after the other. (which i find very handy, stops the FR powering down while you're typing the next dfu-util command, or locating the next image - works great for flashing a new distro & kernel). if an error occurs, subsequent files will not be flashed.
- more confirmation / idiot-proofing - it now tells you what you're doing much more clearly (i.e: "about to flash Kernel with /foo/bar.bin, rootfs with /foo/bar.jffs". allows you to confirm that you chose the right images). also the 'choose file' dialogs tell you what you're browsing for
- ability for users to press 'cancel' at the various dialogs and exit gracefully.
- checks that dfu-util exists and is executable. I moved my dfu-util to /usr/local/bin, so it looks there first, but it will also check the current directory and prompt if it can't find it
- I wasn't a fan of patching dfu-util, and the pulsating zenity progress dialog drags my (prehistoric) PC to a crawl, so I disabled the progress bar and use the text output of dfu-util instead.
- Utility now has the ability to flash the splash image as per request
- Utility can now also backup your device to flashable rootfs / kernel images (david might like this for building FDOM images)
- Configurification is loaded on startup and saved in /etc/frutil (you can only modify settings if you run it as root)
- more idiot proofing - uses 'which' to find dfu-util, checks to ensure it's being run as root, checks that zenity is installed on the host, checks that you have mkfs.jffs2 installed before backing up, checks that you have pv installed and acts accordingly (by either using it or not during the backup [this is not properly tested because I don't have pv, please report]), and possibly other stuff I've forgotten about.
- new name (frutil) to reflect the new abilities
- Added ChangeLog
- Added ability to handle multiple DFU-capable devices
- Changed references to 'freerunner' to 'neo'
- name changed to NeoTool (despite implied connection with Keanu Reeves' crotch)
- Added 'Reset to defaults' option
- Added warning that flashing uboot on neo1973 may result in a paperweight
- several small bugfixes
- made backup functionality much more versatile:
- made backup filenames configurable
- Added ability to choose what to backup
- Added rootfs backup type option (jffs2 or tar)
- Added kernel backup method option (scp or dfu)
- Added ability to backup uboot and splash
- Changed information at pre-flash prompt to include instructions for how to get to the NOR menu. eliminated any mention of NAND, as everything can be flashed from NOR.
- bugfix - when user selects a filename under 'customize backup filenames' and then presses cancel, the selected filename was set to nothing.
- NeoTool now checks that the path of backup files exist, and attempts to create it if it doesn't. This allows you to organise your backups in a folder hierarchy, i.e set the backup filename to: /data/openmoko/backups/{date}/{image}_backup and the {date} directory will be created by NeoTool, assuming /data/openmoko/backups exists and you have permission.
Suggestions? comments? feedback? problems?
NeoTool is perfect in every respect - if it breaks it's because you did something wrong.