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

From IGEP - ISEE Wiki

Jump to: navigation, search
(Install Linaro 12.04 nano distribution)
 
(16 intermediate revisions by 6 users not shown)
Line 5: Line 5:
 
== 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.  
+
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.<br>
 
 
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  ==
 
== Feedback and Contributing  ==
Line 34: Line 32:
 
*Handset (A KDE/Plasma based user interface)
 
*Handset (A KDE/Plasma based user interface)
  
=== Linaro 10.11  ===
+
You can download the linaro rootfs releases from here:
  
*https://wiki.linaro.org/Releases/1011/Final
+
{| width="800" border="1" cellpadding="1" cellspacing="1"
 +
|-
 +
| Type
 +
| Release
 +
| File
 +
|-
 +
| Nano
 +
| 12.04
 +
| http://downloads.isee.biz/pub/distros/linaro/linaro-nano-12.04-0.tar.gz
 +
|-
 +
| Nano
 +
| 11.09
 +
| http://downloads.isee.biz/pub/distros/linaro/linaro-11.09-nano-n-tar-20110929-0.tar.gz
 +
|-
 +
| Netbook
 +
| 12.01
 +
| http://downloads.isee.biz/pub/distros/linaro/linaro-12.01.tar.gz
 +
|-
 +
| Headless
 +
| 10.xx
 +
| http://downloads.isee.biz/pub/distros/linaro/linaro-m-headless-tar-20101108-2.tar.gz
 +
|}
  
Install needed packages, on Ubuntu
+
Or directly from the linaro website.
  
sudo apt-get install uboot-mkimage uuid-runtime realpath
 
  
Next create a working directory
+
== Install Linaro 12.04 nano distribution ==
  
mkdir linaro
+
Download the linaro package tarball
cd linaro
 
  
Download latest linaro tools to a location in your PATH, e.g. $HOME/bin/:
+
wget http://downloads.isee.biz/pub/distros/linaro/linaro-nano-12.04-0.tar.gz
  
wget http://downloads.igep.es/linaro/10.11/linaro-hwpack-create
+
Once the file is downloaded you can create bootable SD-Card, under Linux, untar the package
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)
+
tar xzf linaro-nano-12.04-0.tar.gz
 +
cd linaro-nano-12.04-0
  
wget http://releases.linaro.org/platform/linaro-m/netbook/final/linaro-m-netbook-efl-tar-20101108-1.tar.gz
+
Insert a SD-Card media and use the igep-media-create script to create a bootable SD-Card.
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.
+
./igep-media-create -–mmc &lt;mmc&gt; --image &lt;image file&gt; --machine &lt;machine&gt;
  
#Insert your SD card into the host machine (the machine you downloaded the image and hwpack to).
+
where:
#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!)
 
  
linaro-media-create --rootfs ext3 --mmc /dev/mmcblk0 --dev igep \
+
&lt;mmc&gt; - is the SD-Card device of your computer.
                    --binary linaro-m-netbook-efl-tar-20101108-1.tar.gz \
+
&lt;image file&gt; - is the file that contains bootloader, kernel and rootfs image.
                    --hwpack hwpack_linaro-igep_20101109-1_armel.tar.gz
+
&lt;machine&gt; - is the IGEP Processor Board. Available options are:
  
Finally, plug the SD card in your board and boot.
+
*igep0020 - For IGEP v2 Processor Board
 +
*igep0030 - For IGEP COM MODULE Processor Board
 +
*igep0032 - For IGEP COM PROTON Processor Board
  
== Linaro wifi kernel support  ==
+
For example, assuming the SD-card device takes '/dev/sdf' and you have an IGEPv2 board ('igep0020'), type
  
You can download the kernel images release 2.6.35-1010.17&nbsp;with wifi support from our website:
+
./igep-media-create --mmc /dev/sdf --machine igep0020 --image linaro-nano-12.04-0.tar.bz2
  
#[http://downloads.igep.es/linaro/10.11/linux-image-2.6.35-1010-linaro-omap_2.6.35-1010.17_armel.deb Kernel link].
+
For example, assuming the SD-card device takes '/dev/sdb' and you have an IGEP COM&nbsp;MODULE ('igep0030'), type
#[http://downloads.igep.es/linaro/10.11/Linux-headers-2.6.35-1010-linaro-omap Kernel headers.]
 
  
== SGX Acceleration [EXPERIMENTAL!] ==
+
  ./igep-media-create --mmc /dev/sdb --machine igep0030 --image linaro-nano-12.04-0.tar.bz2
  
