Re: Defaulting serial communication to 115200 bps for FreeBSD 14
Date: Wed, 16 Aug 2023 07:10:57 UTC
On Tue, 15 Aug 2023 21:02:57 -0700 Cy Schubert <Cy.Schubert@cschubert.com> wrote: > Cheers, > Cy Schubert <Cy.Schubert@cschubert.com> > FreeBSD UNIX: <cy@FreeBSD.org> Web: https://FreeBSD.org > NTP: <cy@nwtime.org> Web: https://nwtime.org > > e^(i*pi)+1=0 > > message dated "Tue, 15 Aug 2023 17:18:37 -0400." > Mime-Version: 1.0 > Content-Type: text/plain; charset=us-ascii > -------- > In message <CAPyFy2DFVp1BfwwY0czHU7XRZhOLYyF1tAr7MvbmXZ6ALSD==w@mail.gmail.c > om> > , Ed Maste writes: > > FreeBSD currently uses 9600 bps as the default for serial > > communication -- in the boot loader, kernel serial console, /etc/ttys, > > and so on. This was consistent with most equipment in the 90s, when > > these defaults were established. Today 115200 bps seems to be much > > more common, and I'm proposing that we make it the default for FreeBSD > > 14.0. > > > > I have a review open: https://reviews.freebsd.org/D36295. There are a > > few minor nits in the review to be addressed still but assuming > > there's general agreement I'll iterate on those and commit this in a > > few logical chunks. > > > > There should probably be an UPDATING entry for those who use boot0 to > revert back to 9600 in that case. Not read the diff though, if the baud rate is re-initialized in boot1 or later (including btx, loader, kernel and userland) and handshake again, most of the boot process and later would run at 115200 bps. -- Tomoaki AOKI <junchoon@dec.sakura.ne.jp>