Subject: Re: Kernels > 4MB ???
To: Bruce Martin <brucem@cat.co.za>
From: Reinoud Zandijk <zandijk@cs.utwente.nl>
List: port-arm32
Date: 11/03/1999 12:02:58
Hi Bruce,

On Wed, 3 Nov 1999, Bruce Martin wrote:
> I am trying to build a kernel with embedded filesystem for use as a diskless
> system. We have 8MB of flash available. As soon as my kernel grows above 4MB
> in size (which happens when I increase my memory disk image above 3MB), it
> doesn't boot properly - it gets to     bootstrap done.
> init subsystems: stacks vectors undefined pmap
> 
> and no further. Is there something limiting the kernel to a certain size, or
> memory disks to a certain size? It works perfectly as soon as I decrease the
> size below 4MB.

As far as I can see... you have a 4Mb slot in your first DRAM bank... so
it can't grow bigger! 

When the kernel is loaded... the kernel is loaded in flat memory, (almost)
i.e. no memory mapping is done. The kernel then initialises the memorymap
(pmap) and continues. The two SIMM slots are disjunct in the memory map;
they appear as two RAM ranges.

The bootloader loads the kernel in one of them.. so if that's a 4 Mb SIMM,
your kernel can't grow bigger, so try switching the SIMMs. 

Hope it helps,

Cheers,

Reinoud