From nobody Tue Sep 06 11:23:08 2022 X-Original-To: freebsd-arm@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 4MMNKt4XCpz4bZSw for ; Tue, 6 Sep 2022 11:23:14 +0000 (UTC) (envelope-from devesas.campos@gmail.com) Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MMNKs53Yhz3p21 for ; Tue, 6 Sep 2022 11:23:13 +0000 (UTC) (envelope-from devesas.campos@gmail.com) Received: by mail-wm1-x32b.google.com with SMTP id n23-20020a7bc5d7000000b003a62f19b453so9381881wmk.3 for ; Tue, 06 Sep 2022 04:23:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date; bh=2T1eW61m3ICP/rbDw2nIswfHJb8gJRGPPHcgaj4fbBs=; b=ne2nlLNN/Fokw83zK2GIXMSHDJlbgIkhVN/vLVN2BGrJMkFI6pvfhpnkYOr1wGxmeN fZCLimyGO0Hvsx75qnA2Kyd3TGiJVJcYnLY0lBoqlZKdh+mQRtLv//1JwLhh82LyEPWc UJW7RVPN4hjNd/2xdZYKyzrm3NSobtKuNpEuvY8sA+G+Rvq8FyllhKJkVlPHxfI7xPKZ nCmParB/6J33zL43tkWX57hp64aSJXPmbrHLz13Y4aIWKyDNGNZb3ZVXqb/jVzMZlFrB XnBsWNmMRubTKGOg9U6+utxaMORV9tE8Vcw6KEgXmscJk+QwgKEHqtXPHuHYsX9NyXTl Mkvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date; bh=2T1eW61m3ICP/rbDw2nIswfHJb8gJRGPPHcgaj4fbBs=; b=UN4nUpsyoyACqV2XFB3KJvfRRiOqqx+Li5x0r3LvDZN7AGwqwn05J2iRRQtevdkv6o 1ozrBzAGY/txUc5xtpZ89aUZJ2ATGMzvLhs4baq4fn2S1qKXrBrpGZtN51edzfYbNiiJ Rlv9T/oy23zito3ZInlpp3iq5aDNyEYKSiAvUVYajWX5U54Ce/MJWk4IzV5kbiawaVbZ L4oaDShNUC1B9lDaU50x59dU2mpfWmM04BsdsSWaHl3QmoXYKYAjTfM988znIHO5gbSc l2qb11d2eiQZspeoMixfOf6Pc8HXU9s3fdm7uvNDL32U7V0SqwCWbHBgD0OdgjnrDSc6 E+1A== X-Gm-Message-State: ACgBeo0hXe8Ggc2FN2cx9TfrZ3A35DWrJvv289AEEEDiPthkV9np2IVd aPMNbdOSwNLFB0NlHqYDmJwQWOgtZ9Q= X-Google-Smtp-Source: AA6agR6K7kmn2Kpx4n1GM5mWKcpsd26gb9NLEeOUC+FhVV1msiADZb2SaYSK7zFB82FgqPTr4xSFPw== X-Received: by 2002:a05:600c:5105:b0:3a8:3f3c:ca90 with SMTP id o5-20020a05600c510500b003a83f3cca90mr13113135wms.81.1662463392193; Tue, 06 Sep 2022 04:23:12 -0700 (PDT) Received: from smtpclient.apple (a213-22-242-181.cpe.netcabo.pt. [213.22.242.181]) by smtp.gmail.com with ESMTPSA id m15-20020a7bcb8f000000b003a83b066401sm20021627wmi.31.2022.09.06.04.23.11 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Sep 2022 04:23:11 -0700 (PDT) Content-Type: text/plain; charset=utf-8 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: VCHIQ sound on Raspi4B. Which DTB to include on config.txt file, Any other missing pieces? From: Marco Devesas Campos In-Reply-To: <0ec5a701-908f-fc15-ef8b-401c1553e194@thegalacticzoo.com> Date: Tue, 6 Sep 2022 12:23:08 +0100 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <0ec5a701-908f-fc15-ef8b-401c1553e194@thegalacticzoo.com> To: Fred Finster X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4MMNKs53Yhz3p21 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=ne2nlLNN; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of devesas.campos@gmail.com designates 2a00:1450:4864:20::32b as permitted sender) smtp.mailfrom=devesas.campos@gmail.com X-Spamd-Result: default: False [-2.50 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_VIA_SMTP_AUTH(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::32b:from]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; TAGGED_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org] X-ThisMailContainsUnwantedMimeParts: N Hi > On 7 Sep 2022, at 06:04, Fred Finster wrote: >=20 > VCHIQ sound on Raspi4B HDMI audio. Which DTB to include on config.txt = file, Any other missing pieces? stock confit.txt and dtb-s.=20 dmesg should then show vchiq0: mem 0x7e00b840-0x7e00b87b irq 72 on simplebus0 vchiq: local ver 8 (min 3), remote ver 8. pcm0: on vchiq0 and=20 cat /dev/random > /dev/dsp should play static If nothing=E2=80=99s playing, flipping the sysctl dev.pcm.0.dest through - 0: both hdmi and headphones - 1: headphones - 2: hdmi usually brings the audio back to life. Best, Marco=