NetBSD Problem Report #57117

From  Sun Dec 18 12:10:42 2022
Return-Path: <>
Received: from ( [])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id 4A1131A921F
	for <>; Sun, 18 Dec 2022 12:10:42 +0000 (UTC)
Message-Id: <>
Date: Sun, 18 Dec 2022 13:10:27 +0100 (MET)
Subject: overlay path changed with armboot.efi
X-Send-Pr-Version: 3.95

>Number:         57117
>Category:       port-arm
>Synopsis:       overlay path changed with armboot.efi
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-arm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 18 12:15:00 +0000 2022
>Originator:     Michael van Elst
>Release:        NetBSD 10.99.1


System: NetBSD gruezm 10.99.1 NetBSD 10.99.1 (GRUEZM) #60: Sun Dec 18 11:21:37 UTC 2022 mlelstv@slowpoke:/home/netbsd-current/obj.earmv7hf/scratch/netbsd-current/src/sys/arch/evbarm/compile/GRUEZM evbarm
Architecture: earmv7hf
Machine: evbarm
In netbsd-9 bootarm.efi would interpret a boot.cfg file on the EFI

Lines like:


would load DTB overlays from a subdirectory on the EFI partition.

With netbsd-current, the bootloader complains that the files cannot
be found and stops without even loading the kernel.

Creating an overlays directory on the root partition with the required
files makes bootarm.efi happy again.

Changing the lines to e.g.:


to make it compatible with old and new bootloader doesn't work. While
the bootloader accepts the path to the EFI partition, this also changes
the path to the root partition for the kernel (now hd0e:/).

Update from netbsd-9 bootarm.efi to netbsd-current bootarm.efi.
Make dtoverlay always default to the EFI partition (where dtb files and
overlays reside) and let it preserve the root device.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2022 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.