ts-7000
[Top] [All Lists]

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

To:
Subject: Re: [ts-7000] Re: ts-7260, kernel detects only 8MB of memory when compiled with gcc 3.4.6
From: Eddie Dawydiuk <>
Date: Thu, 3 May 2007 08:59:38 -0700 (MST)
Hello,

> 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.)

There is no data available on the failure conditions, just the fact that
gcc version 3.4 and newer do not compile our 2.4 kernel properly. If
you're interested in looking into this problem further I noticed one of
the patches in crosstool for kernel version 2.4.26 states "Fixes error
when building linux-2.4.26 kernel with gcc-3.4 on arm". I was planning
on looking at this patch, but haven't got a chance to yet. If you look
into it let me know what you find...

> The gcc-4.0.1 compiler on the ftp.embedded.com should also be used
> only for user space apps ?

Correct.

>> 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.

That makes sense.

> I may have missed it in the TS ARM developers manual but perhaps it is
> an idea to put the compiler requirements in the manual.

We try not to document general Linux topics, although this may be a good
topic to add as it seems to trip up several people...

-- 
Best Regards,
______________________________________________________________
  Eddie Dawydiuk, Technologic Systems | voice:  (480) 837-5200
  16610 East Laser Drive Suite 10     | fax:    (480) 837-5300
  Fountain Hills, AZ 85268            | web: www.embeddedARM.com


 
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