From nobody Fri Sep 20 23:06:21 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 4X9SnH4nzVz5XlhX for ; Fri, 20 Sep 2024 23:11:31 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X9SnG3Z9Jz41yr for ; Fri, 20 Sep 2024 23:11:30 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=googlemail.com header.s=20230601 header.b=b3L1kFTd; dmarc=pass (policy=quarantine) header.from=googlemail.com; spf=pass (mx1.freebsd.org: domain of maciphone2@googlemail.com designates 2a00:1450:4864:20::42d as permitted sender) smtp.mailfrom=maciphone2@googlemail.com Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-374bfc395a5so1656472f8f.0 for ; Fri, 20 Sep 2024 16:11:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20230601; t=1726873889; x=1727478689; darn=freebsd.org; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=Eks9w+9J6xkACvoS1L58gx4TkP9EALrAoLv8Yg2kuB4=; b=b3L1kFTdFXID3WeU43md3//UO4QhFPNP3FQJopUoBIh1OUdAszEiKZt3FMNHxsy6rf Fxh9ZefR59uYlfpXIdXuObaehWWN5B9/+33YzJESAUcQuuZla4McFqNjLBXRNLszRYu1 HQROOkXmeAJEvLUiPKcn0h0yuZQrPLBkPUuc+3L14OJtNyTxK/mlyTxzb+inloxfrkMd /WGaMNzW5beOeRqrvPOXIUeGdZV2k1+D7SmUQ7SJUsEfeBTGnW5kRCZOxDNcc7A0tSIQ VecRI6YNfubp6sDMPyEJhbzb/pE5jA9eFYeZYRg3CDYe9PflWbWSk398puT187MR1Ay4 S2Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726873889; x=1727478689; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Eks9w+9J6xkACvoS1L58gx4TkP9EALrAoLv8Yg2kuB4=; b=r4IXidVtUfFlFj4lRag3OTNAN7xM+937XGx0SNzAKfFLcFrvbnlK1V3C9paXOydxga 2TmxnXeN1EfMhGkCNvbg/d4+obyMNaEVkNwbVxIkQa18UvjAmoa+bJfp4JR7q7mFAbky 5QzgPV5ZtoQHRtxqKnH1J+snaq5IBOz50tKLUfd+Sgdv32Rbvcmo3f3gc2aoUsfiLhJ1 RnKLRdOYxJsM5WCifOKCbRpY2rIIrRMY5NGWWmYtWBPJIYLEqb19L0AU2IRMBWIJ7S2R dLuUDtlxpf1aHc+77ucpFW0wxdwZC6eaYb31uqWmLFQ03MrkTTs628lU85i2+bTBcWB4 ep2g== X-Gm-Message-State: AOJu0YwkzkKba3nm3dpcPb7/PBhUXqRTuRASLsuy8aa80eG85FG4E7wD rlreM/ZM2MJlNSUJI5EVcNYOz3H4HhUMHBndcIcIhI5kEjKVLWmAbgk8ujR1 X-Google-Smtp-Source: AGHT+IHrZxK+7i3w1va7XpDFWnyNEU/iXC8ZWH9KqvfaHHRNLSykZMk9RuwgkToiYXYnh332ZLIoEw== X-Received: by 2002:a5d:54c7:0:b0:374:bf6b:1021 with SMTP id ffacd0b85a97d-379a860b862mr4999443f8f.27.1726873888680; Fri, 20 Sep 2024 16:11:28 -0700 (PDT) Received: from smtpclient.apple (dynamic-046-114-115-140.46.114.pool.telefonica.de. [46.114.115.140]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-42e7afbfbfbsm34825695e9.22.2024.09.20.16.11.26 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Sep 2024 16:11:27 -0700 (PDT) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 Date: Sat, 21 Sep 2024 01:06:21 +0200 References: <5kADboXE-OUia2ncm13XjDesvDmjB3tjWSyr3ytCpa5XYof9xOrL9AbRownQoRG9eJcJpYswqjbMt0P0XiZfs7KNNfiNF7vQ93m72mm_Fyk=@protonmail.com> To: freebsd-arm@freebsd.org In-Reply-To: <5kADboXE-OUia2ncm13XjDesvDmjB3tjWSyr3ytCpa5XYof9xOrL9AbRownQoRG9eJcJpYswqjbMt0P0XiZfs7KNNfiNF7vQ93m72mm_Fyk=@protonmail.com> Message-Id: <4F94C5BF-B5D8-4EA0-8B4E-695BBC28D693@googlemail.com> X-Mailer: Apple Mail (2.3776.700.51) X-Spamd-Result: default: False [-3.36 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.99)[-0.994]; NEURAL_HAM_SHORT(-0.99)[-0.989]; R_MIXED_CHARSET(0.63)[subject]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; FREEMAIL_FROM(0.00)[googlemail.com]; DKIM_TRACE(0.00)[googlemail.com:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; APPLE_MAILER_COMMON(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42d:from] X-Rspamd-Queue-Id: 4X9SnG3Z9Jz41yr X-Spamd-Bar: --- 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 = You can attach dmesg there (or what I would prefer: send dmesg to = https://dmesgd.nycbug.org) I guess you don`t want to port any linux drivers at first attempt :-) = but instead fix the issue=20 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 = : >=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