Testing low level UART driver

Greg KH greg at kroah.com
Thu Jan 25 02:34:52 EST 2018


On Thu, Jan 25, 2018 at 12:46:01PM +0530, Muni Sekhar wrote:
> On Wed, Jan 24, 2018 at 8:53 PM, Greg KH <greg at kroah.com> wrote:
> > On Wed, Jan 24, 2018 at 08:43:56PM +0530, Muni Sekhar wrote:
> >> On Wed, Jan 24, 2018 at 6:52 PM, Greg KH <greg at kroah.com> wrote:
> >> > On Wed, Jan 24, 2018 at 06:46:06PM +0530, Muni Sekhar wrote:
> >> >> Hi All,
> >> >>
> >> >> Does Linux kernel tree has any standard utilities to test any low
> >> >> level UART driver?
> >> >
> >> > What do you mean by "low level UART driver"?
> >> bcm63xx_uart.c
> >>
> >> >
> >> > Have you tried one of the many different userspace serial port tools?
> >> I tried only minicom. Could you let me know the best userspace serial
> >> port tools.
> >
> > What doesn't work with minicom?  That's a really good tester given that
> > it exercises the tty layer a lot.
> 
> I’m trying to record throughput achieved with different baud rates in
> loopback mode. Does minicom support this?

Not that I know of, but it would be pretty simple to write a program to
do that.

good luck!

greg k-h



More information about the Kernelnewbies mailing list