cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Participant
Participant
2,388 Views
Registered: ‎02-10-2012

Custom peripheral memory map in kernel?

I have a somewhat strange problem: 

 

I need to access a custom peripheral from the kernel, more specifically through an "undefined instruction" handler in arch/arm/kernel/traps.c . This is because my peripheral is a coprocessor, so I would like to call it up when CDP instructions are executed. 

 

Problem is, how can I access the memory? The usual way, mmap, does not work, and when I try "ioremap" it causes a kernel panic.... 

 

Thanks,

 

Michele

0 Kudos
1 Reply
Highlighted
Visitor
Visitor
2,042 Views
Registered: ‎11-12-2013

i've a similar problem... has anyone solved?

0 Kudos