From nobody Thu Nov 02 22:54:00 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 4SLzhK6K3Yz4ygfC for ; Thu, 2 Nov 2023 22:54:09 +0000 (UTC) (envelope-from saper@saper.info) Received: from q.saper.info (q.saper.info [IPv6:2605:2700:0:2:a800:ff:fec7:5c61]) (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 ECDSA (P-384) client-digest SHA384) (Client CN "q.saper.info", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SLzhK2xs5z3C53 for ; Thu, 2 Nov 2023 22:54:09 +0000 (UTC) (envelope-from saper@saper.info) Authentication-Results: mx1.freebsd.org; none Received: from q.saper.info (localhost [127.0.0.1]) by q.saper.info (8.17.1/8.17.1) with ESMTPS id 3A2Ms19F025948 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 2 Nov 2023 22:54:01 GMT (envelope-from saper@saper.info) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=saper.info; s=Sep2014; t=1698965641; bh=ncvioh5aYXivM/pU72J3daYP5muL8Cr+2iFsx13MylU=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=fYAqRM/nZ4f/CIdx2gSaXF2xJLeOvIo9qt8NqxJ8sV3vqCLruH3y6Y9cqG/8IapWP WjeHR8hqQWDXOdbARy0TmPaVzDkax0CGXEBhRoB1NAKCrLekyTce8ThUZlOhaDv1Oo T6/wwLHv7otAGxkG7DxaEC9HY/2M+VMc5TXci9RE= Received: from localhost (saper@localhost) by q.saper.info (8.17.1/8.17.1/Submit) with ESMTP id 3A2Ms0hZ025945; Thu, 2 Nov 2023 22:54:01 GMT (envelope-from saper@saper.info) X-Authentication-Warning: q.saper.info: saper owned process doing -bs Date: Thu, 2 Nov 2023 22:54:00 +0000 From: Marcin Cieslak To: Jirka Novak cc: freebsd-arm@freebsd.org Subject: Re: No sound card on Olimex A20 SOM EVB with FreeBSD 12.4 In-Reply-To: <24603490-01de-464d-ba15-1ffc097cecb8@netsystem.cz> Message-ID: References: <6cbe8605-eb58-4388-a89f-b6009b8d2df0@netsystem.cz> <20231028065848.d3506101a351d8186139a5d0@bidouilliste.com> <24603490-01de-464d-ba15-1ffc097cecb8@netsystem.cz> 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 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="2201072851-1960675020-1698965641=:1187" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:47066, ipnet:2605:2700::/32, country:US] X-Rspamd-Queue-Id: 4SLzhK2xs5z3C53 --2201072851-1960675020-1698965641=:1187 Content-Type: text/plain; charset=US-ASCII; format=flowed On Thu, 2 Nov 2023, Jirka Novak wrote: > Hi, > >> It seems that we are missing some clocks. >> We don't support the audio pll and so don't support the codec gate >> which is the one that the driver is expecting to find. >> It looks like we've never supported this pll since the switch to the >> new clock driver (in 2018). Back then a lot of clock were directly >> found in the DTB but that ship has sailed a long time ago. >> FreeBSD 11 still have the old clock drivers (and the old DTB) which is >> why it worked for you. >> I don't think that anybody have any plan to work on that tbh. > > Just for curiosity (I'm new to FreeBSD kernel) - does it make sense to add > support/change to 12 branch or 13, 14? If I make change in 12, will it be > merged to 13/14 too? Normally the changes are done to -CURRENT first (FreeBSD 15.x) and then backported to the older ones. It is worth at least having a look at -CURRENT source ("main" branch) to see if the problem might have been fixed there already or how different the source code between the system you are running and testing at the moment and -CURRENT. (I run amd64 -CURRENT as my daily driver so giving it a try is not a very scary perspective. Just keep in mind that installing binary packages for it might require frequent OS upgrades). Marcin --2201072851-1960675020-1698965641=:1187 Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: BASE64 Content-Description: S/MIME Cryptographic Signature Content-Disposition: attachment; filename=smime.p7s MIIOdgYJKoZIhvcNAQcCoIIOZzCCDmMCAQExDzANBglghkgBZQMEAgEFADAL BgkqhkiG9w0BBwGgggq9MIIEvDCCA6SgAwIBAgIQeEqpEhjRpCYIUTzTZlVD ozANBgkqhkiG9w0BAQsFADBMMSAwHgYDVQQLExdHbG9iYWxTaWduIFJvb3Qg Q0EgLSBSMzETMBEGA1UEChMKR2xvYmFsU2lnbjETMBEGA1UEAxMKR2xvYmFs U2lnbjAeFw0yMDA5MTYwMDAwMDBaFw0yOTAzMTgwMDAwMDBaMFsxCzAJBgNV BAYTAkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMTEwLwYDVQQDEyhH bG9iYWxTaWduIEdDQyBSMyBQZXJzb25hbFNpZ24gMSBDQSAyMDIwMIIBIjAN BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvxvJBqEapaux2/z3J7fFslRO WjKVJ5rCMfWGsg17dmD7NSnG7Spoa8d3htXsls1IMxoO8PyouQajNQqYmlYo xinlqenMNv7CJyEKMOAtglBmD6C/QC7kT+dSx4HfSTs8xmv8veJOldMzF8S/ BEn/tD4w/Dvpg+oXOqDyOiHPTacRFK0QHoq5eEbBmVS8W0rwcaRotO9fGTA+ NjF0My7GLRNK0eMPGh2hcPZURQhXy7wRQ8XFIfEA6kaQHHN22ncnVtwqiTmA wTR+4GNNVinG3KjNZLAVSnGrdCvT2I4Zo19hKy5PX6o7wrVXvMR4zV5VBFwV 6ZDM+xewao7Mup+SbwIDAQABo4IBiTCCAYUwDgYDVR0PAQH/BAQDAgGGMB0G A1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDASBgNVHRMB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