Mapping a i2c register as memory in BBB Issue

19 views
Skip to first unread message

Sachin Dagur

unread,
Dec 14, 2015, 4:03:34 PM12/14/15
to Android Linux Kernel Development
Hi

I am using beagle bone black and writing i2c driver just for learning.
I used am335x TRM and i2c1 at address 0x4802a000 as mentioned in TRM.

I remapped using ioremap so I got the entry in /proc/iomem also.

But when I tried reading using ioread32 from that address it crashed saying :
"Unable to handle kernel paging request at virtual address 4802a000".

please tell me if anymore info needed.

Thanks
Reply all
Reply to author
Forward
0 new messages