Fwd: Re: [Differential] D43399: VCHIQ HDMI AUDIO 64 bits BCM2835, BCM2711 Raspberry Pi 4B; correct minor compile errors. bcm2835_audio.c
Fred Finster <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.arm |
|---|---|
| Message-ID | <[email protected]> |
For VCHIQ HDMI and analog Audio. Do not use patch D43399. use just the 3 Marcos Devesas Campos patch files. Patch in this order, D36431, D37878, D37879. Compile kernel for Freebsd at /usr/src time make -j4 buildkernel KERNCONF=GENERIC-VCHIQ -DNO_CLEAN time make installkernel KERNCONF=GENERIC-VCHIQ Specific detailed instructions on the January 19, 2024 ghostbsd-arm64.blogspot.com post and reviews.freebsd.org/D43399 post Enjoy sound on your Rasberry pi 4B,3B,400 today. Will have an Ghost14*Jan22_*.img.xz for GhostBSD-Arm64 up at http://ghostbsdarm64.hopto.org/packages/ that plays HDMI audio sound on VCHIQ hardware on Broadcom chip. There is shell script file to 1.) download Freebsd-14.0-RELEASE*RPI.img.xz or 2.) Ghostbsd-Arm64 img.xz file. 3.) download a URL you paste there Decompress file.img.xz into file.img dd write file into usb flash drive /dev/da1 http://ghostbsdarm64.hopto.org/packages/write_freebsd_img_dd_to_da1.sh Glad to share with you "the sound of music" playing on your RasPi vchiq hardware. JSM do these 3 patches work on Raspberry Pi 5 hardware. Thanks for your effort to make microSD card hardware operational on RasPi 5. ps. Experienced errors writing to 128GB Kingston USB flash drive connected to USB blue 3.0 sockets. fsck -y /dev/da1p3 reports fixing inode errors fsck -y /dev/da1p3 again shows same inode errors So be careful and check. Mark Millard thanks for heads up with USB 3.0 errors. Fred Finster ---------- Forwarded message ---------- From: "Fred G. Finster" <[email protected]> Date: Jan 21, 2024 8:55 PM Subject: Re: [Differential] D43399: VCHIQ HDMI AUDIO 64 bits BCM2835, BCM2711 Raspberry Pi 4B; correct minor compile errors. bcm2835_audio.c To: [email protected] Cc: [email protected],[email protected],[email protected] Do not need patch file at D43399, when using those 3 patch files. D36431, D37878, D37879 patch files from Marcos https://reviews.freebsd.org/F75131370#30 Fred Finster using 3 VCHIQ Patch files for Raspberry Pi 4B. On 1/18/24 1:35 PM, bses30074_gmail.com (Yan-Hao Wang) wrote: > bses30074_gmail.com added a comment. > > > Is this patch based on the three preceding patches? Were there compilation warnings (or errors) encountered when applying those three patches, leading to the creation of this patch to address those issues? > F75131370: image.png <https://reviews.freebsd.org/F75131370> > > I have tested the three patches by applying the diff from this link <https://lists.freebsd.org/archives/freebsd-arm/2022-February/000949.html> on my RPI4B running FreeBSD CURRENT. I successfully compiled the kernel and verified that sound can be produced through the 3.5mm headphone jack. However, it appears that sound is still not being produced through HDMI? In my device, only one PCM device (3.5mm) is visible. > > kola@generic:~ $ cat /dev/sndstat > Installed devices: > pcm0: <VCHIQ audio> (play) default > No devices installed from userspace. > > REPOSITORYFred > rG FreeBSD src repository > > CHANGES SINCE LAST ACTION > https://reviews.freebsd.org/D43399/new/ > > REVISION DETAIL > https://reviews.freebsd.org/D43399 > > EMAIL PREFERENCES > https://reviews.freebsd.org/settings/panel/emailpreferences/ > > To: fred_thegalacticzoo.com, devesas.campos_gmail.com, emaste, lwhsu, andrew > Cc: bses30074_gmail.com, ericbsd, manu, imp, fred_thegalacticzoo.com, rw_aoek.com, sdmitry_parallels.com, me_mko.io, kjopek_gmail.com, rb_rdbg.co.uk, herbert_mailbox.org, tommi.pernila_iki.fi, bz, pstef > Created a blogpost specifically about applying a patch code from D36431, D37878 and D37879 review.freebsd.org https://ghostbsd-arm64.blogspot.com/2024/01/hdmi-audio-sound-patches-into-ghostbsd.html I also posted here too: To keep same info from my blogpost available in reviews.freebsd.org https://reviews.freebsd.org/F75131370 You can look, I mentioned you. Maybe I should remove your email address, Yan-Hao Yang? I am asking your permission. I will remove on you say so. Maybe I go remove now. Fred Now to patch the code and test the patch. Fred https://ghostbsd-arm64.blogspot.com/2024/01/hdmi-audio-sound-patches-into-ghostbsd.html#more Yes, I have sound coming out the HDMI Audio speakers on the Samsung TV. Look at the blog post up above. Thanks for your interest and spurring me on to try again make the HDMI sound work. Yan-Hao Wang. No I did not make any changes. I also incorporated most of that blog post changes into your Fxx image.png post at https://reviews.freebsd.org/F75131370 So people reading this can try patching the kernel software and hearing sound from the Raspberry Pi 4B VCHIQ hardware on the HDMI Audio output -- Fred Finster GhostBSD-Arm64.blogspot.com t.me/ghostbsd Telegram Channel GhostBSD.org website