I have embedded Linux on DM8148 chip. When I access MailBox, I got this error Unhandled fault: external abort on non-linefetch (0x1018).
Thanks in advance.
My driver code is :
#define TI81XX_MAILBOX_BASE 0x480C8000
volatile u32 *mBoxRev;
mBoxRev = ioremap (TI81XX_MAILBOX_BASE, 4);
if ((mBoxRev == NULL))
{
ret = -ENOMEM;
printk ("ERROR ioremap !!!\n");
goto unmap_io;
}
/* Read the register */
value = inl (mBoxRev);
printk ("mBoxRev : %x\n", value);