Difference between revisions of "How to get the Linaro distribution"

From IGEP - ISEE Wiki

Jump to: navigation, search
(Added Kernel Wifi support for linaro 10.11)
Line 1: Line 1:
== About Linaro ==
+
== About Linaro ==
  
[[Image:Linaro.jpg|left]][http://www.linaro.org Linaro™] is a Not For Profit (NFP) organization that aims to make embedded open source development easier and faster. Linaro will create a common software foundation for software stacks and distributions to land on and provide the best open source tools for developers to develop on. The focus is on low level software around the Linux kernel that touches the silicon, key pieces of middleware that enable new markets and tools that help the developer write and debug code. Linaro aims to maximize the potential of the latest features of ARM-based processors, helping provide optimized performance in a lower power envelope. Linaro is both a community and a supported project with engineering teams spread globally.
+
[[Image:Linaro.jpg|left]][http://www.linaro.org Linaro™] is a Not For Profit (NFP) organization that aims to make embedded open source development easier and faster. Linaro will create a common software foundation for software stacks and distributions to land on and provide the best open source tools for developers to develop on. The focus is on low level software around the Linux kernel that touches the silicon, key pieces of middleware that enable new markets and tools that help the developer write and debug code. Linaro aims to maximize the potential of the latest features of ARM-based processors, helping provide optimized performance in a lower power envelope. Linaro is both a community and a supported project with engineering teams spread globally.  
  
== Overview of How-To ==
+
== Overview of How-To ==
This How-To is meant to be a starting point for people to learn install a Linaro image for OMAP3-based IGEP platforms as quickly and easily as possible.
 
  
Unless otherwise noted, this How-To works with the '''Ubuntu 10.10''' but most of the contents are valid also for other GNU/Linux distributions. We do not issue any guarantee that this will work on other distributions.
+
This How-To is meant to be a starting point for people to learn install a Linaro image for OMAP3-based IGEP platforms as quickly and easily as possible.  
  
== Feedback and Contributing ==
+
Unless otherwise noted, this How-To works with the '''Ubuntu 10.10''' but most of the contents are valid also for other GNU/Linux distributions. We do not issue any guarantee that this will work on other distributions.  
Creating articles in the wiki is a collaborative process, at any point, if you see a mistake you can contribute to this article.
 
  
Please, use the discussion tab for user comments. This is useful to separate page content and the discussion thereof and also, if you don't want to give normal users the right to edit the page but still want user contributed notes.
+
== Feedback and Contributing  ==
 +
 
 +
Creating articles in the wiki is a collaborative process, at any point, if you see a mistake you can contribute to this article.
 +
 
 +
Please, use the discussion tab for user comments. This is useful to separate page content and the discussion thereof and also, if you don't want to give normal users the right to edit the page but still want user contributed notes.  
  
 
Editing permissions are restricted to registered users. [http://www.igep.es Register in the main IGEP site] and you will have single sign-on.  
 
Editing permissions are restricted to registered users. [http://www.igep.es Register in the main IGEP site] and you will have single sign-on.  
  
Consult the [http://www.mediawiki.org/wiki/Help:Contents User's Guide] for information on using the wiki software.
+
Consult the [http://www.mediawiki.org/wiki/Help:Contents User's Guide] for information on using the wiki software.  
  
== References ==
+
== References ==
  
Much of this How-To is extracted from different sources. If you would like to read some of the original articles or resources, please visit them and thank the authors:
+
Much of this How-To is extracted from different sources. If you would like to read some of the original articles or resources, please visit them and thank the authors:  
  
 
*The Linaro website ( http://www.linaro.org )
 
*The Linaro website ( http://www.linaro.org )
  
== Linaro releases ==
+
== Linaro releases ==
 +
 
 +
At the end of each cycle linaro do an integrated build of software with this variants:
  
At the end of each cycle linaro do an integrated build of software with this variants:
+
*Headless (no graphical UI)  
* Headless (no graphical UI)
+
*Netbook (Netbook style UI)  
* Netbook (Netbook style UI)
+
*ARM Linux Internet Platform (ALIP)  
* ARM Linux Internet Platform (ALIP)
+
*Handset (A KDE/Plasma based user interface)
* Handset (A KDE/Plasma based user interface)
 
  
=== Linaro 10.11 ===
+
=== Linaro 10.11 ===
  
* https://wiki.linaro.org/Releases/1011/Final
+
*https://wiki.linaro.org/Releases/1011/Final
  
 
Install needed packages, on Ubuntu  
 
Install needed packages, on Ubuntu  
 +
 
  sudo apt-get install uboot-mkimage uuid-runtime realpath
 
  sudo apt-get install uboot-mkimage uuid-runtime realpath
  
Next create a working directory
+
Next create a working directory  
 +
 
 
  mkdir linaro
 
  mkdir linaro
 
  cd linaro
 
  cd linaro
  
Download latest linaro tools to a location in your PATH, e.g. $HOME/bin/:
+
Download latest linaro tools to a location in your PATH, e.g. $HOME/bin/:  
 +
 
 
  wget http://downloads.igep.es/linaro/10.11/linaro-hwpack-create
 
  wget http://downloads.igep.es/linaro/10.11/linaro-hwpack-create
 
  wget http://downloads.igep.es/linaro/10.11/linaro-hwpack-install
 
  wget http://downloads.igep.es/linaro/10.11/linaro-hwpack-install
Line 49: Line 55:
 
  cp linaro-image-tools/linaro-hwpack-* $HOME/bin
 
  cp linaro-image-tools/linaro-hwpack-* $HOME/bin
  
Now it's time to download the software image and the hardware pack for our target. We've download the Netbook style UI image, but you can download another (http://releases.linaro.org)
+
Now it's time to download the software image and the hardware pack for our target. We've download the Netbook style UI image, but you can download another (http://releases.linaro.org)  
 +
 
 
  wget http://releases.linaro.org/platform/linaro-m/netbook/final/linaro-m-netbook-efl-tar-20101108-1.tar.gz
 
  wget http://releases.linaro.org/platform/linaro-m/netbook/final/linaro-m-netbook-efl-tar-20101108-1.tar.gz
 
  wget http://releases.linaro.org/platform/linaro-m/hwpacks/final/hwpack_linaro-igep_20101109-1_armel.tar.gz
 
  wget http://releases.linaro.org/platform/linaro-m/hwpacks/final/hwpack_linaro-igep_20101109-1_armel.tar.gz
  
 
Installing the build onto a media that your hardware can recognise is done using the linaro-media-create script.  
 
Installing the build onto a media that your hardware can recognise is done using the linaro-media-create script.  
#Insert your SD card into the host machine (the machine you downloaded the image and hwpack to).
+
 
#Ensure you know the device node for your sd card reader. In the following example we assume /dev/mmcblk0. If you are unsure of the device node of your SD card, remove and reinsert the card and type dmesg on the command line. The last few lines should give you the device node of the card you just inserted.
+
#Insert your SD card into the host machine (the machine you downloaded the image and hwpack to).  
 +
#Ensure you know the device node for your sd card reader. In the following example we assume /dev/mmcblk0. If you are unsure of the device node of your SD card, remove and reinsert the card and type dmesg on the command line. The last few lines should give you the device node of the card you just inserted.  
 
#In the directory where you downloaded the image and hwpack run linaro-media-create (NOTE: be sure to delete all partitions on the SD Card before running linaro-media-create otherwise it will fail!)
 
#In the directory where you downloaded the image and hwpack run linaro-media-create (NOTE: be sure to delete all partitions on the SD Card before running linaro-media-create otherwise it will fail!)
  
 
  linaro-media-create --rootfs ext3 --mmc /dev/mmcblk0 --dev igep \
 
  linaro-media-create --rootfs ext3 --mmc /dev/mmcblk0 --dev igep \
                    --binary linaro-m-netbook-efl-tar-20101108-1.tar.gz \
+
                    --binary linaro-m-netbook-efl-tar-20101108-1.tar.gz \
                    --hwpack hwpack_linaro-igep_20101109-1_armel.tar.gz
+
                    --hwpack hwpack_linaro-igep_20101109-1_armel.tar.gz
 +
 
 +
Finally, plug the SD card in your board and boot.
 +
 
 +
== Linaro wifi kernel support ==
 +
 
 +
You can download the kernel images release  with wifi support from our website:
 +
 
 +
#[http://downloads.igep.es/linaro/10.11/linux-image-2.6.35-1010-linaro-omap_2.6.35-1010.17_armel.deb Kernel link].
 +
#[[linux-headers-2.6.35-1010-linaro-omap_2.6.35-1010.17_armel.deb|Kernel headers.]]
 +
 
  
Finally, plug the SD card in your board and boot.
 
  
== SGX Acceleration [EXPERIMENTAL!] ==
+
== SGX Acceleration [EXPERIMENTAL!] ==
  
This worked for me, no idea if it works for anyone!
+
This worked for me, no idea if it works for anyone!  
  
1. Install the linux kernel headers for the linaro version that is running on your board in my case
+
1. Install the linux kernel headers for the linaro version that is running on your board in my case  
  
 
  sudo apt-get install linux-headers-2.6.35-1008-linaro-omap
 
  sudo apt-get install linux-headers-2.6.35-1008-linaro-omap
  
2. Get the openGL backend:
+
2. Get the openGL backend:  
  
 
  sudo apt-get install libegl1-sgx-omap3 libgles1-sgx-omap3 libgles2-sgx-omap3
 
  sudo apt-get install libegl1-sgx-omap3 libgles1-sgx-omap3 libgles2-sgx-omap3
  
Now you can run the demos that are mentioned in the Ubuntu guide. Have fun :).
+
Now you can run the demos that are mentioned in the Ubuntu guide. Have fun :).  
  
== Videos ==
+
== Videos ==
IGEPv2 running Linaro Distribution. Desktop navigation
 
  
http://www.youtube.com/watch?v=xG88QxJp8Zg
+
IGEPv2 running Linaro Distribution. Desktop navigation
  
IGEPv2 running Linaro Distribution. Internet navigation.
+
http://www.youtube.com/watch?v=xG88QxJp8Zg
  
http://www.youtube.com/watch?v=GHx0jCJ1PRg
+
IGEPv2 running Linaro Distribution. Internet navigation.  
  
 +
http://www.youtube.com/watch?v=GHx0jCJ1PRg
  
--- That's all folks ---  
+
<br> --- That's all folks ---  
  
 
[[Category:Software_distributions|Linaro]]
 
[[Category:Software_distributions|Linaro]]

Revision as of 19:56, 4 March 2011

About Linaro

Linaro.jpg
Linaro™ is a Not For Profit (NFP) organization that aims to make embedded open source development easier and faster. Linaro will create a common software foundation for software stacks and distributions to land on and provide the best open source tools for developers to develop on. The focus is on low level software around the Linux kernel that touches the silicon, key pieces of middleware that enable new markets and tools that help the developer write and debug code. Linaro aims to maximize the potential of the latest features of ARM-based processors, helping provide optimized performance in a lower power envelope. Linaro is both a community and a supported project with engineering teams spread globally.

Overview of How-To

This How-To is meant to be a starting point for people to learn install a Linaro image for OMAP3-based IGEP platforms as quickly and easily as possible.

Unless otherwise noted, this How-To works with the Ubuntu 10.10 but most of the contents are valid also for other GNU/Linux distributions. We do not issue any guarantee that this will work on other distributions.

Feedback and Contributing

Creating articles in the wiki is a collaborative process, at any point, if you see a mistake you can contribute to this article.

Please, use the discussion tab for user comments. This is useful to separate page content and the discussion thereof and also, if you don't want to give normal users the right to edit the page but still want user contributed notes.

Editing permissions are restricted to registered users. Register in the main IGEP site and you will have single sign-on.

Consult the User's Guide for information on using the wiki software.

References

Much of this How-To is extracted from different sources. If you would like to read some of the original articles or resources, please visit them and thank the authors:

Linaro releases

At the end of each cycle linaro do an integrated build of software with this variants:

  • Headless (no graphical UI)
  • Netbook (Netbook style UI)
  • ARM Linux Internet Platform (ALIP)
  • Handset (A KDE/Plasma based user interface)

Linaro 10.11

Install needed packages, on Ubuntu

sudo apt-get install uboot-mkimage uuid-runtime realpath

Next create a working directory

mkdir linaro
cd linaro

Download latest linaro tools to a location in your PATH, e.g. $HOME/bin/:

wget http://downloads.igep.es/linaro/10.11/linaro-hwpack-create
wget http://downloads.igep.es/linaro/10.11/linaro-hwpack-install
wget http://downloads.igep.es/linaro/10.11/linaro-media-create
cp linaro-image-tools/linaro-media-create $HOME/bin
cp linaro-image-tools/linaro-hwpack-* $HOME/bin

Now it's time to download the software image and the hardware pack for our target. We've download the Netbook style UI image, but you can download another (http://releases.linaro.org)

wget http://releases.linaro.org/platform/linaro-m/netbook/final/linaro-m-netbook-efl-tar-20101108-1.tar.gz
wget http://releases.linaro.org/platform/linaro-m/hwpacks/final/hwpack_linaro-igep_20101109-1_armel.tar.gz

Installing the build onto a media that your hardware can recognise is done using the linaro-media-create script.

  1. Insert your SD card into the host machine (the machine you downloaded the image and hwpack to).
  2. Ensure you know the device node for your sd card reader. In the following example we assume /dev/mmcblk0. If you are unsure of the device node of your SD card, remove and reinsert the card and type dmesg on the command line. The last few lines should give you the device node of the card you just inserted.
  3. In the directory where you downloaded the image and hwpack run linaro-media-create (NOTE: be sure to delete all partitions on the SD Card before running linaro-media-create otherwise it will fail!)
linaro-media-create --rootfs ext3 --mmc /dev/mmcblk0 --dev igep \
                   --binary linaro-m-netbook-efl-tar-20101108-1.tar.gz \
                   --hwpack hwpack_linaro-igep_20101109-1_armel.tar.gz

Finally, plug the SD card in your board and boot.

Linaro wifi kernel support

You can download the kernel images release  with wifi support from our website:

  1. Kernel link.
  2. Kernel headers.


SGX Acceleration [EXPERIMENTAL!]

This worked for me, no idea if it works for anyone!

1. Install the linux kernel headers for the linaro version that is running on your board in my case

sudo apt-get install linux-headers-2.6.35-1008-linaro-omap

2. Get the openGL backend:

sudo apt-get install libegl1-sgx-omap3 libgles1-sgx-omap3 libgles2-sgx-omap3

Now you can run the demos that are mentioned in the Ubuntu guide. Have fun emoticon.

Videos

IGEPv2 running Linaro Distribution. Desktop navigation

http://www.youtube.com/watch?v=xG88QxJp8Zg

IGEPv2 running Linaro Distribution. Internet navigation.

http://www.youtube.com/watch?v=GHx0jCJ1PRg


--- That's all folks ---