Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Mar 2023 11:42:29 -0700
From:      Steve Rikli <sr@genyosha.net>
To:        bob prohaska <fbsd@www.zefox.net>
Cc:        Marcin Cieslak <saper@saper.info>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: Boot stops at loader after build/install cycle
Message-ID:  <ZCXYFRkGyBmHPc6h@dragon.home.genyosha.net>
In-Reply-To: <20230330152728.GA79440@www.zefox.net>
References:  <20230327164919.GA65182@www.zefox.net> <CANCZdfrwUXgL8K-ZXMS770oM7W8WyVEPSQt9acbUhFfk1D032A@mail.gmail.com> <ZCHV57OZuXxI5xu3@dragon.home.genyosha.net> <20230327183055.GB65182@www.zefox.net> <44509923-0218-5no7-42pp-90ss0sns9457@fncre.vasb> <20230329164845.GA75320@www.zefox.net> <or45n234-96pp-9sn7-2qpn-s2np14776oo3@fncre.vasb> <ZCThLNuAuBhSSH1h@dragon.home.genyosha.net> <20230330152728.GA79440@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 30, 2023 at 08:27:28AM -0700, bob prohaska wrote:
> On Wed, Mar 29, 2023 at 06:09:00PM -0700, Steve Rikli wrote:
> > On Thu, Mar 30, 2023 at 12:24:13AM +0000, Marcin Cieslak wrote:
> > > 
> > > Looks like the bootloader tries to send/receives some terminal control
> > > sequences and this fails, interupting the autoboot.
> > 
> > It may be something along those lines. When I was getting loader stops
> > during reboot on my rpi4, my guess was the default FreeBSD speed 9600
> > vs. my serial terminal server setting of 115200 was causing stray
> > characters on the line during boot, loader interpretted that as a
> > keystroke, so it stopped.
> 
> Where are you setting the serial console to 9600 baud? AIUI the
> Pi defaults to 115200, can it be set in config.txt? 

I think you're right -- FreeBSD amd64 defaults to 9600 according to
boot(8), but arm64 has 115200 compiled, in device tree?

Fwiw I typically set "-Dh -S<speed>" in /boot.config on PC's, but now
I'm realizing that may be ignored by arm platforms?

In theory serial speed can be set in config.txt (e.g. init_uart_baud)
but that may be a linux-ism, I don't know if FreeBSD will use it.

I was admittedly focusing on FreeBSD loader config rather than Pi
settings, though; maybe it can be set in /boot/loader.conf if needed,
e.g. comconsole_speed?

Cheers,
sr.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZCXYFRkGyBmHPc6h>