Skip to contentSkip to conversation

Placing a kernel module at a fixed address location

DISCUSSION Sreeni 1 participant 1 message Sep 23, 2005

lore
Share & tools
lore

Sreeni

author
#0 lore raw

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