[Bug 274804] [PATCH] KERNCONF=GENERIC-VCHIQ enable HDMI AUDIO on Raspberry Pi 4B,400,3B
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 30 Oct 2023 04:47:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274804
Bug ID: 274804
Summary: [PATCH] KERNCONF=GENERIC-VCHIQ enable HDMI AUDIO on
Raspberry Pi 4B,400,3B
Product: Base System
Version: 14.0-STABLE
Hardware: arm64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: arm
Assignee: freebsd-arm@FreeBSD.org
Reporter: wb7odyfred@yahoo.com
Created attachment 245983
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=245983&action=edit
tar.gz compressed file containing several patch files. example CLI patch <
vchiq_arm.c.patch
Testing Support of Marcos Patch review D37878
https://reviews.freebsd.org/D37878
for Supporting Raspberry Pi 4B HDMI AUDIO output on HDMI TV Speakers.
Must be a newer code commit review somewhere.
Does someone build Raspberry Pi 4B FreeBSD kernel code with GENERIC-VCHIQ for
a test?
https://forums.raspberrypi.com/viewtopic.php?t=343233 Fred Finster post to
Raspberry Pi Forums on using Marcos patch file.
https://bsdnow.tv/489 minutes 12:00-17:00 Speak about the above forums Post.
# Check for existence of configuration file GENERIC-VCHIQ
ls -l /usr/src/sys/arm64/conf/GENERIC-VCHIQ
# Build the kernel
make -j4 buildkernel TARGET_ARCH=aarch64 KERNCONF=GENERIC-VCHIQ
many errors of Format string size not matching, the argument size being passed
Since most of these error where in debug log messages
Changed (unsigned int) into (unsigned long)
Changed format string from %x to %lx
vchiq_core.h
added for arm64 bit 'dsb(sy)' where for armv7a 'dsb()'
#if defined(__arm64__)
dsb(sy)
#else
dsb()
#endif
Yes, I had Compile fail error for ROCKPI device 'dsb()' so changed both sides
of logic if dsb(sy) else dsb(sy) endif
Yes, know that is bad form, to NOT support armv7a 32bit C functions. Someone
smarter than I, can offer code change to make 64/32 bit function proper.
Happy with the FreeBSD.org/where RPI arm64 snapshot images, so far.
--
You are receiving this mail because:
You are the assignee for the bug.