Placing a kernel module at a fixed address location

From: Sreeni
Date: Fri Sep 23 2005 - 14:09:44 EST


Hi,

I have a kernel module on Montavista Linux (ARM-MontavistaLinux-XIP).
My application demands me placing/running this kernel module at a
known fixed virtual/physical address. I can make this module a static
one. For this I need the following -

***** Placing text,data, heap, stack at a known fixed address *****

May I know the possible ways of achieving this. I have tried playing
around arch/arm/vmlinux.lds linker script file. But when i try to
force the linker to place my module at a particular address, the
System.map shows me the correct address but the kernel image size is
getting very large (when add 10 words of my module, kernel image size
is getting increased by 800KB).

Any help in this is highly appreciated.

Thanks
Sreeni
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/