All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] a problem about Calibrating delay loop...
@ 2010-03-08 13:25 费朱青
  2010-03-08 13:58 ` Gilles Chanteperdrix
  2010-05-13 22:05 ` Jonata Apolinario
  0 siblings, 2 replies; 4+ messages in thread
From: 费朱青 @ 2010-03-08 13:25 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 689 bytes --]


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互动功能!
http://ditu.live.com/?form=TL&swm=1

[-- Attachment #2: Type: text/html, Size: 946 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai-help] a problem about Calibrating delay loop...
  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
  1 sibling, 0 replies; 4+ messages in thread
From: Gilles Chanteperdrix @ 2010-03-08 13:58 UTC (permalink / raw)
  To: 费朱青; +Cc: xenomai

费朱青 wrote:
> 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 ?

You are the second person to report this issue:
https://mail.gna.org/public/adeos-main/2010-02/msg00013.html

Not having the hardware, I can not debug this myself. I can not tell you
more than what I already told Michel.

-- 
					    Gilles.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai-help] a problem about Calibrating delay loop...
  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
  2010-05-14  5:34   ` Gilles Chanteperdrix
  1 sibling, 1 reply; 4+ messages in thread
From: Jonata Apolinario @ 2010-05-13 22:05 UTC (permalink / raw)
  To: xenomai

费朱青 <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!



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai-help] a problem about Calibrating delay loop...
  2010-05-13 22:05 ` Jonata Apolinario
@ 2010-05-14  5:34   ` Gilles Chanteperdrix
  0 siblings, 0 replies; 4+ messages in thread
From: Gilles Chanteperdrix @ 2010-05-14  5:34 UTC (permalink / raw)
  To: Jonata Apolinario; +Cc: xenomai

Jonata Apolinario wrote:
> 费朱青 <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.

This issue is fixed in Xenomai 2.5.3.

-- 
					    Gilles.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-05-14  5:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2010-05-14  5:34   ` Gilles Chanteperdrix

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.