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 22:06:08 -0700 [thread overview]
Message-ID: <4C468040.3030509@domain.hid> (raw)
In-Reply-To: <4C46141F.50103@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 3387 bytes --]
Xenomai booted with the 2.6.33 kernel on BeagleBoard!
I built the below 2.6.33 kernels...
* No Angstrom patches, no Adeos patch - - it booted, I noticed that
/proc/interrupts showed no interrupts occurred on IRQs 7 or 378
(SD card Detect). The 2.6.31 kernel showed 2 on each IRQ just
after boot.
* No Angstrom patches, Adeos patch, but Xenomai disabled - - it
booted. Still no interrupts on IRQs 7 or 378.
* No Angstrom patches, Adeos patch, and Xenomai enabled - - it
booted! :-) Still no interrupts on IRQs 7 or 378.
Something obviously changed in the kernel between 2.6.31 and 2.6.33 to
suppress the IRQ 378 interrupts that occurred at boot time. This change
*may* be the reason that Xenomai works on the Beagleboard at 2.6.33, but
not at 2.6.31.
I suspect that the Adeos patch may have trouble handling Level 2
interrupts coming through a twl4030 device. I know that it is an OMAP
design practice to route the SD/MMC Card Detect interrupt through this
device. The device also controls several voltage regulators supplying
power to the board and OMAP chip. Overvoltage/undervoltage/thermal
alerts may also be originated by this device.
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.
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. :-(
Many thanks for you help Gilles.
Now that I can see Xenomai running, is there any documentation that
describes useful things I can poke to obtain Xenomai state, status and
statistics? (for example the meanings of the data in the /proc/Xemomai
directory)
Regards,
Bob Feretich
On 7/20/2010 2:24 PM, Gilles Chanteperdrix wrote:
> Bob Feretich wrote:
>> I have downloaded the 2.6.33 omap kernel and I 'm starting to work
>> with it. I'll write again when I have a clean boot of the vanilla kernel
>> and tried to boot again with the Adeos patch.
>>
>> I think that I figured out how to tell OpenEmbedded to build it.
>>
>> When you display /proc/interrupts on the IGEPv2, do you see interrupts
>> occuring at IRQs greater or equal to IRQ 384?
>> Do you see the same number reflected in IRQ 7?
> I see this:
> CPU0
> 7: 104068 INTC TWL4030-PIH
> 12: 4 INTC DMA
> 37: 1408 INTC gp timer
> 56: 313486 INTC i2c_omap
> 61: 0 INTC i2c_omap
> 74: 42 INTC serial
> 77: 93 INTC ehci_hcd:usb2
> 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
>
> I believe the interrupts tagged "twl4030" are chained interrupts. Having
> looked at the code, these interrupts are not chained the usual way
> because they require i2c communication, which in turn requires a context
> allowed to sleep, so they are dispatched by a kernel thread.
>
>
[-- Attachment #2: Type: text/html, Size: 4135 bytes --]
next prev parent reply other threads:[~2010-07-21 5:06 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 [this message]
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 ` [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=4C468040.3030509@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.