[maemo-developers] GUI Flasher

From: pHilipp Zabel philipp.zabel at gmail.com
Date: Fri Mar 7 10:54:16 EET 2008
On Fri, Mar 7, 2008 at 9:24 AM, Eero Tamminen <eero.tamminen at nokia.com> wrote:
> Hi,
>
>
>  ext pancake wrote:
>  > I'm pleased to announce the first version of the GUI for the Free Nokia Internet Flasher
>  > (the 0xFFFF). I named it 'goxf' (yeah looks as weird as the other) ;)
>  >
>  > I just spend two funny nights playing with Gtkaml, Vala, Unix IPC and the flasher
>  > internals to get an initial working version:
>  >
>  >   http://news.nopcode.org/goxf.gif
>  >   http://news.nopcode.org/goxf2.gif
>  >
>  > My main idea is to keep the frontend independent to the flasher, so, being able to
>  > use the same frontend for flashing a Neo1973 or an HTC phone (both flasher sources
>  > are available).
>
>  But I guess flashers programs would be different (0xffff-n800 vs.
>  oxffff-neo1973)?   I.e. UI needs configuration for which flasher
>  to use?

Or the device could be autodetected via USB?
The neo1973 uses DFU (http://wiki.openmoko.org/wiki/USB_DFU)
The HTC phones have to be flashed differently depending on CPU and
bootloader version, I know flashers for some PXA and S3C HTCs exist.
Is there anything out there for the OMAP models?

>  > Do you think D-Bus is better solution for async communication between process of
>  > different user levels? I'm not very familiar to dbus yet. But I can change the IPC
>  > interface easily.
>
>  Why not just popen() flasher and do communication using O_NONBLOCK
>  on the UI side?
>
>
>
>  > I understand that a GUI for flashing should be as cleaner and simpler as possible, trying
>  > to avoid stupid confusions to the user and avoiding errors, so, I'm opened to
>  > proposals, ideas, etc..
>  >
>  > Feel free to subscribe to the mailing list for further discussion :)
>  >
>  > I plan to add support to pack/unpack fiasco images from the same gui. (next week?)
>  >
>  > I get so much fun coding it with GTKAML. I encourage you to test it :)
>  >
>  > Here's the source of the gui:
>  >
>  >   http://news.nopcode.org/miau/pvc.cgi?prj=0xFFFF&leaf=2b622cf2/1-pancake@dazo
>  >
>  > To run the gui just fetch the latest snapshot tarball:
>  >
>  >   http://news.nopcode.org/miau/pvc.cgi?dist=0xFFFF
>  >
>  > and type:
>  >
>  >  $ make && cd src/gui && make
>  >  $ make install && cp src/gui/goxf /usr/bin
>  >
>  > (i have to check for gtkamlc compiler in build/configure stage) O:)
>  >
>  > The flasher is executed with sudo by the frontend in background when you press "connect",
>  > so, keep in mind that you will have to setup your /etc/sudoers file.
>  >
>  > $ sudo su
>  > # echo "$SUDO_USER ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
>  >
>  > PD: Before the 0.4 release I would like to port a similar gui with some more buttons for
>  > dumping the firmware pieces from the nand and flashing from inside the device, or using
>  > a n810 to flash a 770 via usb just clicking some buttons.
>  >
>  > Network flashing is also in todo :)
>  >
>  > Have fun!
>
>
>         - Eero
>
>
> _______________________________________________
>  maemo-developers mailing list
>  maemo-developers at maemo.org
>  https://lists.maemo.org/mailman/listinfo/maemo-developers
>

regards
Philipp

More information about the maemo-developers mailing list