Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Oct 2023 21:15:08 +0200
From:      Jirka Novak <j.novak@netsystem.cz>
To:        Emmanuel Vadot <manu@bidouilliste.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: No sound card on Olimex A20 SOM EVB with FreeBSD 12.4
Message-ID:  <2dedcbed-bd9c-43ca-8c24-4979758a8f88@netsystem.cz>
In-Reply-To: <20231028065848.d3506101a351d8186139a5d0@bidouilliste.com>
References:  <6cbe8605-eb58-4388-a89f-b6009b8d2df0@netsystem.cz> <20231028065848.d3506101a351d8186139a5d0@bidouilliste.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Emmanuel,

>>     Can I ask for help to identify which clock shown in 11.2 boot log are
>> missing in 12.4 boot log?
>>
>   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 is very bad news for me. So it looks that sound cards can't work on 
any A10/A20 chip with post FreeBSD 11 even sound driver is part of the 
tree. Right?

>   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.

I expect you mention that sys/arm/allwinner/clk/aw_pll.c was not ported 
to FreeBSD 12 clkng (sys/arm/allwinner/clkng/). If you mention "do not 
support" mean really just code migration/testing or it can't be 
supported because of any new kernel feature/architecture? In other words 
if I will focus on migration, could it work?

					Best regards,

						Jirka Novak


-- 
Ing. Jiří Novák | CTO, Systems Engineer
NET-SYSTEM s.r.o.
Phone: +420 482 428 139 | Mobile: +420 602 583 815
Email: j.novak@netsystem.cz | Web: www.netsystem.cz




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2dedcbed-bd9c-43ca-8c24-4979758a8f88>