ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: High Resolution Timers on 2.6.21-ts Kernel

To:
Subject: Re: [ts-7000] Re: High Resolution Timers on 2.6.21-ts Kernel
From: Stefan Agner <>
Date: Wed, 25 Feb 2009 12:31:54 -0800 (PST)
Hi Charlie,

Thanks for your response!

--- On Wed, 2/25/09, charliem_1216 <> wrote:
> No, I have not done this, but the sequence to bring HRT to 2.6.21-TS
> would be (about):
> * Download
> http://www.kernel. org/pub/linux/ kernel/projects/ rt/older/ patch-2.6. 
> 21.6-rt21
allready done

> * Apply that patch to 2.6.21-TS sources, fix any conflicts / rejects.
This one too

> * That patch above adds HRT to ep93xx.  Find the ep93xx specific bits,
> and then patch the marvel orion in a similar way.  As a guide to what
> is needed, you could look at the later patch (2.6.27?) that brings HRT
> to the orion chip.  Also, you could look at:
> http://www.kernel. org/pub/linux/ kernel/projects/ rt/older/ patch-2.6. > 
> 22.1-rt9- broken-out. tar.bz2
> which is the earliest -rt version to break out patches separately. 
> That would help picking the bits that are ep93xx specific, and later
> broken out versions would help you find what is orion specific.
I looked through the patchset, ep93xx-clockevents.patch seems to have the 
relevant code in it. I searched through the ts78xx-branch from Alexander 
Clouter's tree (which is basically 2.6.29-rc5 with some additional patches, not 
timer related as far as i know) and found something which looks like a timer 
implementation for the orion platform in ./arch/arm/plat-orion/time.c.

> Obviously this could be a big time sink.  It may be better to spend
> effort to help fix the problems of mainline 2.6.28 on TS-7800.  It is
> unfortunate that TS locked on an early kernel version, before the
> orion stuff was included in vanilla kernels.
I'm new to kernel development and can't pre-estimate how mutch time is needed 
for each solutions. I would prefer to use the mainline kernel, on this point of 
view this second solution would be better. But, as I wrote above, I already 
found the code and think it is pretty well written and portable. Therefore I 
think it should be possible to port it back to 2.6.21-ts with less time effort 
then the second solution. What do you think? 


Thanks, bye
Stefan
        
        


      



------------------------------------

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