Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Sep 2024 06:47:10 +0200
From:      =?utf-8?Q?Klaus_K=C3=BCchemann?= <maciphone2@googlemail.com>
To:        Christoph Pfaller <pfaller@protonmail.com>, freebsd-arm@freebsd.org
Subject:   Re: Rockchip RK3328 Rock64 HDMI
Message-ID:  <ED22C10E-1B9B-4BEB-90A7-C2133C3A55E2@googlemail.com>
In-Reply-To: <5kADboXE-OUia2ncm13XjDesvDmjB3tjWSyr3ytCpa5XYof9xOrL9AbRownQoRG9eJcJpYswqjbMt0P0XiZfs7KNNfiNF7vQ93m72mm_Fyk=@protonmail.com>
References:  <5kADboXE-OUia2ncm13XjDesvDmjB3tjWSyr3ytCpa5XYof9xOrL9AbRownQoRG9eJcJpYswqjbMt0P0XiZfs7KNNfiNF7vQ93m72mm_Fyk=@protonmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Am 21.09.2024 um 01:06 schrieb Klaus K=C3=BCchemann =
<maciphone2@googlemail.com>:
>=20
> ..
> clknode_link_recalc: Attempt to use unresolved linked clock: hdmi_phy
> Cannot get frequency for clk: hdmi_phy, error: 9
> =E2=80=A6


well, to be a bit more concrete:

this is where the clock of hdmi_phy seems to be  linked :
    =20
    freebsd-src       /sys /dev/clk/rockchip/rk3328_cru.c

It seems linux(or u-boot?)  have added a function to get the clock-rate =
into their drivers  :
=
https://lore.kernel.org/all/20240117075154.58747-11-jagan@amarulasolutions=
.com/#Z31drivers:clk:rockchip:clk_rk3328.c

So perhaps ask the author of rk3328_cru.c if such a function is missing =
in the driver
or what else could cause to fail to get the clock frequency

Regards
K.


> Am 20.09.2024 um 19:22 schrieb Christoph Pfaller =
<pfaller@protonmail.com>:
>=20
> Hello!
>=20
> I recently switched to FreeBSD on my Rock64 due to appearing kernel =
panics when running the board with Linux. So far I enjoy the operating =
system. However; there is one little annoyance - the integrated HDMI =
output does not work. So I want to change that.
>=20
> As we are on ARM my first intention was looking into the device tree =
for the rk3328. I compared it to Linux device tree and also found some =
missing parts. My next step was looking into the drivers itself and as =
the Linux drivers sources are available here =
https://github.com/torvalds/linux/tree/master/drivers/gpu/drm/rockchip I =
got some idea how the corresponding driver should look like.
>=20
> However, I am unsure how I should proceed getting HDMI to work. =
Accodring to https://wiki.freebsd.org/arm/RockChip HDMI works for the =
rockchip rk3399 but I could not find any drivers  neither in the =
freebsd-src or drm-kmod (I am new to FreeBSD so i don't know if this is =
even the right place to look for). I hope someone with more technical =
knowledge about FreeBSD or HDMI can provide me with some guidance on =
where I have to look and work on.
>=20
> Greetings
> pf0
>=20
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ED22C10E-1B9B-4BEB-90A7-C2133C3A55E2>