ts-7000
[Top] [All Lists]

[ts-7000] Re: ts-7260, kernel detects only 8MB of memory when compiled w

To:
Subject: [ts-7000] Re: ts-7260, kernel detects only 8MB of memory when compiled with gcc 3.4.6
From: "Yan Seiner" <>
Date: Thu, 03 May 2007 13:36:48 -0000
--- In  "peter_clp" <> wrote:
>
> > There are known problems when compiling our 2.4 kernel with gcc
version
> > 3.4 or newer. The recommended toolchain for compiling our 2.4
kernel is
> > available here
> >
>
ftp://ftp.embeddedarm.com/ts-arm-linux-cd/cross-toolchains/crosstool-linux-gcc-3.3.4-glibc-2.3.2-0.28rc39.tar.bz2
> >
> 
> If possible can you post the details of the known problems (or a
> reference to them)? And are these problems for all boards or just for
> the ts-7260 ? (A part from not the detecting the memory correctly the
> kernel seemed to run ok.)
> The gcc-4.0.1 compiler on the ftp.embedded.com should also be used
> only for user space apps ?
>  
> > 
> > You should only need to compile your user space apps with a toolchain
> > that generate/uses crunch instrucionts/registers. I believe our
> > 2.4 kernel will also need to be patched to enable the crunch
> > coprocessor as well as to save/restore the crunch registers on a
context
> > switch.
> 
> This is correct, however I would like to have one cross-compiler for
> both the kernel and user-space apps. Although it is not strictly
> necessary it simplifies the automated build process and it is a bit
> more elegant.

See <http://www.seiner.com/ts7000/index.php/CrossCompileTools> for my
experience.

I've been building everything with -msoft-float; if there is a way to
enable crunch with the current 2.4 kernel I'd be interested.  If
anyone gets it working, please update the wiki.

Thanks,

--Yan



 
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