ts-7000
[Top] [All Lists]

[ts-7000] Re: Compiling TS7250 Kernel Module

To:
Subject: [ts-7000] Re: Compiling TS7250 Kernel Module
From: "bene_gesserit_43" <>
Date: Mon, 27 Apr 2009 16:58:00 -0000
Hi Ali,

thank you very much. That solved my problem. I thought it was ok to use 
gcc-4.1.0. 
This reminds me of a teacher who always told to use the previous version of the 
last release of any software. Well, I dont know why do I say this.
By the way, there is an error in the code,in a driver, a file called keyboard.c 
or something. They use a tag like this:
        out:
             }
, which is not allowed, the tag must be followed by a sentence. Just in case 
anybody finds it interesting :).

Thank you very much again.

Best regards,
Manuel

--- In  Ali Koksal <> wrote:
>
> 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.bz2in
> 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" <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
> > > > >
> > > >
> > >
> >
> >  
> >
>




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

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