All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bob Feretich <bob.feretich@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>,
	xenomai@xenomai.org
Subject: Re: [Xenomai-help] Adeos patched kernel hangs mounting root file system
Date: Tue, 20 Jul 2010 00:15:36 -0700	[thread overview]
Message-ID: <4C454D18.1030207@domain.hid> (raw)
In-Reply-To: <4C440D6F.1060204@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 2017 bytes --]

  On the BeagleBoard...

    * The SD card/MMC is attached to the OMAP3530 chip MMC1 hardware
      Port. (The chip has 3 SD/MMC ports, numbered 1, 2, and 3.) The
      BeagleBoard connects the MMC2 port to an expansion connector and
      its not used in my application. The BeagleBoard does not use MMC3
      (not connected to anything).
    * The MMC1 hardware port is the first mmc port and is referred to in
      the kernel mmc0.
    * The OMAP controller for this port interrupts on IRQ 83.
    * The OMAP controller also uses SDMA channels 60 and 61 which
      results in other IRQs from the DMA controller.
    * The Card Detect signal from the SD card/MMC interface is wired to
      a TPS65950 chip
    * This TPS65950 chip presents the Card Detect interrupt to the
      OMAP3530 via sys_nirq[0]. This signal is mapped to IRQ 7. The
      TPS65950 can funnel up to 18 interrupts into sys_nirq[0].
    * The Level 2 interrupt handler maps the Card Detect interrupt to
      IRQ 384.  IRQ 384 is the first IRQ of the TWL4030 GPIO IRQ space.
      Apparently the the TWL4030 interrupt mapping is used for the TPS65950.
    * My SD card has two partitions. The first is a FAT partition
      containing the u-boot and kernel boot image. The second is a ext3
      partition containing the root file system.

It's possible that the kernel is expecting a Card Detect interrupt to 
proceed with the mounting of the root file system. I noticed that the 
/proc/interrupts listing that I mailed you showed 2 interrupts each on 
IRQ 384 and on IRQ 7.
Does Xenomai support TWL4030 style Level 2 interrupts?
Could pending interrupts have gotten lost when when Adeos initializes?

Regards,
Bob Feretich

On 7/19/2010 5:15 PM, Bob Feretich wrote:
> The debounce clock is not the source of the problem.
> On the 2430 chip, the debounce clock is under software control. For 
> the OMAP3 chips, its been placed under hardware control. So the 2.6.31 
> kernel classifies the  this message as a warning...
... snipped ...


[-- Attachment #2: Type: text/html, Size: 2578 bytes --]

  parent reply	other threads:[~2010-07-20  7:15 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-19  3:36 [Xenomai-help] Adeos patched kernel hangs mounting root file system Bob Feretich
2010-07-19  4:19 ` Gilles Chanteperdrix
2010-07-19  7:18   ` Bob Feretich
2010-07-19  8:31     ` Gilles Chanteperdrix
2010-07-20  0:11       ` Bob Feretich
2010-07-20  7:11         ` Gilles Chanteperdrix
2010-07-20  7:31           ` Bob Feretich
2010-07-20  7:45             ` Gilles Chanteperdrix
2010-07-20 16:29               ` Gilles Chanteperdrix
2010-07-20 20:20                 ` Bob Feretich
2010-07-20 21:24                   ` Gilles Chanteperdrix
2010-07-21  5:06                     ` Bob Feretich
2010-07-21  5:24                       ` Gilles Chanteperdrix
2010-07-21  6:19                         ` Bob Feretich
2010-07-21 20:33                         ` Bob Feretich
2010-07-21 23:30                           ` Bob Feretich
2010-07-22 22:10                             ` [Xenomai-help] Adeos patched kernel hangs mounting root file system - correction Bob Feretich
2010-07-22 22:14                               ` Gilles Chanteperdrix
2010-07-22 23:33                                 ` Bob Feretich
2010-07-22 23:35                                   ` Gilles Chanteperdrix
2010-07-23  0:37                                     ` Bob Feretich
2010-07-23  5:37                                       ` Gilles Chanteperdrix
2010-07-23 23:43                                 ` [Xenomai-help] Adeos patch prevents IRQ 384 (MMC Chip Detect) on omap-2.6.33 Bob Feretich
2010-07-24 12:42                                   ` Gilles Chanteperdrix
2010-07-24 12:57                                     ` Gilles Chanteperdrix
2010-07-24 18:50                                     ` Bob Feretich
2010-07-24 18:57                                       ` Gilles Chanteperdrix
2010-07-25  5:08                                         ` Bob Feretich
2010-07-25  7:02                                           ` Gilles Chanteperdrix
2010-07-25  9:24                                           ` Gilles Chanteperdrix
2010-07-26  1:57                                             ` [Xenomai-help] Adeos patch prevents IRQ 384 (MMC Chip Detect) on omap-2.6.33 - working now Bob Feretich
2010-07-26  7:01                                               ` Gilles Chanteperdrix
2010-07-20  7:15       ` Bob Feretich [this message]
2010-07-20  7:17         ` [Xenomai-help] Adeos patched kernel hangs mounting root file system Gilles Chanteperdrix

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=4C454D18.1030207@domain.hid \
    --to=bob.feretich@domain.hid \
    --cc=gilles.chanteperdrix@xenomai.org \
    --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.