From: david.hagood@gmail.com
To: linux-omap@vger.kernel.org
Subject: Anyone built the kernel drivers for the PowerVR under linux-omap-2.6?
Date: Mon, 2 Mar 2009 14:56:40 -0600 (CST) [thread overview]
Message-ID: <c6ef7709f9373651496b2a32ca42f571.squirrel@localhost> (raw)
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?
next reply other threads:[~2009-03-02 20:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-02 20:56 david.hagood [this message]
2009-03-03 7:32 ` Anyone built the kernel drivers for the PowerVR under linux-omap-2.6? 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c6ef7709f9373651496b2a32ca42f571.squirrel@localhost \
--to=david.hagood@gmail.com \
--cc=linux-omap@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.