Error Compiling DSP Bridge

Hello Everyone

I was trying to compile a Linux kernel with DSP Bridge Driver support
Using Resources given below

[1]: http://elinux.org/BeagleBoard#Linux_kernel
[2]: http://elinux.org/BeagleBoard/DSP_Howto
[3]: http://omappedia.org/wiki/DSPBridge_Project

am using Ubuntu 10.04 with Sourcery G++ Lite 2010q1-202 also I've set
environment variable CROSS_COMPILE=arm-none-linux-gnueabi- and
ARCH=arm

Then Executed following commands

$git clone git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git

$cd linux-omap-2.6

$make CROSS_COMPILE=$CROSS_COMPILE omap2plus_defconfig

$make CROSS_COMPILE=$CROSS_COMPILE menuconfig #enabled Dspbridege as
a module

$make CROSS_COMPILE=$CROSS_COMPILE uImage

and i got uImage on arch/arm/boot/
Then i issued

$make CROSS_COMPILE=$CROSS_COMPILE modules

after some drivers it comes to DSPBridge and end up with an error
which is shown below

.
.
  CC [M] drivers/staging/tidspbridge/gen/gb.o
  CC [M] drivers/staging/tidspbridge/gen/gs.o
  CC [M] drivers/staging/tidspbridge/gen/gh.o
  CC [M] drivers/staging/tidspbridge/gen/uuidutil.o
  CC [M] drivers/staging/tidspbridge/services/sync.o
  CC [M] drivers/staging/tidspbridge/services/cfg.o
  CC [M] drivers/staging/tidspbridge/services/ntfy.o
  CC [M] drivers/staging/tidspbridge/services/services.o
  CC [M] drivers/staging/tidspbridge/core/chnl_sm.o
  CC [M] drivers/staging/tidspbridge/core/msg_sm.o
  CC [M] drivers/staging/tidspbridge/core/io_sm.o
drivers/staging/tidspbridge/core/io_sm.c: In function
'bridge_io_on_loaded':
drivers/staging/tidspbridge/core/io_sm.c:801: warning: the frame size
of 1032 bytes is larger than 1024 bytes
  CC [M] drivers/staging/tidspbridge/core/tiomap3430.o
drivers/staging/tidspbridge/core/tiomap3430.c:24: fatal error: plat/
control.h: No such file or directory
compilation terminated.
make[3]: *** [drivers/staging/tidspbridge/core/tiomap3430.o] Error 1
make[2]: *** [drivers/staging/tidspbridge] Error 2
make[1]: *** [drivers/staging] Error 2
make: *** [drivers] Error 2

So its look like control.h is missing. how can i resolve this? Is
there any Mistakes in my approach?

i think i got something here @
http://article.gmane.org/gmane.linux.ports.arm.omap/44829/match=plat+control+h+no+such+file+directory

look like patches are already available but am not familiar with
kernel patches ... :frowning:
Can somebody help me to resolve this issue ?

Hope that someone who successfully compiled the tidspbridge driver
will help me with instructions .

Trying myself to solve the issue

> CC [M] drivers/staging/tidspbridge/services/services.o
> CC [M] drivers/staging/tidspbridge/core/chnl_sm.o
> CC [M] drivers/staging/tidspbridge/core/msg_sm.o
> CC [M] drivers/staging/tidspbridge/core/io_sm.o
> drivers/staging/tidspbridge/core/io_sm.c: In function
> 'bridge_io_on_loaded':
> drivers/staging/tidspbridge/core/io_sm.c:801: warning: the frame size
> of 1032 bytes is larger than 1024 bytes
> CC [M] drivers/staging/tidspbridge/core/tiomap3430.o
> drivers/staging/tidspbridge/core/tiomap3430.c:24: fatal error: plat/
> control.h: No such file or directory
> compilation terminated.
> make[3]: *** [drivers/staging/tidspbridge/core/tiomap3430.o] Error 1
> make[2]: *** [drivers/staging/tidspbridge] Error 2
> make[1]: *** [drivers/staging] Error 2
> make: *** [drivers] Error 2

> So its look like control.h is missing. how can i resolve this? Is
> there any Mistakes in my approach?

The issue is already reported to OMAP Mailing list :
http://marc.info/?l=linux-omap&m=128662371009582&w=2

Also a temporary fix is provided @ 'RE: tidspbridge compilation broken' - MARC
but no idea how to apply this fix. looking for some help

Hi,