Date: Mon, 23 Jan 2017 12:44:00 -0800 From: Oleksandr Tymoshenko <gonzo@bluezbox.com> To: Dustin Marquess <dmarquess@gmail.com> Cc: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: Getting the kernel to let go of my UART! Message-ID: <20170123204400.GA73924@bluezbox.com> In-Reply-To: <20170123204206.GA73799@bluezbox.com> References: <CAJpsHY4LEdtnTVVz3nrpQcLFePwNnVQ_RdZ3k-2VMaf=HAJ-9A@mail.gmail.com> <48f8cbc1-3814-b9f6-0e3a-ebe97466d1df@selasky.org> <CAJpsHY6Wsoi14YMR3nM_OwfZphqF7rA5-E=SGfB0sM5EXfP9KA@mail.gmail.com> <20170122190659.GA62786@bluezbox.com> <CAJpsHY4Q%2BnpLa7QsN7%2BWOPP9EF65EEakGgxUnW3cmOJ4p0iQMQ@mail.gmail.com> <CAJpsHY5JedMAG88ThNMTFiWb02TyGAPzLfMiOG0_0=p7%2BPXDhg@mail.gmail.com> <20170123204206.GA73799@bluezbox.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Oleksandr Tymoshenko (gonzo@bluezbox.com) wrote: > Dustin Marquess (dmarquess@gmail.com) wrote: > > Okay, maybe the console thing was a red herring then. > > > > It's not marking it as a console at all anymore, but something is > > still locking the baud rate to 115200. Even though stty and minicom > > are both set to 9600, anything set/received at 9600 doesn't work/is > > garbled. If I set it to 115200, it works fine. I had wrongly assumed > > it was because of it marking it as a console (since the console line > > in dmesg said 115200). > > > > Device map? enable_uart=1 aka core_freq= maybe? I'll try tinkering.. > > It might be a problem with the driver itself. From a quick glance, > PL011 driver sets baudrate only if it has reference clock frequency > which doesn't seem to be the case for RPi. If reference clock > frequency is unknown divider register is left untouched. > > According to this document: http://elinux.org/RPiconfig you can > set initial baudrate in config.txt using init_uart_baud variable Also if you use u-boot divider register can be overridden by U-Boot intialization routine. -- gonzo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170123204400.GA73924>