ts-7000
[Top] [All Lists]

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

To:
Subject: [ts-7000] ts-7260, kernel detects only 8MB of memory when compiled with gcc 3.4.6
From: "peter_clp" <>
Date: Wed, 02 May 2007 15:17:22 -0000
Hello,

I've got a memory detection problem with the ts-7260 board. I use the
'default' kernel supplied by www.embedded.arm with the ts-10 patches.

If the kernel is compiled with gcc-3.3.6 the memory is detected
correctly, however if the same kernel is compiled with gcc-3.4.6 only
8MB of the 32MB is detected. On the console 'Ignoring unrecognised
tag..' is displayed. A part from the memory problem the board runs
just fine. Below are two traces, one with all memory detected and one
with only 8MB detected.

I've looked in the gcc documentation and found that 'APCS-32' is
supported in gcc 3.3.x versions but not in gcc 3.4.x, could this cause
the problem ?

Can the interaction between the linux kernel and the RedBoot
bootloader be the problem if both are not compiled with the same
compiler due to diffences in the ABI? (I'm guessing here...)

The reason to use the gcc-3.4.6 compiler is to get the math-cruncher
running, there are patches available for the 3.4.6 compiler but not 3.3.6.

Any hints or suggestions are appreciated,

Peter.


RedBoot> exec
Using base address 0x00218000 and length 0x00...bLinux version 2.4.26
 (g7
CPU: Arm920Tid(wb) revision 0
Machine: ep9301
Ignoring unrecognised tag 0x54410001
Ignoring unrecognised tag 0x54410002
Ignoring unrecognised tag 0x54410002
Ignoring unrecognised tag 0x54410002
Ignoring unrecognised tag 0x54410002
On node 0 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyAM0,115200 ip=dhcp root=/dev/mtdblock1
Adeos 2.4r17c3/arm-ep9301: Root domain Linux registered.
Adeos: Pipelining started.
Calibrating delay loop... 99.73 BogoMIPS
Memory: 8MB = 8MB total


RedBoot> exec
.'Linux version 2.4.26  (gcc version 3.3.6 (Embryo-1.0))
#19 Wed May 2 097
CPU: Arm920Tid(wb) revision 0
Machine: ep9301
On node 0 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 1 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 4 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 5 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyAM0,115200 ip=dhcp root=/dev/mtdblock1



 
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