Jan Kiszka wrote:
> Philippe Gerum wrote:
>> Our Blackfin port has just been upgraded to the latest 2.6.23. The other
>> good news is that we have now rebased this work over mainline kernels.
>> The I-pipe patch below is an all-in-one, supporting the bf533, bf537 and
>> bf561 dual core boards. Any Xenomai version from 2.3.2 and on can be
>> used (albeit pre 2.4-rc4 will require to fix the default calibration
>> value by hand for the bf561).
>> If you happen to have any of these boards at hand, and really don't know
>> how to spend geek time these days, please give this a try and send some
> Unfortunately, ipipe for bfin is still borken: my setup is 22.214.171.124 +
> "uclinux mtd maps: add blackfin maps" + the ipipe patch above on a BF537
> stamp. I'm running the cache calibrator over the serial console and a
> hello world shell loop over telnet. When ipipe is enabled (no Xenomai)
> and the calibrator is in its measurement cycle, the telnet connection
> stalls. Actually, it seems the whole Linux scheduling stalls, because
> when I turn this into a background loop, it doesn't make progress when
> the calibrator runs. All this does not happen when I disable ipipe in
> the config.
Does the bug disappear with the patch below? (this is obviously not a
fix since latency would skyrocket with this patch in, only a way to
confirm that threading the timer IRQ causes the stall as we already
observed a while ago with earlier versions).
@@ -388,7 +388,7 @@ static void kick_irqd(unsigned irq, void *cookie)
int ipipe_start_irq_thread(unsigned irq, struct irq_desc *desc)
- if (desc->thread || !create_irq_threads)
+ if (desc->thread || !create_irq_threads || irq == IRQ_SYSTMR)
if (desc->ipipe_demux != NULL)
Xenomai-core mailing list