From nobody Fri Feb 11 17:17:14 2022
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 AABA819C2D36
	for <freebsd-arm@mlmmj.nyi.freebsd.org>; Fri, 11 Feb 2022 17:17:19 +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 4JwKzv6Vmxz4kt8
	for <freebsd-arm@freebsd.org>; Fri, 11 Feb 2022 17:17:15 +0000 (UTC)
	(envelope-from fbsd@www.zefox.net)
Received: from www.zefox.net (localhost [127.0.0.1])
	by www.zefox.net (8.16.1/8.15.2) with ESMTPS id 21BHHFDr033682
	(version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO);
	Fri, 11 Feb 2022 09:17:15 -0800 (PST)
	(envelope-from fbsd@www.zefox.net)
Received: (from fbsd@localhost)
	by www.zefox.net (8.16.1/8.15.2/Submit) id 21BHHFsH033681;
	Fri, 11 Feb 2022 09:17:15 -0800 (PST)
	(envelope-from fbsd)
Date: Fri, 11 Feb 2022 09:17:14 -0800
From: bob prohaska <fbsd@www.zefox.net>
To: freebsd-arm@freebsd.org
Cc: bob prohaska <fbsd@www.zefox.net>
Subject: Loader pauses on Pi4 without input
Message-ID: <20220211171714.GA33662@www.zefox.net>
List-Id: Porting FreeBSD to ARM processors <freebsd-arm.freebsd.org>
List-Archive: https://lists.freebsd.org/archives/freebsd-arm
List-Help: <mailto:freebsd-arm+help@freebsd.org>
List-Post: <mailto:freebsd-arm@freebsd.org>
List-Subscribe: <mailto:freebsd-arm+subscribe@freebsd.org>
List-Unsubscribe: <mailto:freebsd-arm+unsubscribe@freebsd.org>
Sender: owner-freebsd-arm@freebsd.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Rspamd-Queue-Id: 4JwKzv6Vmxz4kt8
X-Spamd-Bar: -
Authentication-Results: mx1.freebsd.org;
	dkim=none;
	dmarc=none;
	spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net
X-Spamd-Result: default: False [-1.07 / 15.00];
	 RCVD_TLS_ALL(0.00)[];
	 ARC_NA(0.00)[];
	 WWW_DOT_DOMAIN(0.50)[];
	 MID_RHS_MATCH_FROM(0.00)[];
	 FROM_HAS_DN(0.00)[];
	 TO_DN_SOME(0.00)[];
	 NEURAL_HAM_MEDIUM(-0.97)[-0.969];
	 NEURAL_HAM_LONG(-1.00)[-1.000];
	 MIME_GOOD(-0.10)[text/plain];
	 DMARC_NA(0.00)[zefox.net];
	 AUTH_NA(1.00)[];
	 TO_MATCH_ENVRCPT_SOME(0.00)[];
	 BLOCKLISTDE_FAIL(0.00)[50.1.20.27:server fail];
	 RCPT_COUNT_TWO(0.00)[2];
	 NEURAL_HAM_SHORT(-1.00)[-1.000];
	 MLMMJ_DEST(0.00)[freebsd-arm];
	 R_SPF_NA(0.00)[no SPF record];
	 FROM_EQ_ENVFROM(0.00)[];
	 R_DKIM_NA(0.00)[];
	 MIME_TRACE(0.00)[0:+];
	 ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US];
	 RCVD_COUNT_TWO(0.00)[2];
	 MID_RHS_WWW(0.50)[]
X-ThisMailContainsUnwantedMimeParts: N
Status: O
Content-Length: 1460
Lines: 40

A Pi4 running -current updated yesterday boots fine from a
USB hard disk, but for some reason pauses at the loader prompt
despite not getting any input on the serial console. There is a
monitor/keyboard connected, but the monitor is powered off and
the keyboard is out of reach, so I didn't bump it.

Is there a software switch somewhere that controls this
behavior? Eventually I'll want the machine to come up
hands-off, though for now there's no harm in typing the
boot command. 

Here's a snippet of serial console output:

Loading kernel...
/boot/kernel/kernel text=0x2a8 text=0x84ad60 text=0x247fd4 data=0x1b92a8 data=0x0+0x40d000 syms=[0x8+0x1331a0+0x8+0x15a6c1]
Loading configured modules...
/boot/kernel/filemon.ko text=0x1867 text=0x2558 data=0x510+0x20 syms=[0x8+0xd08+0x8+0x7c9]
/etc/hostid size=0x25
/boot/kernel/umodem.ko text=0x2100 text=0x13a0 data=0x6d8+0x10 syms=[0x8+0xf18+0x8+0xb5c]
loading required module 'ucom'
/boot/kernel/ucom.ko text=0x2590 text=0x2f00 data=0x8e0+0x858 syms=[0x8+0x1290+0x8+0xbd5]
/boot/entropy size=0x1000

Hit [Enter] to boot immediately, or any other key for command prompt.


Type '?' for a list of commands, 'help' for more detailed help.
OK boot
Using DTB provided by EFI at 0x7ef0000.
EFI framebuffer information:
addr, size     0x3e22c000, 0x8ca000
dimensions     1920 x 1200
stride         1920
masks          0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000


Thanks for reading, and any hints.

bob prohaska