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 23:19:31 -0700 [thread overview]
Message-ID: <4C469173.1020703@domain.hid> (raw)
In-Reply-To: <4C468485.5060408@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 2406 bytes --]
Comments inline...
On 7/20/2010 10:24 PM, Gilles Chanteperdrix wrote:
> ... snipped ...
> However, I had trouble with this code on 2.6.33 generating spurious i2c
> interrupts, which lead me to the following patch:
> http://git.xenomai.org/?p=ipipe-gch.git;a=commitdiff;h=cdc72520c88b329fa785b0e1f45392cdfff10ec6;hp=e52fee515be7c5b914c201c19604cd700afbc44f
>
> which I backported to 2.6.31 without testing it. Could you try and
> revert it?
Sure. I'll start tomorrow.
>> The easiest way to test the twl4030 interrupt handling may be to use the
>> SD Card for a removable file system (not root). If the file system
>> automounts when the SD Card is plugged in, that would indicate that the
>> twl4030 interrupts are being handled correctly. From the available
>> documentation, the micro-SD card slot on the IGEPv2 should be able to be
>> used for this testing.
> I tested reads and writes on the sd card on IGEPv2, it works, generating
> interrupts.
>
Reading and writing is all done via IRQ 83 (for MMC1) and IRQ 86 (for
MMC2). It would not exercise IRQ 384.
The /proc/interrupts that you posted showed...
83: 66 INTC mmc0
86: 12 INTC mmc1
92: 1 INTC musb_hdrc
336: 809 GPIO eth0
378: 0 twl4030 twl4030_usb
384: 0 twl4030 mmc0
IRQ 378 is a USB power system interrupt of some sort. The twl4030 family
power interrupts for OMAP3 are in the range of IRQ 376
(TWL4030_PWR_IRQ_BASE) to IRQ 383 (TWL4030_PWR_IRQ_END).
IRQ 384 is the first GPIO pin on the twl4030. On the BeagleBoard, it's
connected to the SD Card Detect circuit. I believe that is also true for
the IGEPv2. The Level 2 GPIO interrupts (from the twl4030 family chip,
not OMAP chip GPIO pins) are in the range of IRQ 384
(TWL4030_GPIO_IRQ_BASE) to IRQ 383 (TWL4030_GPIO_IRQ_END).
Note that the above ranges apply to all boards that use an OMAP3 chip.
Of course future changes to the kernel's interrupt handlers can reassign
any IRQ above 95. (OMAP3 chip hardware IRQs stop at 95. The rest are
software assigned.)
>> My current dilemma is to figure out how to move the pieces of Angstrom
>> that I want from the 2.6.32 kernel system to the 2.6.33 kernel ahead of
>> the Angstrom train. :-(
> We probably can get 2.6.31 to work, we just have to figure out what is
> wrong.
Thanks for your willingness to help.
Regards,
Bob Feretich
[-- Attachment #2: Type: text/html, Size: 3654 bytes --]
next prev parent reply other threads:[~2010-07-21 6:19 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 [this message]
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 ` [Xenomai-help] Adeos patched kernel hangs mounting root file system Bob Feretich
2010-07-20 7:17 ` 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=4C469173.1020703@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.