(→Installing the MeeGo image on your N900 device) |
(→Setting up the connection) |
||
| Line 50: | Line 50: | ||
#: <pre> sudo ifconfig n900 192.168.2.14 up </pre> | #: <pre> sudo ifconfig n900 192.168.2.14 up </pre> | ||
# Configure the device access in Qt Creator as explained in below. | # Configure the device access in Qt Creator as explained in below. | ||
| + | |||
| + | = Configuring device access in Qt Creator = | ||
| + | |||
| + | [[File:Qt Creator configuring N900 device access usb.png|thumb|500px]] | ||
| + | '''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 | ||
| + | #* Free ports: 10000-10100 | ||
| + | #* Connection Timeout: 30 | ||
| + | #* User Name: root | ||
| + | #* Password: meego | ||
| + | # Click '''Apply'''. | ||
| + | # To test the settings, click '''Test'''. | ||
| + | #: The message "Device configuration okay." is displayed in Device Configuration Test window. | ||
| + | # Click '''Close''' and '''OK'''. | ||
| + | |||
| + | If the message "Could not connect to host: Timeout waiting for reply from server. " is displayed, check your setting selections and make sure that the network is connected. For example below setting might solve the problem: | ||
| + | |||
| + | Create the file /etc/udev/rules.d/99-nokia-n900.rules and put in the following lines. Notice! Ethernet module has changed from cdc_ether to cdc_eem: | ||
| + | |||
| + | SUBSYSTEM=="net", ACTION=="add", ENV{ID_USB_DRIVER}=="cdc_ether", ENV{ID_MODEL}="N900__PC-Suite_Mode", ENV{ID_VENDOR}=="Nokia", NAME="n900" | ||
| + | SUBSYSTEM=="net", ACTION=="add", ENV{ID_USB_DRIVER}=="cdc_phonet", ENV{ID_MODEL}="N900__PC-Suite_Mode", ENV{ID_VENDOR}=="Nokia", NAME="n900pn" | ||
Note: This page is under construction!!
Contents |
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:
sudo fdisk -l
sudo -l fdisk output before and after inserting the SD card.)
sudo umount <sd card>
images/ > mg-handset-armv7nhl-n900-de-sanity > mg-handset-armv7nhl-n900-de-sanity-<meego image version number>-mmcblk0p.raw.bz2 .
mg-handset-armv7nhl-n900-de-sanity-<meego image version number>-vmlinuz-<kernel version number>- adaptation-n900.
$ sudo dd bs=4096 if=<raw_image> of=/dev/<SD card>
$ sudo dpkg -i maemo_flasher-<version number>i386.deb
$ dpkg -x maemo_flasher-3.5_2.5.2.2_i386.deb <directory>
$ sudo flasher-3.5 -l -k <kernel image> -b
Next time you boot the device, the original kernel is used and your device OS should boot normally.
You can use USB or WLAN to connect your N900 device to your computer.
To use USB connection:
sudo ifconfig n900 192.168.2.14 up
To configure device access:
If the message "Could not connect to host: Timeout waiting for reply from server. " is displayed, check your setting selections and make sure that the network is connected. For example below setting might solve the problem:
Create the file /etc/udev/rules.d/99-nokia-n900.rules and put in the following lines. Notice! Ethernet module has changed from cdc_ether to cdc_eem:
SUBSYSTEM=="net", ACTION=="add", ENV{ID_USB_DRIVER}=="cdc_ether", ENV{ID_MODEL}="N900__PC-Suite_Mode", ENV{ID_VENDOR}=="Nokia", NAME="n900"
SUBSYSTEM=="net", ACTION=="add", ENV{ID_USB_DRIVER}=="cdc_phonet", ENV{ID_MODEL}="N900__PC-Suite_Mode", ENV{ID_VENDOR}=="Nokia", NAME="n900pn"