[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-arm-kernel
Subject:    Re: question PIC decompressor and on size and placement of ZBSSADDR
From:       Russell King - ARM Linux <linux () arm ! linux ! org ! uk>
Date:       2002-10-28 9:29:57
[Download RAW message or body]

On Mon, Oct 28, 2002 at 11:13:12AM +0100, Holger Schurig wrote:
> Idx Name          Size      VMA       LMA       File off  Algn
>   4 .bss          00008444  00093e00  00093e00  0009be00  2**5
>                   ALLOC
>  
> So that would mean that BSS starts at 0xA0000000 and would go till 0xA0008444. 
> Isn't this too large when the de-compressed kernel will end up at physically 
> 0xA0008000 as it seems to be custom?

Yep, also you can't use that to determine the size.  It's around:

 bss + 4K stack + 64K

A safe rule of thumb is to place the BSS somewhere where it has 256K of
RAM available.  (eg, if you know you'll always have 16MB of RAM, place
it at 0xa00c0000, or maybe 0xa0f00000)

-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ/Etiquette:       http://www.arm.linux.org.uk/armlinux/mailinglists.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic