Note: This page is work-in-progress (26 Oct 2010).
This page instructs in installing the MeeGo image and configuring device access when using a N900 device for your development work.
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 more information on this way of installing MeeGo, see http://wiki.meego.com/ARM/N900/Install/MMC. For information on other ways of installing MeeGo, see http://wiki.meego.com/ARM/N900.
On Ubuntu and openSUSE:
- Insert the SD card into your computer.
- 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.)
- Unmount the SD card:
-
sudo umount <sd card>
- Download MeeGo image from http://repo.meego.com/MeeGo/builds/ > folder
1.0.99 > folder with the latest update* > handset/ > images/ > meego-handset-armv7l-n900/ > meego-handset-armv7l-n900-<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 Quality/HandsetTestReport.
- Download kernel image from the same URL (http://repo.meego.com/MeeGo/builds/). The kernel image file name is of the format
meego-handset-armv7l-n900-<meego image version number>-vmlinuz-<kernel version number>-n900.
- Decompress the MeeGo image (.bz2) file.
- 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 http://wiki.meego.com/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.
- Navigate to http://tablets-dev.nokia.com/maemo-dev-env-downloads.php and accept the license agreement.
- Download and run flasher:
- On Ubuntu:
- Download
maemo_flasher-3.5_2.5.2.2_i386.deb.
- In a 32-bit architecture, install flasher with:
-
$ sudo dpkg -i maemo_flasher-<version number>i386.deb
- Accept license agreements.
- Run flasher:
-
$ sudo flasher-3.5 -l -k <kernel image> -b
- On openSUSE:
- Download
maemo_flasher-3.5_2.5.2.2.tar.gz and decompress it with the command:
-
tar xzvf <name of tar file>
- The file is decompressed into the directory
maemo_flasher-3.5_2.5.2.2.
- Run flasher:
-
$ sudo <path to flasher>flasher-3.5 -l -k <kernel image> -b
- The command prompt displays text "Suitable USB device not found, waiting." Attach USB cable.
- The device is booted and MeeGo image runs on your device. If the device does not boot, press the power button.
Next time you boot the device, the original kernel is used and your MeeGo OS should boot normally.
Setting up the connection
You can use USB or WLAN to connect your N900 device and your computer.
To use USB connection:
- Connect the device to your computer with the USB cable.
- Configure the device access in Qt Creator.
To use WLAN connection:
- Connect the device to your computer with the USB cable.
- To log into the device, use the following command:
-
ssh root@192.168.2.15
(password: meego)
- To view the WLAN IP address of the device, use the following command:
-
ifconfig
- Unplug the USB cable.
- Configure the device access in Qt Creator.
Configuring device access in Qt Creator
To configure device access:
- Open Tools > Options > Projects > MeeGo Device Configurations.
- In the opened dialog, create a new Device Configuration by clicking on Add.
- Give the new Device Configuration a name in the Configuration Name text field, and add the following settings in the other test fields:
- Device type: Remote device
- Authentication type: Password
- Host Name: <device IP address> (USB port IP address 192.168.2.15 by default)
- SSH Port: 22
- Gdb server: 10000
- Note: If this port is not free, you can select another one.
- Connection Timeout: 30
- User Name: root
- Password: meego
- Click Apply.
- To test the settings, click Test.
- The message "Device configuration successful." is displayed in Device Configuration Test window.
- Click Close and OK.
If the message "Could not connect to host" is displayed, check your setting selections and make sure that the network is connected.