All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonata Apolinario <jonataapolinario@domain.hid>
To: xenomai@xenomai.org
Subject: Re: [Xenomai-help] a problem about Calibrating delay loop...
Date: Thu, 13 May 2010 22:05:05 +0000 (UTC)	[thread overview]
Message-ID: <loom.20100514T000318-597@domain.hid> (raw)
In-Reply-To: SNT125-W47B0622A941FB9CEDA2C479C350@domain.hid

费朱青 <mouse19875 <at> hotmail.com> writes:

> 
> 
> HI all,
>      I am porting xenomai-2.5.1 to arm architecture(Samsung
S3C2440).Everything is ok when I do patch and compile.But the board start
up,console lock and say"calbrating delay loop...".(before patch xenomai into
kernel,the kernel image can work well)
>      Xenomai say that it supports "S3C24xx family" ,but I always meet this
problem.
>      Someone said the timer interrupt does not work,I don't know how to watch
it and work out this problem.
>      Do you know some methods that can  solve it ? 
> thanks
> justin fei更多热辣资讯尽在新版MSN首页! 立刻访问!
> 
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help <at> gna.org
> https://mail.gna.org/listinfo/xenomai-help
> 


Hi!
well, i think i solved.
i found in arch/arm/plat-s3c/time.c:
the path inserted these lines:

tcfg1 = __raw_readl(S3C2410_TCFG1);
tcfg1 &= ~(S3C2410_TCFG1_MUX4_MASK | S3C2410_TCFG1_MUX3_MASK);
tcfg1 |= (S3C2410_TCFG1_MUX4_TCLK1 | S3C2410_TCFG1_MUX3_TCLK1);
__raw_writel(tcfg1, S3C2410_TCFG1);

in the function "static void s3c2410_timer_setup (void)"
in the "else" side of the "if (use_tclk1_12())"
use_tclk1_12 as i can see is to use external clock on pin clk1.
the patch put these lines in the else too, that as i can see, is wrong.
i removed these lines from the ELSE side and the kernel passed by this point.

see if it solves your problem and post your results.
 Thanks!



  parent reply	other threads:[~2010-05-13 22:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-08 13:25 [Xenomai-help] a problem about Calibrating delay loop 费朱青
2010-03-08 13:58 ` Gilles Chanteperdrix
2010-05-13 22:05 ` Jonata Apolinario [this message]
2010-05-14  5:34   ` 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=loom.20100514T000318-597@domain.hid \
    --to=jonataapolinario@domain.hid \
    --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.