Installing and Running Mamona 0.1 at N800 and N810

Images

Getting prebuilt image

wget http://dev.openbossa.org/mamona/0.1/n800/rootfs.jffs2

NOTE: root password = "rootme"

Making a rootfs image

Follow Mamona 0.1 SDK Installation Guide to have a rootfs image and chroot to mamona-root.

Change the root password.

Install necessary packages to run on your device:

apt-get install task-mamona-nokia-it

Install the Enlightenment environment

apt-get install task-mamona-e

Create your own rootfs.jffs2 image?

Install the flasher

Get and install 0xFFFF - The 0pen Free Fiasco Firmware Flasher.

Optionally you can use the Maemo flasher.

Sound

Unfortunately you need to copy some closed source binaries from Maemo rootfs if you want to use the sound system on Mamona. These binaries are responsible to dsp access.

Get the latest Nokia Image: http://tablets-dev.nokia.com/

Unpack it to get the necessary files

OxFFFF -u RX-*.bin
#sudo $FLASHER -F RX-*.bin -u # Nokia flasher (optionally)

Mount the rootfs:

cd /tmp
mkdir rootfs
sudo mknod rootfs.loop b 7 0
sudo mknod rootfs.mtd b 31 0
sudo losetup rootfs.loop rootfs.jffs2
sudo modprobe mtd
sudo modprobe mtd_blkdevs
sudo modprobe mtdblock
sudo modprobe block2mtd block2mtd=rootfs.loop,131072
sudo modprobe jffs2
sudo mount -t jffs2 rootfs.mtd rootfs

Copy the entire /lib/dsp directory from Maemo to your Mamona root directory and then make your own rootfs image.

cp -r rootfs/lib/dsp mamona-root/lib/

If you are using our prebuilt image, copy it using the scp and Usb Networking. From your host machine:

scp -r rootfs/lib/dsp root@10.0.1.10:/lib

And then restart the dsp service that is running on your device:

sudo /etc/init.d/dsp stop
sudo /etc/init.d/dsp start

Umount the rootfs:

sudo umount rootfs
sudo modprobe -r jffs2
sudo modprobe -r block2mtd
sudo modprobe -r mtdblock
sudo modprobe -r mtd_blkdevs
sudo modprobe -r mtd
sudo losetup -d rootfs.loop

Configuring Alsa Sound

NOTE: This step isn't required on n800, because we already have a default alsa configuration for it.

In the n810 after the boot you need to configure manually your sound system.

sudo alsamixer -D master

Inside alsamixer:

Turn on the PCM (Pressing M key)
Turn on the Line (Pressing M key)
Quit alsamixer (Pressing ESC key)

Save your configurations stopping the service:

sudo /etc/init.d/alsa-state stop

Start it again:

sudo /etc/init.d/alsa-state start

Official Input Method

Unfortunately Mamona 0.1 doesn't have a virtual keyboard, neither a Terminal on Enlightenment.

So the official input method is the ssh console using the Usb Networking.

Flashing it

Turn off your device.

Connect it throw usb.

Run OxFFFF:

sudo 0xFFFF -p rootfs:rootfs.jffs2
#sudo $FLASHER -r rootfs.jffs2 -f # Nokia flasher (optionally)

Turn on your device.

After finished remove usb cable to boot it.

NOTE: The first boot is too slow due to RSA and DSA key generators used by ssh server. During this boot you will see just the Nokia logo. Don't panic. Believe it, your Mamona is booting.

N770

Not supported.