ts-7000
[Top] [All Lists]

[ts-7000] Re: Building Kernel Module

To:
Subject: [ts-7000] Re: Building Kernel Module
From: "chentom60" <>
Date: Mon, 27 Mar 2006 23:19:42 -0000
Yan,

Alas! your crosstool works miraculously! 

I still do not know why, because my colleague uses EmabeddedArm's one
and that one works on his PC also, though it failed on my PC. His PC's
OS is Fedora, mine is Mandriva 2006. Though OS should not be an issue
for building embedded linux driver, I am not sure why some people
could not build kernel module, i am just wondering which cross tool
chain do they use.

For ideas on GPIO interrupt, see the gps_pps.tgz (Example device
driver that shows how to use GPIO and the GPIO IRQ) in the FILES link
of this discussion group. You will be surprised to find that back in
last May, Andy already used __ioremap to fix the problem you asked for.



Tom 


--- In  "Yan Seiner" <> wrote:
>
> --- In  "chentom60" <chentom60@> wrote: 
> > 
> > Phil, 
> >  
> > Thank you for your help. I just modified the gpio.c that Yan 
> Seiner 
> > posted a few weeks ago. However, even his original one could not 
> be 
> > compiled on my PC. 
> >  
> > Use a similar command below to compile, change the /include to 
> your 
> > own Linux2.4 ARM kernel source include. 
> >  arm-linux-gcc -D__KERNEL__ -DMODULE 
> > -I/usr/local/src/linux24/include -O -Wall   -c -o gpio.o gpio.c 
> >  
>  
> You can try my toolchain at  
> http://www.seiner.com/ts7000/index.php/CrossCompileTools 
>  however please read all of the caveats... 
>  
> I'm still trying to figure out how to enable interrupts on that 
> board....   Any ideas? 
>  
> --Yan
>






 
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