From nobody Sun Apr 02 21:58:49 2023 X-Original-To: ports-bugs@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 4PqSbG13Prz433Td for ; Sun, 2 Apr 2023 21:58:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PqSbF4GSRz3hkx for ; Sun, 2 Apr 2023 21:58:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680472729; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1TgzZil0qa6gttLcYVWYqGG6IZ5QR/LavaJi8PgWHAM=; b=jowh/VemfKgnOku5NShvqRaplspVlTYfQEeWX0+GWSyu9QEBlx4xa+1vCXFZILQVFX0qyt 2hYidMtqSUnfmXDDetkl7BYXu/68LORWVRRUQQBLYSM2ZptDJMAr1mWPsApVEQJ62EYCmP FsXI9pWEkJIeu+x10som279iXcBgMJIFQw+T0f7eWyDnv0/yzBreCLIB1KLSgR2tpr0DNU 27DImXOD6USi5Ev1U9c27Umk1KSn1FRs2Wh6UBU09ho3R7yCG/V6lfx7dKPJry99YYblc4 8OjICmFdJzLBUxfqrw5QJdC6eBZgpqrZ0MffT6ur9en/7miCNI9cbZD0QShPEQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680472729; a=rsa-sha256; cv=none; b=gT7JKcg5tWI8NFrBEeawJRDhRhugR5UtSxvbvNmaCjFoUSM7Y/mrzzFeep4SCQrNsJrfIW 7ewDtFIRDmPle7w9rbt+yV2QVInW79eUWro2IlMf+/Uma2L0MK842oyl22OQDomg1Xkn5E 3mm1DtcPbZd8Yz0+ZEmoMHT3QBTW9FI+miOsMFh893YFzyWW9dcJyTUU9BHThmhz9jdRN9 LF6QqrSCCwMfV5w7ZFdd6syecbt/qBNNZXeHl8tw/XYw6d4DqLPQqV93VqbVQYKK620TIp WELs/gLPpTyRpzmVeqSK+9onsKIgI112dcykK62keJryLF8Y796V0A2pmC4srA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PqSbF3LyVzY1Q for ; Sun, 2 Apr 2023 21:58:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 332LwnG4034235 for ; Sun, 2 Apr 2023 21:58:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 332Lwn31034234 for ports-bugs@FreeBSD.org; Sun, 2 Apr 2023 21:58:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 261147] sysutils/rpi-firmware/ RPI Zero 2 W boot files Date: Sun, 02 Apr 2023 21:58:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261147 --- Comment #9 from Mark Millard --- (In reply to Mark Millard from comment #8) I'll note that main got a kernel fix for what was leading to crashes for RPi* firmware that was much newer than what FreeBSD normally uses (as in the rpi-firmware port). So it may be possible to experiment with newer RPi* firmware that explicitly includes Zero 2 W materials. (No claim is the kernel might need updates for the official .dtb file.): A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D9873b171697033f9f19608d98bcd1c16c= acb92af commit 9873b171697033f9f19608d98bcd1c16cacb92af Author: Mark Millard AuthorDate: 2023-02-17 20:30:35 +0000 Commit: Mitchell Horne CommitDate: 2023-02-24 17:20:40 +0000 bcm_dma: attach at an earlier bus pass The sdhci_bcm driver attach routine relies on bcm_dma already being attached, in order to allocate a DMA channel. However, both drivers attached at the default pass so this is not guaranteed. Newer RPI firmware exposes this assumption, and the result is a NULL-dereference in bcm_dma_allocate(). To fix this, use BUS_PASS_SUPPORTDEV for bcm_dma. PR: 268835 Reviewed by: mhorne MFC after: 1 week sys/arm/broadcom/bcm2835/bcm2835_dma.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) stable/13 got the update later but releng/13.2 did not get the update. So it will be about another, say, year before there is a releng/13.* with the fix. Thus, likely, FreeBSD will not progress the RPi* firmware vintage for at least that long, not wanting to break releng/13.2 . (Although, releng/14.0 would have the fix in place and should happen much sooner.) --=20 You are receiving this mail because: You are the assignee for the bug.=