Hi
I bought a BBB for learning purpose and now I’m trying to write a device driver for i2c from scratch just to learn.
The problem I face is according to TRM for am335x I used i2c1 at address 0x4802a000 and did ioremap().
It showed the mapped address in /proc/iomem also.
But when I tried to access using ioread32 from that address it gives creashes saying
“Unable to handle kernel paging request at virtual address 4802a000”.
Need guidance on it.
Thanks.
Regards,
John
Hi
I bought a BBB for learning purpose and now I’m trying to write a device driver for i2c from scratch just to learn.
The problem I face is according to TRM for am335x I used i2c1 at address 0x4802a000 and did ioremap().
It showed the mapped address in /proc/iomem also.
But when I tried to access using ioread32 from that address it gives creashes saying
"Unable to handle kernel paging request at virtual address 4802a000”.
https://e2e.ti.com/support/arm/sitara_arm/f/791/t/330787
Regards,
John