ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Compiling TS7250 Kernel Module

To:
Subject: Re: [ts-7000] Re: Compiling TS7250 Kernel Module
From: Ali Koksal <>
Date: Mon, 27 Apr 2009 09:55:19 +0300


Hi,

You need to use the right toolchain,

Which is ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7260-linux/cross-toolchains/crosstool-linux-gcc-3.3-glibc-2.2.5.tar.bz2 in this case.

Best regards,
Ali Koksal

On Mon, Apr 27, 2009 at 9:24 AM, beetle.chus <> wrote:


Hi!,
i have exactly the same problem while compiling the 2.4.26-ts11 downloaded from embeddedarm.com. Any news in how to avoid the
-mapcs-32" command line option. Searching in internet it seems it is an old gcc option for ARM architectures that it is being deprecated.

Pablo



--- In ts-7000%40yahoogroups.com, "charliem_1216" <> wrote:
>
> --- In ts-7000%40yahoogroups.com, "bene_gesserit_43" <manufernandez43@> wrote:
> >
> > Hi!
> >
> > I have exactly the same problem, and I havent found a solution. Does anybody know any tip to avoid this error?
> >
> > Thanks in advance
> >
> > --- In ts-7000%40yahoogroups.com, "pgavigan@" <pgavigan@> wrote:
> > >
> > > 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.
>
> Download & use the exact TS toolchain that was used to build the kernel. This is especially important if you are trying to build only a module to fit into an existing kernel.
>
> regards ....... Charlie
>
> > >
> > > 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
> > >
> >
>




__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<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