From nobody Mon Oct 30 04:47:55 2023 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 4SJgkM4v72z4yg1H for ; Mon, 30 Oct 2023 04:47:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SJgkM2m3tz3XG1 for ; Mon, 30 Oct 2023 04:47:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698641275; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ErjJz/3Dhu1w0IeoYG2fdxQ8r7/QIA/uzUV964VlKsw=; b=UL/0NmPXN8xYl6Jm0BrWLNGbRvhcid30a8a8kyV1luqxTnxQFfKP5KQB4gg3QOqzo7tRhA k1YnQIfSp3EbFXfvK4YyREPwqsy5V5XGm4uU4I2hrrl/miczMCQtBPl5Lp3ZzmZa9w712d obcBXfJkra2j72XiUmgCtaIBVjAmXZkDSJ0AK0/HeyEwotYz7OfxT8NlMlMaZlo1E0SOme /y46YWLkVXsTzeRR2DzPucWJAny6vBhTdiwA5AD46ZGsuaedh5GOeh4ruVpbKoub6Cu3Hy uCVCs3FIVHrDKvuCTB1CvYXBnBz6lwO1O/4N3B1jrOJ/v9NMXaOBAYRtAr3ySA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698641275; a=rsa-sha256; cv=none; b=XXGsHNq2Ji9ILkifkRR8iz99ybd3Z502O/TBilj8lx5O1W+F6WoCjc419uQHpgg8Ht842h QNLDcKH0/b3DAbVrKscbRU5mIbNSspqt8PBqC4IaUFYl1sN6HIvEsiPHG1IzY8dvApcyYX t3XBahX8RadeEvChKuuOy9TMPFQSXUZiQ9K/lvgUXk3IOEiXOaXncEKpNgv7oWSOvAaQDO ZHBYn4ASRO/jIhegUWMW+reFwNCIh8RpikYYm0s5eWCECAvXcoW8r25Kp4UIAvxOqYBXbL b0MEqSP67b/jWi7VIOdmi1Qecg1eQYKUdoONCdAGbliMyf/wcnQ0neqiIzfq5w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SJgkM1p4Lz16Z0 for ; Mon, 30 Oct 2023 04:47:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 39U4ltbD002154 for ; Mon, 30 Oct 2023 04:47:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39U4ltMw002152 for freebsd-arm@FreeBSD.org; Mon, 30 Oct 2023 04:47:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 274804] [PATCH] KERNCONF=GENERIC-VCHIQ enable HDMI AUDIO on Raspberry Pi 4B,400,3B Date: Mon, 30 Oct 2023 04:47:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: wb7odyfred@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274804 Bug ID: 274804 Summary: [PATCH] KERNCONF=3DGENERIC-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=3D245983&action= =3Dedit tar.gz compressed file containing several patch files. example CLI patch= < vchiq_arm.c.patch Testing Support of Marcos Patch review D37878=20 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=3D343233 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 Pos= t. # 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=3Daarch64 KERNCONF=3DGENERIC-VCHIQ many errors of Format string size not matching, the argument size being pas= sed Since most of these error where in debug log messages=20 Changed (unsigned int) into (unsigned long) Changed format string from %x to %lx vchiq_core.h=20 added for arm64 bit 'dsb(sy)' where for armv7a 'dsb()' #if defined(__arm64__) dsb(sy) #else=20=20 dsb() #endif=20 Yes, I had Compile fail error for ROCKPI device 'dsb()' so changed both s= ides 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. --=20 You are receiving this mail because: You are the assignee for the bug.=