Mer/Releases/0.7

(Released files and guides)
({{Mer}})
 
(8 intermediate revisions not shown)
Line 1: Line 1:
 +
{{Mer}}
 +
Mer 0.7 was prepared in the sprint 18 January 2009-1 February 2009, and released on 1 February 2009
Mer 0.7 was prepared in the sprint 18 January 2009-1 February 2009, and released on 1 February 2009
Line 53: Line 55:
== Known issues ==
== Known issues ==
-
{{#bugzilla:id=4043,4059
+
{{#bugzilla:id=4043,4059,4062
   |columns=id,severity,product,status,resolution,summary,to
   |columns=id,severity,product,status,resolution,summary,to
}}
}}
Line 67: Line 69:
*Rotation in advanced-backlight kills the X server
*Rotation in advanced-backlight kills the X server
*A better way to reboot device or shut down than 'sudo reboot' or 'sudo shutdown -h now' or popping the battery is needed.
*A better way to reboot device or shut down than 'sudo reboot' or 'sudo shutdown -h now' or popping the battery is needed.
-
*770 tar.gz is broken
+
 
== Released files and guides ==
== Released files and guides ==
Line 118: Line 120:
echo -e '#!/bin/sh\nPROG="$1"\nshift\nexec "$PROG" "$@"' | sudo tee usr/bin/maemo-invoker
echo -e '#!/bin/sh\nPROG="$1"\nshift\nexec "$PROG" "$@"' | sudo tee usr/bin/maemo-invoker
sudo chmod 755 usr/bin/maemo-invoker
sudo chmod 755 usr/bin/maemo-invoker
-
echo 'assume-connection 1' | sudo tee home/$USER/.osso/hildon-application-manager
 
echo 'nameserver <mynameresolver>' | sudo tee -a etc/resolv.conf
echo 'nameserver <mynameresolver>' | sudo tee -a etc/resolv.conf
</pre>
</pre>
Line 135: Line 136:
start-hildon
start-hildon
</pre>
</pre>
-
 
