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 UART hardware for BBB and its corresponding register address
Thanks.
Is this what you’re after ?
debian@beaglebone:~$ sudo apt-get update
debian@beaglebone:~$ sudo apt-get install setserial
debian@beaglebone:~$ sudo setserial -g /dev/ttyS[0123]
/dev/ttyS0, UART: 8250, Port: 0x0000, IRQ: 155
/dev/ttyS1, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS2, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS3, UART: unknown, Port: 0x0000, IRQ: 0
Anyway, if you’re unfamiliar with setserial I’d advise to run setserial -h first, and heed the warning near the end.
I was wondering if I can get information on UART hardware for BBB and its corresponding register address
Ah, ok I see. You’re wanting to get this information on existing, and running hardware. Or are you asking how does one know what to use for a base address ?
Programmatically? or documentation?