[beagleboard] Mapping physical address to virtual page address Issue.

2015-12-25 Thread d . sachinextc
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 did the following : void * addr = ioremap(phy_addr, length); unsigned x = readl(addr); Where phy_addr is the physical address (0x4802a000)

[beagleboard] UART Register in BBB for writing a device driver.

2015-07-28 Thread d . sachinextc
Hi I am trying to get started with embedded linux. I bought a Beagle bone black Rev C. It came with Debian linux kernel version 3.8, I understand x86 architecture uses PC16550d IC UART hardware and its register address can be seen in /proc/ioports. I was wondering if I can get information on