Building SGX with X11 support for kernel 3.7

Hello everyone,

I’m using https://github.com/RobertCNelson/stable-kernel, branch v3.7.x to try to build sgx modules for a beagleboard-xm rev C.
I made the changes indicated by http://processors.wiki.ti.com/index.php/SGXDbg#Unable_to_build_graphics_SDK_with_SUPPORT_XORG.3D1_for_3.3_.26_above_kernels,
and the modules build ok, with only one warning:

WARNING: “pci_bus_read_config_dword” [/home/fernando/kernel-3.7/stable-kernel/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM/services4/3rdparty/linux_drm/drm.ko] undefined!

And when i try to init the sgx system, i get this when it tries to insert the drm.ko module:

[ 2549.671997] drm: Unknown symbol pci_bus_read_config_dword (err 0)

I tried to remove some defines regarding PCI on drm.ko makefile, but it brought a lot of errors.

Is there someone that successfully built and used the SGX with x11 support on newer kernels?

Thank you very much.

Best regards,

Fernando

for what architecture do you compile the kernel? There is not PCI at
OMAP3 (DaVinci or Sitara)

That’s why i’m completely lost.
Kernel build command line:

make -j4 ARCH=arm CROSS_COMPILE=${CC} zImage modules

Regards,

Fernando

Anyone can help please?