Date: Sat, 21 Sep 2024 01:16:58 +0200 From: Mario Marietto <marietto2008@gmail.com> To: =?UTF-8?Q?Klaus_K=C3=BCchemann?= <maciphone2@googlemail.com> Cc: freebsd-arm@freebsd.org Subject: Re: Rockchip RK3328 Rock64 HDMI Message-ID: <CA%2B1FSigrBwYkGKY2GYLaX5JmQYKa3A5583MMEjEre1xswisUtQ@mail.gmail.com> In-Reply-To: <4F94C5BF-B5D8-4EA0-8B4E-695BBC28D693@googlemail.com> References: <5kADboXE-OUia2ncm13XjDesvDmjB3tjWSyr3ytCpa5XYof9xOrL9AbRownQoRG9eJcJpYswqjbMt0P0XiZfs7KNNfiNF7vQ93m72mm_Fyk=@protonmail.com> <4F94C5BF-B5D8-4EA0-8B4E-695BBC28D693@googlemail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000008f61da0622953e90 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=E2=80=AFAM Klaus K=C3=BCchemann <maciphone2@go= oglemail.com> wrote: > First time since years I switched the dusty Rock64 on :-) > yes, you=E2=80=99re 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 > =E2=80=A6 > 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.co= m > >: > > > > 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 outp= ut > does not work. So I want to change that. > > > > As we are on ARM my first intention was looking into the device tree fo= r > the rk3328. I compared it to Linux device tree and also found some missin= g > 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 wher= e > I have to look and work on. > > > > Greetings > > pf0 > > > > > > > --=20 Mario. --0000000000008f61da0622953e90 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><span class=3D"gmail-il">Hello to everyone.</span></d= iv><div><span class=3D"gmail-il"><br></span></div><div><span class=3D"gmail= -il">Recently I've bought the RockPro64 with the RockChip</span> RK3399= ,this one :</div><div><br></div><div><a href=3D"https://pine64.org/devices/= rockpro64/">https://pine64.org/devices/rockpro64/</a></div><div><br></div><= div>I would like to know if FreeBSD is affected by the same bug,please. I c= an't use it if the HDMI doesn't work. <br></div></div><br><div clas= s=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, Sep 21, 202= 4 at 1:11=E2=80=AFAM Klaus K=C3=BCchemann <<a href=3D"mailto:maciphone2@= googlemail.com">maciphone2@googlemail.com</a>> wrote:<br></div><blockquo= te class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px = solid rgb(204,204,204);padding-left:1ex">First time since years I switched = the dusty Rock64 on :-)<br> yes, you=E2=80=99re right, still not fixed :<br> dmesg:<br> ..<br> clknode_link_recalc: Attempt to use unresolved linked clock: hdmi_phy<br> Cannot get frequency for clk: hdmi_phy, error: 9<br> =E2=80=A6<br> So you can file a bug report to: <a href=3D"https://bugs.freebsd.org" rel= =3D"noreferrer" target=3D"_blank">https://bugs.freebsd.org</a> <<a href= =3D"https://bugs.freebsd.org/" rel=3D"noreferrer" target=3D"_blank">https:/= /bugs.freebsd.org/</a>><br> You can attach dmesg there (or what I would prefer:=C2=A0 send dmesg to <a = href=3D"https://dmesgd.nycbug.org" rel=3D"noreferrer" target=3D"_blank">htt= ps://dmesgd.nycbug.org</a><<a href=3D"https://dmesgd.nycbug.org/" rel=3D= "noreferrer" target=3D"_blank">https://dmesgd.nycbug.org/</a>>)<br> <br> I guess you don`t want to port any linux drivers at first attempt :-) but i= nstead fix the issue <br> to get the framebuffer driver working( with it`s restrictions e.g. no 4K)<b= r> <br> Regards<br> K.<br> <br> <br> > Am 20.09.2024 um 19:22 schrieb Christoph Pfaller <<a href=3D"mailto= :pfaller@protonmail.com" target=3D"_blank">pfaller@protonmail.com</a>>:<= br> > <br> > Hello!<br> > <br> > I recently switched to FreeBSD on my Rock64 due to appearing kernel pa= nics 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.<br> > <br> > As we are on ARM my first intention was looking into the device tree f= or the rk3328. I compared it to Linux device tree and also found some missi= ng parts. My next step was looking into the drivers itself and as the Linux= drivers sources are available here <a href=3D"https://github.com/torvalds/= linux/tree/master/drivers/gpu/drm/rockchip" rel=3D"noreferrer" target=3D"_b= lank">https://github.com/torvalds/linux/tree/master/drivers/gpu/drm/rockchi= p</a> I got some idea how the corresponding driver should look like.<br> > <br> > However, I am unsure how I should proceed getting HDMI to work. Accodr= ing to <a href=3D"https://wiki.freebsd.org/arm/RockChip" rel=3D"noreferrer"= target=3D"_blank">https://wiki.freebsd.org/arm/RockChip</a> HDMI works for= the rockchip rk3399 but I could not find any drivers=C2=A0 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 know= ledge about FreeBSD or HDMI can provide me with some guidance on where I ha= ve to look and work on.<br> > <br> > Greetings<br> > pf0<br> > <br> > <br> <br> <br> </blockquote></div><br clear=3D"all"><br><span class=3D"gmail_signature_pre= fix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature">Mario.<br></d= iv> --0000000000008f61da0622953e90--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B1FSigrBwYkGKY2GYLaX5JmQYKa3A5583MMEjEre1xswisUtQ>