I've been attempting to install the above mentioned accelerated graphics drivers on gentoo using the directions on the TI website. Their prerequisites include using NFS for building which I didn't use. Before I ask specific questions, I'm wondering if someone has done this successfully with a gentoo setup ( most are using Ubuntu or yocto), and can perhaps provide some tips or tricks.

I'll post later what I've accomplished so far (I believe I'm most of the way there).[/url]_________________Open-mindedness is painful...

Last edited by undrwater on Thu Mar 28, 2013 6:55 pm; edited 1 time in total

Instead of setting up an NFS server, I'm mounting the filesystem of my SD on my PC (desktop):

Code:

mount /dev/sdi2 /mnt/igep-root/

Code:

host $ export ARCH=arm

I edited the Rules.make file like so:

Code:

################# FIELDS MODIFIABLE BY THE USER ###############################
############### All the fields below are MANDATORY ############################

#By default all below variables have been initialized with equivalent AMSDK variables
# Change them to appropriate paths as per your machine/build environment paths.
# Set home area (ex /home/user/)
HOME=/home/russell/igep/

############### All the fields below are OPTIONAL ############################
############### BEST SUGGESTED TO LEAVE THE BELOW AS IS ############################

# Below is just an optional define given only to enable users who want to pass additional compiler/link flags.
# Only update the below options if you exactly know about the additional flag to be added & also are sure that its supported with your toolchain.
# Otherwise its best suggested to leave the below as is ie empty

# Where to copy the resulting executables and data to (when executing 'make
# install') in a proper file structure. This EXEC_DIR should either be visible
# from the target, or you will have to copy this (whole) directory onto the
# target filesystem.
EXEC_DIR=$(TARGETFS_INSTALL_DIR)/opt/gfxsdkdemos
################################################################################

I execute the following:

Code:

make BUILD=release OMAPES=5.x SUPPORT_XORG=1 install

According to the instructions, the above command should:

Quote:

...install only the graphics kernel modules(pvrsrvkm.ko, drm.ko) to target file system as mentioned in Rules.make

It appears the above problem was due to the modules and kernel with a mismatched date-stamp(?). All I know is that when I built kernel and modules (including SGX) without powering off the device, the modules seem to load successfully. I've got some other python problems to solve, but I believe I am close to running XBMC which is my goal._________________Open-mindedness is painful...