[pkg-fso-maint] [Fwd: patch to install.sh (Debian at FreeRunner)]

Steffen Moeller steffen_moeller at gmx.de
Mon Feb 2 12:44:52 UTC 2009

Hi Joachim, hi List at large,

Joachim Breitner wrote:
> Hi List,
> another patch for the installer.
> I think Steffen’s changes are fine, anyone disagree? And does someone
> want to comment on his remarts about kernel installation?
> Maybe we should remove vfat-support altogether and just have people
> install Qi or adjust their uboot environment?

I can now update on my experiences. Firstly and most importantly: please don't  demand for
a complete ext2 setup. The specification of the boot process via "keep power pressed and
also press the activity button" at the same time just works too well, and this with my
little knowledge (with d knowledge / d t > 0) apparently only works with that (admittedly
disturbing) vfat thingy. This gives newbies a lower hurdle to eventually decide to fiddle
with the NAND later and will attract more individuals to Debian. I don't think I would
have taken the risk myself to install Qi upfront. I was already challenged enough to
recognise that the activity button is indeed a button and not just an LED :)  To help
people deciding if they want to use Debian at all, I suggest to promote also the running
of applications in a chroot environment a bit more. I have summarised that on
and could imagine that a separate page with a few examples might be well perceived.

Since 2 or 3 o'clock this morning I can indeed boot into Debian. And I am impressed.
Phone-wise it seems far better than the Qtopia that was previously installed (bought 2nd
hand on ebay). The SIM card is read, for instance. And the GSM status is shown. Irritated
I was by the lack of a presentation of any other software than the core phone interface. I
have now learned only from the openmoko pages (http://wiki.openmoko.org/wiki/Debian) about
the possibility to combine zhone with fbpanel, but have not tried that yet. This is
something the install script could possibly already have done for me. Also, the simluation
of the right-click http://wiki.openmoko.org/wiki/Debian#Simulating_right_click_with_stylus
is something that I would like to see in that script.

Concerning the installation of the kernel, we are apparently only talking about
copying/moving what is in linux-image-2.6.24-openmoko-gta02 to the first partition. Maybe
I did not think enough about it, but it works. I brain-deadly did
	chroot /mnt/debian apt-get install linux-image-2.6.24-openmoko-gta02
	cp /mnt/debian/boot/uImage.bin /media/card/
and this works, if I have not just introduced any typos. I think it would help the
acceptance of Debian a lot to offer that functionality to the script. Also, you may have
been aware of the lines in which I describe the

Some very helpful feature would be the rotation of the screen on demand. But this is
probably beyond us for now.



> -------- Weitergeleitete Nachricht --------
> Von: Steffen Moeller <steffen_moeller at gmx.de>
> An: nomeata at debian.org, luca at pca.it
> Betreff: patch to install.sh (Debian at FreeRunner)
> Datum: Sun, 01 Feb 2009 22:20:15 +0100
> Hello,
> I just ran through install.sh and did the following changes. Apparently dosfstools got
> updated in the meantime. The description of what the apt target is doing I found too
> difficult (I understood you'd prepare some kind of proxy or so) - maybe you can come up
> with something even better. The final bit seems to be syntactically problematic.
> Couldn't you possibly treat the installation of the kernel somehow analogously to the
> installation of the dosfsutils package? At the moment I don't have the slightest idea
> about what to do with my vfat first partition.
> Best,
> Steffen
> --- install.sh.orig     Thu Feb  3 20:10:10 2000
> +++ install.sh  Thu Feb  3 22:07:32 2000
> @@ -71,9 +71,8 @@
>  UBOOT_ENV_SIZE=262144
>  # mkfs.vfat is not installed by default in most of the Openmoko images
> -DOSFSTOOLS_PACKAGE=$INST_MIRROR/pool/main/d/dosfstools/dosfstools_2.11-6_armel.deb
> +DOSFSTOOLS_PACKAGE=$INST_MIRROR/pool/main/d/dosfstools/dosfstools_3.0.1-1_armel.deb
> -
>  #
>  #
> @@ -182,7 +181,7 @@
>    mount            Mounts microSD card partitions under $INST_DIR
>    debian           Installs a basic Debian system, including an SSH
>                     server
> -  apt              Sets up APT repositories
> +  apt              Specifies APT repositories in /etc/apt/sources.list
>    fso              Installs packages required to use the Zhone GUI
>    configuration    Configures various parts of the system, such as
>                     the X server
> @@ -800,7 +799,7 @@
>  # Stage unmount
>  #
>  echo "Unmounting microSD card partitions"
> -if ! [ "$SINGLE_PART" = "true" ]; then
> +if [ "$SINGLE_PART" != "true" ]; then
>         umount $INST_DIR/boot
>  fi
>  umount $INST_DIR

More information about the pkg-fso-maint mailing list