ts-7000
[Top] [All Lists]

Re: [ts-7000] Compiling device drivers for the TS-7xxx?

To:
Subject: Re: [ts-7000] Compiling device drivers for the TS-7xxx?
From: Dave Cramer <>
Date: Sun, 3 Sep 2006 19:49:05 -0400
On 3-Sep-06, at 12:45 PM, Neil Cherry wrote:

> Dave Cramer wrote:
> > On 2-Sep-06, at 6:48 PM, Neil Cherry wrote:
>
> >> Does anyone have an example of how to compile device drivers for
> >> the TS-7xxx? I have several devices I'd like to use on the board
> >> but no idea how to cross compile them?
>
> > You have to setup the cross-compiler tools first,
> > http://www.seiner.com/ts7000/index.php/CrossCompileTools then I'd
> > suggest writing a simple helloworld.c program and download it and  
> run it.
>
> Already done, hello world works quite well compiled on my x86 box
> and run on the board.
>
> > Once you have that done that work on recompiling the kernel with the
> > above mentioned CrossCompileTools and make sure that works. Once you
> > have your kernel working try compiling one of your device drivers,
> > (modules in the linux world)
>
> I'm hoping to have the TS/Linux kernel (2.4.26) directory structure
> put up on my x86 (running Linux 2.6.17) Linux box later today. I'll
> the test out the compile. I'll also upgrade Busybox (I noticed dc
> doesn't work).
>
> The modules I wrote (bad habit of calling them device drivers, left
> over from my SYSV days) work fine under x86 where I can compile
> them without any trouble. I've tested them on Linux 2.4 and 2.6 on
> x86 boxes. They're compiled separate from the kernel directory
> structure. Will this work the same way with the cross compiler
> in my path instead of the native compiler? The hello world
> example works just fine using 'gcc -O3 hello.c -o hello'. The
> kernel and modules are, obviously, a bit more complicated.
>
Yeah, once you put them into the modules directories and look at the  
make files there, you should see how they compile
The switches are a little different I think

BTW, I'm fairly interested in the Home Automation world, specifically  
with regard to monitoring energy usage.
> -- 
> Linux Home Automation Neil Cherry 
> http://www.linuxha.com/ Main site
> http://linuxha.blogspot.com/ My HA Blog
> http://home.comcast.net/~ncherry/ Backup site
>
>> .
>
> 



 
Yahoo! Groups Links

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

<*> 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