OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [Documentation/] [more-than-900MB-RAM.txt] - Blame information for rev 1777

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1625 jcastillo
 
2
This document describes how to configure the Linux kernel to
3
support more than 950MB physical RAM on x86 systems:
4
 
5
you only have to change the 'Max physical memory in MB' kernel
6
config option to get everything working. If you have less than
7
900M RAM, dont touch the default setting, this option buys you
8
nothing at all! The option is in 'General setup':
9
 
10
          [ ] Kernel math emulation
11
          (1800)  Max physical memory in MB
12
          [*] Networking support
13
          [ ] Limit memory to low 16MB
14
 
15
the unit of CONFIG_MAX_MEMSIZE is 'megabytes', ie. a value of
16
'1024' means '1024 MBytes'. Unless in 2.1 there is no restriction
17
on the value of CONFIG_MAX_MEMSIZE!
18
 
19
IMPORTANT: the value of CONFIG_MAX_MEMSIZE should be about 128M
20
more than the amount of physical RAM (or 1024 if RAM is less than
21
900M), because the kernel needs some space for it's own memory
22
mappings. The kernel enforces this 128M window by clipping away
23
from the end of phsyical memory if necessary. (in this case that
24
chunk of physical memory is not used by Linux!) So configure this
25
option carefully, and look at 'free' output and boot messages
26
wether all RAM is correctly detected and configured.
27
 
28
A system with 2G physical memory should use a value of ~2400, a
29
system with 3.8G memory should use something like 3900. A bit of
30
experimentation with the limit wont hurt, the kernel needs a ~128M
31
window for vmalloc() plus PCI space uses up some memory too, thus
32
physical addresses above FD000000 should rather be kept free.
33
 
34
if the BIOS does not report correct memory size, use the mem= boot
35
commandline option to override it.
36
 
37
feel free to report any problems/suggestions to:
38
 
39
         Ingo Molnar 
40
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.