Changes

How to get the Geexbox distribution

899 bytes added, 12:54, 19 October 2010
no edit summary
* OpenGL|ES acceleration
* DSP-accelerated media playback with GStreamer (work in progress)
 
GeeXboX is currently being developed under the [http://www.openbricks.org OpenBricks] project, an enterprise-grade embedded Linux framework that provides easy creation of custom distributions for industrial embedded devices.
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.
* The GeeXboX website ( http://www.geexbox.org )
* The OpenBricks website (http://www.openbricks.org )
* The Enna website ( http://enna.geexbox.org )
<span style="color: rgb(255, 0, 0);">'''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.'''</span>
GeeXbox uses GeeXboX and OpenBricks use Mercurial as a revision control system, so you will install the mercurial package for your host systesystem. 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 OpenBricks repository (which is where bleeding-edge GeeXboX repositorydevelopment is done).
$ hg clone http://hg.geexboxopenbricks.org/geexboxopenbricks
Next, enter configure OpenBrics to geexbox directory and edit with your preferred editor build a GeeXboX image for the config/options fileOMAP3 platform. SetRun
TARGET_ARCH=arm TARGET_CPU=cortex-a8 SERVICES=yes XORG_DRIVERS="omapfb" PULSEAUDIO=no GSTREAMER=yes DEVTOOLS=yes$ make menuconfig
Finally build the distribution withand set
$ make flatFlavour -> GeeXboX
The result will be in geexbox General Setup -flat> Target architecture (arm) -> Target sub-architecture (ARMv7 / Cortex) -> Target platform (OMAP3) -> Target CPU (cortex-a8) -devel> FPU optimizations (NEON) Settings -*.arm.eglibc directory> Target Images -> Flat root Features -> Audio -> deselect PulseAudio (recommended, for now PulseAudio has been tested only on x86)
== Make a bootable MMC card with GeeXbox ==If you want to enable OpenGL|ES acceleration set
First prepare the SD card the following way: Features -> Enable non-free components* create one boot FAT32 Features -> Hardware Accelerators -> EGL -> OpenGL -> OpenGL|ES -> OpenVG -> EGL provider (type 0BSGX) partition, any size, I took 8MB* create one rootfs EXT2 partition. -> OpenGL|ES provider (SGX) -> OpenVG provider (SGX)
Then copy the uImage and boot.ini files If you want to FAT32 partitionenable OpenMAX acceleration set
$ cp geexboxFeatures -flat> Enable non-devel-*.arm.eglibc/boot/boot.ini /media/bootfree components $ cp geexboxFeatures -flat> Hardware Accelerators -devel> OpenMAX -*.arm.eglibc/boot/uImage /media/boot> OpenMAX provider (TI OpenMAX IL)
Next, edit the geexbox-flat-devel-*.arm.eglibc/etc/video file and disable the OpenGL supportIf you want to enable TI DSP acceleration (lightweigth alternative to OpenMAX for DSP acceleration)
OPENGL=noFeatures -> Enable non-free components Features -> Hardware Accelerators -> TI C64x DSP
Finally, copy the geexbox-flat-devel-*.arm.eglibc contents to EXT2 partitionOptionally select other features or packages you may need.
$ fakeroot cp -dpfa -R geexbox-flat-devel-*.arm.eglibc/* /media/rootfs/Exit and save the configuration, then build with
With default environment the IGEP v2 detects the boot.ini script which contains all the necessary instructions for the OS to auto-boot. $ make
== Annex: Known issues and solutions ==The resulting rootfs will be placed in the binaries directory directory
=== Requested 'dbus-1 >= 1.2.16' but version of dbus is 1.1.20 =Make a bootable MMC card with GeeXbox ==
The libnih package failsFirst prepare the SD card the following way:* create one boot FAT32 (type 0B) partition, libnih is compiled for host and for target so your host system needs at least version 1.2.16 of dbus-1any size, I took 8MB* create one rootfs EXT2 partition.
Distributions affected:Then copy the uImage and boot.ini files to FAT32 partition (paths relative to the rootfs location)
* Ubuntu 8 $ cp boot/boot.04 LTS (Hardy Heron)ini /media/boot $ cp boot/uImage /media/boot
=== BUILD alsa make: *** [flat] Error 1 ===Finally, copy the rootfs contents to EXT2 partition (paths relative to the rootfs location)
Error : $ fakeroot cp -dpfa -R * /media/rootfs/
+ scripts/build alsaWith default environment the IGEP v2 detects the boot.ini script which contains all the necessary instructions for the OS to auto-lib + scripts/build alsa-utils + '[' no = yes ']' make: *** [flat] Error 1boot.
Append to packages/alsa/build  exit 0 Should be fixed in [http== Annex://hg.geexbox.org/geexbox/rev/9551cf55a78f r8303].Known issues and solutions ==
=== gzip: stdin: invalid compressed data--crc error ===
0
edits