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

From IGEP - ISEE Wiki

Jump to: navigation, search
(How to build the development branch)
(Annex: Known issues and solutions: remove fixed issues)
Line 84: Line 84:
  
 
== Annex: Known issues and solutions ==
 
== Annex: Known issues and solutions ==
 
=== Requested 'dbus-1 >= 1.2.16' but version of dbus is 1.1.20 ===
 
 
The libnih package fails, libnih is compiled for host and for target so your host system needs at least version 1.2.16 of dbus-1.
 
 
Distributions affected:
 
 
* Ubuntu 8.04 LTS (Hardy Heron)
 
 
=== BUILD    alsa make: *** [flat] Error 1 ===
 
 
Error :
 
 
+ scripts/build alsa-lib
 
+ scripts/build alsa-utils
 
+ '[' no = yes ']'
 
make: *** [flat] Error 1
 
 
Append to packages/alsa/build
 
 
exit 0
 
 
Should be fixed in [http://hg.geexbox.org/geexbox/rev/9551cf55a78f r8303].
 
  
 
=== gzip: stdin: invalid compressed data--crc error ===
 
=== gzip: stdin: invalid compressed data--crc error ===

Revision as of 17:35, 15 September 2010

Overview

GeeXboX is a free embedded Linux distribution which aims at turning your computer into a so called HTPC (Home Theater PC) or Media Center. You can use it on a diskless computer, the whole system being loaded in RAM. Some points to note:

  • Whole system being loaded in RAM.
  • OpenGL|ES acceleration
  • DSP-accelerated media playback with GStreamer (work in progress)

This How-To is meant to be a starting point for people to learn install a GeeXboX image for IGEP v2 devices as quickly and easily as possible.

Requirements

  • A GNU/Linux-based host system.
  • A SD card

Feedback and Contributing

If you want to contribute to GeeXboX please subscribe to the development list (devel at geexbox.org).

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.

There is a set of Wiki contribution guidelines.

References

How to build the development branch

Note: The development branch is where the development work takes place and you should use this if you're after to work with the latest cutting edge developments. It is possible trunk can suffer temporary periods of instability while new features are developed and if this is undesirable we recommend using one of the release branches. Use ONLY for development purposes.

GeeXbox uses Mercurial as a revision control system, so you will install the mercurial package for your host syste. On an Ubuntu-based system this will be done with,

$ sudo apt-get install mercurial

Now, the first thing you will do is download the sources from Mercurial GeeXboX repository.

$ hg clone http://hg.geexbox.org/geexbox

Next, configure geexbox for omap3 based architecture. Run

$ make menuconfig

and set

General Setup -> Target architecture (arm)
              -> Target sub-architecture (ARMv7 / Cortex)
              -> Target platform (OMAP3)
              -> Target CPU (cortex-a8)
    

Exit and save the configuration, then build with

$ make flat

The result will be in geexbox-flat-devel-*.arm.eglibc directory

Make a bootable MMC card with GeeXbox

First prepare the SD card the following way:

  • create one boot FAT32 (type 0B) partition, any size, I took 8MB
  • create one rootfs EXT2 partition.

Then copy the uImage and boot.ini files to FAT32 partition

$ cp geexbox-flat-devel-*.arm.eglibc/boot/boot.ini /media/boot
$ cp geexbox-flat-devel-*.arm.eglibc/boot/uImage /media/boot

Next, edit the geexbox-flat-devel-*.arm.eglibc/etc/video file and disable the OpenGL support

OPENGL=no

Finally, copy the geexbox-flat-devel-*.arm.eglibc contents to EXT2 partition.

$ fakeroot cp -dpfa -R geexbox-flat-devel-*.arm.eglibc/* /media/rootfs/

With default environment the IGEP v2 detects the boot.ini script which contains all the necessary instructions for the OS to auto-boot.

Annex: Known issues and solutions

gzip: stdin: invalid compressed data--crc error

Error :

UNPACK   expat
gzip: stdin: invalid compressed data--crc error
tar: Child returned status 1
tar: Exiting with failure status due to previous errors
make: *** [flat] Error 2

Use gzrecover to recover the expat file

$ gzrecover sources/expat/expat-2.0.1.tar.gz
$ mv expat-2.0.1.tar.recovered expat-2.0.1.tar
$ gzip expat-2.0.1.tar
$ mv expat-2.0.1.tar.gz  sources/expat/

Distributions affected: