Hi Deepali,

I tried merging the DSPLINK 1.6x into 2.6.10 kernel. But some of the
mutex functions and files are not present in the 2.6.10 kernel.
(Attached file gives the compilation errors, when I try to build the
DSPLINK 1.6x w.r.t 2.6.10 kernel)

But in the TI E2E mails,  Mugdha has mentioned that few changes in the
OSAL files of DSPLINK 1.6x could make the DSPLINK work with 2.6.10
kernel with RT mode. (Link - http://e2e.ti.com/forums/t/2833.aspx)

1) Do I need to add few patches to 2.6.10 kernel, to make DSPLINK 1.6x
compatible with 2.6.10?
2) Can you please tell me what all changes needs to be done in DSPLINK
1.6x for making it compatible with 2.6.10 kernel?

Thank you.
Santosh

-------------------------------------
Date: Tue, 15 Sep 2009 15:33:57 +0530
From: "Uppal, Deepali" <[email protected]>
Subject: RE: [DSPLINK on DM6467] with PREEMPT_RT mode  on MVL Pro 4
To: Santoshkumar Pattar <[email protected]>,
        "[email protected]"
        <[email protected]>
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset="us-ascii"

Santosh,

There isn't a DSPLink available with support for 2.6.10 kernel and
real-time kernel. Support for RT mode was added in DSPLink 1.6x, and in
this version, MVL Pro 4 support was removed. One thing that the you
could try is to merge support for 2.6.10 kernel into DSPLink 1.6x.

Thanks and Regards,
Deepali Uppal
DSP/BIOS Link 
Platform Support Products 


-----Original Message-----
From:
davinci-linux-open-source-bounces+deepali=ti....@linux.davincidsp.com
[mailto:[email protected]
p.com] On Behalf Of Santoshkumar Pattar
Sent: Friday, September 11, 2009 12:37 PM
To: [email protected]
Subject: [DSPLINK on DM6467] with PREEMPT_RT mode on MVL Pro 4

Hi,

I am trying to use 2.6.10 kernel in PREEMPT_RT mode with MVL Pro 4
toolchain.
And I am looking for a DSPLINK which can work with 2.6.10 kernel(with
PREEMPT_RT enabled) with MVL pro 4.
 
Has anybody tried using/building DSPLINK on 2.6.10 kernel with
PREEMPT_RT mode enabled?
Please let me know.

Regards,
Santosh

CC [M]  
/rt_kernel_2.6.10/CMEM_DSPLINK/DSPLINK_V5.0.0_from_dvsdk_36/dsplink/gpp/src/../../gpp/src/osal/Linux/2.6.18/sync.o
/rt_kernel_2.6.10/CMEM_DSPLINK/DSPLINK_V5.0.0_from_dvsdk_36/dsplink/gpp/src/../../gpp/src/osal/Linux/2.6.18/sync.c:42:27:
 linux/rtmutex.h: No such file or directory
/rt_kernel_2.6.10/CMEM_DSPLINK/DSPLINK_V5.0.0_from_dvsdk_36/dsplink/gpp/src/../../gpp/src/osal/Linux/2.6.18/sync.c:98:
 error: field `lock' has incomplete type
/rt_kernel_2.6.10/CMEM_DSPLINK/DSPLINK_V5.0.0_from_dvsdk_36/dsplink/gpp/src/../../gpp/src/osal/Linux/2.6.18/sync.c:142:
 error: field `csLock' has incomplete type
/rt_kernel_2.6.10/CMEM_DSPLINK/DSPLINK_V5.0.0_from_dvsdk_36/dsplink/gpp/src/../../gpp/src/osal/Linux/2.6.18/sync.c:
 In function `SYNC_Initialize':
/rt_kernel_2.6.10/CMEM_DSPLINK/DSPLINK_V5.0.0_from_dvsdk_36/dsplink/gpp/src/../../gpp/src/osal/Linux/2.6.18/sync.c:225:
 warning: implicit declaration of function `mutex_init'
/rt_kernel_2.6.10/CMEM_DSPLINK/DSPLINK_V5.0.0_from_dvsdk_36/dsplink/gpp/src/../../gpp/src/osal/Linux/2.6.18/sync.c:
 In function `SYNC_EnterCS':
/rt_kernel_2.6.10/CMEM_DSPLINK/DSPLINK_V5.0.0_from_dvsdk_36/dsplink/gpp/src/../../gpp/src/osal/Linux/2.6.18/sync.c:706:
 warning: implicit declaration of function `mutex_lock_interruptible'
/rt_kernel_2.6.10/CMEM_DSPLINK/DSPLINK_V5.0.0_from_dvsdk_36/dsplink/gpp/src/../../gpp/src/osal/Linux/2.6.18/sync.c:
 In function `SYNC_LeaveCS':
/rt_kernel_2.6.10/CMEM_DSPLINK/DSPLINK_V5.0.0_from_dvsdk_36/dsplink/gpp/src/../../gpp/src/osal/Linux/2.6.18/sync.c:741:
 warning: implicit declaration of function `mutex_unlock'
/rt_kernel_2.6.10/CMEM_DSPLINK/DSPLINK_V5.0.0_from_dvsdk_36/dsplink/gpp/src/../../gpp/src/osal/Linux/2.6.18/sync.c:
 At top level:
/rt_kernel_2.6.10/CMEM_DSPLINK/DSPLINK_V5.0.0_from_dvsdk_36/dsplink/gpp/src/../../gpp/src/osal/Linux/2.6.18/sync.c:188:
 error: storage size of `SYNC_PreemptLock' isn't known
make[2]: *** 
[/rt_kernel_2.6.10/CMEM_DSPLINK/DSPLINK_V5.0.0_from_dvsdk_36/dsplink/gpp/src/../../gpp/src/osal/Linux/2.6.18/sync.o]
 Error 1
make[1]: *** 
[_module_/rt_kernel_2.6.10/CMEM_DSPLINK/DSPLINK_V5.0.0_from_dvsdk_36/dsplink/gpp/src]
 Error 2
make[1]: Leaving directory `/rt_kernel_2.6.10/LSP_01_30_00_082'
make: *** [debug] Error 2
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to