From mboxrd@z Thu Jan 1 00:00:00 1970 From: paul.chavent@fnac.net (Paul Chavent) Date: Fri, 07 Feb 2014 21:29:15 +0100 Subject: Pass through kernel memory manager Message-ID: <52F5421B.4070700@fnac.net> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Hi I'm working on an ARM926EJS based SOM (OMAPL138). The ARM has internal memory spaces (8k one and 128k one) where i would like to put some code. I thought to use something like : void foobar (void) __attribute__ ((section ("bar"))); Then link with -Wl,--section-start,bar=FFFF1000 But the Linux loader fails to load this segment. So, is it worth to try to achieve to run code at desired position ? Is there any way to tell Linux to 1:1 map some physical regions to processes address space ? Perhaps the memmap= kernel parameter ? Thanks for your help. Paul.