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

From IGEP - ISEE Wiki

Jump to: navigation, search
(System Testing and known issues)
Line 1: Line 1:
== WORK IN PROGRESS, PLEASE CONTRIBUTE ==
 
 
 
== How to get the Linaro distribution ==
 
== How to get the Linaro distribution ==
 
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.
 
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.
Line 27: Line 25:
 
== 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:
 +
* Headless (no graphical UI)
 +
* Netbook (Netbook style UI)
 +
* ARM Linux Internet Platform (ALIP)
 +
* Handset (A KDE/Plasma based user interface)
 +
 
 +
=== Linaro 10.11 ===
  
'''WORK IN PROGRESS, PLEASE CONTRIBUTE'''
+
* 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
  
Workdir
+
Next create a working directory
 
  mkdir linaro
 
  mkdir linaro
 
  cd linaro
 
  cd linaro
  
download latest linaro-media-create to a location in your PATH, e.g. $HOME/bin/:  
+
Download latest linaro-media-create to a location in your PATH, e.g. $HOME/bin/:
 
  bzr branch lp:linaro-image-tools
 
  bzr branch lp:linaro-image-tools
 
  cp linaro-image-tools/linaro-media-create $HOME/bin
 
  cp linaro-image-tools/linaro-media-create $HOME/bin
 +
cp linaro-image-tools/linaro-hwpack-* $HOME/bin
  
Use dlimage script to download the image files and verify the sha1sums.
+
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://people.canonical.com/~plars/linaro/dlimage
+
  wget http://releases.linaro.org/platform/linaro-m/netbook/final/linaro-m-netbook-efl-tar-20101108-1.tar.gz
  chmod +x dlimage
+
  wget http://releases.linaro.org/platform/linaro-m/hwpacks/final/hwpack_linaro-igep_20101109-1_armel.tar.gz
./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)
 
  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
 
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.
 
 
 
==== System Testing and known issues ====
 
* Failed to boot
 
Hit any key to stop autoboot:  0
 
mmc0 is available
 
reading boot.ini
 
 
 
398 bytes read
 
## Executing script at 80000000
 
syntax error
 
  
Solution: Run manually
+
Installing the build onto a media that your hardware can recognise is done using the linaro-media-create script.
mmc init 0
+
#Insert your SD card into the host machine (the machine you downloaded the image and hwpack to).
setenv bootcmd 'fatload mmc 0:1 0x80000000 uImage; fatload mmc 0:1 0x81600000 uInitrd; bootm 0x80000000 0x81600000'
+
#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.
setenv bootargs 'console=tty0 console=ttyS2,115200n8  root=UUID=0c501083-2456-4728-8c16-0fbc4e9f512e rootwait ro earlyprintk fixrtc nocompcache vram=12M omapfb.debug=y omapfb.mode=dvi:1280x720MR-16@60'
+
#In the directory where you downloaded the image and hwpack run linaro-media-create
run bootcmd
 
  
* Failed to open display
+
linaro-media-create --rootfs ext3 --mmc /dev/mmcblk0 --dev igep \
[    1.522430] omapfb omapfb: no displays
+
                    --binary linaro-m-netbook-efl-tar-20101108-1.tar.gz \
[    1.526306] omapfb omapfb: failed to setup omapfb
+
                    --hwpack hwpack_linaro--gep_20101109-1_armel.tar.gz
[    1.531066] omapfb: probe of omapfb failed with error -22
 
  
==== Tips and tricks ====
+
# plug the SD card in your board and boot.
  
 
--- That's all folks ---  
 
--- That's all folks ---  
  
 
[[Category:Software_distributions|Linaro]]
 
[[Category:Software_distributions|Linaro]]

Revision as of 22:01, 12 November 2010

How to get the Linaro distribution

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

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-media-create to a location in your PATH, e.g. $HOME/bin/:

bzr branch lp:linaro-image-tools
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
linaro-media-create --rootfs ext3 --mmc /dev/mmcblk0 --dev igep \
                    --binary linaro-m-netbook-efl-tar-20101108-1.tar.gz \
                    --hwpack hwpack_linaro--gep_20101109-1_armel.tar.gz
  1. plug the SD card in your board and boot.

--- That's all folks ---