This worked for me, no idea if it works for anyone!
+
These methods should give you a bootable SD-card. Insert the bootable SD-card media into the micro-SD card socket of IGEP device and power on it. This should result in a running system with a Linaro nano image.
  
1. Install the linux kernel headers for the linaro version that is running on your board in my case
+
== Install Other Linaro Distributions  ==
  
sudo apt-get install linux-headers-2.6.35-1008-linaro-omap
+
Please follow the next [http://labs.isee.biz/index.php/How_to_boot_from_MicroSD_Card howto].<br>
  
2. Get the openGL backend:
+
== Videos ==
  
sudo apt-get install libegl1-sgx-omap3 libgles1-sgx-omap3 libgles2-sgx-omap3
+
IGEPv2 running Linaro Distribution. Desktop navigation
  
Now you can run the demos that are mentioned in the Ubuntu guide. Have fun&nbsp;:).
+
<div style="text-align: center;">
 +
{{#ev:youtube|xG88QxJp8Zg|500}}
 +
</div>
  
== Videos  ==
+
IGEPv2 running Linaro Distribution. Internet navigation.
 
 
IGEPv2 running Linaro Distribution. Desktop navigation  
 
  
http://www.youtube.com/watch?v=xG88QxJp8Zg
+
<div style="text-align: center;">
 +
{{#ev:youtube|GHx0jCJ1PRg|500}}
 +
</div>
  
IGEPv2 running Linaro Distribution. Internet navigation.
+
<br> --- That's all folks ---
  
http://www.youtube.com/watch?v=GHx0jCJ1PRg
+
= See also  =
  
<br> --- That's all folks ---
+
*[[How to get the Ubuntu distribution]]
 +
*[[How to get the Angstrom distribution]]
 +
*[[How to get the Android distribution]]
 +
*[[How to get the Meego distribution]]
 +
*[[How to get the Poky Linux distribution]]
  
 
[[Category:Software_distributions|Linaro]]
 
[[Category:Software_distributions|Linaro]]

Latest revision as of 11:28, 4 February 2014

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.

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)

You can download the linaro rootfs releases from here:

Type Release File
Nano 12.04 http://downloads.isee.biz/pub/distros/linaro/linaro-nano-12.04-0.tar.gz
Nano 11.09 http://downloads.isee.biz/pub/distros/linaro/linaro-11.09-nano-n-tar-20110929-0.tar.gz
Netbook 12.01 http://downloads.isee.biz/pub/distros/linaro/linaro-12.01.tar.gz
Headless 10.xx http://downloads.isee.biz/pub/distros/linaro/linaro-m-headless-tar-20101108-2.tar.gz

Or directly from the linaro website.


Install Linaro 12.04 nano distribution

Download the linaro package tarball

wget http://downloads.isee.biz/pub/distros/linaro/linaro-nano-12.04-0.tar.gz

Once the file is downloaded you can create bootable SD-Card, under Linux, untar the package

tar xzf linaro-nano-12.04-0.tar.gz
cd linaro-nano-12.04-0

Insert a SD-Card media and use the igep-media-create script to create a bootable SD-Card.

./igep-media-create -–mmc <mmc> --image <image file> --machine <machine>

where:

<mmc> - is the SD-Card device of your computer. <image file> - is the file that contains bootloader, kernel and rootfs image. <machine> - is the IGEP Processor Board. Available options are:

  • igep0020 - For IGEP v2 Processor Board
  • igep0030 - For IGEP COM MODULE Processor Board
  • igep0032 - For IGEP COM PROTON Processor Board

For example, assuming the SD-card device takes '/dev/sdf' and you have an IGEPv2 board ('igep0020'), type

./igep-media-create --mmc /dev/sdf --machine igep0020 --image linaro-nano-12.04-0.tar.bz2

For example, assuming the SD-card device takes '/dev/sdb' and you have an IGEP COM MODULE ('igep0030'), type

./igep-media-create --mmc /dev/sdb --machine igep0030 --image linaro-nano-12.04-0.tar.bz2

These methods should give you a bootable SD-card. Insert the bootable SD-card media into the micro-SD card socket of IGEP device and power on it. This should result in a running system with a Linaro nano image.

Install Other Linaro Distributions

Please follow the next howto.

Videos

IGEPv2 running Linaro Distribution. Desktop navigation

IGEPv2 running Linaro Distribution. Internet navigation.


--- That's all folks ---

See also