ts-7000
[Top] [All Lists]

[ts-7000] Re: ts11 Time resolution

To:
Subject: [ts-7000] Re: ts11 Time resolution
From: "Phil" <>
Date: Wed, 19 Sep 2007 05:23:38 -0000
--- In  "fabianmejia" <> 
wrote:
> Last night I faced the Linux kernel source, 
> and after some reading, there was only needed to "make config" on
> the kernel source and answer a plethora of questions :S.

Just to let you know, you don't need to do the full "make config", 
that's why you get all the questions. If you do "make ts7250config" 
first it will answer most of the questions for you, setting most 
options to how the TS's kernels are setup. And then do "make 
oldconfig" and that will make sure any answers not set in the TS 
defaults are answered. This way you get the configuration as close 
as possible to how TS ship their kernels, and don't have to answer 
many questions at all!!


> Reading further, this is a LKM (Loadable Kernel Module), right? It 
> looks like a service in the Microsoft World?

Yes, it is a Kernel Module (which most/all are loadable). There are 
quite a few differences between Linux and Windows, meaning that 
making comparisons between modules and services is not really valid.


> It looks interesting as I need a service running in the SBC
> accessing fast timers, etc.

In light of the above, could I suggest a different way phrasing this 
statement... "I need a daemon that communicates with a kernel module 
that accesses fast timers, etc". In this context, the daemon is 
similar to a Microsoft service, but is nothing more complicated than 
a userland program that never exits (normally). And the kernel 
module is similar to a Microsoft device driver in that it interfaces 
between hardware only accessible from the kernel to any userland 
program (your daemon).


I guess the next question to ask then is why you need access to the 
fast timers? In a previous post you mentioned that your need for 
high resolution timing was for the purposes of sampling the ADC, 
which the driver is doing both jobs for you (timing and sampling). 
Do you have to time other events as well? The reason I ask is that 
the processor has a limited number of timers and some are already 
taken up by the standard Linux "tick" timer and the ADC driver if 
you are using that as well.

The other possibility is that you can use the ADC driver just to 
regulate the timing of your aplpication. Set it to the regular 
frequency that you want to do whatever, and then wait for the 
sample. You don't have to do anything with the sample but you can 
still use the timing.


> Thanks everybody for you help!

Not a problem !!

Cheers
Phil





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU