From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Iker Amescua <iamescua@domain.hid>
Cc: adeos-main@gna.org
Subject: Re: [Adeos-main] Adeos I-PIPE NS9215 port problem
Date: Fri, 02 Jul 2010 12:59:24 +0200 [thread overview]
Message-ID: <4C2DC68C.1040306@domain.hid> (raw)
In-Reply-To: <1278066286.8669.9.camel@domain.hid>
Iker Amescua wrote:
> Thanks a lot!
>
> Now at least it boots. This is what I have done (I expect correctly):
>
> IRQ are now handled by
> #ifndef CONFIG_IPIPE
> set_irq_handler(i, handle_prio_irq);
> #else
> set_irq_handler(i, handle_edge_irq);
> #endif /*CONFIG_IPIPE*/
>
> And in irqs.h
> #define irq_finish(irq) irq_desc[irq].chip->eoi(irq);
>
> Is this correct?
>
> The problem now it locks up during boot. This is the console output:
Ok. Try handle_level_irq instead of handle_edge_irq, if your irq
controller is well-behaved enough, it should work.
> What are these errors?
> [42949376.490000] Xenomai: hal/arm started.
> [42949376.490000] Xenomai: scheduling class idle registered.
> [42949376.500000] Xenomai: scheduling class rt registered.
> [42949377.740000] Xenomai: real-time nucleus v2.5.3 (Hordes Of Locusts)
> loaded.
> [42949378.290000] Xenomai: native skin init failed, code -38.
> [42949378.290000] Xenomai: starting POSIX services.
> [42949378.830000] Xenomai: POSIX skin init failed, code -38.
> [42949379.370000] Xenomai: RTDM skin init failed, code -38.
Probably something wrong with the timer initialization. Are you sure the
kernel uses the clock you think it uses? One reason may be that the
timer you are requesting is in the CLOCK_EVT_MODE_SHUTDOWN state,
meaning that it is not used by the kernel. Also, I see no trace
indicating that the Linux kernel uses your clock source. You should see
something like:
Switching to clocksource foo
in the kernel sources, unless you have not implemented a clock source?
--
Gilles.
next prev parent reply other threads:[~2010-07-02 10:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-02 8:58 [Adeos-main] Adeos I-PIPE NS9215 port problem Iker Amescua
2010-07-02 9:20 ` Gilles Chanteperdrix
2010-07-02 10:24 ` Iker Amescua
2010-07-02 10:59 ` Gilles Chanteperdrix [this message]
2010-07-02 11:15 ` Gilles Chanteperdrix
2010-07-02 11:24 ` Iker Amescua
2010-07-02 11:39 ` 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=4C2DC68C.1040306@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=adeos-main@gna.org \
--cc=iamescua@domain.hid \
/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.