From nobody Wed Sep 25 17:21:16 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 4XDNpL2yFKz5XTYs for ; Wed, 25 Sep 2024 17:22:34 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 4XDNpL0f1Qz4dFx for ; Wed, 25 Sep 2024 17:22:34 +0000 (UTC) (envelope-from manu@bidouilliste.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1727284952; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oW03J37K2R19RA0DdBQwataNu3FlK23oZTbR+Fiokow=; b=rE0+WHGjzfWYknZupjLfstRyyPw2lAEoNJBThYt8GPhNCGavn9FrjBz0Bqj5ldI3lmcCjE eVlK9WOhy0bIAqqmTG3vawWMLbY4fOlhUrxywE7MgSgb3UAVsAXrJeivY/Ds6TXzhuKjiH iFTxjuwe/+ewgSyRs7mT9f4ayMDlJ50= Received: from skull.home.blih.net (lfbn-lyo-1-2174-135.w90-66.abo.wanadoo.fr [90.66.97.135]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 8f8cbe7a (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 25 Sep 2024 17:22:32 +0000 (UTC) Date: Wed, 25 Sep 2024 19:21:16 +0200 From: Emmanuel Vadot To: Klaus =?ISO-8859-1?Q?K=FCchemann?= Cc: freebsd-arm@freebsd.org Subject: Re: Rockchip RK3328 Rock64 HDMI Message-Id: <20240925192116.860d73712f620c2fd77685a4@bidouilliste.com> In-Reply-To: <9361258C-6C87-4F67-892F-30AE593FF436@googlemail.com> References: <5kADboXE-OUia2ncm13XjDesvDmjB3tjWSyr3ytCpa5XYof9xOrL9AbRownQoRG9eJcJpYswqjbMt0P0XiZfs7KNNfiNF7vQ93m72mm_Fyk=@protonmail.com> <4F94C5BF-B5D8-4EA0-8B4E-695BBC28D693@googlemail.com> <20240921132533.8b8cf0229a38275128ef0ccc@bidouilliste.com> <20240921193608.d88ec27b1da889a52c1f6e3e@bidouilliste.com> <577A672D-E92B-446D-9C81-428FC2121E09@googlemail.com> <20240925185607.8fc021905b94c98c002d3dec@bidouilliste.com> <9361258C-6C87-4F67-892F-30AE593FF436@googlemail.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd15.0) 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 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR] X-Rspamd-Queue-Id: 4XDNpL0f1Qz4dFx X-Spamd-Bar: ---- On Wed, 25 Sep 2024 19:19:57 +0200 Klaus K=FCchemann wrote: > this time even without specific hack, just a config : >=20 > CONFIG_PHY_ROCKCHIP_INNO_HDMI=3Dy > CONFIG_VIDEO=3Dy > CONFIG_DISPLAY=3Dy > CONFIG_VIDEO_ROCKCHIP=3Dy > CONFIG_DISPLAY_ROCKCHIP_HDMI=3Dy Thanks, just found the same settings messing with make menuconfig, will test on my board tonight. >=20 > U-boot 2024.07( I think also 2024.04) then enables the inno hdmi_phy dri= ver > 2024.10-rc5 even shows the u-boot logo,=20 > t...hey seem to still maintain the RK3328 hdmi.... >=20 > -?I will look into that GOP- thing?. > If you have instructions or hints for that, plz let me know >=20 >=20 > > Am 25.09.2024 um 18:56 schrieb Emmanuel Vadot : > >=20 > > On Wed, 25 Sep 2024 17:29:11 +0200 > > Klaus K=FCchemann wrote: > >=20 > >> Needed 5 minutes to hack u-boot`s current version to get HDMI - outpu= t on the RK3328/ Rock64.. > >=20 > > What's the hack ? > >=20 >=20 >=20 > > Am 25.09.2024 um 18:56 schrieb Emmanuel Vadot : > >=20 > > On Wed, 25 Sep 2024 17:29:11 +0200 > > Klaus K=FCchemann wrote: > >=20 > >> It works because u-boot(and linux) has built in driver for the hdmi-in= no phy. > >> So the dts devicetree- entries for the hdmi_phy point to that driver (= which is glued in their drm). > >> So u-boot sets up it?s framebuffer based on this driver while it canno= t be handed over to FreeBSD=20 > >> because it`s not implemented FreeBSD (as Manu said) . > >=20 > > That's not what I said, if u-boot setup a GOP interface FreeBSD loader > > and kernel will be able to use it. --=20 Emmanuel Vadot