Santosh,

Looking at the error log, I see a build error with mutex support with 
PREEMPT_RT on MVL Pro 4.

I spent some time looking at the Linux distribution and I have a few 
suggestions:

1) There is no header file rt_mutex.h. The closest match is rt_lock.h

2) The MVL patch 
/mvl_patches/mvl_patches_pro-0181-common_compat_semaphore.mvlpatch seems to be 
adding support for mutex-es in PREEMPT_RT mode. So I can get mutex_init, 
mutex_lock, mutex_unlock APIs but not mutex_lock_interruptible API. So you can 
use mutex_init, mutex_lock (instead of mutex_lock_interruptible), mutex_unlock 
in sync.c

Can you try the above two suggestions?

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

-----Original Message-----
From: Santoshkumar Pattar [mailto:[email protected]] 
Sent: Tuesday, September 15, 2009 4:10 PM
To: [email protected]; Uppal, Deepali
Subject: RE: [DSPLINK on DM6467] with PREEMPT_RT mode on MVL Pro 4

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

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to