Meego Wiki
From MeeGo wiki
< ARM
Revision as of 14:18, 22 September 2011 by Sas (Talk | contribs)
Jump to: navigation, search

Contents

Nokia N9 Devkit (N950) instructions

(Basic information as copied from https://meego.com/community/device-program/devices/nokia-n9-devkit)

The Nokia N950 is a platform available now for developers targeting the Nokia N9 and MeeGo handset apps in general. Technical details are available at http://developer.nokia.com/swipe. Questions & comments: http://forum.meego.com/showthread.php?t=3597.

IMPORTANT: commercial developers are encouraged to apply directly at http://developer.nokia.com - thank you for your understanding.

Open issues

  • How about dual boot with Harmattan?
    • Not possible, at least right now. There might be ways, with either Moslo or some other eg. u-boot.
  • Will this work in N9?
    • Yes, but some details to be worked out still.

How to use Community Edition on N950

Assumption: you have N950 device with working Harmattan setup. You should also have the skills required, similar to what is required for using N900 CE: http://wiki.meego.com/ARM/N900/GettingStarted.

The procedures described here will void any warranty (if there was any), and will destroy your Harmattan setup, losing any data you have there. However, you can always go back to a fresh Harmattan installation with the OneClickFlasher package available at: http://www.developer.nokia.com/info/sw.nokia.com/id/db230178-aa63-4c73-ba7f-20930da13cad/Nokia_N950_OneClickFlashers.html

Downloading the MeeGo Community Edition release

Image Description Release date
[Fall Release] v1.3 Handset image for Fall 2011. (not yet released) 26-28.9.2011
Weekly image From here, you can find the weekly and daily builds.

Flasher for N950

The flasher for N950 is available at http://tablets-dev.nokia.com/maemo-dev-env-downloads.php . Installation packages are available for OSX, Windows and Linux deb. For rpm based Linux distributions, extract the files from deb package with following command:

 ar p flasher_3.11.*.deb data.tar.gz | tar zvx

After this you can find the flasher binary from usr/bin/flasher directory under the current working directory.

Before you proceed make sure that "Device lock" is not enabled in Harmattan (In Settings \ Security \ Device Lock \ Autolock: off). If you have an Mail-for-Exchange account configured, you may need to delete it before you can disable device lock.

If flasher bombs out with "Devicelock ON: cannot flash unsigned image", then you didn't, go back and disable it.

Meego Bootloader

In order to boot MeeGo on N950, the default OS, Harmattan, must be replaced with MOSLO, the Meego OS LOader. Moslo can be flashed as a fiasco image, available at: http://TBD

  • IMPORTANT: before installing Moslo, boot into Harmattan at least once and wait for a few minutes.
  • Power off the device, disconnect usb or changer.
  • Run flasher:
 sudo flasher -F <moslo-image.bin> -f

Flasher now waits for a device to connect.

  • Connect your N950 and wait for flashing to finish.
  • Do not disconnect. Read on.

Write CE to device

After flashing MOSLO, boot the device by disconnecting and re-connecting the USB cable to the PC. When MOSLO starts, you will get a welcome screen and some messages about making MeeGo partitions. Wait for the text "Rootfs now exported via USB" that appears on the N950 screen.

If you don't get the MOSLO screen after successfully flashing MOSLO, then let the device finish booting into harmattan and reboot it. It can take several full reboots of the device to fully enable MOSLO.

If you have auto mount enabled in your desktop Linux system then the device may appear as a normal USB drive to your system. However if you do not have auto mount enabled, it does not show the vfat drive or you want to mount the device manually for some reason anyway, you should note that although the device extracted by the MOSLO appears as /dev/sdX, it is a partition not a device.

At first connection after moslo installation, the partition has to be reformatted. If it was automounted, you also need to unmount it:

sudo umount /dev/sdX
sudo mkfs.ext4 /dev/sdX

It will warn you that "/dev/sdb is entire device, not just one partition! Proceed anyway? (y,n)". This is normal. Just make sure you got the right device and say "y".

For mounting the MeeGo rootfs manually:

sudo mkdir /media/<choose mountpoint name for your N950>
sudo mount /dev/sdX /media/<mountpoint of your N950>

If you already have another MeeGo image on the partition that can be erased by running:

sudo rm -rf /media/<mountpoint of your N950>/*

Extract the MeeGo Community Edition rootfs .tar.bz2 to the mounted device with:

sudo tar xf <path>/<CE_package>.tar.bz2 -C /media/<mountpoint of your N950>

After the extraction is ready, umount the partition and wait for N950 screen backlight to turn off before disconnecting from usb:

sudo umount /media/<mountpoint of your N950>

Boot to CE

  • The device should start booting to MeeGo right after disconnecting the USB.
  • Otherwise start normally by hosding power hoy for 2-4 seconds.
  • First you should see the disclaimer screen.
  • Next you see a green-on-black Moslo bootscreen.
  • The last line should say: "Booting Meego Kernel" (it is shown very briefly)
  • Then wait patiently for desktop to come up.

Shutting down is done simply by holding the power key until either a shut down graphic or a red screen is shown. Check that screen back light goes out. If device does not react, hold the power key for over 8 seconds. This will force HW shut down.

Trouble starting?

If device does not react, hold the power key for over 8 seconds.

In case battery is very low, the screen may stay black even if booting continues.

  • Connect usb or charger and let Moslo charge the battery at least for a few minutes.
  • Then disconnect usb/charger and device should continue booting to MeeGo.
  • You can reconnect usb/charger after a few seconds. Latest at the Meego splash screen.

Don't panic - try again, check the steps and finally ask for advice at #meego-arm IRC channel.

How to remove MeeGo/Moslo and restore Harmattan

In order to boot harmattan, MeeGo and Moslo must be removed. This can be done by using OneClickFlasher available here: http://www.developer.nokia.com/info/sw.nokia.com/id/db230178-aa63-4c73-ba7f-20930da13cad/Nokia_N950_OneClickFlashers.html

Running the OneClickFlasher will overwrite Meego/Moslo with Harmattan. All personal settings will be lost.

More info

More information can be found in N950 landing page.


Reporting bugs against Community Edition

  • File a bug report on bugs.meego.com
  • Use [CE] in the summary
  • Add the N950 and N900CE keywords to the bug report
  • Select from Platform N900, if bug can be reproduced with N900 also.
  • Notice:
    • If bug is producible with MeeGo image also, remove the [CE] prefix from the summary. It's used only for the Community Edition specific bugs.
    • Feel free to suggest MeeGo_N900CE_Release_Blocker.
    • If bug is for application, check if there's a upstream link for direct reporting in CE application list. If there's a link, please report to upstream, if not, then to the MeeGo Bugzilla.
    • If you found a bug when using MeeGo 1.2 Harmattan, please file the bug to the http://www.developer.nokia.com/bugs/
Personal tools