* XIP kernel - bss address location issue
@ 2005-10-21 18:06 Sreeni
0 siblings, 0 replies; only message in thread
From: Sreeni @ 2005-10-21 18:06 UTC (permalink / raw)
To: linux-os, linux-kernel
Hi,
I have a montavista XIP kernel running on ARM and my kernel will be in
the flash. Since its XIP, I know that the ".text" portion of the
kernel will be executed from flash but that ".data" needs to be placed
in SDRAM. Now my question is - based on what offset this data will be
placed?
My SDRAM physicall address starts at 3000_0000 and flash starts at
0100_0000. when i allocated a global variable in the kernel module and
when i try to check its actually physical address using virt_to_phys,
its giving me the address in the range of 0100_0000 ~ 0600_0000 which
is my flash (the PAGE_OFFSET doesn't work in case of XIP).
Can you please help in knowing the physical address of my .data
portion in this situation.
Thanks
Shree
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-10-21 18:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-21 18:06 XIP kernel - bss address location issue Sreeni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®