VCHIQ sound chip on Raspi4B. Testing software compile in Kernel Freebsd 14.0-CURRENT

From: <fred_at_thegalacticzoo.com>
Date: Wed, 06 Sep 2023 15:41:08 UTC
<div dir='auto'>Marco, Can you test build Freebsd sources and figure out work around to compil errors?&nbsp; I am halfway through editing file vchiq_core.c file.&nbsp; I can share a patch file with you.<div dir="auto"><br></div><div dir="auto">Can you put me in contact with freebsd developers to see how they compile sources vchiq_core.c file with out errors.?</div><div dir="auto">email address is fine to share with me.</div><div dir="auto"><br></div><div dir="auto">related mailing list and my web blog:</div><div dir="auto"><br></div><div dir="auto">https://lists.freebsd.org/archives/freebsd-arm/2023-August/002885.html</div><div dir="auto">https://lists.freebsd.org/archives/freebsd-arm/2023-August/002990.html</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">good morning Alexander Fred here I was interested for your help in trying to solve compile warnings problem do you know where these warnings are set in the make file<br>ghostbsd-arm64.blogspot.com<br>https://ghostbsd-arm64.blogspot.com/2023/08/vchiqcorec-freebsd-140-current-has.html?m=1&nbsp; compile errors dealing with printing pointers to a log file. using these&nbsp;&nbsp; - Werrors -Wpointertointcast&nbsp; <br>cause compiling file vchiq_cote.c to error out.<br></div><div dir="auto"><br></div><div dir="auto">Fred Finster</div><div dir="auto">971-718-9144</div><div dir="auto">fred@thegalacticzoo.com</div><div dir="auto"><br></div><div dir="auto">ps.&nbsp; is the review of revision D37878 vchiq code finished and accepted yet into Freebsd sources?</div><div dir="auto">How can I help through testing and compiling source code, Marco?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sep 6, 2022 4:23 AM, Marco Devesas Campos &lt;devesas.campos@gmail.com&gt; wrote:<br type="attribution" /><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hi&#13;<br>
&#13;<br>
&gt; On 7 Sep 2022, at 06:04, Fred Finster &lt;fred@thegalacticzoo.com&gt; wrote:&#13;<br>
&gt; &#13;<br>
&gt; VCHIQ sound on Raspi4B HDMI audio.&nbsp; Which DTB to include on config.txt file, Any other missing pieces?&#13;<br>
&#13;<br>
stock confit.txt and dtb-s. &#13;<br>
&#13;<br>
dmesg should then show&#13;<br>
&#13;<br>
vchiq0: &lt;BCM2835 VCHIQ&gt; mem 0x7e00b840-0x7e00b87b irq 72 on simplebus0&#13;<br>
vchiq: local ver 8 (min 3), remote ver 8.&#13;<br>
pcm0: &lt;VCHIQ audio&gt; on vchiq0&#13;<br>
&#13;<br>
and &#13;<br>
&nbsp; cat /dev/random &gt; /dev/dsp&#13;<br>
should play static&#13;<br>
&#13;<br>
If nothing&#8217;s playing, flipping the sysctl dev.pcm.0.dest through&#13;<br>
 - 0: both hdmi and headphones&#13;<br>
 - 1: headphones&#13;<br>
 - 2: hdmi&#13;<br>
usually brings the audio back to life.&#13;<br>
&#13;<br>
Best,&#13;<br>
Marco</p>
</blockquote></div><br></div>