From nobody Wed Sep 25 17:19:57 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 4XDNlc5tgrz5XTdL for ; Wed, 25 Sep 2024 17:20:12 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) (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 4XDNlc4FLZz4ctY for ; Wed, 25 Sep 2024 17:20:12 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a7aa086b077so13482566b.0 for ; Wed, 25 Sep 2024 10:20:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20230601; t=1727284811; x=1727889611; 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=inWFl4FW5nVqLK5+GWa3Wvb47Vmj1Qhb1PJ5wuMmRS0=; b=jDdxKsJ6TCnGtjhreEW2eN+kbXc4t89FhGy/9Vzax2eptE9m7K75fVN5vGWWHWHT4s 1V+Fa94JcUzKTCUbJGTJrZW8WAATOit/tq56J0oYNvuYNrMe5XC75sgDBtPudKY6TqZ9 N4h38slDB1myIUXHemtYjSXKAtolU/KqIkN96HsTpYFQg3/WHv2auddPiph6uC7tRGVZ u/rsHIVKNXJMj+e8sxb6hroZxaMpf9nufSC6SYARaImQ5MafYgEh0CmMaFvaQmLPbW9L 0BbhALwxbmTIqRfiZiX/kXnkfrI9jHpg7NVwBgp4m0mpwcZ8m8aYRbUrMbHi2vuifJ5W 0YnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727284811; x=1727889611; 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=inWFl4FW5nVqLK5+GWa3Wvb47Vmj1Qhb1PJ5wuMmRS0=; b=Bi/jRuVDv1fU6rIpLHdjXuT0iN2vPEov9vFoo4cnPsp5FJOmr61u79vBCWKc/pmEsU eglFd6PA2PtTGf48TM1KoTM8Qtj3X6MBUrvBfVovRJOjSCEPYI+YuMZywKO4pTAfIIvL ttalLdXoPIa1RgjOhfaDZKbm+GYE+12QGUNH7CXFl7+x9nBPC9MNhQbSOp4N7x8npubT i8Itsw/ngkHKZyQoAoXqk8nx/nsBtV0PJS3nDXMFdrH5RuGtfPmGtrUuLdDjbficaaJj oyq87Rl+/lfeE43Cn1MT2fI2xwAzXnl1B0NLIeDL6ypaX7vAWqvYGDsZmHEr+dgtXrgC Fx8g== X-Forwarded-Encrypted: i=1; AJvYcCXkjy+z6e5dZvGwgNo4xK3Tk78BzRuAzDpMfbdKMf2/yova9Sptgzqacv6+Bsxhv+MMSSOnjhTS8yN00Q==@freebsd.org X-Gm-Message-State: AOJu0YxDDZLtRgP6dxFyqyR22OGazMB8f4io45z85i0ZBBYbqO9AOAT+ ijlGNZA4ttuGSDAbQWEbDqIhoVrqqZp7SvqETme02AOqw0xnnu8vxp6rIOeM X-Google-Smtp-Source: AGHT+IGhVKiAvDpIme7XKr7Y6ZSbqiI3fOoaCU6lPvQsLnUDUwP+P/GATa2kosYLskeYoo0KL3JB6Q== X-Received: by 2002:a17:907:2cc4:b0:a8a:913e:418b with SMTP id a640c23a62f3a-a93a0369e7bmr323752166b.20.1727284810598; Wed, 25 Sep 2024 10:20:10 -0700 (PDT) Received: from smtpclient.apple (dynamic-046-114-020-130.46.114.pool.telefonica.de. [46.114.20.130]) by smtp.googlemail.com with ESMTPSA id a640c23a62f3a-a93930f0b23sm236090766b.144.2024.09.25.10.20.08 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Sep 2024 10:20:09 -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 \(3818.100.11.1.3\)) Subject: Re: Rockchip RK3328 Rock64 HDMI Date: Wed, 25 Sep 2024 19:19:57 +0200 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> To: Emmanuel Vadot , freebsd-arm@freebsd.org In-Reply-To: <20240925185607.8fc021905b94c98c002d3dec@bidouilliste.com> Message-Id: <9361258C-6C87-4F67-892F-30AE593FF436@googlemail.com> X-Mailer: Apple Mail (2.3818.100.11.1.3) 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:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4XDNlc4FLZz4ctY X-Spamd-Bar: ---- this time even without specific hack, just a config : CONFIG_PHY_ROCKCHIP_INNO_HDMI=3Dy CONFIG_VIDEO=3Dy CONFIG_DISPLAY=3Dy CONFIG_VIDEO_ROCKCHIP=3Dy CONFIG_DISPLAY_ROCKCHIP_HDMI=3Dy U-boot 2024.07( I think also 2024.04) then enables the inno hdmi_phy = driver 2024.10-rc5 even shows the u-boot logo,=20 t...hey seem to still maintain the RK3328 hdmi.... -=E2=80=A6I will look into that GOP- thing=E2=80=A6. If you have instructions or hints for that, plz let me know > Am 25.09.2024 um 18:56 schrieb Emmanuel Vadot : >=20 > On Wed, 25 Sep 2024 17:29:11 +0200 > Klaus K=C3=BCchemann wrote: >=20 >> Needed 5 minutes to hack u-boot`s current version to get HDMI - = output on the RK3328/ Rock64.. >=20 > What's the hack ? >=20 > Am 25.09.2024 um 18:56 schrieb Emmanuel Vadot : >=20 > On Wed, 25 Sep 2024 17:29:11 +0200 > Klaus K=C3=BCchemann wrote: >=20 >> It works because u-boot(and linux) has built in driver for the = hdmi-inno 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 = cannot 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.