All of lore.kernel.org
 help / color / mirror / Atom feed
From: Detlef Vollmann <dv@domain.hid>
To: Bart Jonkers <jonkersbart@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] Xenomai on PXA
Date: Mon, 31 Jul 2006 13:08:50 +0200	[thread overview]
Message-ID: <44CDE4C2.77465253@domain.hid> (raw)
In-Reply-To: 1154342029.9569.27.camel@domain.hid

Bart Jonkers wrote:
> On Mon, 2006-07-31 at 11:20 +0200, Detlef Vollmann wrote:
> > Bart Jonkers wrote:
> > > When I boot the kernel with ipipe enabled, linux receives no interrupts
> > > anymore. Any idea to solve this?
> > What are the symtomps?

> hda: lost interrupt

> Sending BOOTP requests ...... timed out!

> The interrupt for the harddisk and the network chip are GPIO interrupts.
This is what I suspected.

> > Are you sure you get no interrupts (incl. timer) or e.g. just no GPIO
> > interrupts?
> 
> I added a kernel timer to the a driver of me witch does a printk every
> 10 seconds. The printk shows up so I think that Linux still gets its
> timer interrupts.
And if you can type something on the serial console, you also
get the UART interrupt.

> I also added an interrupt handler on a button which is connected to GPIO
> pin. The interrupt handler should print something when it is executed.
> When I push the button a couple of times nothing happens. So GPIO
> interrupts doesn't seems to work.
Probably GPIO0 and GPIO1 work.
I suspect it's the cascading interrupt that doesn't work.
When I played around with an earlier version of ipipe, I found that
the IRQ_GPIO_2_80 (IRQ 10 on PXA270) is masked, but never unmasked
again.

The problem is that for the cascading interrupt you need a special
IPIPE handler, and I don't think there is currently one for PXA.

How is that done on other machines/architectures?

 Detlef

-- 
Detlef Vollmann   vollmann engineering gmbh
Linux and C++ for Embedded Systems    http://www.vollmann.ch/
Linux for PXA270 Colibri module: http://www.vollmann.ch/en/colibri/


  reply	other threads:[~2006-07-31 11:08 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-07 15:02 [Xenomai-core] Xenomai on PXA Danilo Levantesi
2006-07-07 20:32 ` Gilles Chanteperdrix
2006-07-11  6:20   ` Detlef Vollmann
2006-07-11 15:01     ` Stelian Pop
2006-07-12 13:13       ` Bart Jonkers
2006-07-11 15:02     ` Stelian Pop
2006-07-17 16:17     ` Gilles Chanteperdrix
2006-07-17 16:29       ` Philippe Gerum
2006-07-17 16:56         ` Gilles Chanteperdrix
2006-07-31  8:34           ` Bart Jonkers
2006-07-31  9:20             ` Detlef Vollmann
2006-07-31 10:33               ` Bart Jonkers
2006-07-31 11:08                 ` Detlef Vollmann [this message]
2006-08-02 13:09                   ` Gilles Chanteperdrix
2006-08-02 13:33                     ` Bart Jonkers
2006-08-02 13:56                       ` Gilles Chanteperdrix
2006-08-02 18:06                       ` Gilles Chanteperdrix
2006-08-03  9:12                         ` Bart Jonkers
2006-08-03 13:18                           ` Gilles Chanteperdrix
2006-08-03 14:56                             ` Philippe Gerum
2006-08-03 17:14                               ` Gilles Chanteperdrix
2006-08-04  6:10                                 ` Bart Jonkers
2006-08-04  6:10                                 ` Detlef Vollmann
2006-08-04  9:04                                   ` Philippe Gerum
2006-08-04 11:37                                   ` Gilles Chanteperdrix
2006-08-04 14:52                                 ` Bart Jonkers
2006-08-13 13:16                                   ` Gilles Chanteperdrix
2006-09-10  8:56                                     ` Detlef Vollmann
2006-09-10 12:19                                       ` Gilles Chanteperdrix
2006-09-10 16:31                                         ` Detlef Vollmann
2006-09-10 16:37                                           ` Gilles Chanteperdrix
2006-09-10 19:20                                             ` Detlef Vollmann
2006-09-10 19:42                                               ` Gilles Chanteperdrix
2006-08-03 11:23                         ` Bart Jonkers
2006-07-17 22:33       ` Danilo Levantesi
  -- strict thread matches above, loose matches on Subject: below --
2007-10-17 16:29 Patrick

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=44CDE4C2.77465253@domain.hid \
    --to=dv@domain.hid \
    --cc=jonkersbart@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.