NetBSD Problem Report #57044

From sc.dying@gmail.com  Wed Oct  5 14:39:03 2022
Return-Path: <sc.dying@gmail.com>
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))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 511271A923C
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  5 Oct 2022 14:39:03 +0000 (UTC)
Message-Id: <035e3a2b-641f-cf45-3ac9-d0ae7a0f95a3@gmail.com>
Date: Wed, 5 Oct 2022 14:38:58 +0000
From: sc.dying@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Please add vchiq at acpi to GENERIC64

>Number:         57044
>Category:       port-arm
>Synopsis:       Please add vchiq at acpi to GENERIC64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-arm-maintainer
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 05 14:40:01 +0000 2022
>Closed-Date:    Wed Jan 03 06:55:37 +0000 2024
>Last-Modified:  Wed Jan 03 06:55:37 +0000 2024
>Originator:     sc.dying@gmail.com
>Release:        NetBSD/evbarm-aarch64 9.99.100
>Organization:
>Environment:
>Description:
	Please add `vchiq at acpi' line to arch/evbarm/conf/GENERIC64
	to enable vcaudio on RPIs/aarch64.
	Currently RPI4 with EFI boot is not configured to use vcaudio.
	The patch in Fix part should solve it.

>How-To-Repeat:
	Boot RPI4 with EFI firmware and see 'audiocfg list' does NOT
	contain vcaudio.

>Fix:
	Please apply this patch.
	Tested and confirmed on RPI3b, RPI3b+ (fdt), and RPI4b 4GB (acpi).

--- src/sys/arch/evbarm/conf/GENERIC64.orig	2022-08-23 21:27:35.651327559 +0000
+++ src/sys/arch/evbarm/conf/GENERIC64	2022-09-01 03:07:05.267193434 +0000
@@ -432,8 +432,9 @@ m25p*		at spi?
 spiflash*	at spiflashbus?

 # Broadcom VCHIQ, etc
-vchiq0		at fdt?
-vcaudio0 	at vchiq0
+vchiq*		at fdt?
+vchiq*		at acpi?
+vcaudio0 	at vchiq?

 # Audio support
 hdaudio*	at fdt?			# Intel HDA

>Release-Note:

>Audit-Trail:
From: "Nia Alarie" <nia@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/57044 CVS commit: src/sys/arch/evbarm/conf
Date: Sat, 24 Dec 2022 15:46:50 +0000

 Module Name:	src
 Committed By:	nia
 Date:		Sat Dec 24 15:46:50 UTC 2022

 Modified Files:
 	src/sys/arch/evbarm/conf: GENERIC64

 Log Message:
 PR port-arm/57044 allow vcaudio on RPI 4 to attach when booting with EFI


 To generate a diff of this commit:
 cvs rdiff -u -r1.206 -r1.207 src/sys/arch/evbarm/conf/GENERIC64

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: sc dying <sc.dying@gmail.com>
To: gnats-bugs@netbsd.org
Cc: port-arm-maintainer@netbsd.org, gnats-admin@netbsd.org, 
	netbsd-bugs@netbsd.org
Subject: Re: PR/57044 CVS commit: src/sys/arch/evbarm/conf
Date: Sun, 25 Dec 2022 07:02:05 +0000

 Thank you!

 On Sat, Dec 24, 2022 at 3:50 PM Nia Alarie <nia@netbsd.org> wrote:
 >
 > The following reply was made to PR port-arm/57044; it has been noted by GNATS.
 >
 > From: "Nia Alarie" <nia@netbsd.org>
 > To: gnats-bugs@gnats.NetBSD.org
 > Cc:
 > Subject: PR/57044 CVS commit: src/sys/arch/evbarm/conf
 > Date: Sat, 24 Dec 2022 15:46:50 +0000
 >
 >  Module Name:   src
 >  Committed By:  nia
 >  Date:          Sat Dec 24 15:46:50 UTC 2022
 >
 >  Modified Files:
 >         src/sys/arch/evbarm/conf: GENERIC64
 >
 >  Log Message:
 >  PR port-arm/57044 allow vcaudio on RPI 4 to attach when booting with EFI
 >
 >
 >  To generate a diff of this commit:
 >  cvs rdiff -u -r1.206 -r1.207 src/sys/arch/evbarm/conf/GENERIC64
 >
 >  Please note that diffs are not public domain; they are subject to the
 >  copyright notices on the relevant files.
 >

From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/57044 CVS commit: [netbsd-10] src/sys/arch/evbarm/conf
Date: Mon, 26 Dec 2022 11:20:59 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Mon Dec 26 11:20:59 UTC 2022

 Modified Files:
 	src/sys/arch/evbarm/conf [netbsd-10]: GENERIC64

 Log Message:
 Pull up following revision(s) (requested by nia in ticket #23):

 	sys/arch/evbarm/conf/GENERIC64: revision 1.207

 PR port-arm/57044 allow vcaudio on RPI 4 to attach when booting with EFI


 To generate a diff of this commit:
 cvs rdiff -u -r1.206 -r1.206.2.1 src/sys/arch/evbarm/conf/GENERIC64

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: sc dying <sc.dying@gmail.com>
To: gnats-bugs@netbsd.org, port-arm-maintainer@netbsd.org, 
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Cc: 
Subject: Re: PR/57044 CVS commit: [netbsd-10] src/sys/arch/evbarm/conf
Date: Sat, 16 Sep 2023 04:56:49 +0000

 I confirmed vcaudio works on NetBSD/aarch64-10.0_BETA on
 - Raspberry Pi 3 Model B Rev 1.2
 - Raspberry Pi 3 Model B Plus Rev 1.3
 - Raspberry Pi 4 Model B (4GB)

 Thank you very much for pulling-up this.

State-Changed-From-To: open->closed
State-Changed-By: skrll@NetBSD.org
State-Changed-When: Wed, 03 Jan 2024 06:55:37 +0000
State-Changed-Why:
done


>Unformatted:

NetBSD Home
NetBSD PR Database Search

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