(Created page with "Category:devguide Category:meego-1.1 Category:tutorial Category:application-developer '''Note:''' This page is work-in-progress (26 Oct 2010). This page instruc…") |
m (Fixed wiki links and changed the link for latest test reports) |
||
| (14 intermediate revisions not shown) | |||
| Line 3: | Line 3: | ||
[[Category:tutorial]] | [[Category:tutorial]] | ||
[[Category:application-developer]] | [[Category:application-developer]] | ||
| - | |||
| - | |||
This page instructs in installing the MeeGo image and configuring device access when using a N900 device for your development work. | This page instructs in installing the MeeGo image and configuring device access when using a N900 device for your development work. | ||
| + | |||
| + | =Prerequisites = | ||
| + | |||
| + | * You have [[SDK/Docs/1.1/Getting_started_with_the_MeeGo_SDK_for_Linux|set up MeeGo SDK environment on Linux]] | ||
= Installing the MeeGo image on your N900 device = | = 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 | + | 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 [[ARM/N900/Install/MMC]]. For information on other ways of installing MeeGo, see [[ARM/N900]]. |
On Ubuntu and openSUSE: | On Ubuntu and openSUSE: | ||
| Line 20: | Line 22: | ||
#: <pre>sudo umount <sd card></pre> | #: <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>. | # 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 | + | #: '''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://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>. | # 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. | # Decompress the MeeGo image (.bz2) file. | ||
# Copy the MeeGo image to the SD card: | # Copy the MeeGo image to the SD card: | ||
#: <pre>$ sudo dd bs=4096 if=<raw_image> of=/dev/<SD card></pre> | #: <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 | + | #: '''Note:''' Copying takes some time. For instructions on how to see the status of the process, see [[ARM/N900/Install/MMC]]. |
# Flash the N900: | # Flash the N900: | ||
## Insert the SD card into the N900, attach the battery, and close the back cover. Do not start the N900. | ## Insert the SD card into the N900, attach the battery, and close the back cover. Do not start the N900. | ||
| Line 46: | Line 48: | ||
##: The device is booted and MeeGo image runs on your device. If the device does not boot, press the power button. | ##: 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. | 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. | ||
| + | # Open a terminal and to set your computer 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 = | ||
This page instructs in installing the MeeGo 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 more information on this way of installing MeeGo, see ARM/N900/Install/MMC. For information on other ways of installing MeeGo, see ARM/N900.
On Ubuntu and openSUSE:
sudo fdisk -l
sudo -l fdisk output before and after inserting the SD card.)
sudo umount <sd card>
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.
meego-handset-armv7l-n900-<meego image version number>-vmlinuz-<kernel version number>-n900.
$ sudo dd bs=4096 if=<raw_image> of=/dev/<SD card>
maemo_flasher-3.5_2.5.2.2_i386.deb.
$ sudo dpkg -i maemo_flasher-<version number>i386.deb
$ sudo flasher-3.5 -l -k <kernel image> -b
maemo_flasher-3.5_2.5.2.2.tar.gz and decompress it with the command:
tar xzvf <name of tar file>
maemo_flasher-3.5_2.5.2.2.
$ sudo <path to flasher>flasher-3.5 -l -k <kernel image> -b
Next time you boot the device, the original kernel is used and your MeeGo OS should boot normally.
You can use USB or WLAN to connect your N900 device and your computer.
To use USB connection:
ifconfig usb0 192.168.2.14 up
To use WLAN connection:
ssh root@192.168.2.15
ifconfig
To configure device access:
If the message "Could not connect to host" is displayed, check your setting selections and make sure that the network is connected.