From nobody Fri Sep 20 18:01:58 2024 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 4X9KwQ5VcFz5WSMq for ; Fri, 20 Sep 2024 18:02:14 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-21.consmr.mail.gq1.yahoo.com (sonic310-21.consmr.mail.gq1.yahoo.com [98.137.69.147]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4X9KwQ12nrz45XG for ; Fri, 20 Sep 2024 18:02:14 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1726855332; bh=0Bua84w36EdlhOH8Wslz2Nim1JocLvp9RNs3J7Opc7w=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=i8eX67FxrkrRjDiAmHuCKibzZ2ScMxSPtxkxTRxSced6EF5vfA4uc4os90Zh18QPkedx2F7vxxL0+HXRUUfd17gS9rpzWrV2Pu7nOlf6XXdMXFV0lg0pP7N55H+u0zsO2LXDNYcxaUWEI4EMNcPksgsg6Lh+pZlOlb7ELYfiwW2r2rZRh+KK65QPJehAUe5o8WfJxsXgZALI3kTeW7PVN5nDbs411JhaQUwM2+S7S9GrJm8bsgRt/dd7ksond44imGnVc76ZRIp5Nig6Lpnz2IyTHnnZmfnwqSchCxTyOgfnF4q1JX4UKp1ZEIU+TABFtIkRR04bhzkWpD2A0CydFQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1726855332; bh=sXHzvgFDI7WRHux7jeAsbCnfzcct4N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M9OiP.2d.tCGVTtO7uI6rWUuY1qc0P9t7.p.8.3N.ahRmuAb6InFlvW RfDcv5adtIf0yjAm6kpx.JMr9ZMX4p.6Wqo6uonQfVFyiZgrs1QuQqYUhFmTQm6IbVQkrHVjolSa tm0ZmnM2.uuMMoNv3RGsOTzXzeC7pCq_IK9cDyx.x2G8FwTZMhiHKmKv6LrQA7GCLgQJ_6q_1uTC E3MNZlzZXxy6RIQulahxAwCCmYGlnsDYgLfqO70HdQP7uhriOhgKxJW2uPUDcvImEKAgEyZS7TFq 42bsqYuQvcYkkAhNS1OSrSDqiQlQ.iU_gO4i7ExoZ0XT6gaCllYwjJPtM8_4roknfpC.fJwsU52_ vOMetSZ.TZ9UuTMFgtCycRHiao9sa4DIb9DmdnFdzCEZhFskwd_T0t2qRqXU3OPALYpmiqFzTwy9 VHoEut0m408ZpxcW00_aEwh0eqoy.f0rPgHSZM9nFenFy9YhmcgdVkKCHNJ_m5qHEVGglx7OWqH4 1jGDpZMwkeQXY7GbKA.1ad3RyTHOhUD0nx9RsRBPTc5dZYVCOh6Zhl2rRIvxr7d2Pjii2hryjOxt cdmUFvjsTTZeb3OI- X-Sonic-MF: X-Sonic-ID: 74a4662f-dddc-4e30-803b-68e54fde8254 Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Fri, 20 Sep 2024 18:02:12 +0000 Received: by hermes--production-gq1-5d95dc458-dxlpk (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID ab202b41f3253e8f11f5eaf33ad4f8af; Fri, 20 Sep 2024 18:02:09 +0000 (UTC) Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 16.0 \(3776.700.51\)) Subject: Re: Rockchip RK3328 Rock64 HDMI From: Mark Millard In-Reply-To: <5kADboXE-OUia2ncm13XjDesvDmjB3tjWSyr3ytCpa5XYof9xOrL9AbRownQoRG9eJcJpYswqjbMt0P0XiZfs7KNNfiNF7vQ93m72mm_Fyk=@protonmail.com> Date: Fri, 20 Sep 2024 11:01:58 -0700 Cc: "freebsd-arm@FreeBSD.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <5kADboXE-OUia2ncm13XjDesvDmjB3tjWSyr3ytCpa5XYof9xOrL9AbRownQoRG9eJcJpYswqjbMt0P0XiZfs7KNNfiNF7vQ93m72mm_Fyk=@protonmail.com> To: Christoph Pfaller X-Mailer: Apple Mail (2.3776.700.51) X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Queue-Id: 4X9KwQ12nrz45XG X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated On Sep 20, 2024, at 10:22, Christoph Pfaller = wrote: > 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. What vintage of the Linux materials were you comparing against? https://cgit.freebsd.org/src/log/sys/contrib/device-tree/ shows the most recent import to main [so: 15] was: "Import device-tree files from Linux 6.8" on 2024-05-06. 6.6 and 6.7 were imported earlier that same day, so previously FreeBSD was based on 6.5 . FreeBSD deliberately does not track Linux-version-by-Linux-version, nor at the same time Linux released what FreeBSD synchronizes to. > 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. =3D=3D=3D Mark Millard marklmi at yahoo.com