Difference between revisions of "Installing Linaro Image"
(→Installation) |
(→Introduction) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Introduction == | == Introduction == | ||
− | In this tutorial, you will install a customized version of linux on your Overo. This particular version is based on [http://www.ubuntu.com Ubuntu Linux] (12.04), one of the most popular Linux distribution today. It has been optimized and modified to run on ARM based devices by [http://www.linaro.org Linaro]. Therefore it will be referred to as the Linaro image from here on. The result of the customization is a lightweight, yet still very versatile version of linux. On top of the rock solid Linux Kernel 3.2, you will get a graphical desktop interface [http://www.lxde.org LXDE] which comes with a file browser, media player and as well as Google’s Chromium Web Browser. It will provide a good starting point for many Gumstix Overo users who want to further develop their own applications. | + | In this tutorial, you will install a customized version of linux on your Overo. This particular version is based on [http://www.ubuntu.com Ubuntu Linux] (12.04), one of the most popular Linux distribution today. It has been optimized and modified to run on ARM based devices by [http://www.linaro.org Linaro]. Therefore it will be referred to as the Linaro image from here on. The result of the customization is a lightweight, yet still very versatile version of linux. On top of the rock solid Linux Kernel 3.2, you will get a graphical desktop interface [http://www.lxde.org LXDE] which comes with a file browser, media player and as well as Google’s Chromium Web Browser. It will provide a good starting point for many Gumstix Overo users who want to further develop their own applications. Another version of this guide, with more detail, for the beginners is also found [http://www.b1gtuna.com/2012/08/installing-linaro-image-on-gumstix-overo here] |
== Prerequisites == | == Prerequisites == | ||
Line 20: | Line 20: | ||
On your host computer (ie your workstation): | On your host computer (ie your workstation): | ||
− | # Install git | + | # Install git and the Linaro Image Tools |
− | + | #: $ sudo apt-get install git linaro-image-tools | |
# Obtain the root file system and the hardware pack via direct downloads: [https://s3.amazonaws.com/Linaro/Gumstix-Overo-Linaro-armhf-HWPack.tar.gz hwpack] [https://s3.amazonaws.com/Linaro/Gumstix-Overo-Linaro-Precise-ALIP-armhf-RootFS.tar.gz rootfs] or via [https://github.com/gumstix/Gumstix-Overo-Linaro Gumstix’s Github]. | # Obtain the root file system and the hardware pack via direct downloads: [https://s3.amazonaws.com/Linaro/Gumstix-Overo-Linaro-armhf-HWPack.tar.gz hwpack] [https://s3.amazonaws.com/Linaro/Gumstix-Overo-Linaro-Precise-ALIP-armhf-RootFS.tar.gz rootfs] or via [https://github.com/gumstix/Gumstix-Overo-Linaro Gumstix’s Github]. | ||
− | + | #: $ git clone git://github.com/gumstix/Gumstix-Overo-Linaro.git | |
− | :You can additionally check the integrity of the downloaded files by comparing the md5sum result in the [https://github.com/gumstix/Gumstix-Overo-Linaro/blob/master/README README] file. | + | #:You can additionally check the integrity of the downloaded files by comparing the md5sum result in the [https://github.com/gumstix/Gumstix-Overo-Linaro/blob/master/README README] file. |
− | + | ||
− | + | ||
− | + | ||
# Insert micro-SD card to your card writer | # Insert micro-SD card to your card writer | ||
#Execute the following command: | #Execute the following command: | ||
− | + | #: $ linaro-media-create --rootfs ext3 --mmc </dev/mmcblk0> --dev overo --hwpack <hwpack.tar.gz> --binary <rootfs.tar.gz> <br> | |
− | : Replace </dev/mmcblk0>, <hwpack.tar.gz> <rootfs.tar.gz> with the mount point of your micro-SD card, the location of the hardware pack, and the location of the root file system respectively. | + | #: Replace </dev/mmcblk0>, <hwpack.tar.gz> <rootfs.tar.gz> with the mount point of your micro-SD card, the location of the hardware pack, and the location of the root file system respectively. |
+ | #: For example: | ||
+ | #: $ linaro-media-create --rootfs ext3 --mmc /dev/sdd --dev overo --hwpack Gumstix-Overo-Linaro/Gumstix-Overo-Linaro-armhf-HWPack.tar.gz --binary Gumstix-Overo-Linaro/Gumstix-Overo-Linaro-Precise-ALIP-armhf-RootFS.tar.gz | ||
# It will list disk devices attached on your computer, and will confirm with you the location of the micro-SD you have provided in the previous step. If correct, say yes or y. | # It will list disk devices attached on your computer, and will confirm with you the location of the micro-SD you have provided in the previous step. If correct, say yes or y. | ||
# Answer yes or y to the questions when it needs to install packages | # Answer yes or y to the questions when it needs to install packages | ||
− | # When it is finished, insert the microSD card to your Overo | + | #: After this operation, 20.1 MB of additional disk space will be used. |
+ | #: Do you want to continue [Y/n]? y | ||
+ | # When it is finished, insert the microSD card to your Overo. It will probably take some time, as much as 20 minutes to complete. | ||
# Done! | # Done! | ||
Latest revision as of 11:05, 13 August 2012
Contents
Introduction
In this tutorial, you will install a customized version of linux on your Overo. This particular version is based on Ubuntu Linux (12.04), one of the most popular Linux distribution today. It has been optimized and modified to run on ARM based devices by Linaro. Therefore it will be referred to as the Linaro image from here on. The result of the customization is a lightweight, yet still very versatile version of linux. On top of the rock solid Linux Kernel 3.2, you will get a graphical desktop interface LXDE which comes with a file browser, media player and as well as Google’s Chromium Web Browser. It will provide a good starting point for many Gumstix Overo users who want to further develop their own applications. Another version of this guide, with more detail, for the beginners is also found here
Prerequisites
To install
- Computer with Ubuntu Linux 10.04 or later with internet connection
- Micro-SD card read/writer
- Micro-SD card size larger than 1 GB
To Use
- Gumstix Overo COM
- Expansion board with HDMI port and ethernet port
- Ethernet cable for the Overo to connect to a network
- Powered USB hub for peripherals such as keyboard and mouse on the Overo
- USB keyboard and mouse for the Overo
Installation
On your host computer (ie your workstation):
- Install git and the Linaro Image Tools
- $ sudo apt-get install git linaro-image-tools
- Obtain the root file system and the hardware pack via direct downloads: hwpack rootfs or via Gumstix’s Github.
- $ git clone git://github.com/gumstix/Gumstix-Overo-Linaro.git
- You can additionally check the integrity of the downloaded files by comparing the md5sum result in the README file.
- Insert micro-SD card to your card writer
- Execute the following command:
- $ linaro-media-create --rootfs ext3 --mmc </dev/mmcblk0> --dev overo --hwpack <hwpack.tar.gz> --binary <rootfs.tar.gz>
- Replace </dev/mmcblk0>, <hwpack.tar.gz> <rootfs.tar.gz> with the mount point of your micro-SD card, the location of the hardware pack, and the location of the root file system respectively.
- For example:
- $ linaro-media-create --rootfs ext3 --mmc /dev/sdd --dev overo --hwpack Gumstix-Overo-Linaro/Gumstix-Overo-Linaro-armhf-HWPack.tar.gz --binary Gumstix-Overo-Linaro/Gumstix-Overo-Linaro-Precise-ALIP-armhf-RootFS.tar.gz
- $ linaro-media-create --rootfs ext3 --mmc </dev/mmcblk0> --dev overo --hwpack <hwpack.tar.gz> --binary <rootfs.tar.gz>
- It will list disk devices attached on your computer, and will confirm with you the location of the micro-SD you have provided in the previous step. If correct, say yes or y.
- Answer yes or y to the questions when it needs to install packages
- After this operation, 20.1 MB of additional disk space will be used.
- Do you want to continue [Y/n]? y
- When it is finished, insert the microSD card to your Overo. It will probably take some time, as much as 20 minutes to complete.
- Done!
Using Linaro
To boot your Overo with the new Linaro image:
- Insert the micro-SD Card to the Overo COM
- Connect the HDMI and the Ethernet cables to the expansion board
- Attach peripherals through a powered USB hub
- Plug power into the power jack
Username:password are gumstix:gumstix
Host name is overo (overo.local if you want to reach from local area network)
List of Notable Standard Applications
Accessories
- Disk Utility
- File Manager
- Calculator
- LXTerminal
- Leafpad
Internet
- Chromium Web Browser
Office
- Adobe Document Viewer
- AbiWord
List of Hardware Pack Components
As per the manifest file which can also be found from the Gumstix GitHub:
- iw=3.2-1
- devio=1.2-1build1
- wireless-regdb=2011.04.28-1ubuntu3
- wireless-crda=1.16
- u-boot-tools=2011.09-2
- libnl-3-200=3.2.3-2ubuntu2
- linux-firmware=1.79
- uboot-mkimage=2011.09-2
- flash-kernel=2.28ubuntu42.2linaro1
- crda=1.1.2-1ubuntu1
- libnl-genl-3-200=3.2.3-2ubuntu2
- linux-headers-3.2.1-linaro-omap=3.2.1-linaro-omap-10.00.Custom
- linux-image-3.2.1-linaro-omap=3.2.1-linaro-omap-10.00.Custom
Additional Tips
Enabling Audio
By default sound output is disabled. To enable sound, launch alsamixer through LXTerminal
- $ alsamixer
And make the following changes:
- Headset - This is the volume. 50 should work ok.
- HeadsetL, HeadsetL, HeadsetL, HeadsetR, HeadsetR, HeadsetR shoud all be 00
Changing Screen Resolution
Getting USB Host To Work
Exception of USB flash drive, the USB host port requires a powered USB hub to be functional with peripherals such as keyboard and mouse.
Current Issues
Long network bring up time when Ethernet is not connected (Only wireless Overos)
Booting takes time without an ethernet cable plugged to the expansion board. This is because the failsafe script waits too long before giving up on acquiring an IP address. This is a poor implementation of fail safe mechanism. We are leaving it up to the upstream to decide how to deal with it.
Not all default desktop managers work
All desktop environments (Lubuntu, Lubuntu Netbook and Openbox) work. GNOME/Openbox seems to be misconfigured.
Hardware acceleration is not working for the Overos with OpenGL
Getting the driver for PowerVR/SGX to work with the Linaro image is a high priority task at the moment
Source Code
You can obtain the source code for the kernel and the root file system from the Gumstix Github.
- Repository for kernel
- Repository for root file system (Debian Live Build)
You can also directly download the tar-balls of the kernel, hardware pack, and the root file system.