Andy Ngo wrote:
If I want to apply the rt patch to GIT 2.6.25-davinci1, which patch do I use from http://www.kernel.org/pub/linux/kernel/projects/rt? <http://www.kernel.org/pub/linux/kernel/projects/rt/> <patch-2.6.25.4-rt1.bz2>I can't find one of the form patch-2.6.25-rt*; instead, I see patch-2.6.25.4-rt1.bz2 as the oldest and patch-2.6.25.8-rt7.gz as the latest. Our Davinci system is a real-time system and we need the patch to meet critical real-time requirements.

The 2.6.25 tag of the davinci tree isn't quite 2.6.25, and so the 2.6.25-rt patches won't apply. You will have better luck with the 2.6.24 tag, but will probably want to backport some davinci-specific patches.

Alternately, wait for 2.6.26 to be released (probably next week), and with some luck there might be -rt patches against that shortly afterwards. (Don't hold your breath though - it will depend largely on what the -rt guys are up to. The 2.6.25 patches were held up for a while whilst they were getting things together for merging).

According to the RT wiki site (http://rt.wiki.kernel.org/index.php/Frequently_Asked_Questions#Optional_parameters_for_configuring_realtime_kernel.2C_but_they_effect_realtime_performance.3F), userland applications shouldn't protect data with semaphores but but use PTHREAD_PRIO_INHERIT mutexes instead; this requires glibc 2.5 but our MVL4.0 toolchain is based off glibc 2.3; is it possible to replace it with glibc 2.5 in the MVL4.0 toolchain? It seems like I need to rebuild the whole toolchain if I want to switch to using glibc 2.5. If this is the case, does anyone know if the source to the MVL toochain is available for rebuilding a toolchain using the latest GCC, glibc, etc?

No idea. But OpenEmbedded can create a glibc2.5-based toolchain and build environment. You should be able to use the toolchain from OE to compile your apps, so long as you drop it's glibc into your filesystem, or link statically (might not be legal to link statically unless code is LGPL-compatible).

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

Reply via email to