From nobody Sun Oct 24 12:42:05 2021 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 AE409181B3F5 for ; Sun, 24 Oct 2021 13:01:24 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [IPv6:2a02:21e0:16e0:fe::101:1]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HcdWR680Xz4Z6t for ; Sun, 24 Oct 2021 13:01:23 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de (mail.cicely.de [IPv6:2a02:21e0:16e0:20fe:0:0:101:c]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id 19OCg87r043339 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=FAIL) for ; Sun, 24 Oct 2021 14:42:11 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1635079331; bh=poVoK38OT8U52v9PCS7lQnrcc8D/J94MUIJN3p1D5s8=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=6CJxF9QNVi7jIns6+29vL4JmIDIvRr/MPApnLJ7Er4SXU124GzFtVkRgh7U/wM+yS N+G1bGHJDN2BuTrwibMqFht+XilJCykK7ch99u2N6LPefyEwFfgRI5eN9s3jxNFKwO zPrd8WHBNgg9qkNszqZjpJlu0exqk/hWrBWpRjCI= Received: from cicely7.cicely.de (c7-old.cicely.de [IPv6:2a02:21e0:16e0:20fe:0:0:101:d]) by mail.cicely.de (8.16.1/8.16.1) with ESMTPS id 19OCg5IO039729 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 24 Oct 2021 14:42:05 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.16.1/8.16.1) with ESMTP id 19OCg5pj046640; Sun, 24 Oct 2021 14:42:05 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.16.1/8.16.1/Submit) id 19OCg5Z2046639; Sun, 24 Oct 2021 14:42:05 +0200 (CEST) (envelope-from ticso) Date: Sun, 24 Oct 2021 14:42:05 +0200 From: Bernd Walter To: ticso@cicely.de Cc: freebsd-arm@freebsd.org, Bernd Walter Subject: Re: X11 on Pi 4 Message-ID: Reply-To: ticso@cicely.de References: 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=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD cicely7.cicely.de 13.0-RELEASE-p3 amd64 X-Spam-Status: No, score=-1.5 required=4.5 tests=BAYES_00=-1.9,KHOP_HELO_FCRDNS=0.398,SPF_HELO_NONE=0.001,SPF_NONE=0.001 autolearn=no autolearn_force=no version=3.4.5 X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on spamd.cicely.de X-Rspamd-Queue-Id: 4HcdWR680Xz4Z6t X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=6CJxF9QN; dmarc=none; spf=none (mx1.freebsd.org: domain of ticso@cicely7.cicely.de has no SPF policy when checking 2a02:21e0:16e0:fe::101:1) smtp.mailfrom=ticso@cicely7.cicely.de X-Spamd-Result: default: False [1.70 / 15.00]; HAS_REPLYTO(0.00)[ticso@cicely.de]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[cicely.de:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:44700, ipnet:2a02:21e0::/32, country:DE]; REPLYTO_EQ_TO_ADDR(5.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; FREEFALL_USER(0.00)[ticso]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.0.0.0:email]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[cicely.de]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DBL_PROHIBIT(0.00)[0.0.0.0:email]; R_SPF_NA(0.00)[no SPF record]; GREYLIST(0.00)[pass,body] X-ThisMailContainsUnwantedMimeParts: N On Sat, Oct 16, 2021 at 09:51:54PM +0200, Bernd Walter wrote: > I'm trying to get X11 runing on the Pi4. > So far I don't get a signal on the screen. > I'd tried both HDMI ports. > FreeBSD mentions: > VT(efifb): resolution 592x448 > ... > fb0: on simplebus0 > fb0: keeping existing fb bpp of 32 > fbd0 on fb0 > WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD 14.0. > VT: Replacing driver "efifb" with new "fb". > fb0: 592x448(592x448@0,0) 32bpp > fb0: fbswap: 1, pitch 2368, base 0x3eaf5000, screen_size 1060864 > > > On a Pi3B with the same screen: > VT(efifb): resolution 1280x800 > ... > fb0: on simplebus0 > fbd0 on fb0 > VT: Replacing driver "efifb" with new "fb". > fb0: 1280x800(1280x800@0,0) 24bpp > fb0: fbswap: 1, pitch 3840, base 0x3e90c000, screen_size 3072000 > > Is there some kind of initialisation missing from u-boot? > I noticed that raspbian on the Pi4 also leave the screen disabled > until X starts. > Unfortunately starting X on FreeBSD doesn't change anything. I have to retest it with a fresh board. I updated to the firmware to the beta channel, but when I did this raspbian didn't show anything either. I also have hdmi_safe=1 disabled. Don't know if the update and config change was required or not because the truth is that the mini HDMI cable I'd used was broken. I had used it before with a Beaglebone Black and had the X output with rapbian on the Pi4, but after ordering a new cable, everything worked fine. -- B.Walter https://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.