From: Ralf Baechle <ralf@linux-mips.org>
To: Gary Smith <gary.smith@3phoenix.com>
Cc: linux-mips@linux-mips.org
Subject: Re: 'mem= ' Kernel Boot Parameter on BCM1250/1480 Platform
Date: Thu, 29 Mar 2007 22:10:50 +0100 [thread overview]
Message-ID: <20070329211050.GA22703@linux-mips.org> (raw)
In-Reply-To: <001301c77234$04d014c0$8eacaac0@3PiGAS>
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.
Ralf
prev parent reply other threads:[~2007-03-29 21:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-29 18:56 'mem= ' Kernel Boot Parameter on BCM1250/1480 Platform Gary Smith
2007-03-29 18:56 ` Gary Smith
2007-03-29 19:53 ` Maciej W. Rozycki
2007-03-29 21:10 ` Ralf Baechle [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070329211050.GA22703@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=gary.smith@3phoenix.com \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox