ts-7000
[Top] [All Lists]

[ts-7000] Re: Problem trying to cross compile TS 2.6.21 kernel for ts-73

To:
Subject: [ts-7000] Re: Problem trying to cross compile TS 2.6.21 kernel for ts-7350
From: "sanjuan34" <>
Date: Thu, 04 Nov 2010 19:17:12 -0000
Those steps are all correct. Try using the gnueabi crosstools - that's working 
for me. 

ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7350-linux/cross-toolchains/crosstool-linux-gnueabi-2005q3-2.tar.gz

-Jesse

--- In  "smachin1000" <> wrote:
>
> Hi All,
> 
> I haven't done this for a while so may have made a simple mistake somewhere.  
> I'm trying to cross compile the standard 2.6.21 kernel provided by TS for my 
> 7350.  I'm running the latest Ubuntu in VirtualBox.
> 
> I installed the cross compiler from 
> ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7350-linux/cross-toolchains/crosstool-linux-gcc-3.3.4-glibc-2.3.2-0.28rc39.tar.bz2,
>  then downloaded the kernel source from 
> ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7350-linux/sources/linux-2.6.21-ts-src-feb022010.tar.gz/.
>   I then added the cross compile tool's binary directory to my path, and 
> edited the CROSS_COMPILE in the Linux Makefile to be CROSS_COMPILE = 
> /usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux- 
> 
> I then went to compile the kernel with:
> make ts7350_defconfig
> make oldconfig
> make
> 
> which gives:
> 
> scripts/kconfig/conf -s arch/arm/Kconfig
> drivers/crypto/cesa/Kconfig:16:warning: type of 'MV_CESA_TEST' redefined from 
> 'tristate' to 'boolean'
>   CHK     include/linux/version.h
>   SYMLINK include/asm-arm/arch -> include/asm-arm/arch-ep93xx
> make[1]: `include/asm-arm/mach-types.h' is up to date.
>   CHK     include/linux/utsrelease.h
>   CC      arch/arm/kernel/asm-offsets.s
> cc1: error: invalid option `abi=aapcs-linux'
> make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
> make: *** [prepare0] Error 2
> 
> Where did I go wrong?
>




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

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