LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices

Reply
 
Search this Thread
Old 06-14-2008, 09:54 AM   #1
raedbenz
Member
 
Registered: Dec 2007
Posts: 93

Rep: Reputation: 15
Timers of ARM in Kernel?


Hi...
I need to make use of the timer interrupt in an ARM9 processors. The Development Board (Olimex CS-E9302) is loaded with Linux Kernel 2.6.20.

How could i check if the timer hardware is supported in my Kernel? if not, what i have to change/add in the Kernel ??

Note: i have installed and tested the cross toolchain (crosstool-linux-gcc-4.0.1-glibc-2.3.5) for ARM, successfully.

Thanks

Last edited by raedbenz; 06-20-2008 at 09:35 AM.
 
Old 06-28-2008, 11:39 PM   #2
WildPossum
Member
 
Registered: Feb 2004
Location: Sydney - Australia
Distribution: OpenSUSE, Ubuntu, Mythbuntu, iMedia, Embedded Linux
Posts: 44

Rep: Reputation: 18
U can check if the timer interrupt is being used by;
<> cat /proc/interrupts
<> cat /proc/devices

What timer(s) is any are utilized;
<> cat /proc/timer-list
<> cat /proc/timer-stats

and looking for the timer usage (if any) in kernel source.

Simply do a grep within the source tree.
 
Old 06-30-2008, 04:15 AM   #3
raedbenz
Member
 
Registered: Dec 2007
Posts: 93

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by WildPossum View Post
U can check if the timer interrupt is being used by;
<> cat /proc/interrupts
<> cat /proc/devices

What timer(s) is any are utilized;
<> cat /proc/timer-list
<> cat /proc/timer-stats

and looking for the timer usage (if any) in kernel source.

Simply do a grep within the source tree.
hi
i found this in kernel source, could u help me in how to start using the timers if its possible from theh "core.c" file ?(http://students.mimuw.edu.pl/lxr/sou...x/core.c?a=arm)
 
  


Reply

Tags
embedded, linux, timer


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Netlink (Kernel 2.6.10) on ARM skpseqence Programming 1 07-02-2007 02:05 AM
LXer: Linux: High-Res Timers and Tickless Kernel LXer Syndicated Linux News 0 06-24-2006 07:21 AM
How to patch kernel 2.6.x.x with PXA2xx (ARM) deboom Linux - Kernel 1 05-08-2006 03:23 AM
How to build kernel timers? santhosh.linux Programming 1 12-14-2005 09:10 PM
kernel-level timers? for benchmarking... microtim Programming 1 03-10-2003 03:00 PM


All times are GMT -5. The time now is 09:15 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration