ts-7000
[Top] [All Lists]

[ts-7000] Re: ADC driver for the TS-7250 card

To:
Subject: [ts-7000] Re: ADC driver for the TS-7250 card
From: "gertjan_hofman" <>
Date: Thu, 16 Nov 2006 17:39:00 -0000
Hi Phil,

Thanks, as usual, for the response.

Thins are looking up a little.  Indeed, I should have added
'arm-linux' to the path to the cross compiler. Now, compiling against
kernel version 10, it builds properly.

However, (nothing is ever simple), I have version 11 running on my
board.  So I unpacked that, tried the usual make steps and it dies at
the make dep level. I have contacted Technologic about this since I am
merely following their manual (and I have been building kernels since
the early nineties....)

Just trying to make your driver against the kernel 11 source does not
work, lots of header file errors. So I need to resolve the kernel
build issue first.


Thanks

Gertjan







--- In  "Phil" <> wrote:
>
> Hi Gertjan,
> 
> I can see a few things that you might want to check. Firstly, I 
> realise that I haven't specified this in my INSTALL file (and I have 
> now changed it) but the kernel source needs to be properly 
> _configured_, i.e. following the initial steps to compiling the 
> kernel, such as 'make oldconfig', 'make ts7250config', 'make dep' 
> (you just might need to check exactly what those commands are, I am 
> just recalling from memory).
> 
> Second thing, is to check that DEVFS is enabled in the 'configured' 
> kernel sources. You can type 'grep DEVFS /path/to/kernel/.config' to 
> find out. It is probably all ok, but just a check.
> 
> Third and last thing to check is your setting of the CROSSDIR 
> variable. The way the crosstools are packaged can be a little 
> confusing (there may be a reason for it but I just never really 
> understood it). I will try and explain with a diagram...
> 
> gcc-3.3.4-glibc-2.3.2
> |-- arm-linux
> |   |-- bin           <-- my Makefile setting ends up here
> |   |-- etc
> |   |-- include
> |   |-- info
> |   |-- lib           <-- and here
> |   |-- libexec
> |   |-- sbin
> |   |-- share
> |   |-- sys-include
> |   `-- usr
> |-- bin               <-- your setting ends up here
> |-- include
> |-- info
> |-- lib               <-- and here
> |-- libexec
> |-- man
> `-- tmp
> 
> 
> As I said above, I'm not quite sure why the structure is this way, 
> but it is on my crosstools installation. So just add the '/armlinux' 
> to the end of what you already have for CROSSDIR, if your crosstools 
> are arranged the same way. And why I highlight this is because on my 
> system, the lib directory that you wound be pointing to (./lib) only 
> contains a handful of libs, whereas the one under ./arm-linux/lib 
> contains a whole lot of libs. This shouldn't be causing you current 
> problem, but it might be something to look out for if you get 
> further.
> 
> 
> Let us know how you go.
> 
> 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