[Top] [All Lists]

Re: 'mem= ' Kernel Boot Parameter on BCM1250/1480 Platform

To: Gary Smith <>
Subject: Re: 'mem= ' Kernel Boot Parameter on BCM1250/1480 Platform
From: Ralf Baechle <>
Date: Thu, 29 Mar 2007 22:10:50 +0100
In-reply-to: <001301c77234$04d014c0$8eacaac0@3PiGAS>
Original-recipient: rfc822;
References: <001301c77234$04d014c0$8eacaac0@3PiGAS>
User-agent: Mutt/
On Thu, Mar 29, 2007 at 02:56:49PM -0400, Gary Smith wrote:

> I'd like to ask a question about use of the 'mem=' kernel parameter.  When
> booting without this parameter, the kernel automatically detects the amount
> of memory as 989020 kB.  If a kernel parameter is added to specify
> 'mem=989020k' a TLB Miss error is encountered.  Do you all have guidance
> about how the memory parameter can be specified without causing the error?
> Since the mem= parameter was set to an identical value as the memory
> reported by meminfo in the /proc filesystem, use of this kernel parameter
> should be OK.  This behavior has been observed on both the BCM1250/1480
> platforms when running Debian linux.  The 2.6.17-2 kernel is used with the
> system.

mem=989020k tells the kernel there is 989020k of memory starting at
address 0.  On these SOCs there first 512MB of memory are at physical
address 0, the next 256MB at address 0x80000000, the next 256MB at
0xc0000000 and the rest of memory goes starting at 0x100000000.  So to
override the automatically detected memory map if you had 1GB you'd
need something like: mem=512M@0 mem=256M@0x80000000 mem=256M=0xc0000000.


<Prev in Thread] Current Thread [Next in Thread>