From nobody Sat Sep 26 23:03:03 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=fvhovell.nl ARC-Seal: i=1; a=rsa-sha256; t=1787143472; cv=none; d=zohomail.com; s=zohoarc; b=iEXNJ5K15dHhyubRlnyPHm4xdO0F5VLJsLFT7ZMYQjL+AmExJQ6C0Yw9JKKkyNwMnfrIQrj5XeNHeaO1NqZrKscTdIuQQXDVsNdTmKtbkviYpZhptCEGBQfLepyAdL1dUsHdj2QrmGHROaYZifpNBzg4GcwsrGkLmQHXWDm3NHk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787143472; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=e4L5h0rIR2MSXkN+TKrBKcLE783NPx32/GwBNHF6fLM=; b=QdHTxYnPh9lfbsScrRCHST+7UnyopBifmeIcYycDAVWm2hVFLh/E69Aajpl0iWg/5kdc0jvpBDerXA+ibWrDn9NAiOG5GO9xO1MpzoKCtqkgcaGQiL2YWMjCh3EhgAaw+2egKid2sOAX73ZlHa1UtIHU89QLrBReujiOT+olvXo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787143471907201.8495509123527; Wed, 19 Aug 2026 05:44:31 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wwfdp-000813-Hi; Wed, 19 Aug 2026 08:43:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wwfOH-0004cq-OV; Wed, 19 Aug 2026 08:27:33 -0400 Received: from outbound.soverin.net ([2a10:de80:1:4091:b9e9:2212:0:1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1wwfOE-0003AQ-Dv; Wed, 19 Aug 2026 08:27:33 -0400 Received: from smtp.freedom.nl (unknown [10.10.4.107]) (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) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 4hQ5Ry0HXhz1Plp; Wed, 19 Aug 2026 12:27:26 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.107]) by freedom.nl (Postfix) with ESMTPSA id 4hQ5Rw5t8zzQQ; Wed, 19 Aug 2026 12:27:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fvhovell.nl; s=soverin; t=1787142445; bh=fIGCt0HuhqRiwHHqhQVNywIZD8sxFC9pKN5As+LLnqU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ox4Xzv7ZZGSQ0Ru1pz1UCWYs/VYIq8ljhMuSTpNX2vUa8tz5xjzK33qWV2Q34PmkE gsjjElUGvHs6FSJrRLA9eWYsTKt345i627vO3caZLNG+qTMmyz89QzKYjgSbEOzAMT sCfAdK2FPgm1VgGeLjpoqWJoJ+Io2qhEPiGGkO/Mh6Y0ElJWKUPAR+/6nalcf1Luzq avpFbhhqlepupr1KpPun6uCO13PFj5acssb6Mp6WK9zwvAz+EFSZw1ALDIExOhXmgD bdvBXnvyk+07rxsfClJ4FfHvB/fsxq6irIwt1jDicrf2VYEthNLTH0mCsAXphCkfCn FLdjt+zEq3FuQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fvhovell.nl; s=soverin1; t=1787142445; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=e4L5h0rIR2MSXkN+TKrBKcLE783NPx32/GwBNHF6fLM=; b=kopZPLDje1WrFJ3IyZxGtIZJRqMhSsCnY77M6Wwaz89ElkLcq4Yw8Xk4BJEWEDKYlnzbt3 X4gKFEvTiwNhAbw9WOrX6D4IYr+BjyK9heTPpyezgqcaN7DCDRJREvXNNTGhvvD5dBLzaR kSogWWTLKw5lefGgXVYvF8za+dGK40S3ZVJVQk+5FEiXPRJzh3+wbzMDbiORtBIw5DK620 EZihFO6e5cTHDyIRrrDTkbXexitEVWP8wQziBVVrOZaLmd4CzJWBr7+79lM4AxAiU+RbUU kUm4c6fWgFPpARclx//LKbT2yeYyp1weMlBw0+BLtLRyMbr1FbEyxGJcegQqkg== X-CM-Envelope: MS4xfJHMb/pf0EDw4TA83x9VluMoi+zj/oWCDoDAph5dMnI1y26HJ7X2B3UM9gcQM+e94Gl7u8cWTH/ZuXFf7f2HoLuKWWrAA9Pgml4haGfwN3+XuDtXrXlb f++ax980722iyQT7DswIIqsDRVt3hxbPBE58ocK8zABA0K7bmsFHlfwu8PXLIlMAl1yQFVucmXC0yIibT7cWbPFlML/9LIj8d0jquLk4S+CZ6RnaHwXmwd5y j3/FKxz40LbxB8W+APm8/fNxjweIT9l9FZKW4p1qZML77C45zU7ULWAFJxfDlbLSKAopAnoZutgYSvLd/3S6ueKnyNUWTyznytbYZmerSC2mc2Xnfg6Ahx91 RM2mRPS2tBvCahntakPBFUWvz/vgfJdzXoZ3GwBY8n6RGTd5m1I= X-Soverin-Id: 01a019fd-97c8-7503-a165-d6922a5c24cc From: opensource@fvhovell.nl To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, "Peter Maydell" , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Frederik=20van=20H=C3=B6vell?= Subject: [PATCH 1/4] hw/misc/bcm2835_property: fix RPI_FWREQ_FRAMEBUFFER_ALLOCATE response Date: Wed, 19 Aug 2026 14:26:59 +0200 Message-ID: <20260819122702.54173-2-opensource@fvhovell.nl> In-Reply-To: <20260819122702.54173-1-opensource@fvhovell.nl> References: <20260819122702.54173-1-opensource@fvhovell.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Spampanel-Class: ham Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=2a10:de80:1:4091:b9e9:2212:0:1; envelope-from=opensource@fvhovell.nl; helo=outbound.soverin.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 19 Aug 2026 08:43:31 -0400 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @fvhovell.nl) X-ZM-MESSAGEID: 1787143474100158500 From: Frederik van H=C3=B6vell The value is used as framebuffer base address, but seen from the VideoCore[= 4-6] processor view of memory. This GPU view uses an offset of 0xc0000000 (i.e. bits 30 and 31 always set = to 1), compared to the CPU memory view. Above interpretation can be found in below kernels: - UEFI firmware [edk2-platforms](https://github.com/tianocore/edk2-platfo= rms/blob/306137738faf9f31eba9823d0f818397755cedaf/Platform/RaspberryPi/Driv= ers/RpiFirmwareDxe/RpiFirmwareDxe.c#L1045) - [Upstream linux](https://github.com/torvalds/linux/blob/0031c06807cfa8a= a51a759ff8aa09e1aa48149af/drivers/gpu/drm/vc4/vc4_drv.c#L312) - [RaspberryPi linux](https://github.com/raspberrypi/linux/blob/3e44c7fdf= 879208adf51be589d60962269d25d18/drivers/video/fbdev/bcm2708_fb.c#L464C1-L46= 6C29) Signed-off-by: Frederik van H=C3=B6vell --- hw/misc/bcm2835_property.c | 3 ++- include/hw/display/bcm2835_fb.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hw/misc/bcm2835_property.c b/hw/misc/bcm2835_property.c index 216a746c2bd..a90c7e6c863 100644 --- a/hw/misc/bcm2835_property.c +++ b/hw/misc/bcm2835_property.c @@ -168,7 +168,8 @@ static void bcm2835_property_mbox_push(BCM2835PropertyS= tate *s, uint32_t value) /* Frame buffer */ =20 case RPI_FWREQ_FRAMEBUFFER_ALLOCATE: - stl_le_phys(&s->dma_as, value + 12, fbconfig.base); + stl_le_phys(&s->dma_as, value + 12, + fbconfig.base | BCM2836_DMA_DEVICE_OFFSET); stl_le_phys(&s->dma_as, value + 16, bcm2835_fb_get_size(&fbconfig)); resplen =3D 8; diff --git a/include/hw/display/bcm2835_fb.h b/include/hw/display/bcm2835_f= b.h index f7ef076f1f4..bcc87ad5390 100644 --- a/include/hw/display/bcm2835_fb.h +++ b/include/hw/display/bcm2835_fb.h @@ -15,7 +15,8 @@ #include "hw/core/sysbus.h" #include "qom/object.h" =20 -#define UPPER_RAM_BASE 0x40000000 +#define UPPER_RAM_BASE 0x40000000 +#define BCM2836_DMA_DEVICE_OFFSET 0xc0000000 =20 #define TYPE_BCM2835_FB "bcm2835-fb" OBJECT_DECLARE_SIMPLE_TYPE(BCM2835FBState, BCM2835_FB) --=20 2.55.0 From nobody Sat Sep 26 23:03:03 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=fvhovell.nl ARC-Seal: i=1; a=rsa-sha256; t=1787143448; cv=none; d=zohomail.com; s=zohoarc; b=lpubM7IFYzxCtPORClOMTnYz6iO+Pbsvuzd+TopLgFMeVEjZXnMe+El4E4ZKAGcXezt+WeDfqkPtAaJEbojqxMAACikU/dShPmVC9iORpB3FQjpBRhTXvFBcGae5ix6i/9EfsjSmaYODY6DlMTO0oY5TD6bDNWHbRKAZboc8mFA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787143448; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=qOxko42FwzNrWnp98S7fFjV2Mtjg8Ijo2ZXdxnBCaOs=; b=DeUzEEhCT3SZCJVLH6BvTfwETpSIO2DAzACkZeUDpDelCigjoHvG6qKA/MJsHVdvqx+PA5yPPfRO5wXDr5778ebjzfG3+Poan/ALKyV12abhaskUEstAa9xFuIo8E6OssJ2hWxunwQtT2Ov8I4L5CkrZN9v6B00hwPaXU+maX2Q= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787143447345917.1558776287552; Wed, 19 Aug 2026 05:44:07 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wwfds-0008Ds-7A; Wed, 19 Aug 2026 08:43:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wwfOH-0004cj-HP; Wed, 19 Aug 2026 08:27:33 -0400 Received: from outbound.soverin.net ([2a10:de80:1:4092:b9e9:2292:0:1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1wwfOE-0003Ac-ED; Wed, 19 Aug 2026 08:27:33 -0400 Received: from smtp.freedom.nl (unknown [10.10.4.107]) (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) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 4hQ5Rz1pd4z1yY0; Wed, 19 Aug 2026 12:27:27 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.107]) by freedom.nl (Postfix) with ESMTPSA id 4hQ5Ry0KLsz40; Wed, 19 Aug 2026 12:27:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fvhovell.nl; s=soverin; t=1787142447; bh=10EQ17zKmqOuyw1lqd3ROatsVrfnpqopHxdMwTJ4i0A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fUtJvwOYH+zEYa4QrLRKpHli3kCUarHEx2RaeSBDisofZVzHKhTdT7KBJv/9UVCgk vKA6OJ0Ba/AZPMjqTEG028CvWAPDmmlDkx+QO2IkWFKyVd4SmoVGk+6i2+MIbPMJAq /RSbp/SZlHVk9e8+CWkOcl52LMqX2v/64+iG2eXa6pX4u7nGH5XumBNieKeKT7nxeJ 9/PlljU2E99E3b1XAUwcWsir6p3hmf1j4RSsJaaSQHAtXGeTVuA+DLDfU2gzXx0yUi RqseuUQWoSHxdxLbqFioWES0QlYlhq3X2mHPynT3ktRoHOUj1TNNJLXEdoT4heH6H/ pZfQFjZK8bzsQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fvhovell.nl; s=soverin1; t=1787142447; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qOxko42FwzNrWnp98S7fFjV2Mtjg8Ijo2ZXdxnBCaOs=; b=U9bmtwuSGlz1oDXnuheu/VPNpwwlGNX2TqguVoQ4mBxcAZW35cRNlezufIByMGjvWmmZp9 yhlNsSl4aiSx2UbIQoeHdNrCXeCMc0xfc3WdC10xEcnwq46p/D4uQp4xNeOJxG8QqZguDE fQOKIh+r23zIV4Hat66PLAoQQJ2gskcci/67EizJ8S3XJ8Qp7yVVwflb9obGXtqQdytKXX hvpeW/l5ZLiT3y3EZNr++y5y6YXjnd8rI7KSfRPIaKJt/z3qhk4xaLeBxZELJ8xULMsr8h VMv4k5XRU+R2IduVTv+z0GnOv4glnIyPqNxZSfBqCb4ZRBpwB+uFiVIpaLMY7w== X-CM-Envelope: MS4xfE723QWRCKY6uc5u+rPv9wBTPOglQWor71PXGBu2wAxYbR5ADYeOLHT1LWLbEwfhWn6amtkHJFlteuDMdlgQww2dPpMvAHlOOfX63imgr+mK0s7d11w9 2WslY9UX9jSXQG0om55oncPSZs+2h6Qo0WwSfcHE30sJ7vF8GCOVK+FZw7wh4cnteVkyOnAknRtSK17gWVyzuTT4+jzCfZ4unwmqcveLDtY66wtrxmFlDtvw 4xCYOiipfCAYxyFH+O/CcmDb3ab9EX4uiM9KKT5NM3O3hbv1PY28V9brPdCTBG66msv2jB72Mp6PJAcFzzcKgr4JjP0N54CFbQrNCGNF4APcyF79gkhYFNUT /x2c3mqOhdkSi5NdNXdEKGwwVyjjELvAWeZV5bSadn2AuYr56NM= X-Soverin-Id: 01a019fd-9f98-7118-a8eb-2c5918e87969 From: opensource@fvhovell.nl To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, "Peter Maydell" , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Frederik=20van=20H=C3=B6vell?= Subject: [PATCH 2/4] hw/misc/bcm2835_property: fix RPI_FWREQ_GET_FIRMWARE_REVISION response Date: Wed, 19 Aug 2026 14:27:00 +0200 Message-ID: <20260819122702.54173-3-opensource@fvhovell.nl> In-Reply-To: <20260819122702.54173-1-opensource@fvhovell.nl> References: <20260819122702.54173-1-opensource@fvhovell.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Spampanel-Class: ham Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=2a10:de80:1:4092:b9e9:2292:0:1; envelope-from=opensource@fvhovell.nl; helo=outbound.soverin.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 19 Aug 2026 08:43:31 -0400 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @fvhovell.nl) X-ZM-MESSAGEID: 1787143449645158500 From: Frederik van H=C3=B6vell The returned value for revision is interpreted as an unix epoch timestamp a= fter year 2000 by EDK2 for RPi3/4 boards. EDK2 firmware uses the revision to show as human-readable 'year.month', and= asserted to have year between 2000 and 2255 (both inclusive). See [PlatformSmbiosDxe.c](https://github.com/tianocore/edk2-platforms/blob/= master/Platform/RaspberryPi/Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.c#L= 763). Signed-off-by: Frederik van H=C3=B6vell --- hw/misc/bcm2835_property.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/misc/bcm2835_property.c b/hw/misc/bcm2835_property.c index a90c7e6c863..a705e44b1fe 100644 --- a/hw/misc/bcm2835_property.c +++ b/hw/misc/bcm2835_property.c @@ -52,7 +52,8 @@ static void bcm2835_property_mbox_push(BCM2835PropertySta= te *s, uint32_t value) case RPI_FWREQ_PROPERTY_END: break; case RPI_FWREQ_GET_FIRMWARE_REVISION: - stl_le_phys(&s->dma_as, value + 12, 346337); + // Use timestamp of first released Raspberry Pi as minimum 're= vision': 2012-02-29T00:00:00.000Z + stl_le_phys(&s->dma_as, value + 12, 1330473600); resplen =3D 4; break; case RPI_FWREQ_GET_BOARD_MODEL: --=20 2.55.0 From nobody Sat Sep 26 23:03:03 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=fvhovell.nl ARC-Seal: i=1; a=rsa-sha256; t=1787143484; cv=none; d=zohomail.com; s=zohoarc; b=RsLpWr8JYP9OHbka9EInVZOzf1BfINJ5cuj8t7BSgraBxVEhtkdD4GczALgTkSnMALgEa1ByeKsNircpEs3oyXODInKoihqflkLPugFDDt+CE6Zvna0QGsro0MYtUyQ1ZeMjmarMEB2+C0E+duuumkL3fLpC6n7ZMXsoq8Aw6tE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787143484; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=pyMUscUJzQccMg0Dy0oDzVQzZKQaEVKGa0eTI94X+pI=; b=We5CYx2yEqd1Qjigm9vlDqRFh+W37MNs18Tiw2CvHWfuVty/Y/MVJ2kClIXsW4Q/lJaMK1vwP71BG/RCivCn9wescIzm+u5wQeO5Gd/SMijIuh5GDK0EmoGrPu4iqdUkTKB5k6bibnsrgKNaRo3aPLSHCxKjacvYy5+XNkpwUEI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 178714348444318.20550054684304; Wed, 19 Aug 2026 05:44:44 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wwfdn-00080g-92; Wed, 19 Aug 2026 08:43:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wwfOG-0004cK-Ab; Wed, 19 Aug 2026 08:27:32 -0400 Received: from outbound.soverin.net ([185.233.34.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1wwfOE-0003Ai-9W; Wed, 19 Aug 2026 08:27:32 -0400 Received: from smtp.freedom.nl (unknown [10.10.4.107]) (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) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 4hQ5S03FCGz1Plr; Wed, 19 Aug 2026 12:27:28 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.107]) by freedom.nl (Postfix) with ESMTPSA id 4hQ5Rz1r9vzQQ; Wed, 19 Aug 2026 12:27:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fvhovell.nl; s=soverin; t=1787142448; bh=Zt7X8g+BYQeA6Fi9nt+gvcWUPGKEFYNiUind+mA1MXE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qI6M9HRyXbPO3JfurIO6FjaeEfwY2Za1tAPXbYbT3NqygN9lav2ox3Lt9RTzvJ8UV NqDDnUT7YM55URXpNQKrjFHFDvdgu7D+6VePrCLhRvLY7bL4G2PoDNrGXHD6DVdQXx 2TK+EITtHIT7y8dr6gDJ/4v0Nd3zg9UKU0VLvdTNCTafxAE6wx89v9XQ2TX8CwqDsF uJAXizKf+JiqYh1/nAqB5BWMIN/5KuoXDCnBMJsX/lUatZ0KPVX6Z3qbe1aMYrp4jk SNSGb8KY3W0ju5Ry2k/KrBYV4J71CLhAEy5ZK17JWWgsySPYM6N7iV1cXHt/Gk/NjU T6Abh7apMlLWA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fvhovell.nl; s=soverin1; t=1787142448; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pyMUscUJzQccMg0Dy0oDzVQzZKQaEVKGa0eTI94X+pI=; b=c1V6UABa+0F5j+z6cw7BFSxMRvmowrYTryc06Zi2C3+6oSnVwD+9+FkEhcz2wLiugcztoY EeVtF6Dp2AW3MuoVO5rdzuyKRJWyk+knTvazgYp30yZfLHSDV1dVumolslaFCleXYBqh0l VhoqmqllFARTBS4xmVg14SFchbTdCnjhSZPYv/7ogBu3YWEqMxUD0cAE2Q86fTFWWv9/J8 3s3M4/jmSELlsIk2HJhvziZb7Je7Nmj4zm+XVx1meuDIp/1uE5dLq6HiqOn42/K/DaL367 1xxd9mT/IP78/0zz5+JFnEbA6cMXLbys266cQR1OispxDAQmVjV3/pOLw0SyHA== X-CM-Envelope: MS4xfM9TyRmFwhdpQV/GijNsnd4ecDiIrM5ZeyZXZDNd65cPLys/Foo3Cmg4XLf7rgwku2BN+XH8tjSjvrBhPdJsagJ+zdu56ri6NUCEWTa30RxArp60DaEg XNCEJuMXhAtmt91iBdXSx1lY4Yq3A0+0b7XRW2uFa4sGU1upMwvgguJ5ixQlJb00f7nKxX9CRnLQsNDu47oOZhfRKTHa2deAYj5EE6D31afa2h30/5jxzJbS hmInZDzXEvb9iq7he+Lu2emvlu2oWXfl157bozC4yRK5SciITwQo3oPnVw89BWgc4BZJpKyTpsuhrauf2SC0G9ptetXEgqXJm1mCRRUAOjxJ1SxYwrR6kr1T mBPHKkyoF+jCbY0io0h3n3Ym2evRCk2qvLrgsdj5DlZ67pvLcTw= X-Soverin-Id: 01a019fd-a380-7816-a0da-d0ce7b19ea72 From: opensource@fvhovell.nl To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, "Peter Maydell" , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Frederik=20van=20H=C3=B6vell?= Subject: [PATCH 3/4] hw/arm/raspi: implement booting firmware at 0x0 using -bios on boards 3ap, 3b and 4b Date: Wed, 19 Aug 2026 14:27:01 +0200 Message-ID: <20260819122702.54173-4-opensource@fvhovell.nl> In-Reply-To: <20260819122702.54173-1-opensource@fvhovell.nl> References: <20260819122702.54173-1-opensource@fvhovell.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Spampanel-Class: ham Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=185.233.34.18; envelope-from=opensource@fvhovell.nl; helo=outbound.soverin.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 19 Aug 2026 08:43:31 -0400 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @fvhovell.nl) X-ZM-MESSAGEID: 1787143486200158500 From: Frederik van H=C3=B6vell Signed-off-by: Frederik van H=C3=B6vell --- docs/system/arm/raspi.rst | 12 ++++++++++++ hw/arm/raspi.c | 17 +++++++++++------ tests/functional/aarch64/test_raspi3.py | 12 ++++++++++++ 3 files changed, 35 insertions(+), 6 deletions(-) diff --git a/docs/system/arm/raspi.rst b/docs/system/arm/raspi.rst index 44eec3f1c33..fb912da129b 100644 --- a/docs/system/arm/raspi.rst +++ b/docs/system/arm/raspi.rst @@ -43,3 +43,15 @@ Missing devices * Pulse Width Modulation (PWM) * PCIE Root Port (raspi4b) * GENET Ethernet Controller (raspi4b) + +Boot options +------------ + +The Raspberry Pi models support booting via either a Linux kernel (``-kern= el``) +or UEFI/EDK2 firmware images (``-bios rpi_efi.fd``). + +When booting Raspberry Pi 3 (``raspi3b``, ``raspi3ap``) and Raspberry Pi 4= (``raspi4b``) +boards with EDK2 firmware via ``-bios``, the firmware image is loaded at p= hysical +memory address ``0x0``, matching the platform expectations. Older 32-bit m= odels +(``raspi0``, ``raspi1ap``, ``raspi2b``) load firmware at their respective = legacy addresses +(``0x8000``). diff --git a/hw/arm/raspi.c b/hw/arm/raspi.c index 3f99e87428c..c0b177f8cb1 100644 --- a/hw/arm/raspi.c +++ b/hw/arm/raspi.c @@ -33,8 +33,7 @@ OBJECT_DECLARE_SIMPLE_TYPE(RaspiMachineState, RASPI_MACHI= NE) #define SMPBOOT_ADDR 0x300 /* this should leave enough space for ATAGS = */ #define MVBAR_ADDR 0x400 /* secure vectors */ #define BOARDSETUP_ADDR (MVBAR_ADDR + 0x20) /* board setup code */ -#define FIRMWARE_ADDR_2 0x8000 /* Pi 2 loads kernel.img here by default */ -#define FIRMWARE_ADDR_3 0x80000 /* Pi 3 loads kernel.img here by default */ +#define KERNEL_ADDR_PI2 0x8000 /* Pi 2 loads kernel.img here by default */ #define SPINTABLE_ADDR 0xd8 /* Pi 3 bootloader spintable */ =20 struct RaspiMachineState { @@ -193,7 +192,7 @@ static void setup_boot(MachineState *machine, ARMCPU *c= pu, RaspiProcessorId processor_id, size_t ram_size) { RaspiBaseMachineState *s =3D RASPI_BASE_MACHINE(machine); - int r; + ssize_t r; =20 s->binfo.ram_size =3D ram_size; =20 @@ -226,9 +225,15 @@ static void setup_boot(MachineState *machine, ARMCPU *= cpu, * the normal Linux boot process */ if (machine->firmware) { - hwaddr firmware_addr =3D processor_id <=3D PROCESSOR_ID_BCM2836 - ? FIRMWARE_ADDR_2 : FIRMWARE_ADDR_3; - /* load the firmware image (typically kernel.img) */ + hwaddr firmware_addr; + if (processor_id <=3D PROCESSOR_ID_BCM2836) { + // For RPi 0/1/2 (arm, 32 bit mode) support kernel.img loading= at default address + firmware_addr =3D KERNEL_ADDR_PI2; + } else { + // For RPi 3 or newer boards (aarch64), support edk2 firmware + firmware_addr =3D 0x0; + } + /* Load the firmware image (typically kernel.img or edk2 firmware)= */ r =3D load_image_targphys(machine->firmware, firmware_addr, ram_size - firmware_addr, NULL); if (r < 0) { diff --git a/tests/functional/aarch64/test_raspi3.py b/tests/functional/aar= ch64/test_raspi3.py index ae9eed3589f..709c7221fa4 100755 --- a/tests/functional/aarch64/test_raspi3.py +++ b/tests/functional/aarch64/test_raspi3.py @@ -29,6 +29,18 @@ def test_aarch64_raspi3_atf(self): self.vm.launch() self.wait_for_console_pattern('version UEFI Firmware v1.15') =20 + def test_aarch64_raspi3_bios(self): + efi_name =3D 'RPI_EFI.fd' + efi_fd =3D self.archive_extract(self.ASSET_RPI3_UEFI, member=3Defi= _name) + + self.set_machine('raspi3b') + self.vm.set_console(console_index=3D1) + self.vm.add_args('-cpu', 'cortex-a53', + '-nodefaults', + '-bios', efi_fd) + self.vm.launch() + self.wait_for_console_pattern('version UEFI Firmware v1.15') + =20 if __name__ =3D=3D '__main__': LinuxKernelTest.main() --=20 2.55.0 From nobody Sat Sep 26 23:03:03 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=fvhovell.nl ARC-Seal: i=1; a=rsa-sha256; t=1787143437; cv=none; d=zohomail.com; s=zohoarc; b=OEKbPOWFBfJo7NCFGBt4ByZgatpbJVG1ibQ+JY2iPTCTs7oAdNxhV3k/nW2wBybPuvHI2F0ZLrNCYswOk20FmmuZ8nBb8W2iAwmlyIaO8bF9zerpwX2gCfN9X7Y4lt7GNq2PCXwnaJGLEFOKHkt2rzDiBh80YGz6Zux18yb4M48= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787143437; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=84PrhzbeQahLUde2Vy+bAnQx9PYAr4wkmcY+KvX6SBY=; b=WLpNhtmnXY4WVd/i6sQqnbf5T1vj8x4/70ct0Grh7UC0y8ZaOM6VRUTkWf8m9+Sj+wSIwcuK3yF9rzJDQc+uaNGAK1kFnDZ0/dHXD0m2dhENmi4Phcb8pPbcPkvvm0pBDZY6kVtzm3EIrJixHzqMKuVLYf27/1cco0q+9R9aorw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787143436660616.9774277002041; Wed, 19 Aug 2026 05:43:56 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wwfds-0008EF-M3; Wed, 19 Aug 2026 08:43:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wwfOH-0004cs-Pf; Wed, 19 Aug 2026 08:27:33 -0400 Received: from outbound.soverin.net ([2a10:de80:1:4092:b9e9:2292:0:1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1wwfOF-0003Ay-1i; Wed, 19 Aug 2026 08:27:33 -0400 Received: from smtp.freedom.nl (unknown [10.10.4.107]) (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) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 4hQ5S14mHqz1ygm; Wed, 19 Aug 2026 12:27:29 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.107]) by freedom.nl (Postfix) with ESMTPSA id 4hQ5S03HSNz40; Wed, 19 Aug 2026 12:27:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fvhovell.nl; s=soverin; t=1787142449; bh=+UNopd3rEpoOE4vhf7HjnT3fdOZb12RXY49c0YWAI1Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cZD5r3s8AS6KopDgw/Gbqxc1D+ucrgCQbgqRqUmrslTxItfaLCQq9fU+U0KciAp2o siCWSrdEwGA0ceU8cPUBiNa5J60uUd/DGg/3EyEp02/tcghbDsyCyR86C94qYm5LMW 84SrXdmhHSUB9F8glz7WODR+JdGEjNmcbCbh2H1JEoHKRUopCfilVJZ5k5Z3/EHU21 AzNLRlDA0foAbvbLdxxdDRjS7m7pIIrt9gG6g0cppTg2mSeAuboGb09p1Vuw3R72e4 BoTIaGOb7+fkpvcAeurGxcd3uu7HoqH/+FEtOV8+OXuPnFUavB8IJ71opzmH4k8YSh pnkXPoghnzEhA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fvhovell.nl; s=soverin1; t=1787142449; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=84PrhzbeQahLUde2Vy+bAnQx9PYAr4wkmcY+KvX6SBY=; b=b7JLbtG96XXgOyLkSDVGg4Cag4hXQu1Z5CXLE87XWQYAggVqITYb+1wBJGvlGJqQ7hkYCt qu7uBCBH9ntVhwLTAXlbcehaHs/q/k/XVuWG8pQT9i85MiO0fUqeMKsLQL7wBW9WFy74GN 2lErwwqAwnSVH4Zi3m8xT6PyOWgEXhQLo5i4YoJZarXO6QjCL3n338Nzk0gPnBqLjDP6X2 RWoKfe0DzdIKAJIWPa44kg2v5byowkza7uJOetZudgBYS4K7LB7t/NsMWPZBo/jyWzgD0W Le72nfE6qrU7TyHKtkRLYgEhvCMWYS5D14D+rjjns+58B7J5pWbVmTzowi5xDw== X-CM-Envelope: MS4xfKnf/a1B+YrJV4mjQ7BtiwshbKr7ED2zFcnQwbo7DRzOZ0kV804VpDK0i3AlLyofBCOeclsNb8brXGViID94JQ9CPJ6zEqpp2hfkh+y+1duQ0q+HcEG2 pULPJPU0+rHZDJQz4UedVZopMIRHqjFQwAMPfes/i7uKEVcJgJU96WKr0zl4zB+hjgXChPC1eI03FMo/WJm2F3L6fBd8o8Q5c6CeYv7GKi0ERfvtnOArnRsb xW6u78lOrAZQRIrfZ/rb/fAV3jKgS6KrtxxEclllwOTr4wA4Ynq8UbAn82eeRHH76tjSzxY3Y6OS5Cq3qEw+hxxPaCqDc2s+Y0ztcDT40dOlumypKfEADioA InR4Ef3bFz8wSFhAj/yZhfJ1qPQt1h5Meww06sPx+0NnmbD9fBM= X-Soverin-Id: 01a019fd-a768-793f-9339-1ff1f212d531 From: opensource@fvhovell.nl To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, "Peter Maydell" , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Frederik=20van=20H=C3=B6vell?= Subject: [PATCH 4/4] tests/functional/aarch64/test_raspi3: update firmware to v1.52 Date: Wed, 19 Aug 2026 14:27:02 +0200 Message-ID: <20260819122702.54173-5-opensource@fvhovell.nl> In-Reply-To: <20260819122702.54173-1-opensource@fvhovell.nl> References: <20260819122702.54173-1-opensource@fvhovell.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Spampanel-Class: ham Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=2a10:de80:1:4092:b9e9:2292:0:1; envelope-from=opensource@fvhovell.nl; helo=outbound.soverin.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 19 Aug 2026 08:43:31 -0400 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @fvhovell.nl) X-ZM-MESSAGEID: 1787143441836158500 From: Frederik van H=C3=B6vell Signed-off-by: Frederik van H=C3=B6vell --- tests/functional/aarch64/test_raspi3.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/functional/aarch64/test_raspi3.py b/tests/functional/aar= ch64/test_raspi3.py index 709c7221fa4..ffc6f2517fd 100755 --- a/tests/functional/aarch64/test_raspi3.py +++ b/tests/functional/aarch64/test_raspi3.py @@ -14,8 +14,8 @@ class Aarch64Raspi3Machine(LinuxKernelTest): =20 ASSET_RPI3_UEFI =3D Asset( ('https://github.com/pbatard/RPi3/releases/download/' - 'v1.15/RPi3_UEFI_Firmware_v1.15.zip'), - '8cff2e979560048b4c84921f41a91893240b9fb71a88f0b5c5d6c8edd994bd5b') + 'v1.52/RPi3_UEFI_Firmware_v1.52.zip'), + '20b894d15cdb42e055872a7ee6a850aa9373aedcfefd27f19767d975ce4f7371') =20 def test_aarch64_raspi3_atf(self): efi_name =3D 'RPI_EFI.fd' @@ -27,7 +27,7 @@ def test_aarch64_raspi3_atf(self): '-nodefaults', '-device', f'loader,file=3D{efi_fd},force-raw=3Dt= rue') self.vm.launch() - self.wait_for_console_pattern('version UEFI Firmware v1.15') + self.wait_for_console_pattern('version UEFI Firmware v1.52') =20 def test_aarch64_raspi3_bios(self): efi_name =3D 'RPI_EFI.fd' @@ -39,7 +39,7 @@ def test_aarch64_raspi3_bios(self): '-nodefaults', '-bios', efi_fd) self.vm.launch() - self.wait_for_console_pattern('version UEFI Firmware v1.15') + self.wait_for_console_pattern('version UEFI Firmware v1.52') =20 =20 if __name__ =3D=3D '__main__': --=20 2.55.0