From nobody Wed Sep 25 18:51:50 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 4XDQnd37H2z5XZhg for ; Wed, 25 Sep 2024 18:52:05 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) (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 4XDQnd0m1nz4sNP for ; Wed, 25 Sep 2024 18:52:05 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-53653ee23adso157597e87.3 for ; Wed, 25 Sep 2024 11:52:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20230601; t=1727290323; x=1727895123; 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=hetFTVgIzjmdD8P+B/yUEall7W6/WiNik7fiT6jCp9c=; b=eyP162qf24Or2OOQPQeN9lVLRpyU58QSA3jmdBaSrOQXbegGwOv33ucBLZQDEj5zVN 77vq774lUrFe043Z90cgwSJeq0di5uNMknVIDmN/l1vB3mfcilAi5KCD0wxbYn7Y7nxf l2PNYw9D+C8nuBlmduEOvSHc4L9ZMl9/33m+6+Sl18HC44VSQR/YiTS+ZbMUfBHR4CsM Q2qF4ZxYd+5meL/gEK8ksbPfM6p2Qb0OXEhQP4ffNfQ+L2B1gsl6GpWpuVbX1CtNBPwD TLGUvz2YJ66jYGarhjx1nCJoUKuHsANG8uHOPEa5WTL2DEnadbYwVzQrjzBpVoU5VxIz WDlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727290323; x=1727895123; 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=hetFTVgIzjmdD8P+B/yUEall7W6/WiNik7fiT6jCp9c=; b=XkEuWv8akKZXT5/f1Ms4PicTm2lT+igYpYO4BvRvnWOLRQ7cmp2E3iFi7ktm+c8AvR XDZRleXqapQv3r0/+ZRi32MHzuoiwmZvwWbIFVioCaT/NcOyXEx+4g7cdr1pphF2/+hV nSO94rG5x3nn/F8VcmlTfvQIhlu1ZSWit4eLs4dLOzo0Bv22I7v+OFwsHq2A7EblAPm6 dIAUSkBlNVSkqHyIW4eMhTYjMsDopQe5MgkrmopPPtKCAXfweGHLLCK7WVJSGlamYrLL w9zZViUIEzzbHGKukCK560OdRKjfj9BQzkwe/XmcwE5QIaYAUYZq0039LF0oefh9jq2P o9bw== X-Forwarded-Encrypted: i=1; AJvYcCWEDQVy40ngqGMo7tBo8WG6cuw71/5CrYyR0+O7woyMrqz8k9TVyu1i30jbaiR9aVg1t2yT+GSOiwzU/w==@freebsd.org X-Gm-Message-State: AOJu0Yz8A/OW5Cz6fz9kf6VR1hx9iXbRx4PauKi5YsJxsb/DIoQGTST/ lzWRGwhtpbA921Zpj2+VKJNR28Cot7Mv7BoU4iWPZCLgw/U78fRAWanoUG6X X-Google-Smtp-Source: AGHT+IEKxMgfvx1hdElFoPPFwVm6LYNhi8FPhQfHK9S13K1n5N1Yu7kMxHF9BIN1pa3qgXAh9maHNw== X-Received: by 2002:a05:6512:3da8:b0:530:c212:4a5a with SMTP id 2adb3069b0e04-53870496b49mr2538068e87.22.1727290322820; Wed, 25 Sep 2024 11:52:02 -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-a93930f46ffsm241450666b.155.2024.09.25.11.52.01 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Sep 2024 11:52:02 -0700 (PDT) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=us-ascii 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 20:51:50 +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> <9361258C-6C87-4F67-892F-30AE593FF436@googlemail.com> <20240925192116.860d73712f620c2fd77685a4@bidouilliste.com> <20240925200033.71f37cd50e1290bdfa98cf22@bidouilliste.com> To: Emmanuel Vadot , freebsd-arm@freebsd.org In-Reply-To: <20240925200033.71f37cd50e1290bdfa98cf22@bidouilliste.com> Message-Id: 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: 4XDQnd0m1nz4sNP X-Spamd-Bar: ---- > Am 25.09.2024 um 20:00 schrieb Emmanuel Vadot : >=20 >=20 > I'm on rc5 and by default it's not enabled. >=20 Yes, not by default, but I guess yo`ve seen the u-boot logo now on rc5=20= > Am 25.09.2024 um 20:00 schrieb Emmanuel Vadot : > So I kinda see what's going on. > For some reason the video isn't considered as a valid console, setting > stdout to be serial,vidconsole doesn't work. I couldn't find why or if > there is some way to enable this for the rock64 but I think that this > is why efifb doesn't work, since this is not a valid console for = u-boot > I think that the u-boot drivers de-init the hdmi and all when we get > into the kernel (even if loader sees the GOP as valid). > I don't think that I have enought motivation to look further. Yes, serial/vidconsole (in that order) is the default for quite all = defconfigs in u-boot. I know where to hack/change that in u-boot but I also think that a = massive u-boot hack is not what we want. U-boot hands over to the dw- linux driver(which contains inno hdmi) in = the dts-source and we fail to handle the dts/driver. while I also think the GOP nevertheless should persist visible for bsd. Normally I would say that they don`t expose the frame buffer address by = default, but then why does it work on RK3399 , puuuhh.. Also don`t know if my motivation for looking further is big enough :-)=20= but thanks to point to the GOP-issue and vidconsole stuff, Regards K.