Meego Wiki
Views

SDK/Docs/1.1/Setting up Aava

From MeeGo wiki
< SDK | Docs | 1.1(Difference between revisions)
Jump to: navigation, search
m (Created page with "Category:devguide Category:meego-1.1 Category:tutorial Category:application-developer '''Note:''' This page is work-in-progress (2 November 2010). '''<span styl…")
(merge with developing with the aava)
 
(7 intermediate revisions not shown)
Line 1: Line 1:
 +
{{Merge|Developing With The Aava}}
[[Category:devguide]]
[[Category:devguide]]
[[Category:meego-1.1]]
[[Category:meego-1.1]]
[[Category:tutorial]]
[[Category:tutorial]]
[[Category:application-developer]]
[[Category:application-developer]]
-
 
-
'''Note:''' This page is work-in-progress (2 November 2010).
 
-
 
-
'''<span style="color:red;">NOTE: this page is currently a copy of N900 setup instructions, all instructions on this page should be updated to apply for Aava devices. It is likely that the Qt Creator section on this page is usable as is.</span>'''
 
This page instructs in installing the MeeGo image and configuring device access when using Aava device for your development work.  
This page instructs in installing the MeeGo image and configuring device access when using Aava device for your development work.  
Line 18: Line 15:
= Installing the MeeGo image on your Aava device =
= Installing the MeeGo image on your Aava 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.
+
For instructions of installing the MeeGo image on the Aava Moblie(Intel Moorestown platform) using an external Micro SD card, please see the page at http://meego.com/devices/handset/installing-aava-device.
-
 
+
-
On Ubuntu and openSUSE:
+
-
# 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://repo.meego.com/MeeGo/builds/ > folder <code>1.0.99</code> > folder with the latest update* > <code>handset/</code> > <code>images/</code> > <code>meego-handset-armv7l-n900/</code> > <code>meego-handset-armv7l-n900-<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 Quality/HandsetTestReport.
+
-
# Download kernel image from the same URL (http://repo.meego.com/MeeGo/builds/). The kernel image file name is of the format <code>meego-handset-armv7l-n900-<meego image version number>-vmlinuz-<kernel version number>-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 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 <code>maemo_flasher-3.5_2.5.2.2_i386.deb</code>.
+
-
##*# In a 32-bit architecture, install flasher with:
+
-
##*#: <pre>$ sudo dpkg -i maemo_flasher-<version number>i386.deb</pre>
+
-
##*# Accept license agreements.
+
-
##*# Run flasher:
+
-
##*#: <pre>$ sudo flasher-3.5 -l -k <kernel image> -b</pre>
+
-
##* On openSUSE:
+
-
##*# Download <code>maemo_flasher-3.5_2.5.2.2.tar.gz</code> and decompress it with the command:
+
-
##*#: <pre>tar xzvf <name of tar file></pre>
+
-
##*#: The file is decompressed into the directory <code>maemo_flasher-3.5_2.5.2.2</code>.
+
-
##*# Run flasher:
+
-
##*#: <pre>$ sudo <path to flasher>flasher-3.5 -l -k <kernel image> -b</pre>
+
-
## 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 =
=Setting up the connection =
-
You can use USB or WLAN to connect your N900 device and your computer.  
+
You can use WLAN to connect your Aava device with your computer. USB connection is not enabled yet but will be supported in later update. To use WLAN connection, you need to figure out the IP assigned to Aava device first. so you need to have access to the AP configuration information
-
 
+
-
'''To use USB connection''':
+
-
# Connect the device to your computer with the USB cable.
+
-
# To set the USB IP address, use the following command:
+
-
#: <pre> ifconfig usb0 192.168.2.14 up </pre>
+
-
# [[#Configuring device access in Qt Creator |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:
+
-
#: <pre> ssh root@192.168.2.15 </pre>
+
-
#: (password: meego)
+
-
# To view the WLAN IP address of the device, use the following command:
+
-
#: <pre>ifconfig</pre>
+
-
# Unplug the USB cable.  
+
-
# [[#Configuring device access in Qt Creator |Configure the device access in Qt Creator]].
+
= Configuring device access in Qt Creator =
= Configuring device access in Qt Creator =
Line 83: Line 29:
#* Device type: Remote device
#* Device type: Remote device
#* Authentication type: Password
#* Authentication type: Password
-
#* Host Name: <device IP address> (USB port IP address 192.168.2.15 by default)
+
#* Host Name: <device IP address>  
-
#* SSH Port: 22
+
#* SSH Port: 6666
#* Gdb server: 10000
#* Gdb server: 10000
-
#: '''Note:''' If this port is not free, you can select another one.
+
#: '''Note:''' If this port is not free, you can select another one. And make sure gdb-server package installed in target or use 'sudo zypper install gdb-gdbserver' to install.
#* Connection Timeout: 30
#* Connection Timeout: 30
#* User Name: root
#* User Name: root

Latest revision as of 13:37, 7 January 2011

Wmerge2.png
It has been suggested that this page or section should be merged with "Developing With The Aava". If you disagree, please remove tag and explain why on edit summary.

This page instructs in installing the MeeGo image and configuring device access when using Aava device for your development work.


Contents

Prerequisites

Installing the MeeGo image on your Aava device

For instructions of installing the MeeGo image on the Aava Moblie(Intel Moorestown platform) using an external Micro SD card, please see the page at http://meego.com/devices/handset/installing-aava-device.

Setting up the connection

You can use WLAN to connect your Aava device with your computer. USB connection is not enabled yet but will be supported in later update. To use WLAN connection, you need to figure out the IP assigned to Aava device first. so you need to have access to the AP configuration information

Configuring device access in Qt Creator

Qt Creator configuring N900 device access usb.png

To configure device access:

  1. Open Tools > Options > Projects > MeeGo Device Configurations.
  2. In the opened dialog, create a new Device Configuration by clicking on Add.
  3. 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>
    • SSH Port: 6666
    • Gdb server: 10000
    Note: If this port is not free, you can select another one. And make sure gdb-server package installed in target or use 'sudo zypper install gdb-gdbserver' to install.
    • Connection Timeout: 30
    • User Name: root
    • Password: meego
  4. Click Apply.
  5. To test the settings, click Test.
    The message "Device configuration successful." is displayed in Device Configuration Test window.
  6. 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.

Personal tools