Building Clutter 1.0 for Beagleboard

Hello,

I'am finally get the SGX working on the Beagleboard and
now wants to build clutter 1.0

i used this for the "configure" with no problems:

./configure --with-flavour=eglnative --host=arm-angstrom-linux-gnueabi
PKG_CONFIG=/data/workspace/OE/tmp/staging/i686-linux/usr/bin/pkg-
config PKG_CONFIG_PATH=/data/workspace/OE/tmp/staging/armv7a-angstrom-
linux-gnueabi/usr/lib/pkgconfig CFLAGS="--sysroot=/data/workspace/OE/
tmp/staging/armv7a-angstrom-linux-gnueabi/ -I/data/workspace/OE/tmp/
staging/armv7a-angstrom-linux-gnueabi/usr/include" --with-x=no --with-
gles=1.1 --with-imagebackend=internal

but when i type "make" it shows me:

Making all in build
Making all in autotools
Making all in clutter
GEN stamp-clutter-marshal.h
/bin/sh: line 2: --prefix=clutter_marshal: command not found
make[2]: *** [stamp-clutter-marshal.h] Error 127
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

If someone had clutter 1.0 with eglnative working on beagleboard it
would
be good if you can give me some hints?

Regards
rubiktubik

clutter 1.0 doesn't work too well on omap3. You can try doing 'bitbake
clutter-0.9' in oe to get a version that somewhat works.

regards,

Koen

Op 24 okt 2009 om 13:58 heeft "rubiktubik@googlemail.com" <rubiktubik@googlemail.com

Hi rubiktubik,

Can u share or describe your steps of making SGX to work in BeagleBoard via wiki page or over mailing list.

That would be gud to follow .

Hi,

To use the SGX with Beagleboard you must:
1. Follow the Guide at --> http://elinux.org/BeagleBoardAndOpenEmbeddedGit
    to setup an openembedded environment.

2. Get the OMAP35x_Graphics_SDK_3_00_00_09 from TI. From:
http://software-dl-1.ti.com/dsps/forms/self_cert_export.html?prod_no=OMAP35x_Graphics_SDK_setuplinux_3_00_00_09.bin

its the hardest part i think :slight_smile: because you must register at the TI
Page and fill in some user staff.
And they SHOULD send you the link for the file or an activation ID.
But i had to wait long and i had to try it several times before i get
the link.

3. Put the "OMAP35x_Graphics_SDK_setuplinux_3_00_00_09.bin" file at
$OE_HOME/openembedded/recipes/powervr-drivers/libgles-omap3
    and the file should be executable!

4. Then go to $OE_HOME and type: "source $OE_HOME/beagleboard/
beagleboard/profile.sh"

5. Now use the "bitbake libgles-omap3-3.00.00.09" to start the
building process.

6. When its ready you get 5 files in $OE_HOME/tmp/deploy/glibc/ipk/
armv7a
libgles-omap3_3.00.00.09-r1.1_armv7a.ipk
libgles-omap3-dbg_3.00.00.09-r1.1_armv7a.ipk
libgles-omap3-demos_3.00.00.09-r1.1_armv7a.ipk
libgles-omap3-dev_3.00.00.09-r1.1_armv7a.ipk
libgles-omap3-tests_3.00.00.09-r1.1_armv7a.ipk

7. Put the files on your SD-Card with your Beagleboard Rootfilesystem
for example on /home/root

8. In Angstrom use "opkg install libgles-omap3_3.00.00.09-
r1.1_armv7a.ipk"
And then install the other ipk files with the same way

9. Its important to set the right bootargs for the dvi output in uboot
to make it work right!
This are my settings for the display output:
omapfb.vram=0:4M,1:4M omapfb.mode=dvi:1024x768MR-16@60

The important part is the vram setting and the 16bit color mode!

10. Now you can reset the beagleboard and test the demos
      under --> /usr/demos
      This demos are for the x-windows version of angstrom.
I'am using the console version of angstrom-linux.
So the demos don't work!

I took the demos for the raw framebuffer from the
OMAP35x_Graphics_SDK_3_00_00_09/GFX_Linux_SDK folder from the
OMAP35x_Graphics_SDK which you can install on its own.

A littlebit outdated tutorial is at:
http://code.google.com/p/beagleboard/wiki/HowtoUseSGXunderAngstrom

But you can get some useful information from there.

I hope it helps!
When there a questions! Feel free to write!

Regards
Michael