The instructions assume you are running Ubuntu and are in an ssh session and not on the console.
Make sure to read the post about changing debug levels for the mali and ump drivers or you will not get very good performance.
Install gitsudo apt-get install git
Setup your sunxi SoC system to use the Mali Framebuffer
git clone https://github.com/digitalhack/sunxi-mali.git
cd sunxi-mali
git submodule init
git submodule update
make config VERSION=r3p0 ABI=armhf EGL_TYPE=framebuffer
make
sudo make install
make test
sudo stop lightdm
sudo ./test/test
At this point you should see something that looks like this:
Setup openFrameworks
git clone https://github.com/digitalhack/openFrameworks.git
cd openFrameworks
Install Dependencies
sudo apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libasound2-dev libxmu-dev libxxf86vm-dev g++ libraw1394-dev libudev-dev gstreamer0.10-ffmpeg libopenal-dev libsndfile-dev libfreeimage-dev libcairo2-dev libgtk2.0-dev python-lxml python-argparse libfreetype6-dev portaudio19-dev libssl-dev libpulse-dev
Install Codecs
sudo apt-get install libmpg123-dev gstreamer0.10-plugins-ugly
Compile and run the pcDuino Hello World Program
cd ./apps/devApps/pcDuino_hello_world_gles2/
make PLATFORM_VARIANT=sunximfb
sudo ./bin/pcDuino_hello_world_gles2
At this point you should see a spinning pcDuino board on a yellow background.
If you have any questions or something doesn't work please leave a comment.
2 comments:
Hi
We forward this post to our learning center.
http://learn.linksprite.com/?p=3099
Thanks for posting your process. Works perfectly!
Post a Comment