--- In "Christopher Friedt" <>
wrote:
>
> Hi everyone -
>
> It's good to see that people in the ts-7000 list are actively
> maintaining the TS-7xxx port of the latest linux-2.6 kernel.
>
> Matthieu, I've looked at your patchset against 2.6.27.4 - great work!
>
> All of the boards that we use are shipped with 64 MB of ram, so I'm
> quite interested to know how the migration goes from DISCONTIGMEM to
> SPARSEMEM and ARCH_HAS_FLATMEM_HOLES. I remember when I was doing some
> of the earlier work with the 2.6.20 kernel, that there were some
> issues with virt_to_phys and vice-versa (from the discontigmem patch)
> not really fitting in cleanly.
Hi,
sparsemem works well only starting from 2.6.28. You can modify the
Matt's patches and add to the memory.h file under the mach folder:
static inline unsigned long __phys_to_virt(unsigned long pa)
{
return (pa & 0x07ffffff) | ((pa & 0xe0000000) ? 0x08000000 : 0);
}
static inline unsigned long __virt_to_phys(unsigned long va)
{
return (va & 0x07ffffff) | ((va & 0x08000000) ? 0xe0000000 : 0);
}
#define SECTION_SIZE_BITS 24
#define MAX_PHYSMEM_BITS 32
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|