Gilles Chanteperdrix wrote:
> Bosi Daniele wrote:
>> I'm working on a DaVinci DM365 DVR board with a ARM926EJ-S rev 5
>> (v5l) processor. My kernel version is "Linux version
>> 2.6.18_pro500-davinci_evm-arm_v5t_le" from dvsdk_2_10_01_18. My
>> application needs to acquire data from outside and read them with a
>> resolution of  1 msec. I know that the kernel I'm using is not a Real
>> Time Kernel, so I'm writing to know if someone had ever patched the
>> TI kernel to make it real time.
>>
>> I googled a little bit and I found people suggesting RTAI patch. I
>> downloaded it but it doesn't seem to have support for dm365
>> architecture. Other ones suggest the Vanilla kernel...
>>
>> Any suggestion?
> 
> Xenomai? It is based on the Adeos I-pipe patch which has support for
> several ARM SOCs. It integrates the FCSE patch, which allows reducing
> latencies on armv4/armv5 processors. Xenomai also has a guide explaining
> you how to port on a new ARM SOC.

On the other hand, Xenomai or preempt_rt provide you with a full
real-time OS which may be a bit overkill for your problem, if your need
is just a 1kHz acquisition, you can probably do that with an FIQ, which
pushes data to a FIFO, then triggers an IRQ to get the data handled at a
slower rate. Of course, this will not fly if you need to react and take
action in less than 1ms, in that case, you need Xenomai, preempt_rt or
any other real-time solution.

-- 
Gilles Chanteperdrix

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

Reply via email to