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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux