Building SGX with X11 support for kernel 3.7

Hello everyone,

I’m using, branch v3.7.x to try to build sgx modules for a beagleboard-xm rev C.
I made the changes indicated by,
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,


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



Anyone can help please?