All of lore.kernel.org
 help / color / mirror / Atom feed
* Anyone built the kernel drivers for the PowerVR under linux-omap-2.6?
@ 2009-03-02 20:56 david.hagood
  2009-03-03  7:32 ` Koen Kooi
  0 siblings, 1 reply; 6+ messages in thread
From: david.hagood @ 2009-03-02 20:56 UTC (permalink / raw)
  To: linux-omap

I'm trying to build the TI supplied Linux kernel driver modules for the
PowerVR accelerator chip in the OMAP3. I have a GIT tree pulled from the
linux-omap-2.6 tree, and a set of cross-compiler tools built and
installed.

I can build the kernel itself, but when I try to build the TI supplied code:
1) It references "asm/semaphore.h" rather than "linux/semaphore.h" - as
asm/semaphore no longer exists in the code the build fails. I can work
around that by creating a symlink to linux/semaphore.h.
2) It then references "asm/resources.h", which is ALSO gone. I'm guessing
it needs "asm-generic/resources.h".
3) However, at that point the compile REALLY dies, with the code looking
for "asm/arch/resources.h". If I link "arch/arm/include/asm" to
"asm/arch", then I get a large number of errors:

  CC [M] 
/space/src/OMAP35x_Graphics_SDC_3_00_00_06/GFX_Linux_KM/services4/srvkm/env/linux/kbuild/../../../../../services4/system/omap3430/sysconfig.o
  CC [M] 
/space/src/OMAP35x_Graphics_SDC_3_00_00_06/GFX_Linux_KM/services4/srvkm/env/linux/kbuild/../../../../../services4/system/omap3430/sysutils.o
In file included from
/space/src/OMAP35x_Graphics_SDC_3_00_00_06/GFX_Linux_KM/services4/srvkm/env/linux/kbuild/../../../../../services4/system/omap3430/sysutils.c:28:
/space/src/OMAP35x_Graphics_SDC_3_00_00_06/GFX_Linux_KM/services4/srvkm/env/linux/kbuild/../../../../../services4/system/omap3430/sysutils_linux.c:154:
error: variable 'cnstr_id_vdd2' has initializer but incomplete type
/space/src/OMAP35x_Graphics_SDC_3_00_00_06/GFX_Linux_KM/services4/srvkm/env/linux/kbuild/../../../../../services4/system/omap3430/sysutils_linux.c:155:
error: unknown field 'type' specified in initializer
/space/src/OMAP35x_Graphics_SDC_3_00_00_06/GFX_Linux_KM/services4/srvkm/env/linux/kbuild/../../../../../services4/system/omap3430/sysutils_linux.c:155:
error: 'RES_OPP_CO' undeclared here (not in a function)

So does anybody have an good advice on this?




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-03-03 13:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-02 20:56 Anyone built the kernel drivers for the PowerVR under linux-omap-2.6? david.hagood
2009-03-03  7:32 ` Koen Kooi
2009-03-03 12:27   ` David Hagood
2009-03-03 12:30     ` Koen Kooi
2009-03-03 13:07       ` David Hagood
2009-03-03 13:43         ` Felipe Contreras

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.