[okl4-developer] MMU fault on write to hardware_back_memsection
Lukas HANEL
lukas.hanel at st.com
Sat Jun 21 00:14:24 EST 2008
Hi
I found my way through Linux device and driver registration and am
finally able to start the NAND driver. After some adaptions I am now
facing a real problem. After the control register of the NAND
Controller, the driver will also ioremap three pages directly from the
NAND memory. On the first write to these pages, the iguana server
notices an mmu fault.
<iguana_server> ARM mmu fault fs=8
What can I do?
I also specified this NAND memory in the machines.py. Is this
interfering with hardware_back_memsection? But at a first sight, the
call does not yield an error message.
Note also that I had to implement dma_alloc_coherent and just copied the
file from arch/l4/sys-i386/dma.c. Might this be a source for the problem?
thanks,
Lukas Hänel
More information about the Developer
mailing list