Meego Wiki
Views

SDK/Docs/1.2/Setting up handset

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(Setting up the connection)
(Prerequisites)
Line 4: Line 4:
* You have [[SDK/Docs/1.2/MeeGo_SDK_1.2_Preview_for_Linux|set up MeeGo SDK 1.2 environment on Linux]]
* You have [[SDK/Docs/1.2/MeeGo_SDK_1.2_Preview_for_Linux|set up MeeGo SDK 1.2 environment on Linux]]
 +
 +
= Installing the MeeGo image on your N900 device =
 +
 +
These instructions cover installing the MeeGo image on the N900 using an external SD card without destroying the data from the internal memory of the N900. For information on other ways of installing MeeGo, see [[ARM/N900]].
 +
 +
On Ubuntu:
 +
# Insert the SD card into your computer.
 +
# Find out what device the SD card is:
 +
#: <pre>sudo fdisk -l</pre>
 +
#: See the disk size information to recognize the SD card from other drives. (Optionally, you can identify the SD card based on differences in the <code>sudo -l fdisk</code> output before and after inserting the SD card.)
 +
# Unmount the SD card:
 +
#: <pre>sudo umount <sd card></pre>
 +
# Download MeeGo image from http://repository.maemo.org/meego/n900-de/daily/ > folder with the latest update > <code>images/</code> >  <code>mg-handset-armv7nhl-n900-de-sanity</code> >  <code>mg-handset-armv7nhl-n900-de-sanity-<meego image version number>-mmcblk0p.raw.bz2 </code>.
 +
: '''Note:''' For information on how much functionality is known to work on the N900, see the most recent N900 sanity test results at [http://qa-reports.meego.com/ qa-reports.meego.com].
 +
# Download kernel image from the same URL (http://repository.maemo.org/meego/n900-de/daily/). The kernel image file name is of the format <code>mg-handset-armv7nhl-n900-de-sanity-<meego image version number>-vmlinuz-<kernel version number>-adaptation-n900</code>.
 +
# Decompress the MeeGo image (.bz2) file.
 +
# Copy the MeeGo image to the SD card:
 +
#: <pre>$ sudo dd bs=4096 if=<raw_image> of=/dev/<SD card></pre>
 +
#: '''Note:''' Copying takes some time. For instructions on how to see the status of the process, see [[ARM/N900/Install/MMC]].
 +
# Flash the N900:
 +
## Insert the SD card into the N900, attach the battery, and close the back cover. Do not start the N900.
=Setting up the connection =
=Setting up the connection =

Revision as of 12:26, 10 May 2011

Note: This page is under construction!!

Prerequisites

Installing the MeeGo image on your N900 device

These instructions cover installing the MeeGo image on the N900 using an external SD card without destroying the data from the internal memory of the N900. For information on other ways of installing MeeGo, see ARM/N900.

On Ubuntu:

  1. Insert the SD card into your computer.
  2. Find out what device the SD card is:
    sudo fdisk -l
    See the disk size information to recognize the SD card from other drives. (Optionally, you can identify the SD card based on differences in the sudo -l fdisk output before and after inserting the SD card.)
  3. Unmount the SD card:
    sudo umount <sd card>
  4. Download MeeGo image from http://repository.maemo.org/meego/n900-de/daily/ > folder with the latest update > images/ > mg-handset-armv7nhl-n900-de-sanity > mg-handset-armv7nhl-n900-de-sanity-<meego image version number>-mmcblk0p.raw.bz2 .
Note: For information on how much functionality is known to work on the N900, see the most recent N900 sanity test results at qa-reports.meego.com.
  1. Download kernel image from the same URL (http://repository.maemo.org/meego/n900-de/daily/). The kernel image file name is of the format mg-handset-armv7nhl-n900-de-sanity-<meego image version number>-vmlinuz-<kernel version number>-adaptation-n900.
  2. Decompress the MeeGo image (.bz2) file.
  3. Copy the MeeGo image to the SD card:
    $ sudo dd bs=4096 if=<raw_image> of=/dev/<SD card>
    Note: Copying takes some time. For instructions on how to see the status of the process, see ARM/N900/Install/MMC.
  4. Flash the N900:
    1. Insert the SD card into the N900, attach the battery, and close the back cover. Do not start the N900.

Setting up the connection

You can use USB or WLAN to connect your N900 device to your computer.

To use USB connection:

  1. After running "sudo flasher-3.5 -l -k <kernel image> -b", Connect the device to your computer with the USB cable. Wait a bit until you see "MeeGo 1.2 Developer Edition" logo on your N900 screen.
  2. Set your computer USB IP address. Note that your host usb port is named as "n900":
     sudo ifconfig n900 192.168.2.14 up 
  3. Configure the device access in Qt Creator as explained in below.
Personal tools