Meego Wiki
From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(Write CE to device)
(Open issues)
Line 12: Line 12:
** Not possible, at least right now. There might be ways, with either Moslo or some other eg. u-boot.
** Not possible, at least right now. There might be ways, with either Moslo or some other eg. u-boot.
* Will this work in N9?
* Will this work in N9?
-
** Yes, but some details to be worked out still.
+
** Yes. Some details (like how to restore Harmattan) to be worked out still. If you have N9, proceed with extreme care for now.
== How to use Community Edition on N950 ==
== How to use Community Edition on N950 ==

Revision as of 06:57, 25 September 2011

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. Some details (like how to restore Harmattan) to be worked out still. If you have N9, proceed with extreme care for now.

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. You will see a warning and a disclaimer screen for 10 seconds followed by green text based MOSLO welcome screen. Wait for the text "Rootfs now exported via USB".

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 automount enabled in your Linux system, the device may appear as a normal USB drive to your desktop. Automount may not show the drive at first because it is in vfat format. Automount will typically use volume ID as mountpoint name.

IMPORTANT: On some systems (Ubuntu) automounting may have too restrictive options. Manual mounting is recommended.

IMPORTANT: Although the drive extracted by the MOSLO appears as /dev/sdX, it is a partition, instead of a full device.

At first MOSLO connection, the partition has to be reformatted. Make sure it is unmounted:

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

You will see warning: "/dev/sdX is entire device, not just one partition! Proceed anyway? (y,n)". This is expected. Just make sure you got the right device node and say "y".

For mounting the MeeGo rootfs manually:

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

If you already had an MeeGo image on the partition, it can be erased by running:

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

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

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

After the extraction is ready, unmount/remove safely/eject the partition 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 again, 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. It will take about 15-30 minutes.

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