ts-7000
[Top] [All Lists]

[ts-7000] Compiling TS7250 Kernel Module

To:
Subject: [ts-7000] Compiling TS7250 Kernel Module
From: "" <>
Date: Mon, 09 Mar 2009 19:53:04 -0000
Hello,

I've been trying to compile a Kernel Module for the ARM 7250 without success.  
My goal is to install the module onto a system using the insmod command.  I've 
been told by a technical support rep at Embedded ARM that to do this I have to 
compile the module (a one file program) against a compiled version of the 
kernel.

Here's a summary of the problem:

1) I have installed the cross compiler (using instructions found at 
http://www.kegel.com/crosstool/crosstool-0.43/doc/crosstool-howto.html#quick).  
I've attempted several versions of gcc, however most recently I trying with 
version gcc-4.1.0-glibc-2.3.2.

2) I have downloaded and unpacked the linux distribution installed on my 
target.  Specifically, 2.4.26-ts9 from embeddedarm.com.  I have set the path to 
the cross compiler in the top level makefile in the kernel files, as well as 
the name of the cross compiler.

3) I have run the "make ts7250_config" and "make oldconfig" scripts.

3) The "make dep" script fails with the following error: "error: unrecognized 
command line option "-mapcs-32""

I have not been able to determine what the -mapcs-32 setting is or where it is 
set in the kernel.  As a result, I am not sure where the problem is.  Also, is 
there a faster/ less complicated way to compile a kernel module?

Thanks in advance for any assistance.

Patrick



------------------------------------

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>
  • [ts-7000] Compiling TS7250 Kernel Module, pgavigan@ymail.com <=
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