AW: RE: linuxppc-embedded help needed:kernel access of bad area

Achim Machura achim.machura at berghof.com
Thu Dec 1 19:00:41 EST 2005


Hello,

> #define BCSRADDR 0x04500000
> 
...
> static int PQ2FADS_GPL_open(struct inode *inode,struct file *filp)
> {
> 	PQ2FADS_GPL_CSR=(PQ2FADS_BCSR*)BCSRADDR;

possible you have to change physical address to logical see ioremap.

achim



More information about the Linuxppc-embedded mailing list