(→Configuring device access in Qt Creator) |
|||
| Line 55: | Line 55: | ||
[[File:Qt Creator configuring N900 device access usb.png|thumb|500px]] | [[File:Qt Creator configuring N900 device access usb.png|thumb|500px]] | ||
'''To configure device access:''' | '''To configure device access:''' | ||
| - | # Open '''Tools''' > '''Options''' > '''Projects''' > '''MeeGo Device Configurations'''. | + | # Open MeeGo SDK Qt Creator. Open '''Tools''' > '''Options''' > '''Projects''' > '''MeeGo Device Configurations'''. |
# In the opened dialog, create a new Device Configuration by clicking on '''Add'''. | # 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: | # Give the new Device Configuration a name in the Configuration Name text field, and add the following settings in the other test fields: | ||
This page instructs on installing the MeeGo 1.2 N900 Developer Edition image and configuring device access when using a N900 device for your development work.
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"