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: Neil Cherry <>
Date: Sun, 03 Sep 2006 21:00:05 -0400
Dave Cramer wrote:
> On 3-Sep-06, at 12:45 PM, Neil Cherry wrote:

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

Busybox is giving me trouble, haven't figure out exactly what the
problem is. I get;

/home/njc/stuff/busybox-1.2.1/modutils/modutils.a(insmod.o)
(.text.new_get_kernel_symbols+0x30): In function `$a':
: undefined reference to `query_module'

I haven't found out what is wrong but I haven't tried the
link you gave me either. I'll research that a little later.

> BTW, I'm fairly interested in the Home Automation world, specifically  
> with regard to monitoring energy usage.

Monitoring power is difficult as it's not as simple as V * I. There
are tricks or you can visual monitor the meter. This can be tricky
as some people who work for the utility would be very nervous if
they were to see such items on the meter (needs to be touching
the glass dome).

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