Sparsemem on ep93xx

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


Hi all,

I'm using the kernel 2.6.27.7 and the board ts-7200 based on a ep9302
processor. With 64MB of sdram there are some problems because there are
two banks of 32MB with two different chip select, the situation is:

0x00000000
0x01000000
0x04000000
0x05000000
0xe0000000
0xe1000000
0xe4000000
0xe5000000

so the kernel should use 64MB of memory as 8 sections of 8MB. Now the
questions is: how can use the sparsemem with situation? Someone can help
me? Reading the code I guess I have to add the sparsemem support in the
kconfig and I have to modify the memory.h under my mach and add:

#define NODE_MEM_SIZE_BITS 23 // 8mb

Is it sufficient? Any helps are welcome. Thanks.

Regards,

Marco

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[Linux ARM]     [Linux ARM MSM]     [Linux ARM Kernel]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

Add to Google Follow linuxarm on Twitter