NetBSD Problem Report #59193

From www@netbsd.org  Mon Mar 17 22:26:21 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 574571A9239
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 17 Mar 2025 22:26:21 +0000 (UTC)
Message-Id: <20250317222620.4F4711A923C@mollari.NetBSD.org>
Date: Mon, 17 Mar 2025 22:26:20 +0000 (UTC)
From: lloyd@must-have-coffee.gen.nz
Reply-To: lloyd@must-have-coffee.gen.nz
To: gnats-bugs@NetBSD.org
Subject: clear=0 in boot.cfg doesn't work with EFI evbarm
X-Send-Pr-Version: www-1.0

>Number:         59193
>Category:       misc
>Synopsis:       clear=0 in boot.cfg doesn't work with EFI evbarm
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 17 22:30:00 +0000 2025
>Originator:     Lloyd Parkes
>Release:        10.99.12
>Organization:
>Environment:
NetBSD armv7 10.99.12 NetBSD 10.99.12 (GENERIC) #9: Sun Mar 16 10:35:15 NZDT 2025  lloyd@cartographer.must-have-coffee.gen.nz:/home/lloyd/NetBSD/build/hg/pinctrl2/objdir.evbarmv7-el/sys/arch/evbarm/compile/GENERIC evbarm
>Description:
On the evbarm platform the option to avoid clearing the screen doesn't work.

The NetBSD EFI bootloader unconditionally calls the EFI console reset function. The U-Boot EFI console code for the serial console has the obnoxious behaviour of clearing the screen and setting custom colours that the author thought were appropriate for my computer.

>How-To-Repeat:
Boot an evbarm system via EFI with clear=0 in boot.cfg.

>Fix:
Remove the console reset call from the NetBSD EFI bootloader. 

This will work fine on all evbarm with a serial console. 
I expect it to work fine on PCs.
Maybe it will work fine on evbarm systems with a graphical console.
Goodness only knows what will happen on a Mac.

These will all need to be tested.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.49 2026/05/14 01:52:41 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.