Meego Wiki
From MeeGo wiki
< ARM
Revision as of 15:10, 21 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 (link here).

Everything below this point needs to be edited again, for the single boot solution with Moslo!!!

Download release

Coming.


Enable boot to CE

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 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.

Moslo Bootloader

MOSLo stands for Meego OS Loader

Moslo can be flashed into N950 like any Harmattan fiasco image:

 sudo flasher -F <moslo-image.bin> -f

It waits for a device to connect. Connect your N950 and wait for flashing to finish.

After flashing is finished successfully, disconnect the N950. It takes some time to power off. Turn the phone back on by connecting usb. Moslo displays:

 "Creating rootfs partition"

and after this is finished:

 "Rootfs now exported via USB" 

Now you should be able to automatically/manually mount the meego root partition on your Linux desktop.

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 should appear as a normal USB drive to your system. However if you do not have auto mount enabled or you want to mount the device manually for some reason anyway, you should note that the device mounted by the MOSLO is called as a device like /dev/sdX, so it is a partition not a device, so for manual mount you need to do:

sudo mount /dev/sdX /media/<mountpoint of your N950>

NOTE: If you already have another MeeGo image on the partition that can be erased for example with following command

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

Write the CE .tar.bz2 rootfs to the mounted device with eg.

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

After the extraction is ready umount the mounted partition before removing the usb cable

sudo umount /media/<mountpoint of your N950>

Boot to CE

After the previous step, the device should start booting to MeeGo right away after disconnecting the USB cable.


Boot back to Harmattan

While powering on, press the volume down HW key until you see the disclaimer and the device will restart (the disclaimer is shown for 20 seconds). The device will reboot to Harmattan after that (it will load MOSLO and reboot to Harmattan).


How to remove MeeGo

Connect the USB cable while device is powered off, to see the text "Rootfs now exported via USB". In your PC do the following:

echo YES | sudo tee /media/<mountpoint of your N950>/remove-meego

or directly in device shell once booted to MeeGo (as root):

echo YES >/remove-meego

After that, restart the device and moslo will self-destruct (including erase itself from NAND and resize back the content partition). You will now have a Harmattan only setup.


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