Changes

How to get the Geexbox distribution

1,377 bytes added, 12:54, 19 October 2010
no edit summary
'''(work in progress)'''
 
== Overview ==
* 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 development is done).  $ hg clone http://hg.openbricks.org/openbricks Next, configure OpenBrics to build a GeeXboX repositoryimage for the OMAP3 platform.Run  $ make menuconfig
$ hg clone http://hg.geexbox.org/geexboxand set
Next, enter to geexbox directory and edit with your preferred editor the config/options file. Set Flavour -> GeeXboX
TARGET_ARCH=General Setup -> Target architecture (arm) TARGET_CPU= -> Target sub-architecture (ARMv7 / Cortex) -> Target platform (OMAP3) -> Target CPU (cortex-a8) SERVICES=yes -> FPU optimizations (NEON) XORG_DRIVERS="omapfb"Settings -> Target Images -> Flat root PULSEAUDIO=no GSTREAMER=yes DEVTOOLS=yesFeatures -> Audio -> deselect PulseAudio (recommended, for now PulseAudio has been tested only on x86)
Finally build the distribution withIf you want to enable OpenGL|ES acceleration set
$ make flatFeatures -> Enable non-free components Features -> Hardware Accelerators -> EGL -> OpenGL -> OpenGL|ES -> OpenVG -> EGL provider (SGX) -> OpenGL|ES provider (SGX) -> OpenVG provider (SGX)
The result will ...If you want to enable OpenMAX acceleration set
== Make a bootable MMC card with GeeXbox == Features -> Enable non-free components Features -> Hardware Accelerators -> OpenMAX -> OpenMAX provider (TI OpenMAX IL)
Prepare your MicroSD the following way If you want to enable TI DSP acceleration (and orderlightweigth alternative to OpenMAX for DSP acceleration):* one FAT32 (type 0B) partition, any size, I took 8MB* one EXT2 partition
* Copy /boot/* (uImage and boot.ini script) to FAT32 partition Features -> Enable non-free components* Copy all other files/dirs to EXT2 partition. Features -> Hardware Accelerators -> TI C64x DSP
IGEP v2 detects the boot.ini script which contains all the necessaryinstructions for the OS to auto-bootOptionally select other features or packages you may need.
== Annex: Known issues Exit and solutions ==save the configuration, then build with
=== Requested 'dbus-1 >= 1.2.16' but version of dbus is 1.1.20 === $ make
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.resulting rootfs will be placed in the binaries directory directory
Distributions affected:== Make a bootable MMC card with GeeXbox ==
First prepare the SD card the following way:* Ubuntu 8.04 LTS create one boot FAT32 (Hardy Herontype 0B)partition, any size, I took 8MB* create one rootfs EXT2 partition.
=== BUILD alsa make: *** [flat] Error 1 ===Then copy the uImage and boot.ini files to FAT32 partition (paths relative to the rootfs location)
Error : $ cp boot/boot.ini /media/boot $ cp boot/uImage /media/boot
+ scripts/build alsa-lib + scripts/build alsa-utils + '[' no = yes ']' make: *** [flat] Error 1Finally, copy the rootfs contents to EXT2 partition (paths relative to the rootfs location)
Append to packages $ fakeroot cp -dpfa -R * /alsamedia/rootfs/build
exit 0With 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 ===
0
edits