Thread (1 message) 1 message, 1 author, 2007-12-30

Re: How can I support 2GB of memory in Linux kernel on 440SPe

From: Vincitore <hidden>
Date: 2007-12-30 15:36:10

Hi Michele,

I also tried this and it did not work. It also panics while unpacking rootfs

Onced your system is up do you see all of the 2GB of Memory.

# cat /proc/meminfo

Thank You,

Vincitore


On 12/28/07, Michele Pallaro [off-list ref] wrote:
CONFIG_ADVANCED_OPTIONS=y
# CONFIG_HIGHMEM_START_BOOL is not set
CONFIG_HIGHMEM_START=0xfe000000
# CONFIG_LOWMEM_SIZE_BOOL is not set
CONFIG_LOWMEM_SIZE=0x30000000
CONFIG_KERNEL_START_BOOL=y
CONFIG_KERNEL_START=0x80000000
# CONFIG_TASK_SIZE_BOOL is not set
CONFIG_TASK_SIZE=0x80000000

I use ppc 8555E with 2G

Michele


Vincitore wrote:
quoted
Hi,

I need to support 2GB of memory on a custom 440SPe board.

I see to support 1GB of memory on the 440SPe yucca board the following
configuration changes were done.

#
# Advanced setup
#

CONFIG_ADVANCED_OPTIONS=y
CONFIG_HIGHMEM_START=0xfe000000
CONFIG_LOWMEM_SIZE_BOOL=y
CONFIG_LOWMEM_SIZE=0x40000000
CONFIG_KERNEL_START_BOOL=y
CONFIG_KERNEL_START=0xa0000000
# CONFIG_TASK_SIZE_BOOL is not set
CONFIG_TASK_SIZE=0x80000000
# CONFIG_CONSISTENT_START_BOOL is not set CONFIG_CONSISTENT_START=0xff100000
# CONFIG_CONSISTENT_SIZE_BOOL is not set
CONFIG_CONSISTENT_SIZE=0x00200000 # CONFIG_BOOT_LOAD_BOOL is not set
CONFIG_BOOT_LOAD=0x01000000

It looks like the only thing I would need to do is modify the
following for 2GB support.

CONFIG_LOWMEM_SIZE=0x80000000
and
CONFIG_KERNEL_START=0x60000000

But this does not work. It almost does, but right after I get to the
Linux prompt, this system panics. If I scale back to one 1GB
everything works great.

Any ideas?

Thank You,

Vincitore
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help