Wednesday 21 November 2012

Progress! .2 in the making.

A great progress has been made! But still, no release of a package or compiled code just yet. I have just gotten farther down the compile. I have figured out my previous error, and it turned out i didn't have the complete list of required libraries, "ump/ump.h: " .

So i compiled those! but i used my local system, and just downloaded the dev libraries for ARMv5 support as the system im currently working on the trimslice is a v5.

Here i found the the UMP required files!

http://www.malideveloper.com/developer-resources/drivers/open-source-mali-gpus-ump-user-space-drivers-source-code.php


But in trying to compile them, i had to install a bunch of more libraries/programs required for building!

So this is where i decided to build it locally as i mentioned above!
I found that fedora has a CROSS compile repo! This was amazing to find. Here whats I did to set that up!


-cd /etc/yum/repos.d/

-wget http://ftp.linux.org.uk/pub/linux/arm/fedora/cross/cross.repo
-yum install armv5tel-redhat-linux-gnueabi-gcc

The resulting installed bin files after the tool chain install were: 


One thing i found interesting was that when i tried installing the above software on the trimslice, it wouldnt install all the packages listed above but only about half of them, so i found compiling on the local system much more easier, but it may not be the right way as it was easy. Too easy and linux dont mix -_-

So now that the compile of the above requirements went through, I was able to get the UMP include files that i Needed, the UMP .so file that i needed for reference in the mali build process.

I uploaded those files below!
https://docs.google.com/open?id=0B9v3xSUsibd8YkNNNTk3b1NYRkk

https://docs.google.com/open?id=0B9v3xSUsibd8dkZScktGdUo2NWM

So now I am currently still trying to build mali (remotely) as now more requirements have come up to display!

There is only one month left to produce some kind of release, and I am feeling that I may not be able to test the driver, but I would like to aim for a driver that doesn't have to be tested, but just compiled, and given to someone that would dive deeper if they have the time.

 Source Tarball's I'm using for reference!

MALI UMP 
EXA/DRI2 and X11 Display Drivers

I am using a trim slice, and the instructions to reach my state were:

  1. Extracted the x11 driver and UMP tarballs onto the trim slice.
  2. Exec the build.sh file in the X11 driver folder to expand the make directory.
  3. executed : yum install @development-tools
  4. Could not compile UMP on TrimSlice So did it on local machine.
  5. ON LOCAL MACHINE
  6.  -cd /etc/yum/repos.d/
    -wget http://ftp.linux.org.uk/pub/linux/arm/fedora/cross/cross.repo
    -yum install armv5tel-redhat-linux-gnueabi-gcc
  7. Compiled UMP locally and SCP'd to trimslice to /usr/include
  8. Got past first error, missing UMP headers, But now getting the error atop!
 

No comments:

Post a Comment