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

From IGEP - ISEE Wiki

Jump to: navigation, search
(Created page with '== WORK IN PROGRESS, PLEASE CONTRIBUTE == == How to get the Linaro distribution == Linaro™ brings together the open source community and the electronics industry to work on ke…')
 
(Install Linaro 12.04 nano distribution)
 
(31 intermediate revisions by 8 users not shown)
Line 1: Line 1:
== WORK IN PROGRESS, PLEASE CONTRIBUTE ==
+
== About Linaro  ==
  
== How to get the Linaro distribution ==
+
[[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.  
Linaro™ brings together the open source community and the electronics industry to work on key projects, deliver great tools, reduce industry wide fragmentation and provide common foundations for Linux software distributions and stacks to land on.
 
  
== 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.<br>
  
== Feedback and Contributing ==
+
== 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.
+
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.
+
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 ==
  
=== Linaro 10.11 (snapshot 20101022) ===
+
At the end of each cycle linaro do an integrated build of software with this variants:
  
'''WORK IN PROGRESS, PLEASE CONTRIBUTE'''
+
*Headless (no graphical UI)
 +
*Netbook (Netbook style UI)
 +
*ARM Linux Internet Platform (ALIP)
 +
*Handset (A KDE/Plasma based user interface)
  
Install needed packages, on Ubuntu
+
You can download the linaro rootfs releases from here:
sudo apt-get install uboot-mkimage uuid-runtime realpath
 
  
Workdir
+
{| width="800" border="1" cellpadding="1" cellspacing="1"
mkdir linaro
+
|-
cd linaro
+
| 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
 +
|}
  
download latest linaro-media-create to a location in your PATH, e.g. $HOME/bin/:
+
Or directly from the linaro website.
bzr branch lp:linaro-image-tools
 
cp linaro-image-tools/linaro-media-create $HOME/bin
 
  
Use dlimage script to download the image files and verify the sha1sums.
 
wget http://people.canonical.com/~plars/linaro/dlimage
 
chmod +x dlimage
 
./dlimage http://snapshots.linaro.org/10.11-daily/linaro-alip/20101022/0/images/tar
 
cd image
 
  
Now it's time to get a hardware pack for the IGEP board. (For now the hardware packs are only available on the Hudson instance running on jameswestby.net, but soon we should have them mirrored somewhere on linaro.org)
+
== Install Linaro 12.04 nano distribution ==
wget http://jameswestby.net:8080/view/Hardware%20Packs/job/linaro-igep%20hwpack/lastSuccessfulBuild/artifact/hwpack_linaro-igep_20101021-23_armel.tar.gz
 
  
Next plug in your SD card and ensure you know the device node for your sd card reader. We are assuming device node of /dev/mmcblk0, run linaro-media-create
+
Download the linaro package tarball
linaro-media-create --rootfs ext3 --mmc /dev/mmcblk0 --dev igep --binary linaro-m-alip-tar-20101022-0.tar.gz --hwpack hwpack_linaro-igep_20101021-23_armel.tar.gz
 
  
Finally, plug the SD card in your board and boot.
+
wget http://downloads.isee.biz/pub/distros/linaro/linaro-nano-12.04-0.tar.gz
  
==== System Testing and known issues ====
+
Once the file is downloaded you can create bootable SD-Card, under Linux, untar the package
* Failed to boot
 
Hit any key to stop autoboot:  0
 
mmc0 is available
 
reading boot.ini
 
  
  398 bytes read
+
  tar xzf linaro-nano-12.04-0.tar.gz
  ## Executing script at 80000000
+
  cd linaro-nano-12.04-0
syntax error
 
  
* Failed to open display
+
Insert a SD-Card media and use the igep-media-create script to create a bootable SD-Card.
[    1.522430] omapfb omapfb: no displays
 
[    1.526306] omapfb omapfb: failed to setup omapfb
 
[    1.531066] omapfb: probe of omapfb failed with error -22
 
  
==== Tips and tricks ====
+
./igep-media-create -–mmc &lt;mmc&gt; --image &lt;image file&gt; --machine &lt;machine&gt;
  
--- That's all folks ---  
+
where:
 +
 
 +
&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:
 +
 
 +
*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&nbsp;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 [http://labs.isee.biz/index.php/How_to_boot_from_MicroSD_Card howto].<br>
 +
 
 +
== Videos ==
 +
 
 +
IGEPv2 running Linaro Distribution. Desktop navigation
 +
 
 +
<div style="text-align: center;">
 +
{{#ev:youtube|xG88QxJp8Zg|500}}
 +
</div>
 +
 
 +
IGEPv2 running Linaro Distribution. Internet navigation.
 +
 
 +
<div style="text-align: center;">
 +
{{#ev:youtube|GHx0jCJ1PRg|500}}
 +
</div>
 +
 
 +
<br> --- That's all folks ---
 +
 
 +
= See also  =
 +
 
 +
*[[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