Ubuntu 13.04 Desktop Linux With 3D Acceleration Working on EOMA68-A20:
Functions more and more like a real PC now.
Kicad also got installed and it is reasonably usable. So use that to design your next EOMA application PCBs
Also installed were xfce4, lxde and openbox window managers. Gambas installed from sources.
The sound works through jack socket (hdmi sound - nothing as yet although it is known to work through booting up Android), and espeak works. So you could send it commands through serial port for example software, let gambas serial port program read the text and then the machine can be made talk back by gambas calling espeak.
The image is available on this link
http://www.gplsquared.com/eoma_boot/...3_04_3d.bin.xz
(Further operations require use of dd command which can seriously damage your disk data if you are not sure how to use it properly.)
Unzip the image file, and the use the dd command to write the image to an ext4 partition such as /dev/sda1 on a fresh new hard disk. Then run gparted, right click and select check to repair partition problems.
The uSD boot cards set to boot from SDA1 are available for EOMA68-A20
http://www.gplsquard.com/eoma_boot/u...a1_eoma.bin.xz and Cubieboard2
http://www.gplsquard.com/eoma_boot/u..._cubie2.bin.xz .
Unzip the image file and use the dd command to write the image to the uSD card directly to the device e.g. /dev/sdc
The 3 image files were made by extending the work
earlier (2013-09-29) using instructions at
http://linux-sunxi.org/Binary_drivers
A big thanks to popolon of freenode #cubieboard, rz2k and ssvb from #linux-sunxi.
popolon first made it work on the image file after hunting down all the details. This is a duplicate of those attempts.
:
When installing 3D acceleration against this version of Ubuntu, came across a number of problems.
1. Create /dev/ump and /dev/mali manually and set permissions to 777. The advise to set up 50-mali.rules doesn't work.
2. The command
mv /usr/lib/arm-linux-gnueabihf/mesa-egl/ /usr/lib/arm-linux-gnueabihf/.mesa-egl/ needed to be run earlier otherwise later compiling may not work.
3. Install
mesa-utils, mesa-utils-extra, and
glmark2-es2. The mesa utils has a package
glxgears, mesa-utils-extra has the
es2gears program and the program
glmark2-es2 are all test
programs to check 2D/3D accleration. The blue cat in above picture is from glmark2-es2.
The linux checked out was
stage/sunxi-3.4 and compiled in 8 minutes on a 2.4GHz quad core. The versions and their details can be found in this file git_show_2013_10_07.txt
The instructions for obtaining and compiling the Linux is same as before.
The exact .config file used is automatically placed in the
/proc/config.gz file which can be found by booting the Linux and checking in /proc directory.
A copy of it is at
http://www.gplsquared.com/eoma_boot/...2013_10_06.txt
Terminology
Opengl is a graphics lib, but a lot of it is proprietary despite wanting to calling itself open, opengl ES is a cut down version for embedded CPUs, and mesa is the 'real' gpl'd version of opengl.
What is working is the cut down opengl ES. So if the software requires opengl or mesa then it may not work. If it can use opengl ES then it can work fairly well.
If software can use emulation of opengl, then that too will work, though it will be slow. Software rendering has advantage that it works over X/ssh tunnel.
Additional software
Also installed from the repositories were gparted, kicad, gimp. xmaxima (symbolic maths solver), libreoffice, htop, xfce4, lxde, openbox, rasmol, wicd, inkscape and kdiff3.
The kicad is reasonably usable to design new PCBs.
Everything is from sources. The links should and version number information should get you exact information. If anything is missing, let me know.
Marcadores