ts-7000
[Top] [All Lists]

Re: [ts-7000] 7800 kernel compile problem

To:
Subject: Re: [ts-7000] 7800 kernel compile problem
From: Mika Westerberg <>
Date: Sat, 3 Apr 2010 08:24:56 +0300
On Sat, Apr 03, 2010 at 03:07:45AM -0000, thedude1088 wrote:
> Hello everyone,
> 
> I am trying to follow the kernel compile guide found here 
> http://www.embeddedarm.com/about/resource.php?item=412  Instead of 
> linux-2.6.21-ts-src-oct102008.tar.gz I have used the latest source.  My 
> problem is when I make to compile the kernel I get the this
> 
> make: ../arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-: Command not found
>   CHK     include/linux/version.h
> make[1]: `include/asm-arm/mach-types.h' is up to date.
>   CHK     include/linux/utsrelease.h
>   CC      arch/arm/kernel/asm-offsets.s
> /bin/sh: ../arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-: No such file 
> or directory
> make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
> make: *** [prepare0] Error 2
> 
> I edited the makefile to point to the cross compiler path as stated in the 
> guide.  I see that is doesnt exist but what should I use for the appropriate 
> cross-compiler path?
> 
> debian:/arm-none-linux-gnueabi/bin# ls
> arm-none-linux-gnueabi-addr2line  arm-none-linux-gnueabi-gcov
> arm-none-linux-gnueabi-ar       arm-none-linux-gnueabi-ld
> arm-none-linux-gnueabi-as       arm-none-linux-gnueabi-nm
> arm-none-linux-gnueabi-c++      arm-none-linux-gnueabi-objcopy
> arm-none-linux-gnueabi-c++filt          arm-none-linux-gnueabi-objdump
> arm-none-linux-gnueabi-cpp      arm-none-linux-gnueabi-ranlib
> arm-none-linux-gnueabi-g++      arm-none-linux-gnueabi-readelf
> arm-none-linux-gnueabi-g77      arm-none-linux-gnueabi-size
> arm-none-linux-gnueabi-gcc      arm-none-linux-gnueabi-strings
> arm-none-linux-gnueabi-gcc-3.4.4  arm-none-linux-gnueabi-strip
> arm-none-linux-gnueabi-gccbug   fix-embedded-paths
> 
> Sorry if this is something obvious.  I'm just not exactly sure what to se for 
> the path here.  Thanks 
>       

Easiest way is to put the path to your crosscompilers to PATH e.g:

        % PATH=$PATH:/path/to/arm-none-linux-gnueabi/bin
        % export PATH

then compiling the kernel is just:

        % make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm

MW


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

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