From nobody Fri Mar 31 15:50:26 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Pp4W85Rpsz42vQB for ; Fri, 31 Mar 2023 15:50:28 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pp4W81yVhz4GhZ for ; Fri, 31 Mar 2023 15:50:28 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; none Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.17.1/8.15.2) with ESMTPS id 32VFoRrl083567 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 31 Mar 2023 08:50:27 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.17.1/8.15.2/Submit) id 32VFoQTq083566; Fri, 31 Mar 2023 08:50:26 -0700 (PDT) (envelope-from fbsd) Date: Fri, 31 Mar 2023 08:50:26 -0700 From: bob prohaska To: Steve Rikli Cc: Marcin Cieslak , "freebsd-arm@freebsd.org" Subject: Re: Boot stops at loader after build/install cycle Message-ID: <20230331155026.GA83538@www.zefox.net> References: <20230327164919.GA65182@www.zefox.net> <20230327183055.GB65182@www.zefox.net> <44509923-0218-5no7-42pp-90ss0sns9457@fncre.vasb> <20230329164845.GA75320@www.zefox.net> <20230330152728.GA79440@www.zefox.net> List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4Pp4W81yVhz4GhZ X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Thu, Mar 30, 2023 at 11:42:29AM -0700, Steve Rikli wrote: > 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? > Looks to me as if FreeBSD on the Pi4 sticks with 115200 as the serial console speed. Trying to connect to a freshly-booted -current Pi4 using cu -l cuaU0 -s 9600 results in a clear baud mismatch. Using -s 115200 connects promptly, showing a login prompt. Thanks for writing, bob prohaska