Difference between revisions of "Linaro"

From Gumstix User Wiki
Jump to: navigation, search
(mA)
Line 1: Line 1:
'''Note: This page is still under development and requires more detail before it is useful.  Hold off for a little while before testing these steps.'''
 
 
 
The Gumstix Overo COM is supported by the [http://www.linaro.org Linaro Project].  Linaro is not a distribution but really an effort to make a common framework for unleashing open-source software on embedded systems.  The Linaro project is backed by Canonical (the people behind Ubuntu) among others which means this is a great place to start if you want to run Ubuntu on your Overo COM.
 
The Gumstix Overo COM is supported by the [http://www.linaro.org Linaro Project].  Linaro is not a distribution but really an effort to make a common framework for unleashing open-source software on embedded systems.  The Linaro project is backed by Canonical (the people behind Ubuntu) among others which means this is a great place to start if you want to run Ubuntu on your Overo COM.
  
 
== Getting the Images ==
 
== Getting the Images ==
Gumstix is scheduled for inclusion in the next Linaro release due in May 2011.  As of Feb 2011, an Alpha 2 release is available [http://releases.linaro.org/platform/linaro-n/ here].  You'll need two components:
+
Gumstix is scheduled for inclusion in the next Linaro release due in May 2011.  As of Mar 2011, an Alpha 3 release is available although you will want to use the [http://snapshots.linaro.org/11.05-daily/ daily snapshots] for the most up-to-date fixes.  You'll need two components:
* an Overo-specific [http://releases.linaro.org/platform/linaro-n/hwpacks/alpha-2/hwpack_linaro-overo_20110203-0_armel_supported.tar.gz hardware pack]
+
* an Overo-specific [http://snapshots.linaro.org/11.05-daily/linaro-hwpacks/overo/20110314/0/images/hwpack/hwpack_linaro-overo_20110314-0_armel_supported.tar.gz hardware pack]
* your image (I tested a full [http://releases.linaro.org/platform/linaro-n/netbook/alpha-2/linaro-natty-efl-tar-20110203-1.tar.gz netbook release])
+
* an image. There are [http://snapshots.linaro.org/11.05-daily/linaro-developer/20110314/0/images/tar/linaro-n-developer-tar-20110314-0.tar.gz
 +
developer] (console-only), [http://snapshots.linaro.org/11.05-daily/linaro-alip/20110314/0/images/tar/linaro-natty-alip-tar-20110314-0.tar.gz
 +
ALIP] (internet platform), or [http://snapshots.linaro.org/11.05-daily/linaro-ubuntu-desktop/20110314/0/images/tar/linaro-n-ubuntu-desktop-tar-20110314-0.tar.gz Ubuntu-desktop] versions. Pick one.
  
 
Download these two components and while you are waiting, grab a few important tools...
 
Download these two components and while you are waiting, grab a few important tools...
  
 
== Getting the Tools ==
 
== Getting the Tools ==
'''linaro-media-create''' is a tool to automagically create a bootable microSD for your Overo (or Beagle or Panda or...).  For those running, Ubuntu Natty, apparently just this will do the trick:
+
'''linaro-media-create''' is a tool to automatically create a bootable microSD for your Overo.  For those running Ubuntu Natty, apparently this will do the trick:
 
  sudo apt-get install linaro-image-tools
 
  sudo apt-get install linaro-image-tools
For those of use sporting Maverick (10.10):
+
For those sporting Maverick (10.10) (and older?) :
 
  sudo add-apt-repository ppa:linaro-maintainers/tools
 
  sudo add-apt-repository ppa:linaro-maintainers/tools
 
  sudo apt-get update  
 
  sudo apt-get update  
Line 22: Line 22:
  
 
== Making a Card ==
 
== Making a Card ==
The final step is actually creating the microSD card.  Navigate to the directory where you downloaded the image and the hardware pack, slip a microSD card into your machine (apparently SDHC cards don't work so well i.e. 2GB or less), and issue a command like this:
+
The final step is actually creating the microSD card.  Navigate to the directory where you downloaded the image and the hardware pack, slip a microSD card into your machine, and issue a command like this:
  sudo linaro-media-create --rootfs ext3 --mmc /dev/mmcblk0 --binary linaro-natty-efl-tar-20110203-1.tar.gz --hwpack hwpack_linaro-overo_20110203-0_armel_supported.tar.gz --dev overo
+
  sudo linaro-media-create --rootfs ext3 --mmc /dev/mmcblk0 --binary linaro-n-ubuntu-desktop-tar-20110314-0.tar.gz --hwpack hwpack_linaro-overo_20110314-0_armel_supported.tar.gz --dev overo
  
 
Notes:
 
Notes:
 
* use ''dmesg'' to check that your SD card is actually ''/dev/mmcblk0'' before doing this
 
* use ''dmesg'' to check that your SD card is actually ''/dev/mmcblk0'' before doing this
 
* the ''--binary'' argument will depend on which image you chose to download
 
* the ''--binary'' argument will depend on which image you chose to download
* I needed ''sudo'' access to do this---I'm not 100% sure the cause.
 
  
 
This command will take a little while to download any extra bits it needs and format your card.  For me, this was about 20 minutes total and I waited a long time on the 'Populating rootfs partition' step.  Once it is done, unmount the card and slide it into your Overo COM and power on as normal.
 
This command will take a little while to download any extra bits it needs and format your card.  For me, this was about 20 minutes total and I waited a long time on the 'Populating rootfs partition' step.  Once it is done, unmount the card and slide it into your Overo COM and power on as normal.
 
Enjoy!
 
 
  
 
== Related Links ==
 
== Related Links ==

Revision as of 10:37, 14 March 2011

The Gumstix Overo COM is supported by the Linaro Project. Linaro is not a distribution but really an effort to make a common framework for unleashing open-source software on embedded systems. The Linaro project is backed by Canonical (the people behind Ubuntu) among others which means this is a great place to start if you want to run Ubuntu on your Overo COM.

Getting the Images

Gumstix is scheduled for inclusion in the next Linaro release due in May 2011. As of Mar 2011, an Alpha 3 release is available although you will want to use the daily snapshots for the most up-to-date fixes. You'll need two components:

developer] (console-only), [http://snapshots.linaro.org/11.05-daily/linaro-alip/20110314/0/images/tar/linaro-natty-alip-tar-20110314-0.tar.gz
ALIP] (internet platform), or Ubuntu-desktop versions. Pick one.

Download these two components and while you are waiting, grab a few important tools...

Getting the Tools

linaro-media-create is a tool to automatically create a bootable microSD for your Overo. For those running Ubuntu Natty, apparently this will do the trick:

sudo apt-get install linaro-image-tools

For those sporting Maverick (10.10) (and older?) :

sudo add-apt-repository ppa:linaro-maintainers/tools
sudo apt-get update 
sudo apt-get install linaro-image-tools
sudo apt-get install qemu-user-static

More details are available here

Making a Card

The final step is actually creating the microSD card. Navigate to the directory where you downloaded the image and the hardware pack, slip a microSD card into your machine, and issue a command like this:

sudo linaro-media-create --rootfs ext3 --mmc /dev/mmcblk0 --binary linaro-n-ubuntu-desktop-tar-20110314-0.tar.gz --hwpack hwpack_linaro-overo_20110314-0_armel_supported.tar.gz --dev overo

Notes:

  • use dmesg to check that your SD card is actually /dev/mmcblk0 before doing this
  • the --binary argument will depend on which image you chose to download

This command will take a little while to download any extra bits it needs and format your card. For me, this was about 20 minutes total and I waited a long time on the 'Populating rootfs partition' step. Once it is done, unmount the card and slide it into your Overo COM and power on as normal.

Related Links