Re: Rockchip RK3328 Rock64 HDMI

From: Mario Marietto <marietto2008_at_gmail.com>
Date: Fri, 20 Sep 2024 23:16:58 UTC
Hello to everyone.

Recently I've bought the RockPro64 with the RockChip RK3399,this one :

https://pine64.org/devices/rockpro64/

I would like to know if FreeBSD is affected by the same bug,please. I can't
use it if the HDMI doesn't work.

On Sat, Sep 21, 2024 at 1:11 AM Klaus Küchemann <maciphone2@googlemail.com>
wrote:

> First time since years I switched the dusty Rock64 on :-)
> yes, you’re right, still not fixed :
> dmesg:
> ..
> clknode_link_recalc: Attempt to use unresolved linked clock: hdmi_phy
> Cannot get frequency for clk: hdmi_phy, error: 9
> …
> So you can file a bug report to: https://bugs.freebsd.org <
> https://bugs.freebsd.org/>
> You can attach dmesg there (or what I would prefer:  send dmesg to
> https://dmesgd.nycbug.org<https://dmesgd.nycbug.org/>)
>
> I guess you don`t want to port any linux drivers at first attempt :-) but
> instead fix the issue
> to get the framebuffer driver working( with it`s restrictions e.g. no 4K)
>
> Regards
> K.
>
>
> > Am 20.09.2024 um 19:22 schrieb Christoph Pfaller <pfaller@protonmail.com
> >:
> >
> > Hello!
> >
> > 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.
> >
> > 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.
> >
> > 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.
> >
> > Greetings
> > pf0
> >
> >
>
>
>

-- 
Mario.