ts-7000
[Top] [All Lists]

[ts-7000] Re: max sample rate?

To:
Subject: [ts-7000] Re: max sample rate?
From: "charliem_1216" <>
Date: Mon, 15 Oct 2007 23:42:29 -0000
Hi --

--- In  "Yan Seiner" <> wrote:
>
> --- In  "Phil" <mccarl1978@> wrote:
> >
> > Interestingly, I looked through the kernel sources that I build 
the 
> > driver against and there are no jiffies.h in there anyway, only 
the 
> > only in the includes from the cross toolchain, so I don't think 
just 

In 2.4 kernels, just include <linux/sched.h> for the jiffies 
declaration.  There is no separate jiffies.h in the 2.4 series.

In 2.6 kernels, there _is_ a jiffies.h file, but I believe it's 
included by <linux/sched.h>.

> > copying over that file is your problem. I noticed from some of 
> > the 'make' output that you posted that you are using a different 
> > version of gcc to me. I am using the cross compiler 
(gcc-3.3.4-glibc-
> > 2.3.2) and the toolchain that came from the file 
called 'crosstool-
> > linux-0.28rc39.tar.bz2'.
> > 
> > Are you able to try using that cross toolchain with a clean, 
> > configured kernel source and see how you go?
> >
> 
> All this points to a somewhat broken toolchain, but it's weird.  
This
> same toolchain builds just about everything else just fine, and 
has
> for the last year.  <sigh>

I don't think it's a toolchain issue.  I'm not sure why kernel 
header files would be included with toolchains though.

> 
> Anyway, I was able to get the module to compile eventually by 
patching
> the kernel and sticking it in the kernel tree.  It just wouldn't 
build
> outside of the tree.
> 
> It still spewed a bunch of warnings but /proc/driver/adc is there 
and
> so are /dev/adc?...
> 
> Go figure.  :-)  Thanks for the code.
> 
> --Yan

Yes, thanks Phil, for the code; it works great in my (admitidly 
light) testing.  I had no trouble porting it to build under the 2.6 
kernel, well aside from learning the 2.6 out-of-kernel build system 
for modules ...

Regards, ......... Charlie



 
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