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

From IGEP - ISEE Wiki

Jump to: navigation, search
(Install Linaro 12.04 nano distribution)
 
(8 intermediate revisions by 3 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)
  
You can download the linaro rootfs releases from here:
+
You can download the linaro rootfs releases from here:  
  
{| width="600" border="1" cellpadding="1" cellspacing="1"
+
{| width="800" border="1" cellpadding="1" cellspacing="1"
 
|-
 
|-
| Type
+
| Type  
| Release
+
| Release  
 
| File
 
| File
 
|-
 
|-
| Nano
+
| Nano  
| 11.09
+
| 12.04
| http://downloads.isee.biz/pub/distros/linaro-11.09-nano-n-tar-20110929-0.tar.gz
+
| http://downloads.isee.biz/pub/distros/linaro/linaro-nano-12.04-0.tar.gz
 
|-
 
|-
| Netbook
+
| Nano
| 12.01
+
| 11.09
| http://downloads.isee.biz/pub/distros/linaro-12.01.tar.gz
+
| http://downloads.isee.biz/pub/distros/linaro/linaro-11.09-nano-n-tar-20110929-0.tar.gz
 
|-
 
|-
| Headless
+
| Netbook
| 10.xx
+
| 12.01
| http://downloads.isee.biz/pub/distros/linaro-m-headless-tar-20101108-2.tar.gz
+
| 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
 
|}
 
|}
  
<br>
+
Or directly from the linaro website.
 
 
=== Linaro 10.11  ===
 
 
 
*https://wiki.linaro.org/Releases/1011/Final
 
 
 
Install needed packages, on Ubuntu
 
 
 
sudo apt-get install uboot-mkimage uuid-runtime realpath
 
 
 
Next create a working directory
 
 
 
mkdir linaro
 
cd linaro
 
 
 
Install linaro tools for creating the SD card as follows:
 
 
 
sudo apt-get install linaro-image-tools
 
 
 
(This was tested to work on ubuntu 10.10 at 2011-03-30.)
 
 
 
In case this doesn't work, you can alternatively 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-media-create $HOME/bin
 
cp 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
 
 
 
The linaro netbook image comes with a preinstalled user 'linaro'. In case you need it, the password is also 'linaro'.
 
 
 
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.
 
#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 \
+
== Install Linaro 12.04 nano distribution ==
                  --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.
+
Download the linaro package tarball
  
== Linaro wifi kernel support ==
+
  wget http://downloads.isee.biz/pub/distros/linaro/linaro-nano-12.04-0.tar.gz
  
You can download the kernel images release 2.6.35-1010.17&nbsp;with wifi support from our website:
+
Once the file is downloaded you can create bootable SD-Card, under Linux, untar the package
  
#[http://downloads.igep.es/linaro/10.11/linux-image-2.6.35-1010-linaro-omap_2.6.35-1010.17_armel.deb Kernel link].  
+
tar xzf linaro-nano-12.04-0.tar.gz
#[http://downloads.igep.es/linaro/10.11/linux-headers-2.6.35-1010-linaro-omap_2.6.35-1010.17_armel.deb Kernel headers.]
+
cd linaro-nano-12.04-0
  
Just download on the freshly booted board. You can install them on the board as follows:
+
Insert a SD-Card media and use the igep-media-create script to create a bootable SD-Card.
  
  sudo apt-get install linux-headers-2.6.35-1010
+
  ./igep-media-create -–mmc &lt;mmc&gt; --image &lt;image file&gt; --machine &lt;machine&gt;
sudo dpkg -i linux-image-2.6.35-1010-linaro-omap_2.6.35-1010.17_armel.deb
 
sudo dpkg -i linux-headers-2.6.35-1010-linaro-omap_2.6.35-1010.17_armel.deb
 
  
== SGX Acceleration [EXPERIMENTAL!]  ==
+
where:
  
This worked for me, no idea if it works for anyone!
+
&lt;mmc&gt; - is the SD-Card device of your computer.
 +
&lt;image file&gt; - is the file that contains bootloader, kernel and rootfs image.
 +
&lt;machine&gt; - is the IGEP Processor Board. Available options are:
  
1. Install the linux kernel headers for the linaro version that is running on your board in my case
+
*igep0020 - For IGEP v2 Processor Board
 +
*igep0030 - For IGEP COM MODULE Processor Board
 +
*igep0032 - For IGEP COM PROTON Processor Board
  
sudo apt-get install linux-headers-2.6.35-1008-linaro-omap
+
For example, assuming the SD-card device takes '/dev/sdf' and you have an IGEPv2 board ('igep0020'), type
  
2. Get the openGL backend:
+
./igep-media-create --mmc /dev/sdf --machine igep0020 --image linaro-nano-12.04-0.tar.bz2
  
sudo apt-get install libegl1-sgx-omap3 libgles1-sgx-omap3 libgles2-sgx-omap3
+
For example, assuming the SD-card device takes '/dev/sdb' and you have an IGEP COM&nbsp;MODULE ('igep0030'), type
  
Now you can run the demos that are mentioned in the Ubuntu guide. Have fun&nbsp;:).  
+
./igep-media-create --mmc /dev/sdb --machine igep0030 --image linaro-nano-12.04-0.tar.bz2
  
== Audio Output  ==
+
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.
  
  alsamixer
+
== Install Other Linaro Distributions ==
  
Increase headset volume (arrow up key) and unmute "HeadsetL Mixer AudioL2" and "HandsetR Mixer AudioR2".  
+
Please follow the next [http://labs.isee.biz/index.php/How_to_boot_from_MicroSD_Card howto].<br>
  
== Videos ==
+
== Videos ==
  
 
IGEPv2 running Linaro Distribution. Desktop navigation  
 
IGEPv2 running Linaro Distribution. Desktop navigation  
  
http://www.youtube.com/watch?v=xG88QxJp8Zg
+
<div style="text-align: center;">
 +
{{#ev:youtube|xG88QxJp8Zg|500}}
 +
</div>
  
 
IGEPv2 running Linaro Distribution. Internet navigation.  
 
IGEPv2 running Linaro Distribution. Internet navigation.  
  
http://www.youtube.com/watch?v=GHx0jCJ1PRg
+
<div style="text-align: center;">
 +
{{#ev:youtube|GHx0jCJ1PRg|500}}
 +
</div>
  
<br> --- That's all folks ---  
+
<br> --- That's all folks ---
  
 
= See also  =
 
= See also  =

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