==== Installation (machine) ====
==== Installation (machine) ====
Line 144: Line 144:
* [http://stskeeps.subnetmask.net/mer/0.7/mer-armel-770-image-v0.7.tar.gz Nokia 770 tar.gz rootfs image]
* [http://stskeeps.subnetmask.net/mer/0.7/mer-armel-770-image-v0.7.tar.gz Nokia 770 tar.gz rootfs image]
 +
 +
==== Guide ====
 +
 +
(these instructions need testing)
 +
 +
You will need at least a 1gb MMC, and these instructions are based on OS2008HE kernel.
 +
 +
Partition MMC to:
 +
 +
*p1: Large ext3 partition first
 +
*p2: 256 MB swap partition second
 +
 +
Grab http://packages.tspre.org/pool/user/b/bootmenu/bootmenu_1.5-1_armel.deb and install it.
 +
 +
* Open the main menu and tap Utilities -> Install Bootmenu to start the bootmenu install process.
 +
* First, say yes to removing "unneeded extra (and factory testing) stuff"
 +
* say yes to including bootmenu.conf (important). Reboot when done flashing.
 +
* This is a special boot menu where boot menu items are made in /etc/bootmenu.d/*.item and refresh_bootmenu.d will flash this to initfs. '''If you are cloning or booting other OS'es, you'll need to make such .item files'''
 +
 +
Grab e2fsprogs and install it - grab gnutar as well
 +
 +
*From x-terminal, root: insmod /mnt/initfs/lib/modules/current/mbcache.ko
 +
*insmod /mnt/initfs/lib/modules/current/jbd.ko
 +
*insmod /mnt/initfs/lib/modules/current/ext3.ko
 +
*mkfs.ext3 /dev/mmcblk0p1
 +
*mkswap /dev/mmcblk0p2
 +
*swapon /dev/mmcblk0p2
 +
*mkdir -p /mnt/mer
 +
*mkdir -p /etc/bootmenu.d
 +
*mount -t ext3 /dev/mmcblk0p1 /mnt/mer
 +
*cd /mnt/mer; wget http://stskeeps.subnetmask.net/mer/0.7/mer-armel-770-image-v0.7.tar.gz
 +
*tar pzxvf mer-armel-770-image-v0.7.tar.gz
 +
*rm mer-armel-770-image-v0.7.tar.gz
 +
*umount /mnt/mer
 +
*Make /etc/bootmenu.d/mer.item with the following contents:
 +
 +
<pre>
 +
ITEM_NAME="Mer"
 +
ITEM_ID="mer"
 +
ITEM_DEVICE="mmcblk0p1"
 +
ITEM_MODULES="mbcache jbd ext3"
 +
ITEM_FSTYPE="ext3"
 +
ITEM_FSOPTIONS="noatime,ro"
 +
ITEM_LINUXRC="linuxrc"
 +
</pre>
 +
*refresh_bootmenu.d (say yes to reflashing, no to backup of initfs. reboot)
 +
*Hold down Menu key when prompted while booting and select Mer in the boot menu.
=== Nokia N8x0(W) - installer ===  
=== Nokia N8x0(W) - installer ===  

Latest revision as of 12:58, 22 September 2010

Image:Mer infobox icon.png
Mer is back : Please visit http://www.merproject.org to learn more about this news.


Mer 0.7 was prepared in the sprint 18 January 2009-1 February 2009, and released on 1 February 2009

Contents

[edit] Completed tasks in this release and notable accomplishments

If you want to see associated sprint, click here


2008-12-15 - 0.7 Installer for Mer on Diablo b-man 100% Initial versions BZR branch, Make .install file for packages.tspre.org 'installer' dist / user component.
2009-01-31 Figure out why HAM doesn't work in snapshot images none 100% Tricks: assume-connection 1, problems with installing still? WFM in VirtualBox - needed to echo assume-connection 1 >~/.osso/hildon-application-manager after first setup; then started HAM; checked categories and then installed Titan theme without any problems --Jaffa 23:12, 29 January 2009 (UTC) Also now working for Stskeeps after start-hildon modifications by johnx
2009-01-29 Make an error screen and reboot after 15 seconds if Mer is booted through normal bootmenu (check if /var/run is a symlink to /tmp/.run) wazd, Stskeeps 100% Need 800x480 artwork (stop sign and "Incompatible bootmenu used, rebooting in 15 seconds") - added to nit-bootmenu-compat
integrate/Mer-ize clipboard-manager (already in repository, but needs to be included into start-hildon etc) johnx 100% In repository.
2009-01-26 Fix key generation of openssh-server so it doesn't do it on imager but does it when booting Darken 100% Managed by first boot wizard - ready for merging from lp:~koudelka-atolcomputers/m-r/first-boot-wizard
2009-01-26 Experiment with Droid Sans within hildon-theme-liberty and alter if it looks good qwerty12 100% In repository. Screenshots & source patches here (in bzr too).
January Missing localization strings in Hildon, (#4001) Stskeeps 100% There are still some strings to be fixed. But that's for l10n people.
2009-01-24 Package up Droid Sans (apache license) qwerty 100% was in ttf-droid in ubuntu universe
2009-01-23 Figure out how to make gnome-keyring invisible to the user Stskeeps 100% Fixed in hildon-desktop-env
2009-01-23 Bring in new changes from http://gitweb.pingu.fi/?p=xf86-video-omapfb.git;a=summary to xserver-xorg-video-omapfb Stskeeps 100% Now in repository
0.7 qemu-eabi cputransp for Scratchbox qwerty12 100% Deb (i386) & source package provided here.
2009-01-23 Package up advanced-power as a debian source package qwerty12 100% In repository.
2009-01-20 Fix sapwood crash problem on ARMv5t (bug 4023) johnx, RST38h, r2d2rogers 100% Fixed in repository.
2009-01-19 Mer-ize hildon-application-manager Jaffa 100% Screenshots: 1, 2, 3
  • Jaffa: New shiny wiki page for Mer and new structure
  • Stskeeps: gnome-keyring will no longer bother you
  • Stskeeps: Fixing crash problems with HAL dying (LED detection)
  • johnx: new first-boot-wizard asks for password, adds user to more groups, enables swap partition (if present) and enables passwordless sudo.
  • Meizirkki: dialogs can be moved, but they still appear in right place.
  • Stskeeps: VMDK images are now automatically generated (VirtualBox, VMware, etc)
  • Stskeeps: Discussion/new policy on licenses banning commercial use
  • r2d2rogers, RST38h, etc: Now we have 770 support with sapwood not crashing
  • Upgraded to pre-alpha2 l10n and upgraded gtk, libhildon.
  • Moving along with being able to distribute firmware images with closed source bits: positive response from Nokia
  • PyMaemo (well, bindings) in repository now, for instance 'homeip' as example application and advanced-power (needs hald-addon-bme)
  • Jaffa: Porting Hildon Application Manager to Mer
  • Nokia has been very forthcoming and has kept the previous pre-alpha SDK on site to make it possible to retrieve diffs to apply to Mer source trees :)

[edit] Known issues

IDSeverityProductStatusResolutionSummary (3 tasks) Assignee
4043+enhancementSettings and MaintenanceRESOLVEDFIXEDApplication Manager should not depend on "user" accountunassigned
4062majorMerRESOLVEDFIXEDInstaller crashes when writing a bootmenu item in advanced-mode for external card.Carsten Munk
4059normalMerRESOLVEDINVALIDMerinstaller interrupts itselfCarsten Munk
  • Task: Port and build http://repository.maemo.org/pool/diablo/free/h/hildon-plugins-settings/ (statusbar applet config) - In repository as hildon-plugins-settings-cpa. Working and text labels working but creates duplicate application menu.
  • Task: Add FDI for Nokia keyboards (see this and this. Check this [1] - Added keycode problem fix in xserver-xorg-input-evdev, now in repository, not working yet.
  • Task: Working X-terminal with hildon input method working - Some vte patches still needed, but working: screenshot
  • Bootmenu does not play well with clone-to-SD systems. You will have to make a bootmenu item yourself (ask on #maemo about this) (someone document how to make an .item)
  • Sometimes after updates the touchscreen of the tables stop working or isn't calibrated, this is because the 'xserver-xorg-input-synaptics' package are installed, to fix it do "sudo apt-get remove xserver-xorg-input-synaptics" in a terminal.
  • No WiFi on 770 yet.
  • X driver for omapfb does not use Manual updates yet and hence can be a bit slow in updating the screen which may give the impression the system is slow.
  • WiFi power saving is inactive. Installing python-gobject and rebooting might do the trick. It only power saves when connected.
  • Rotation in advanced-backlight kills the X server
  • A better way to reboot device or shut down than 'sudo reboot' or 'sudo shutdown -h now' or popping the battery is needed.

[edit] Released files and guides

Disclaimer:

  • There is -no- warranty. This may blow up your MMC, steal your wife or cause doomsday to come around. But if you find some bugs, please report them on bugs.maemo.org and we'll try to see what we can do to fix the bug causing it.
  • If anything goes wrong, grab a USB cable, and rescue mode is done through holding down Home key when booting Mer.

[edit] MD5sums

4293d50c69df172e02195f138d3fde69mer-armel-770-image-v0.7.tar.gz
734b11b9396e65435f64ab22bb448a65mer-armel-generic-rootstrap-v0.7.tar.gz
d92de32d4050e0596db4de16c71220f4mer-armel-n800-image-v0.7.tar.gz
9dcf11e72d56128bca46df6f8501d648mer-x86-generic-image-v0.7.tar.gz
f90b3dbb4228b8eb82f24c7c6c9a9a6amer-x86-generic-rootstrap-v0.7.tar.gz
f92be020bdf8d9c59883b215dcf784a8mer-x86-generic-image-v0.7.vmdk.zip

[edit] Generic x86 - VMDK (VMware disk image)

[edit] Installation in VirtualBox

  1. Unzip zip file
  2. Open VirtualBox, create new machine (click *New*):
    • Name: Mer 0.7
    • OS type: Linux
    • Version: Ubuntu
    • RAM: 128 at least.
    • Disk: click "existing", find the mer-x86-generic-image-v0.7.vmdk file, select, select
    • Next
    • Finish.

[edit] Generic x86 - tar.gz image

[edit] Installation (chroot)

mkdir mer-0.7
cd mer-0.7 && sudo tar xzf mer-x86-generic-image-v0.7.tar.gz
sudo mkdir -p tmp/.X11-unix home/$USER/.osso
sudo mv usr/bin/maemo-invoker usr/bin/maemo-invoker.real
echo -e '#!/bin/sh\nPROG="$1"\nshift\nexec "$PROG" "$@"' | sudo tee usr/bin/maemo-invoker
sudo chmod 755 usr/bin/maemo-invoker
echo 'nameserver <mynameresolver>' | sudo tee -a etc/resolv.conf


[edit] Start-up (from within mer-0.7 directory)
Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -extension Composite 2>/dev/null 1>&2 &
sudo mount --bind /tmp/.X11-unix tmp/.X11-unix
sudo mount --bind /dev/pts dev/pts
sudo mount -t proc proc proc
sudo mount -t sysfs sysfs sys
sudo chroot .
export DISPLAY=:2.0
/etc/init.d/dbus start
start-hildon

[edit] Installation (machine)

See Mer/Documentation/Making_x86_Mer_Bootable

[edit] Nokia 770 - tar.gz image

[edit] Guide

(these instructions need testing)

You will need at least a 1gb MMC, and these instructions are based on OS2008HE kernel.

Partition MMC to:

  • p1: Large ext3 partition first
  • p2: 256 MB swap partition second

Grab http://packages.tspre.org/pool/user/b/bootmenu/bootmenu_1.5-1_armel.deb and install it.

  • Open the main menu and tap Utilities -> Install Bootmenu to start the bootmenu install process.
  • First, say yes to removing "unneeded extra (and factory testing) stuff"
  • say yes to including bootmenu.conf (important). Reboot when done flashing.
  • This is a special boot menu where boot menu items are made in /etc/bootmenu.d/*.item and refresh_bootmenu.d will flash this to initfs. If you are cloning or booting other OS'es, you'll need to make such .item files

Grab e2fsprogs and install it - grab gnutar as well

  • From x-terminal, root: insmod /mnt/initfs/lib/modules/current/mbcache.ko
  • insmod /mnt/initfs/lib/modules/current/jbd.ko
  • insmod /mnt/initfs/lib/modules/current/ext3.ko
  • mkfs.ext3 /dev/mmcblk0p1
  • mkswap /dev/mmcblk0p2
  • swapon /dev/mmcblk0p2
  • mkdir -p /mnt/mer
  • mkdir -p /etc/bootmenu.d
  • mount -t ext3 /dev/mmcblk0p1 /mnt/mer
  • cd /mnt/mer; wget http://stskeeps.subnetmask.net/mer/0.7/mer-armel-770-image-v0.7.tar.gz
  • tar pzxvf mer-armel-770-image-v0.7.tar.gz
  • rm mer-armel-770-image-v0.7.tar.gz
  • umount /mnt/mer
  • Make /etc/bootmenu.d/mer.item with the following contents:
ITEM_NAME="Mer"
ITEM_ID="mer"
ITEM_DEVICE="mmcblk0p1"
ITEM_MODULES="mbcache jbd ext3"
ITEM_FSTYPE="ext3"
ITEM_FSOPTIONS="noatime,ro"
ITEM_LINUXRC="linuxrc"
  • refresh_bootmenu.d (say yes to reflashing, no to backup of initfs. reboot)
  • Hold down Menu key when prompted while booting and select Mer in the boot menu.

[edit] Nokia N8x0(W) - installer

  • .install file, use this and it will download proper bootmenu and such.

Guide:

  • Open the main menu and tap Utilities -> Install Bootmenu to start the bootmenu install process.
  • First, say yes to removing "unneeded extra (and factory testing) stuff"
  • say yes to including bootmenu.conf (important). Reboot when done flashing.
  • This is a special boot menu where boot menu items are made in /etc/bootmenu.d/*.item and refresh_bootmenu.d will flash this to initfs. If you are cloning or booting other OS'es, you'll need to make such .item files]
  • Utilities -> Install Mer and go through the dialogs. The installer will always install the most current release. When done it will reboot and you can hold down menu/swap key and boot into Mer.

[edit] Nokia N8x0(W) tar.gz

[edit] ARMEL sdk

First, install Fremantle SDK, and add yourself as a user to scratchbox.

As user:

   * wget -c http://stskeeps.subnetmask.net/mer/arm-linux-cs2008q3-72-libtool2_1.0.11_i386.deb
   * sudo dpkg -i arm-linux-cs2008q3-72-libtool2_1.0.11_i386.deb (run as root)
   * wget -c http://stskeeps.subnetmask.net/mer/scratchbox-devkit-mer_1.0.11_i386.deb
   * sudo dpkg -i scratchbox-devkit-mer_1.0.11_i386.deb
   * wget -c http://stskeeps.subnetmask.net/mer/qemu-eabi-cputransp-sbox_svn5391-2_i386.deb
   * sudo dpkg -i qemu-eabi-cputransp-sbox_svn5391-2_i386.deb
   * sb-conf setup MER-ARMEL --compiler=arm-linux-cs2008q3-72-libtool2 --devkits=debian-etch:cputransp:perl:mer --cputransp=qemu-arm-eabi -f
   * sb-conf reset -f MER-ARMEL
   * sb-conf select MER-ARMEL
   * sb-conf rootstrap MER-ARMEL http://stskeeps.subnetmask.net/mer/mer-armel-rootstrap-v8.tar.gz
   * sb-conf install MER-ARMEL --etc --devkits --fakeroot 

ISSUES:

   * You might have to set cpu right and such to target armv5el (no vfp)
   * You probably need to get EABI cpu transparency target too
   * 'not safe for cross-compilation' warnings (not true, i think)
   * fakeroot apt-get dist-upgrade is good once in a while to keep up to date. 
   * C++ is a bit broken.

[edit] buildd files