All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: "François Beaufort" <francois.beaufort@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] [Xenomai-core] xenomai and framebuffer-ipu on target iMx35
Date: Wed, 20 Apr 2011 15:51:39 +0200	[thread overview]
Message-ID: <4DAEE4EB.3050609@domain.hid> (raw)
In-Reply-To: <COL104-W40EFBABDB7D1AD7B0D1690E9930@domain.hid>

François Beaufort wrote:
> 
> 
>> Date: Wed, 20 Apr 2011 12:54:00 +0200
>> From: gilles.chanteperdrix@xenomai.org
>> To: francois.beaufort@domain.hid
>> CC: xenomai@xenomai.org
>> Subject: Re: [Xenomai-core] xenomai and framebuffer-ipu on target iMx35
>>
>> François Beaufort wrote:
>>> I can't show you  /proc/interrupts when ipu and I-pipe are enabled
>>> because the system doesn't start in this case.
>> Ok. I failed to get that from your first mail. I do not know either if
>> you are using a vanilla kernel, or a patched one?
>>
>> If a patched one, then you have to verify that generic_handle_irq is
>> replaced with ipipe_handle_chained_irq for multiplexed GPIO irqs.
>>
>> Note that I CCd the Xenomai-help mailing list, next private mail will
>> receive no answer.
>>
>> -- 
>>                                                                 Gilles.
>>
> 
> Thank you for your answers.
> 
> I can now start Linux-xenomai with framebuffer and ipu.
> 
> I use a kernel patched by the Phytec BSP patches and next by the adeos pipe.
> 
> I have modified the file linux-2.6.35.9/drivers/dma/ipu/ipu_irq.c :
> 
> lines 305 and 343 :
> 
> -  generic_handle_irq(irq);
> + ipipe_handle_chained_irq(irq);
> 
> 
> This file is not modified by any patch.

You have to replace any call to generic_handle_irq in the Phytec patch
by a call to ipipe_handle_chained_irq, otherwise, you will get this
issue again with other multiplexed irqs.

-- 
					    Gilles.



      reply	other threads:[~2011-04-20 13:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-20  7:55 [Xenomai-core] xenomai and framebuffer-ipu on target iMx35 François Beaufort
2011-04-20  8:31 ` Gilles Chanteperdrix
     [not found]   ` <COL104-W334D71DB0C86070AC9F939E9930@domain.hid>
2011-04-20 10:54     ` [Xenomai-help] " Gilles Chanteperdrix
2011-04-20 13:13       ` François Beaufort
2011-04-20 13:51         ` Gilles Chanteperdrix [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DAEE4EB.3050609@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=francois.beaufort@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.