From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Florent Audebert <f.audebert@domain.hid>
Cc: adeos-main@gna.org
Subject: Re: [Adeos-main] Advice regarding MIPS port
Date: Fri, 20 Jun 2008 12:15:14 +0200 [thread overview]
Message-ID: <485B8332.90908@domain.hid> (raw)
In-Reply-To: <5719c6f30806190900v5fea670amef6954efaae59882@domain.hid>
Florent Audebert wrote:
> Hi,
>
> I'm back on my work concerning Adeos port on MIPS. I'm a little bit lost atm.
>
> My kernel is stuck in calibrate_delay() loop. Timer interrupts seem to
> occur well but my i-pipe is stalled. There is no arch-dependent places
> where I explicitely unstall root domain.
The root domain should be unstalled in the start_kernel function, file
init/main.c by the call to local_irq_enable(), which should result in an
ipipe_unstall_root().
> I saw fast stall / unstall
> calls in other archs entry.S. Are these calls mandatory or are they
> here in order to reduce latency ?
They are mandatory in a final I-pipe patch, but you can ignore them for
a first attempt, without them, you will get big latencies, that is all.
>
> In case the previous asumption is false, is there any other potential
> leads ? (Something wrong in my local_irq_* ?)
Well, when debugging, every ugly hack is permitted, so you can put as
much printks as you want in the interrupt handler or the calibrate delay
loop.
>
> I didn't post my code so far since nothing is working yet... If you
> think it could worth it, I'll be glad to send you a git-diff from my
> 2.6.24 working directory.
>
--
Gilles Chanteperdrix
next prev parent reply other threads:[~2008-06-20 10:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-05 16:43 [Adeos-main] Advice regarding MIPS port Florent Audebert
2008-05-06 19:54 ` Jan Kiszka
2008-06-19 16:00 ` Florent Audebert
2008-06-20 10:15 ` Gilles Chanteperdrix [this message]
2008-07-17 15:12 ` Florent Audebert
2008-07-23 12:55 ` Florent Audebert
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=485B8332.90908@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=adeos-main@gna.org \
--cc=f.audebert@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.