Regards,
John



> On Dec 12, 2015, at 11:19 PM, [email protected] wrote:
> 
> 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 
<https://e2e.ti.com/support/arm/sitara_arm/f/791/t/330787>

Regards,
John
> 
> Need guidance on it.
> 
> Thanks.
> 
> -- 
> For more options, visit http://beagleboard.org/discuss 
> <http://beagleboard.org/discuss>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to